| /xnu-8019.80.24/tools/cocci/ |
| H A D | OSAtomic_rewrite.cocci | 7 @@ expression E; @@ 10 - OSIncrementAtomic(E) 11 + os_atomic_inc_orig(E, relaxed) 13 - OSIncrementAtomic8(E) 14 + os_atomic_inc_orig(E, relaxed) 16 - OSIncrementAtomic16(E) 17 + os_atomic_inc_orig(E, relaxed) 19 - OSIncrementAtomic32(E) 20 + os_atomic_inc_orig(E, relaxed) 22 - OSIncrementAtomic64(E) [all …]
|
| H A D | mcache_atomic_rewrite.cocci | 7 @@ expression E, F, A; @@ 10 - atomic_add_16_ov(E, 1) 11 + os_atomic_inc_orig(E, relaxed) 13 - atomic_add_16(E, 1) 14 + os_atomic_inc(E, relaxed) 16 - atomic_add_32_ov(E, 1) 17 + os_atomic_inc_orig(E, relaxed) 19 - atomic_add_32(E, 1) 20 + os_atomic_inc(E, relaxed) 22 - atomic_add_64_ov(E, 1) [all …]
|
| H A D | hw_atomic_rewrite.cocci | 7 @@ expression E, F; @@ // hw_atomic_add -> os_atomic_{inc,dec} 10 - hw_atomic_add(E, -1) + 1 11 + os_atomic_dec_orig(E, relaxed) 13 - hw_atomic_add(E, -1) 14 + os_atomic_dec(E, relaxed) 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) 22 - hw_atomic_add(E, 1) - 1 [all …]
|
| H A D | os_atomic_normalize.cocci | 30 @@ expression E, F, m; @@ 33 - os_atomic_add(E, 1, m) 34 + os_atomic_inc(E, m) 36 - os_atomic_add_orig(E, 1, m) 37 + os_atomic_inc_orig(E, m) 39 - os_atomic_sub(E, -1, m) 40 + os_atomic_inc(E, m) 42 - os_atomic_sub_orig(E, -1, m) 43 + os_atomic_inc_orig(E, m) 45 - os_atomic_add(E, -1, m) [all …]
|
| H A D | zalloc.iso | 7 expression E, F; 10 memset(E, 0, F) <=> bzero(E, F) <=> bzero((T)E, F) 14 expression E; 17 (T)zalloc(E) <=> zalloc(E) 21 expression E, F; 24 (T)zalloc_flags(E, F) <=> zalloc_flags(E, F) 28 expression E; 31 (T)kalloc(E) <=> kalloc(E) 35 expression E, F; 38 (T)kalloc_flags(E, F) <=> kalloc_flags(E, F) [all …]
|
| H A D | c11_atomic_builtin_rewrite.cocci | 26 expression E; 36 -((T)E) 37 +E 39 -(T)E 40 +E 42 E 50 expression E; 60 -((T)E) 61 +E 63 -(T)E [all …]
|
| 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 | ...\) 28 E = kalloc_type(T, \(Z_WAITOK\| Z_WAITOK | ...\) 32 E = \(kalloc_data\|kalloc_flags\)(sizeof(F), \(Z_WAITOK\| Z_WAITOK | ...\) 36 - E = kalloc(sizeof(F)); [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) 24 - kheap_free_addr(KHEAP_DATA_BUFFERS, E) [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 | ...\) 28 - bzero(E, G); 33 - E = kalloc(F); 34 + E = kalloc_flags(F, Z_WAITOK | Z_ZERO); [all …]
|
| /xnu-8019.80.24/bsd/nfs/ |
| H A D | nfsm_subs.h | 115 #define nfsm_name_len_check(E, ND, LEN) \ argument 117 if (E) break; \ 119 (E) = NFSERR_NAMETOL; \ 124 #define nfsm_assert(E, COND, ERR) \ argument 126 if (E) break; \ 128 (E) = (ERR); \ 172 #define nfsmout_if(E) do { if (E) goto nfsmout; } while (0) argument 173 #define nfsmerr_if(E) do { if (E) goto nfsmerr; } while (0) argument 180 #define nfsmout_on_status(ND, E) \ argument 184 (E) = 0; \ [all …]
|
| H A D | xdr_subs.h | 435 #define xb_build_done(E, XB) \ argument 437 if (E) break; \ 442 #define xb_add_32(E, XB, VAL) \ argument 445 if (E) break; \ 447 (E) = xb_add_bytes((XB), (void*)&__tmp, XDRWORD, 0); \ 451 #define xb_add_64(E, XB, VAL) \ argument 454 if (E) break; \ 457 (E) = xb_add_bytes((XB), (char*)&__tmp2, 2 * XDRWORD, 0); \ 461 #define xb_add_word_array(E, XB, A, LEN) \ argument 464 xb_add_32((E), (XB), (LEN)); \ [all …]
|
| H A D | nfsnode.h | 541 #define NFS_FLOCK_LENGTH(S, E) (((E) == UINT64_MAX) ? 0 : ((E) - (S) + 1)) argument 542 #define NFS_LOCK_LENGTH(S, E) (((E) == UINT64_MAX) ? UINT64_MAX : ((E) - (S) + 1)) argument
|
| H A D | nfs.h | 888 #define FSDBG(A, B, C, D, E) \ argument 890 (int)(B), (int)(C), (int)(D), (int)(E), 0) 891 #define FSDBG_TOP(A, B, C, D, E) \ argument 893 (int)(B), (int)(C), (int)(D), (int)(E), 0) 894 #define FSDBG_BOT(A, B, C, D, E) \ argument 896 (int)(B), (int)(C), (int)(D), (int)(E), 0)
|
| H A D | nfs_vfsops.c | 3344 #define xb_copy_32(E, XBSRC, XBDST, V) \ in nfs_mirror_mount_domount() argument 3346 if (E) break; \ in nfs_mirror_mount_domount() 3347 xb_get_32((E), (XBSRC), (V)); \ in nfs_mirror_mount_domount() 3349 xb_add_32((E), (XBDST), (V)); \ in nfs_mirror_mount_domount() 3351 #define xb_copy_opaque(E, XBSRC, XBDST) \ in nfs_mirror_mount_domount() argument 3354 xb_copy_32((E), (XBSRC), (XBDST), __count); \ in nfs_mirror_mount_domount() 3355 if (E) break; \ in nfs_mirror_mount_domount() 3359 xb_copy_32((E), (XBSRC), (XBDST), __val); \ in nfs_mirror_mount_domount()
|
| /xnu-8019.80.24/bsd/kern/ |
| H A D | tty.c | 151 #define E 0x00 /* Even parity. */ macro 173 E | CC, O | CC, O | CC, E | CC, O | CC, E | CC, E | CC, O | CC, /* nul - bel */ 174 O | BS, E | TB, E | NL, O | CC, E | VT, O | CR, O | CC, E | CC, /* bs - si */ 175 O | CC, E | CC, E | CC, O | CC, E | CC, O | CC, O | CC, E | CC, /* dle - etb */ 176 E | CC, O | CC, O | CC, E | CC, O | CC, E | CC, E | CC, O | CC, /* can - us */ 177 O | NO, E | NO, E | NO, O | NO, E | NO, O | NO, O | NO, E | NO, /* sp - ' */ 178 E | NO, O | NO, O | NO, E | NO, O | NO, E | NO, E | NO, O | NO, /* ( - / */ 179 E | NA, O | NA, O | NA, E | NA, O | NA, E | NA, E | NA, O | NA, /* 0 - 7 */ 180 O | NA, E | NA, E | NO, O | NO, E | NO, O | NO, O | NO, E | NO, /* 8 - ? */ 181 O | NO, E | NA, E | NA, O | NA, E | NA, O | NA, O | NA, E | NA, /* @ - G */ [all …]
|
| /xnu-8019.80.24/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-8019.80.24/iokit/DriverKit/ |
| 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-8019.80.24/libsyscall/mach/ |
| H A D | err_iokit.sub | 168 "(iokit/firewire) kIOFireWireInsufficientPower", // 00E
|
| /xnu-8019.80.24/doc/ |
| H A D | xnu_build_consolidation.md | 59 * On all P-cores or all E-cores.
|
| H A D | sched_clutch_edge.md | 183 … being designed, much of the emphasis was placed on delineating work across E-cores and P-cores. C…
|
| /xnu-8019.80.24/makedefs/ |
| H A D | MakeInc.def | 378 ### ifeq ($(shell $(CC) -E -fbounds-attributes /dev/null 2>/dev/null && echo 1),1) 386 ifneq ($(shell $(CC) -E -fbounds-attributes /dev/null 2>/dev/null && echo 1),1)
|
| /xnu-8019.80.24/tools/lldbmacros/ |
| H A D | README.md | 12 E. FAQ and General Coding Guidelines 241 E. FAQs and Generel Coding Guidelines
|
| /xnu-8019.80.24/ |
| H A D | README.md | 40 * \<arch> : can be valid arch to build for. (E.g. `X86_64`)
|