Home
last modified time | relevance | path

Searched refs:operation (Results 1 – 25 of 40) sorted by relevance

12

/xnu-11215/security/
H A Dmac_internal.h306 #define MAC_PERFORM_CALL(operation, mpc) DTRACE_MACF3(mac__call__ ## operation, void *, mpc, int, 0… argument
307 #define MAC_PERFORM_RSLT(operation, mpc) DTRACE_MACF2(mac__rslt__ ## operation, void *, mpc, int, 0) argument
313 #define MAC_PERFORM(operation, args...) do { \ argument
315 if (mpc->mpc_ops->mpo_ ## operation != NULL) { \
316 MAC_PERFORM_CALL(operation, mpc); \
317 mpc->mpc_ops->mpo_ ## operation (args); \
318 MAC_PERFORM_RSLT(operation, mpc); \
/xnu-11215/bsd/sys/
H A Dulock.h55 extern int ulock_wake(struct task *task, uint32_t operation, user_addr_t addr, uint64_t wake_value);
68 extern int __ulock_wait(uint32_t operation, void *addr, uint64_t value,
72 extern int __ulock_wait2(uint32_t operation, void *addr, uint64_t value,
74 extern int __ulock_wake(uint32_t operation, void *addr, uint64_t wake_value);
H A Dproc_uuid_policy.h88 extern int proc_uuid_policy_kernel(uint32_t operation, uuid_t uuid, uint32_t flags);
115 extern int proc_uuid_policy(uint32_t operation, uuid_t uuid, size_t uuidlen, uint32_t flags);
H A Dsfi.h109 int __sfi_ctl(uint32_t operation, uint32_t sfi_class, uint64_t time, uint64_t *out_time);
110 int __sfi_pidctl(uint32_t operation, pid_t pid, uint32_t sfi_flags, uint32_t *out_sfi_flags);
H A Dwork_interval.h346 int __work_interval_ctl(uint32_t operation, uint64_t work_interval_id, void *arg, size_t len);
/xnu-11215/bsd/kern/
H A Dkern_sfi.c67 uint32_t operation = uap->operation; in sfi_ctl() local
72 switch (operation) { in sfi_ctl()
190 uint32_t operation = uap->operation; in sfi_pidctl() local
197 switch (operation) { in sfi_pidctl()
H A Dsys_ulock.c499 args2.operation = args->operation; in sys_ulock_wait()
511 uint8_t opcode = (uint8_t)(args->operation & UL_OPCODE_MASK); in sys_ulock_wait2()
512 uint flags = args->operation & UL_FLAGS_MASK; in sys_ulock_wait2()
883 uint8_t opcode = (uint8_t)(args->operation & UL_OPCODE_MASK); in sys_ulock_wake()
896 ret = ulock_wake(proc_task(p), args->operation, args->addr, args->wake_value); in sys_ulock_wake()
898 if ((args->operation & ULF_NO_ERRNO) && (ret != 0)) { in sys_ulock_wake()
907 ulock_wake(task_t task, uint32_t operation, user_addr_t addr, uint64_t wake_value) in ulock_wake() argument
909 uint8_t opcode = (uint8_t)(operation & UL_OPCODE_MASK); in ulock_wake()
910 uint flags = operation & UL_FLAGS_MASK; in ulock_wake()
H A Dsys_work_interval.c45 uint32_t operation = uap->operation; in work_interval_ctl() local
56 switch (operation) { in work_interval_ctl()
H A Dproc_uuid_policy.c339 proc_uuid_policy_kernel(uint32_t operation, uuid_t uuid, uint32_t flags) in proc_uuid_policy_kernel() argument
343 switch (operation) { in proc_uuid_policy_kernel()
391 return proc_uuid_policy_kernel(uap->operation, uuid, uap->flags); in proc_uuid_policy()
H A Dsys_coalition.c226 uint32_t operation = cap->operation; in coalition() local
236 switch (operation) { in coalition()
426 uint32_t operation = uap->operation; in coalition_ledger() local
460 switch (operation) { in coalition_ledger()
/xnu-11215/libsyscall/wrappers/
H A Dcoalition.c31 int __coalition(uint32_t operation, uint64_t *cid, uint32_t flags);
32 int __coalition_info(uint32_t operation, uint64_t *cid, void *buffer, size_t *bufsize);
33 int __coalition_ledger(uint32_t operation, uint64_t *cid, void *buffer, size_t *bufsize);
H A Dpersona.c32 int __persona(uint32_t operation, uint32_t flags, struct kpersona_info *info, uid_t *id, size_t *id…
/xnu-11215/libsyscall/mach/
H A Derr_kern.sub89 "(os/kern) operation timed out",
115 "(os/unix) block device required for operation",
135 "(os/unix) operation on device would block",
136 "(os/unix) operation is now in progress",
137 "(os/unix) operation is already in progress",
138 "(os/unix) socket operation attempted on non-socket object",
145 "(os/unix) operation is not supported on sockets",
H A Derr_libkern.sub81 "(libkern/kext) operation deferred (queued to user space)", /* 0x11 */
82 "(libkern/kext) operation/kext not allowed at current boot level", /* 0x12 */
H A Derr_server.sub107 "(server/io) operation rejected under current I/O strategy",
173 "(server/object system) no such operation",
H A Derr_iokit.sub92 "(iokit/common) operation aborted", // 0x2eb
201 "(iokit/bluetooth) interrupted operation, hardware reset", // 001
/xnu-11215/libkern/libkern/compression/
H A Dcompression.h257 compression_stream_operation_t operation,
266 compression_stream_operation_t operation,
/xnu-11215/iokit/DriverKit/
H A DIODMACommand.iig124 * @param offset Start offset of the DMA operation in the descriptor.
170 * @param options Flags for the operation to be performed
176 * @param dmaOffset Offset into the DMA mapping for the operation to begin.
177 * @param length Length of the operation.
/xnu-11215/san/coverage/
H A Dkcov_ksancov.h81 ksancov_on_demand_operation_t operation; member
/xnu-11215/san/tools/
H A Dksancov.h152 ksancov_on_demand_operation_t operation; member
387 msg->operation = op; in _ksancov_on_demand_operation()
/xnu-11215/doc/primitives/
H A Datomics.md42 By default, C11 comes with two variants of each atomic "operation":
49 any `atomic_*_explicit()` operation, then the compiler will generate the
186 For any such operation, two variants exist:
190 *before* the atomic operation took place
193 *after* the atomic operation took place
199 operation and not the original value of `*p`.
/xnu-11215/bsd/vfs/
H A Dvfs_bio.c3093 (uintptr_t)(blkno * PAGE_SIZE), size, operation, 0, 0); in buf_getblk()
3095 ret_only_valid = operation & BLK_ONLYVALID; in buf_getblk()
3096 operation &= ~BLK_ONLYVALID; in buf_getblk()
3109 switch (operation) { in buf_getblk()
3124 (uintptr_t)blkno, size, operation, 0, 0); in buf_getblk()
3206 switch (operation) { in buf_getblk()
3274 operation = BLK_META; in buf_getblk()
3306 if (operation == BLK_META) { in buf_getblk()
3326 switch (operation) { in buf_getblk()
3367 operation == BLK_READ ? "BLK_READ" : "BLK_WRITE"); in buf_getblk()
[all …]
/xnu-11215/osfmk/kern/
H A Dexclaves_xnuproxy.c463 #define exclaves_xnuproxy_endpoint_call_show_progress(operation, step, \ argument
466 "exclaves: xnu proxy endpoint " #operation " " #step ":\t" \
/xnu-11215/iokit/Kernel/
H A DIOPolledInterface.cpp345 uint32_t operation, uint32_t bufferOffset, in IOStartPolledIO() argument
364 err = poller->startIO(operation, bufferOffset, deviceOffset, length, completion); in IOStartPolledIO()
370 …vars, operation, bufferOffset, deviceOffset, length, operation, bufferOffset, deviceOffset, length… in IOStartPolledIO()
/xnu-11215/iokit/IOKit/
H A DIOPolledInterface.h84 virtual IOReturn startIO(uint32_t operation,

12