| /xnu-10063.141.1/tools/cocci/ |
| H A D | OSAtomic_rewrite.cocci | 83 @@ expression E, F; @@ 86 - OSAddAtomic(-F, E) 87 + os_atomic_sub_orig(E, F, relaxed) 89 - OSAddAtomic8(-F, E) 90 + os_atomic_sub_orig(E, F, relaxed) 92 - OSAddAtomic16(-F, E) 93 + os_atomic_sub_orig(E, F, relaxed) 95 - OSAddAtomic32(-F, E) 96 + os_atomic_sub_orig(E, F, relaxed) 98 - OSAddAtomic64(-F, E) [all …]
|
| H A D | hw_atomic_rewrite.cocci | 7 @@ expression E, F; @@ // hw_atomic_add -> os_atomic_{inc,dec} 16 - hw_atomic_add(E, -F) + F 17 + os_atomic_sub_orig(E, F, relaxed) 19 - hw_atomic_add(E, -F) 20 + os_atomic_sub(E, F, relaxed) 28 - hw_atomic_add(E, F) - F 29 + os_atomic_add_orig(E, F, relaxed) 31 - hw_atomic_add(E, F) 32 + os_atomic_add(E, F, relaxed) 35 @@ expression E, F; @@ // hw_atomic_sub -> os_atomic_{inc,dec} [all …]
|
| H A D | os_atomic_normalize.cocci | 30 @@ expression E, F, m; @@ 57 - os_atomic_add(E, -(F), m) 58 + os_atomic_sub(E, F, m) 60 - os_atomic_add_orig(E, -(F), m) 61 + os_atomic_sub_orig(E, F, m) 63 - os_atomic_add(E, -F, m) 64 + os_atomic_sub(E, F, m) 66 - os_atomic_add_orig(E, -F, m) 67 + os_atomic_sub_orig(E, F, m) 69 - os_atomic_sub(E, -(F), m) [all …]
|
| H A D | zalloc-zero.cocci | 7 expression E, F, G; 14 E = zalloc_flags(F, \(Z_ZERO\|Z_ZERO | ...\)); 16 E = kalloc_type(F, \(Z_ZERO\|Z_ZERO | ...\)); 18 E = \(kalloc_data\|kalloc_flags\)(F, \(Z_ZERO\|Z_ZERO | ...\)); 20 - E = zalloc(F); 21 + E = zalloc_flags(F, Z_WAITOK | Z_ZERO); 23 E = zalloc_flags(F, \(Z_WAITOK\| Z_WAITOK | ...\) 33 - E = kalloc(F); 34 + E = kalloc_flags(F, Z_WAITOK | Z_ZERO); 40 E = \(kalloc_data\|kalloc_flags\)(F, \(Z_WAITOK\| Z_WAITOK | ...\) [all …]
|
| H A D | zalloc.iso | 7 expression E, F; 10 memset(E, 0, F) <=> bzero(E, F) <=> bzero((T)E, F) 21 expression E, F; 24 (T)zalloc_flags(E, F) <=> zalloc_flags(E, F) 35 expression E, F; 38 (T)kalloc_flags(E, F) <=> kalloc_flags(E, F) 42 expression E, F; 45 (T)kalloc_data(E, F) <=> kalloc_data(E, F) 49 expression E, F; 52 (T)kalloc_type(E, F) <=> kalloc_type(E, F)
|
| H A D | zalloc-nofail.cocci | 7 expression E, F; 15 E = zalloc_flags(F, \(Z_NOFAIL\|Z_NOFAIL | ...\)); 17 E = kalloc_type(F, \(Z_NOFAIL\|Z_NOFAIL | ...\)); 19 E = \(kalloc_data\|kalloc_flags\)(F, \(Z_NOFAIL\|Z_NOFAIL | ...\)); 21 - E = zalloc(F); 22 + E = zalloc_flags(F, Z_WAITOK | Z_NOFAIL); 24 E = zalloc_flags(F, \(Z_WAITOK\| Z_WAITOK | ...\) 32 E = \(kalloc_data\|kalloc_flags\)(sizeof(F), \(Z_WAITOK\| Z_WAITOK | ...\) 36 - E = kalloc(sizeof(F)); 37 + E = kalloc_flags(sizeof(F), Z_WAITOK | Z_NOFAIL); [all …]
|
| H A D | zalloc-data.cocci | 7 expression D, E, F, G; 12 - kheap_alloc(KHEAP_DATA_BUFFERS, E, F) 13 + kalloc_data(E, F) 15 - (T)kheap_alloc(KHEAP_DATA_BUFFERS, E, F) 16 + (T)kalloc_data(E, F) 18 - kheap_alloc_tag(KHEAP_DATA_BUFFERS, E, F, G) 19 + kalloc_data_tag(E, F, G) 21 - kheap_free(KHEAP_DATA_BUFFERS, E, F) 22 + kfree_data(E, F)
|
| H A D | c11_atomic_builtin_rewrite.cocci | 98 expression E, F; 133 , F, 139 expression E, F, G; 158 - &F, G, m, memory_order_relaxed 159 + F, G, &F, new_m
|
| /xnu-10063.141.1/bsd/dev/dtrace/scripts/ |
| H A D | io.d | 199 translator fileinfo_t < struct fileglob *F > { 200 fi_name = (F == NULL) ? "<none>" : 201 F->fg_ops->fo_type == DTYPE_VNODE ? 202 …((struct vnode *)F->fg_data)->v_name == NULL ? "<unknown (NULL v_name)>" : ((struct vnode *)F->fg_… 203 F->fg_ops->fo_type == DTYPE_SOCKET ? "<socket>" : 204 F->fg_ops->fo_type == DTYPE_PSXSHM ? "<shared memory>" : 205 F->fg_ops->fo_type == DTYPE_PSXSEM ? "<semaphore>" : 206 F->fg_ops->fo_type == DTYPE_KQUEUE ? "<kqueue>" : 207 F->fg_ops->fo_type == DTYPE_PIPE ? "<pipe>" : 208 F->fg_ops->fo_type == DTYPE_FSEVENTS ? "<fsevents>" : "<unknown (BAD fo_type)>"; [all …]
|
| H A D | Makefile | 52 @$(LOG_INSTALL) $(@F) 57 @$(LOG_INSTALL) $(@F) 65 @$(LOG_INSTALL) $(@F)
|
| /xnu-10063.141.1/bsd/net/ |
| H A D | strict_type_cnv_private.h | 120 #define __STC_TY_TY_CNV_F(F, T) __stc_convert_##F##_to_##T argument 121 #define __STC_CTY_TY_CNV_F(F, T) __stc_convert_const_##F##_to_##T argument 122 #define __STC_CTY_CTY_CNV_F(F, T) __stc_convert_const_##F##_to_const_##T argument 123 #define __STC_TY_ID_CNV_F(F) __stc_convert_##F##_identity argument 124 #define __STC_CTY_ID_CNV_F(F) __stc_convert_const_##F##_identity argument 125 #define __STC_CTY_CID_CNV_F(F) __stc_convert_##F##_const_identity argument
|
| /xnu-10063.141.1/libkern/ |
| H A D | mkext.c | 84 #define F 18 /* upper limit for match_length */ macro 98 u_int8_t text_buf[N + F - 1]; 112 u_int8_t text_buf[N + F - 1]; in decompress_lzss() 122 for (i = 0; i < N - F; i++) { in decompress_lzss() 125 r = N - F; in decompress_lzss() 194 for (i = 0; i < N - F; i++) { in init_state() 242 for (i = 1; i < F; i++) { in insert_node() 249 if ((sp->match_length = i) >= F) { in insert_node()
|
| /xnu-10063.141.1/makedefs/ |
| H A D | MakeInc.kernel | 131 @$(LOG_CTFCONVERT) "$(@F)" 137 @$(LOG_STRIP) "$(@F)" 142 @$(LOG_CTFMERGE) "$(@F)" 145 $(LOG_CTFINSERT) "$(@F)"; \ 160 @$(LOG_CTFMERGE) "$(@F)" 163 $(LOG_CTFINSERT) "$(@F)"; \ 174 @$(LOG_DSYMUTIL) "$(@F)" 184 @$(LOG_LIBTOOL) "$(@F)" 192 @$(LOG_LTO) "$(@F)" 219 @$(LOG_LD) "$(@F)" [all …]
|
| H A D | MakeInc.san | 43 …@$$(LOG_INSTALLVARIANT) "$$(Color0)symbolset $$(ColorF)$$(@F)$$(Color0) ($$(ColorLF)$$(CURRENT_KER…
|
| H A D | MakeInc.rule | 488 S_RULE_1B=$(<F) 496 C_RULE_1B=$(<F) 520 P_RULE_1B=$(<F) 531 @$(LOG_GENERATE) "$(@F)$(Color0) from $(ColorF)$<$(Color0)"
|
| /xnu-10063.141.1/bsd/miscfs/devfs/ |
| H A D | reproto.sh | 41 if(open(F, \$file) == 0) { 46 while(<F>) { 64 close F;
|
| /xnu-10063.141.1/tools/lldbmacros/ |
| H A D | ruff.toml | 1 # Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default. 2 select = ["E", "F"] 6 fixable = ["A", "B", "C", "D", "E", "F", "G", "I", "N", "Q", "S", "T", "W", "ANN", "ARG", "BLE", "C…
|
| /xnu-10063.141.1/bsd/sys/ |
| H A D | constrained_ctypes.h | 562 #define __CCT_DEFER(F, ...) F(__VA_ARGS__) argument
|
| /xnu-10063.141.1/doc/primitives/ |
| H A D | sched_cond.md | 67 sched_cond_ack(&my_cond); // (F) 76 …t already been issued an un-acked wakeup. Conversely, the consumer acks the wakeup (F) once awake, 78 …ing that it is inactive and checking for any wakeups that have been issued since the last ack (F).
|
| /xnu-10063.141.1/bsd/netinet/ |
| H A D | ip_dummynet.c | 444 qp->F = q->F; in cp_queue_to_32_user() 466 qp->F = q->F; in cp_queue_to_64_user() 938 q->S = q->F; /* update start time */ in ready_event_wfq() 941 heap_insert(&(p->idle_heap), q->F, q); in ready_event_wfq() 948 q->F += (len << MY_M) / (u_int64_t) fs->weight; in ready_event_wfq() 952 heap_insert(sch, q->F, q); in ready_event_wfq() 969 heap_insert(sch, q->F, q); in ready_event_wfq() 987 q->F = 0; in ready_event_wfq() 988 q->S = q->F + 1; in ready_event_wfq() 1092 q->S = q->F + 1; /* mark timestamp as invalid */ in dummynet() [all …]
|
| H A D | ip_dummynet.h | 292 dn_key S, F; /* start time, finish time */ member 457 dn_key S, F; /* start time, finish time */ member 582 dn_key S, F; /* start time, finish time */ member
|
| /xnu-10063.141.1/iokit/IOKit/ |
| H A D | IOReportTypes.h | 166 #define IOREPORT_MAKEID(A, B, C, D, E, F, G, H) \ argument 168 | __IOR_lshiftchr(D, 4) | __IOR_lshiftchr(E, 3) | __IOR_lshiftchr(F, 2) \
|
| /xnu-10063.141.1/doc/observability/ |
| H A D | recount.md | 35 | `proc_threadcounts` | thread | thread ID | F | ✓ | ✓ | ✓ | ✓ … 38 | `coalition_info` | coalition | coalition ID | F | ✓ | ✓ | ✓ | ✓² … 45 - Under Tests, "F" is functional and "P" is performance. 60 - `-F <name>` finds the task matching the provided name instead of using a task pointer.
|
| /xnu-10063.141.1/tools/tests/perf_index/ |
| H A D | md5.c | 17 #define F(x, y, z) (z ^ (x & (y ^ z))) macro 25 a = (a + F(b,c,d) + M + t); a = CC_ROLc(a, s) + b;
|
| /xnu-10063.141.1/bsd/dev/i386/ |
| H A D | dis_tables.c | 153 F, /* for 287 instructions */ enumerator 2110 /* [0,0] */ TNS("fadd",FF), TNS("fmul",FF), TNS("fcom",F), TNS("fcomp",F), 2113 /* [1,0] */ TNS("fld",F), TNS("fxch",F), TNS("fnop",NORM), TNS("fstp",F), 2122 /* [4,0] */ TNS("fadd",FF), TNS("fmul",FF), TNS("fcom",F), TNS("fcomp",F), 2125 /* [5,0] */ TNS("ffree",F), TNS("fxch",F), TNS("fst",F), TNS("fstp",F), 2126 /* [5,4] */ TNS("fucom",F), TNS("fucomp",F), INVALID, INVALID, 2128 /* [6,0] */ TNS("faddp",FF), TNS("fmulp",FF), TNS("fcomp",F), TNS("fcompp",NORM), 2131 /* [7,0] */ TNS("ffreep",F), TNS("fxch",F), TNS("fstp",F), TNS("fstp",F), 2160 /* [04] */ INVALID, TNS("fucomi",F), TNS("fcomi",F), INVALID, 4784 case F: in dtrace_disx86()
|