Home
last modified time | relevance | path

Searched refs:F (Results 1 – 25 of 29) sorted by relevance

12

/xnu-8792.41.9/tools/cocci/
H A Dmcache_atomic_rewrite.cocci7 @@ expression E, F, A; @@
46 - atomic_add_16_ov(E, F)
47 + os_atomic_add_orig(E, F, relaxed)
49 - atomic_add_16(E, F)
50 + os_atomic_add(E, F, relaxed)
52 - atomic_add_32_ov(E, F)
53 + os_atomic_add_orig(E, F, relaxed)
55 - atomic_add_32(E, F)
56 + os_atomic_add(E, F, relaxed)
58 - atomic_add_64_ov(E, F)
[all …]
H A DOSAtomic_rewrite.cocci83 @@ 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 Dhw_atomic_rewrite.cocci7 @@ 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 Dos_atomic_normalize.cocci30 @@ 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 Dzalloc-zero.cocci7 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 Dzalloc.iso7 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 Dzalloc-nofail.cocci7 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 Dzalloc-data.cocci7 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 Dc11_atomic_builtin_rewrite.cocci98 expression E, F;
133 , F,
139 expression E, F, G;
158 - &F, G, m, memory_order_relaxed
159 + F, G, &F, new_m
/xnu-8792.41.9/bsd/dev/dtrace/scripts/
H A Dio.d199 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 DMakefile52 @$(LOG_INSTALL) $(@F)
57 @$(LOG_INSTALL) $(@F)
65 @$(LOG_INSTALL) $(@F)
/xnu-8792.41.9/libkern/
H A Dmkext.c84 #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-8792.41.9/bsd/miscfs/devfs/
H A Dreproto.sh41 if(open(F, \$file) == 0) {
46 while(<F>) {
64 close F;
/xnu-8792.41.9/makedefs/
H A DMakeInc.kernel110 @$(LOG_STRIP) "$(@F)"
115 @$(LOG_CTFCONVERT) "$(@F)"
117 @$(LOG_CTFMERGE) "$(@F)"
121 $(LOG_CTFINSERT) "$(@F)"; \
129 @$(LOG_DSYMUTIL) "$(@F)"
137 @$(LOG_LIBTOOL) "$(@F)"
146 @$(LOG_LTO) "$(@F)"
173 @$(LOG_LD) "$(@F)"
187 @$(LOG_LD) "$(@F)"
196 @$(LOG_LIBTOOL) "$(@F)"
[all …]
H A DMakeInc.san43 …@$$(LOG_INSTALLVARIANT) "$$(Color0)symbolset $$(ColorF)$$(@F)$$(Color0) ($$(ColorLF)$$(CURRENT_KER…
H A DMakeInc.rule396 S_RULE_1B=$(<F)
404 C_RULE_1B=$(<F)
428 P_RULE_1B=$(<F)
439 @$(LOG_GENERATE) "$(@F)$(Color0) from $(ColorF)$<$(Color0)"
/xnu-8792.41.9/bsd/sys/
H A Dconstrained_ctypes.h539 #define __CCT_DEFER(F, ...) F(__VA_ARGS__) argument
/xnu-8792.41.9/doc/
H A Dsched_cond.md62 sched_cond_ack(&my_cond); // (F)
71 …t already been issued an un-acked wakeup. Conversely, the consumer acks the wakeup (F) once awake,
73 …ing that it is inactive and checking for any wakeups that have been issued since the last ack (F).
H A Drecount.md28 | `proc_threadcounts` | thread | thread ID | F | ✓ | ✓ | ✓ | ✓ …
31 | `coalition_info` | coalition | coalition ID | F | ✓ | ✓ | ✓ | ✓² …
38 - Under Tests, "F" is functional and "P" is performance.
53 - `-F <name>` finds the task matching the provided name instead of using a task pointer.
/xnu-8792.41.9/bsd/netinet/
H A Dip_dummynet.c438 qp->F = q->F; in cp_queue_to_32_user()
460 qp->F = q->F; in cp_queue_to_64_user()
932 q->S = q->F; /* update start time */ in ready_event_wfq()
935 heap_insert(&(p->idle_heap), q->F, q); in ready_event_wfq()
942 q->F += (len << MY_M) / (u_int64_t) fs->weight; in ready_event_wfq()
946 heap_insert(sch, q->F, q); in ready_event_wfq()
963 heap_insert(sch, q->F, q); in ready_event_wfq()
981 q->F = 0; in ready_event_wfq()
982 q->S = q->F + 1; in ready_event_wfq()
1086 q->S = q->F + 1; /* mark timestamp as invalid */ in dummynet()
[all …]
H A Dip_dummynet.h292 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-8792.41.9/iokit/DriverKit/
H A DIOReportTypes.h166 #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-8792.41.9/iokit/IOKit/
H A DIOReportTypes.h166 #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-8792.41.9/tools/tests/perf_index/
H A Dmd5.c17 #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-8792.41.9/bsd/dev/i386/
H A Ddis_tables.c153 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()

12