/xnu-2422.115.4/osfmk/kern/ |
H A D | syscall_sw.h | 92 #define MACH_TRAP(name, arg_count, u32_arg_words, munge32) \ 93 { (arg_count), (kern_return_t (*)(void *)) (name), munge32, (u32_arg_words) } 95 #define MACH_TRAP(name, arg_count, u32_arg_words, munge32) \ 96 { (arg_count), (kern_return_t (*)(void *)) (name), munge32, (u32_arg_words), #name } 105 #define MACH_TRAP(name, arg_count, u32_arg_words, munge32) \ 106 { (arg_count), (kern_return_t (*)(void *)) (name), (u32_arg_words) } 108 #define MACH_TRAP(name, arg_count, u32_arg_words, munge32) \ 109 { (arg_count), (kern_return_t (*)(void *)) (name), (u32_arg_words), #name } [all...] |
/xnu-2422.115.4/libkern/libkern/ |
H A D | tree.h | 86 #define SPLAY_HEAD(name, type) \ 87 struct name { \ 143 #define SPLAY_PROTOTYPE(name, type, field, cmp) \ 144 void name##_SPLAY(struct name *, struct type *); \ 145 void name##_SPLAY_MINMAX(struct name *, int); \ 146 struct type *name##_SPLAY_INSERT(struct name *, struct type *); \ 147 struct type *name##_SPLAY_REMOV [all...] |
/xnu-2422.115.4/osfmk/mach/i386/ |
H A D | sdt_isa.h | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 103 #define DTRACE_CALL0ARGS(provider, name) \ 105 DTRACE_CALL(provider, name) \ 110 #define DTRACE_CALL1ARG(provider, name) \ 112 DTRACE_CALL(provider, name) \ 118 #define DTRACE_CALL2ARGS(provider, name) \ 121 DTRACE_CALL(provider, name) \ 127 #define DTRACE_CALL3ARGS(provider, name) \ 131 DTRACE_CALL(provider, name) \ 137 #define DTRACE_CALL4ARGS(provider, name) \ [all...] |
/xnu-2422.115.4/EXTERNAL_HEADERS/architecture/i386/ |
H A D | asm_help.h | 161 #define LEAF(name, localvarsize) \ 162 .globl name ;\ 164 name: ;\ 170 #define X_LEAF(name, value) \ 171 .globl name ;\ 172 .set name,value 177 #define P_LEAF(name, localvarsize) \ 179 name: ;\ 187 #define LABEL(name) \ 188 .globl name ;\ [all...] |
/xnu-2422.115.4/libsyscall/custom/ |
H A D | SYS.h | 72 #define UNIX_SYSCALL(name, nargs) \ 74 LEAF(_##name, 0) ;\ 75 movl $ SYS_##name, %eax ;\ 81 #define UNIX_SYSCALL_INT(name, nargs) \ 83 LEAF(_##name, 0) ;\ 84 movl $ SYS_##name, %eax ;\ 91 #define UNIX_SYSCALL_NONAME(name, nargs, cerror) \ 92 movl $(SYS_##name | (__SYSCALL_32BIT_ARG_BYTES << I386_SYSCALL_ARG_BYTES_SHIFT)), %eax ;\ 98 #define UNIX_SYSCALL_NONAME(name, nargs, cerror) \ 99 movl $ SYS_##name, [all...] |
/xnu-2422.115.4/osfmk/ipc/ |
H A D | ipc_notify.h | 76 mach_port_name_t name); 81 mach_port_name_t name); 97 /* Send a dead-name notification */ 100 mach_port_name_t name);
|
H A D | ipc_notify.c | 85 mach_port_name_t name) 87 (void)mach_notify_port_deleted(port, name); 103 mach_port_name_t name) 105 (void)mach_notify_send_possible(port, name); 168 * Send a dead-name notification. 177 mach_port_name_t name) 179 (void)mach_notify_dead_name(port, name); 83 ipc_notify_port_deleted( ipc_port_t port, mach_port_name_t name) argument 101 ipc_notify_send_possible( ipc_port_t port, mach_port_name_t name) argument 175 ipc_notify_dead_name( ipc_port_t port, mach_port_name_t name) argument
|
H A D | port.h | 71 #define MACH_PORT_NGEN(name) MACH_PORT_MAKE(0, MACH_PORT_GEN(name))
|
H A D | ipc_right.h | 77 /* Find an entry in a space, given the name */ 80 mach_port_name_t name, 91 /* Translate (space, object) -> (name, entry) */ 101 mach_port_name_t name, 111 mach_port_name_t name, 114 #define ipc_right_request_cancel_macro(space, port, name, entry) \ 116 ipc_right_request_cancel((space), (port), (name), (entry))) 121 mach_port_name_t name, 128 mach_port_name_t name, 134 mach_port_name_t name, [all...] |
H A D | mach_port.c | 110 mach_port_name_t name, 124 mach_port_name_t name, 151 mach_port_name_t name, 172 type |= ipc_port_request_type(port, name, request); 183 ipc_port_request_type(port, name, request) : 0; 188 * a dead name entry. 195 /* account for additional reference for dead-name notification */ 205 names[actual] = name; 346 mach_port_name_t name; local 348 name 148 mach_port_names_helper( ipc_port_timestamp_t timestamp, ipc_entry_t entry, mach_port_name_t name, mach_port_name_t *names, mach_port_type_t *types, ipc_entry_num_t *actualp) argument 443 mach_port_type( ipc_space_t space, mach_port_name_t name, mach_port_type_t *typep) argument 545 mach_port_allocate_name( ipc_space_t space, mach_port_right_t right, mach_port_name_t name) argument 749 mach_port_destroy( ipc_space_t space, mach_port_name_t name) argument 790 mach_port_deallocate( ipc_space_t space, mach_port_name_t name) argument 830 mach_port_get_refs( ipc_space_t space, mach_port_name_t name, mach_port_right_t right, mach_port_urefs_t *urefsp) argument 914 mach_port_mod_refs( ipc_space_t space, mach_port_name_t name, mach_port_right_t right, mach_port_delta_t delta) argument 985 mach_port_peek( ipc_space_t space, mach_port_name_t name, mach_msg_trailer_type_t trailer_type, mach_port_seqno_t *seqnop, mach_msg_size_t *msg_sizep, mach_msg_id_t *msg_idp, mach_msg_trailer_info_t trailer_infop, mach_msg_type_number_t *trailer_sizep) argument 1050 mach_port_set_mscount( ipc_space_t space, mach_port_name_t name, mach_port_mscount_t mscount) argument 1090 mach_port_set_seqno( ipc_space_t space, mach_port_name_t name, mach_port_seqno_t seqno) argument 1130 mach_port_get_context( ipc_space_t space, mach_port_name_t name, mach_vm_address_t *context) argument 1176 mach_port_set_context( ipc_space_t space, mach_port_name_t name, mach_vm_address_t context) argument 1227 mach_port_get_set_status( ipc_space_t space, mach_port_name_t name, mach_port_name_t **members, mach_msg_type_number_t *membersCnt) argument 1485 mach_port_request_notification( ipc_space_t space, mach_port_name_t name, mach_msg_id_t id, mach_port_mscount_t sync, ipc_port_t notify, ipc_port_t *previousp) argument 1621 mach_port_insert_right( ipc_space_t space, mach_port_name_t name, ipc_port_t poly, mach_msg_type_name_t polyPoly) argument 1658 mach_port_extract_right( ipc_space_t space, mach_port_name_t name, mach_msg_type_name_t msgt_name, ipc_port_t *poly, mach_msg_type_name_t *polyPoly) argument 1731 mach_port_get_attributes( ipc_space_t space, mach_port_name_t name, int flavor, mach_port_info_t info, mach_msg_type_number_t *count) argument 1840 mach_port_set_attributes( ipc_space_t space, mach_port_name_t name, int flavor, mach_port_info_t info, mach_msg_type_number_t count) argument 1982 mach_port_insert_member( ipc_space_t space, mach_port_name_t name, mach_port_name_t psname) argument 2040 mach_port_extract_member( ipc_space_t space, mach_port_name_t name, mach_port_name_t psname) argument 2138 mach_port_unguard_locked( ipc_port_t port, mach_port_name_t name, uint64_t guard) argument 2173 mach_port_guard_exception( mach_port_name_t name, uint64_t inguard, uint64_t portguard, unsigned reason) argument 2266 mach_port_construct( ipc_space_t space, mach_port_options_t *options, uint64_t context, mach_port_name_t *name) argument 2352 mach_port_destruct( ipc_space_t space, mach_port_name_t name, mach_port_delta_t srdelta, uint64_t guard) argument 2393 mach_port_guard( ipc_space_t space, mach_port_name_t name, uint64_t guard, boolean_t strict) argument 2437 mach_port_unguard( ipc_space_t space, mach_port_name_t name, uint64_t guard) argument 2467 mach_get_label( ipc_space_t space, mach_port_name_t name, mach_port_name_t *outlabel) argument 2513 mach_get_label( __unused ipc_space_t space, __unused mach_port_name_t name, __unused mach_port_name_t *outlabel) argument 2527 mach_get_label_text( ipc_space_t space, mach_port_name_t name, labelstr_t policies, labelstr_t outlabel) argument 2569 mach_get_label_text( __unused ipc_space_t space, __unused mach_port_name_t name, __unused labelstr_t policies, __unused labelstr_t outlabel) argument 2582 mach_set_port_label( ipc_space_t space, mach_port_name_t name, labelstr_t labelstr) argument [all...] |
/xnu-2422.115.4/osfmk/mach/machine/ |
H A D | sdt.h | 21 * information: Portions Copyright [yyyy] [name of copyright owner] 45 #define DTRACE_PROBE(provider, name) { \ 46 DTRACE_CALL0ARGS(provider, name) \ 49 #define DTRACE_PROBE1(provider, name, arg0) { \ 52 DTRACE_CALL1ARG(provider, name) \ 55 #define DTRACE_PROBE2(provider, name, arg0, arg1) { \ 59 DTRACE_CALL2ARGS(provider, name) \ 62 #define DTRACE_PROBE3(provider, name, arg0, arg1, arg2) { \ 67 DTRACE_CALL3ARGS(provider, name) \ 70 #define DTRACE_PROBE4(provider, name, arg [all...] |
/xnu-2422.115.4/bsd/sys/ |
H A D | bitstring.h | 44 * 4. Neither the name of the University nor the names of its contributors 84 #define bit_decl(name, nbits) \ 85 ((name)[bitstr_size(nbits)]) 87 /* is bit N of bitstring name set? */ 88 #define bit_test(name, bit) \ 89 ((name)[_bit_byte(bit)] & _bit_mask(bit)) 91 /* set bit N of bitstring name */ 92 #define bit_set(name, bit) \ 93 ((name)[_bit_byte(bit)] |= _bit_mask(bit)) 95 /* set bit N of bitstring name (atomi [all...] |
H A D | xattr.h | 88 ssize_t getxattr(const char *path, const char *name, void *value, size_t size, u_int32_t position, int options); 90 ssize_t fgetxattr(int fd, const char *name, void *value, size_t size, u_int32_t position, int options); 92 int setxattr(const char *path, const char *name, const void *value, size_t size, u_int32_t position, int options); 94 int fsetxattr(int fd, const char *name, const void *value, size_t size, u_int32_t position, int options); 96 int removexattr(const char *path, const char *name, int options); 98 int fremovexattr(int fd, const char *name, int options);
|
/xnu-2422.115.4/libsyscall/mach/ |
H A D | mach_port.c | 53 mach_port_name_t name, 58 rv = _kernelrpc_mach_port_type(task, name, ptype); 80 mach_port_name_t name) 84 rv = _kernelrpc_mach_port_allocate_name(task, right, name); 93 mach_port_name_t *name) 97 rv = _kernelrpc_mach_port_allocate_trap(task, right, name); 100 rv = _kernelrpc_mach_port_allocate(task, right, name); 108 mach_port_name_t name) 112 rv = _kernelrpc_mach_port_destroy_trap(task, name); 115 rv = _kernelrpc_mach_port_destroy(task, name); 51 mach_port_type( ipc_space_t task, mach_port_name_t name, mach_port_type_t *ptype) argument 77 mach_port_allocate_name( ipc_space_t task, mach_port_right_t right, mach_port_name_t name) argument 90 mach_port_allocate( ipc_space_t task, mach_port_right_t right, mach_port_name_t *name) argument 106 mach_port_destroy( ipc_space_t task, mach_port_name_t name) argument 121 mach_port_deallocate( ipc_space_t task, mach_port_name_t name) argument 136 mach_port_get_refs( ipc_space_t task, mach_port_name_t name, mach_port_right_t right, mach_port_urefs_t *refs) argument 150 mach_port_mod_refs( ipc_space_t task, mach_port_name_t name, mach_port_right_t right, mach_port_delta_t delta) argument 167 mach_port_peek( ipc_space_t task, mach_port_name_t name, mach_msg_trailer_type_t trailer_type, mach_port_seqno_t *seqnop, mach_msg_size_t *msg_sizep, mach_msg_id_t *msg_idp, mach_msg_trailer_info_t trailer_infop, mach_msg_type_number_t *trailer_sizep) argument 187 mach_port_set_mscount( ipc_space_t task, mach_port_name_t name, mach_port_mscount_t mscount) argument 200 mach_port_get_set_status( ipc_space_t task, mach_port_name_t name, mach_port_name_array_t *members, mach_msg_type_number_t *membersCnt) argument 231 mach_port_request_notification( ipc_space_t task, mach_port_name_t name, mach_msg_id_t msgid, mach_port_mscount_t sync, mach_port_t notify, mach_msg_type_name_t notifyPoly, mach_port_t *previous) argument 249 mach_port_insert_right( ipc_space_t task, mach_port_name_t name, mach_port_t poly, mach_msg_type_name_t polyPoly) argument 267 mach_port_extract_right( ipc_space_t task, mach_port_name_t name, mach_msg_type_name_t msgt_name, mach_port_t *poly, mach_msg_type_name_t *polyPoly) argument 283 mach_port_set_seqno( ipc_space_t task, mach_port_name_t name, mach_port_seqno_t seqno) argument 296 mach_port_get_attributes( ipc_space_t task, mach_port_name_t name, mach_port_flavor_t flavor, mach_port_info_t port_info_out, mach_msg_type_number_t *port_info_outCnt) argument 312 mach_port_set_attributes( ipc_space_t task, mach_port_name_t name, mach_port_flavor_t flavor, mach_port_info_t port_info, mach_msg_type_number_t port_infoCnt) argument 328 mach_port_allocate_qos( ipc_space_t task, mach_port_right_t right, mach_port_qos_t *qos, mach_port_name_t *name) argument 342 mach_port_allocate_full( ipc_space_t task, mach_port_right_t right, mach_port_t proto, mach_port_qos_t *qos, mach_port_name_t *name) argument 369 mach_port_get_srights( ipc_space_t task, mach_port_name_t name, mach_port_rights_t *srights) argument 399 mach_port_dnrequest_info( ipc_space_t task, mach_port_name_t name, unsigned *dnr_total, unsigned *dnr_used) argument 414 mach_port_kernel_object( ipc_space_t task, mach_port_name_t name, unsigned *object_type, unsigned *object_addr) argument 429 mach_port_insert_member( ipc_space_t task, mach_port_name_t name, mach_port_name_t pset) argument 445 mach_port_extract_member( ipc_space_t task, mach_port_name_t name, mach_port_name_t pset) argument 461 mach_port_get_context( ipc_space_t task, mach_port_name_t name, mach_port_context_t *context) argument 479 mach_port_set_context( ipc_space_t task, mach_port_name_t name, mach_port_context_t context) argument 492 mach_port_kobject( ipc_space_t task, mach_port_name_t name, natural_t *object_type, mach_vm_address_t *object_addr) argument 506 mach_port_construct( ipc_space_t task, mach_port_options_t *options, mach_port_context_t context, mach_port_name_t *name) argument 523 mach_port_destruct( ipc_space_t task, mach_port_name_t name, mach_port_delta_t srdelta, mach_port_context_t guard) argument 541 mach_port_guard( ipc_space_t task, mach_port_name_t name, mach_port_context_t guard, boolean_t strict) argument 559 mach_port_unguard( ipc_space_t task, mach_port_name_t name, mach_port_context_t guard) argument [all...] |
/xnu-2422.115.4/bsd/dev/i386/ |
H A D | fbt_x86.c | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 324 * FBT probe name validation 327 is_symbol_valid(const char* name) argument 335 if (LIT_STRNSTART(name, "dtrace_") && !LIT_STRNSTART(name, "dtrace_safe_")) { 345 if (LIT_STRNSTART(name, "fasttrap_") || 346 LIT_STRNSTART(name, "fuword") || 347 LIT_STRNSTART(name, "suword") || 348 LIT_STRNEQL(name, "sprlock") || 349 LIT_STRNEQL(name, "sprunloc 963 char *name = strings + sym[i].n_un.n_strx; local 1005 char* name = symbol->dtsym_name; local [all...] |
/xnu-2422.115.4/osfmk/mach/ |
H A D | mk_timer.h | 48 mach_port_name_t name); 51 mach_port_name_t name, 55 mach_port_name_t name,
|
H A D | mach_port.defs | 82 * the type (set or port) for each name. 91 * Returns the type (set or port) for the port name 93 * there is a dead-name request for the name. 98 name : mach_port_name_t; 102 * Changes the name by which a port (or port set) is known to 103 * the target task. The new name can't be in use. The 104 * old name becomes available for recycling. 116 * Allocates the specified kind of object, with the given name. 130 name [all...] |
H A D | kmod.h | 91 char name[KMOD_MAX_NAME]; member in struct:kmod_info 108 uint8_t name[KMOD_MAX_NAME]; member in struct:kmod_info_32_v1 125 uint8_t name[KMOD_MAX_NAME]; member in struct:kmod_info_64_v1 147 #define KMOD_DECL(name, version) \ 148 static kmod_start_func_t name ## _module_start; \ 149 static kmod_stop_func_t name ## _module_stop; \ 151 { #name }, { version }, -1, 0, 0, 0, 0, \ 152 name ## _module_start, \ 153 name ## _module_stop }; 155 #define KMOD_EXPLICIT_DECL(name, versio [all...] |
H A D | port.h | 75 * [task-local] name to identify it - and the the various "rights" 97 * The name is Mach port namespace specific. It is used to 101 * Use of this type usually implies just a name - no rights. 122 * little of it gets to use the kernel task's port name space. 125 * a given port coalesce [have the same name/pointer]. The actual 163 * In user-space, "rights" are represented by the name of the 166 * of a right coming along with the name. 168 * Often, various rights for a port held in a single name space 169 * will coalesce and are, therefore, be identified by a single name 171 * always [send-once rights currently get a unique name fo 365 unsigned int name:1; /* name given */ member in struct:mach_port_qos [all...] |
/xnu-2422.115.4/libsyscall/wrappers/legacy/ |
H A D | bind.c | 46 bind(int s, const struct sockaddr *name, socklen_t namelen) argument 48 int ret = __bind(s, name, namelen);
|
H A D | connect.c | 46 connect(int s, const struct sockaddr *name, socklen_t namelen) argument 48 int ret = __connect_nocancel(s, name, namelen);
|
/xnu-2422.115.4/bsd/hfs/hfscommon/headers/ |
H A D | CatalogPrivate.h | 62 FileMgrInternal.i. Double size of short unicode name. 69 <CS3> 7/16/97 DSH FilesInternal.i renamed FileMgrInternal.i to avoid name 96 extern OSErr LocateCatalogRecord( const ExtendedVCB *volume, HFSCatalogNodeID folderID, const CatalogName *name, 105 extern void ConvertInputNameToUnicode(ConstStr31Param name, TextEncoding encodingHint, 108 extern void BuildCatalogKey( HFSCatalogNodeID parentID, const CatalogName *name, Boolean isHFSPlus, 111 extern OSErr BuildCatalogKeyUTF8(ExtendedVCB *volume, HFSCatalogNodeID parentID, const unsigned char *name, 116 extern OSErr ResolveFileID( ExtendedVCB *vcb, HFSCatalogNodeID fileID, HFSCatalogNodeID *parentID, Str31 name );
|
/xnu-2422.115.4/bsd/miscfs/devfs/ |
H A D | devfs_proto.h | 37 devdirent_t * dev_findname(devnode_t * dir, const char *name); 38 int dev_add_name(const char * name, devnode_t * dirnode, devdirent_t * back, 47 int dev_add_entry(const char *name, devnode_t * parent, int type, devnode_type_t * typeinfo,
|
/xnu-2422.115.4/osfmk/default_pager/ |
H A D | diag.h | 52 #define VSTATS_LOCK_DECL(name) 62 #define VSTATS_LOCK_DECL(name) struct lck_mtx_t name;
|
/xnu-2422.115.4/security/ |
H A D | mac_posix_sem.c | 109 const char *name) 112 MAC_PERFORM(posixsem_label_associate, cred, psem, psem->psem_label, name); 126 mac_posixsem_check_create(kauth_cred_t cred, const char *name) argument 133 MAC_CHECK(posixsem_check_create, cred, name); 167 const char *name) 174 MAC_CHECK(posixsem_check_unlink, cred, psem, psem->psem_label, name); 108 mac_posixsem_label_associate(kauth_cred_t cred, struct pseminfo *psem, const char *name) argument 166 mac_posixsem_check_unlink(kauth_cred_t cred, struct pseminfo *psem, const char *name) argument
|