Home
last modified time | relevance | path

Searched defs:ctx (Results 26 – 50 of 149) sorted by relevance

123456

/xnu-10063.101.15/bsd/vfs/
H A Dvfs_syscalls.c296 vfs_context_t ctx) in kernel_mount()
349 …vfs_context_t ctx = (flags & VFS_MOUNT_FLAG_CURRENT_CONTEXT) ? vfs_context_current() : vfs_context… in vfs_mount_at_path() local
402 vfs_context_t ctx = vfs_context_current(); in fmount() local
691 vfs_context_t ctx = vfs_context_current(); in graftdmg() local
756 vfs_context_t ctx = vfs_context_current(); in ungraftdmg() local
822 vfs_context_t ctx = vfs_context_current(); in __mac_mount() local
994 char *labelstr, vfs_context_t ctx) in mount_common()
1884 prepare_coveredvp(vnode_t vp, vfs_context_t ctx, struct componentname *cnp, const char *fsname, uin… in prepare_coveredvp()
1960 …devpath_and_update_mntfromname(mount_t mp, user_addr_t devpath, vnode_t *devvpp, vfs_context_t ctx) in authorize_devpath_and_update_mntfromname()
2042 place_mount_and_checkdirs(mount_t mp, vnode_t vp, vfs_context_t ctx) in place_mount_and_checkdirs()
[all …]
H A Dvfs_lookup.c174 vfs_context_t ctx = cnp->cn_context; in namei() local
614 …horize_search(vnode_t dp, struct componentname *cnp, int dp_authorized_in_cache, vfs_context_t ctx) in lookup_authorize_search()
687 …rk(vnode_t dp, struct nameidata *ndp, struct componentname *cnp, int wantparent, vfs_context_t ctx) in lookup_handle_rsrc_fork()
798 int wantparent, int atroot, vfs_context_t ctx) in lookup_handle_found_vnode()
1098 vfs_context_t ctx = cnp->cn_context; local
1454 lookup_traverse_union(vnode_t dvp, vnode_t *new_dvp, vfs_context_t ctx)
1547 int vbusyflags, vfs_context_t ctx)
1665 …handle_symlink(struct nameidata *ndp, vnode_t *new_dp, bool *new_dp_has_iocount, vfs_context_t ctx)
1806 vfs_context_t ctx = cnp->cn_context; local
2037 vfs_getbyid(fsid_t *fsid, ino64_t ino, vnode_t *vpp, vfs_context_t ctx)
[all …]
H A Dvfs_attrlist.c794 enum vtype obj_vtype, ssize_t *attrs_fixed_sizep, vfs_context_t ctx) in vfs_setup_vattr_from_attrlist()
880 setattrlist_setfinderinfo(vnode_t vp, char *fndrinfo, struct vfs_context *ctx) in setattrlist_setfinderinfo()
943 getvolattrlist(vfs_context_t ctx, vnode_t vp, struct attrlist *alp, in getvolattrlist()
1649 attr_pack_common(vfs_context_t ctx, mount_t mp, vnode_t vp, struct attrlist *alp, in attr_pack_common()
2143 attr_pack_file(vfs_context_t ctx, struct vnode *vp, struct attrlist *alp, in attr_pack_file()
2489 int is_realdev, vfs_context_t ctx) in vattr_get_alt_data()
2743 vfs_context_t ctx, int is_bulk, enum vtype vtype, ssize_t fixedsize) in vfs_attr_pack_internal()
3077 struct vnode_attr *vap, __unused void *fndesc, vfs_context_t ctx) in vfs_attr_pack_ext()
3127 struct vnode_attr *vap, __unused void *fndesc, vfs_context_t ctx) in vfs_attr_pack()
3142 getattrlist_internal(vfs_context_t ctx, vnode_t vp, struct attrlist *alp, in getattrlist_internal()
[all …]
H A Dvfs_subr.c1216 vfs_context_t ctx = vfs_context_kernel(); in vfs_mountroot() local
1447 verify_incoming_rootfs(vnode_t *incoming_rootvnodep, vfs_context_t ctx, in verify_incoming_rootfs()
1576 vfs_context_t ctx = vfs_context_kernel(); in vfs_switch_root() local
3018 vfs_context_t ctx = vfs_context_current(); in vclean() local
4353 vfs_context_t ctx = vfs_context_current(); in vfs_init_io_attributes() local
4771 vfs_context_t ctx = vfs_context_current(); in sysctl_vfs_ctlbyfsid() local
6272 vfs_context_t ctx = vfs_context_current(); /* hoist outside loop */ in vnode_put_internal_locked() local
7364 vfs_update_vfsstat(mount_t mp, vfs_context_t ctx, __unused int eventtype) in vfs_update_vfsstat()
7543 vnode_lookupat(const char *path, int flags, vnode_t *vpp, vfs_context_t ctx, in vnode_lookupat()
7594 vnode_lookup(const char *path, int flags, vnode_t *vpp, vfs_context_t ctx) in vnode_lookup()
[all …]
/xnu-10063.101.15/bsd/netinet6/
H A Desp_rijndael.c109 aes_ctx *ctx = (aes_ctx*)sav->sched_enc; in esp_aes_schedule() local
592 aes_encrypt_ctx *ctx = NULL; in esp_aes_cbc_encrypt_data() local
633 aes_decrypt_ctx *ctx = NULL; in esp_aes_cbc_decrypt_data() local
680 aes_gcm_ctx *ctx = (aes_gcm_ctx*)P2ROUNDUP(sav->sched_enc, ESP_GCM_ALIGN); in esp_gcm_schedule() local
749 aes_gcm_ctx *ctx = (aes_gcm_ctx*)P2ROUNDUP(sav->sched_enc, ESP_GCM_ALIGN); in esp_gcm_encrypt_finalize() local
757 aes_gcm_ctx *ctx = (aes_gcm_ctx*)P2ROUNDUP(sav->sched_enc, ESP_GCM_ALIGN); in esp_gcm_decrypt_finalize() local
774 aes_gcm_ctx *ctx; in esp_gcm_encrypt_aes() local
933 aes_gcm_ctx *ctx; in esp_gcm_decrypt_aes() local
1086 aes_gcm_ctx *ctx = (aes_gcm_ctx *)P2ROUNDUP(sav->sched_enc, ESP_GCM_ALIGN); in esp_aes_gcm_encrypt_data() local
1174 aes_gcm_ctx *ctx = NULL; in esp_aes_gcm_decrypt_data() local
/xnu-10063.101.15/osfmk/prng/
H A Dprng_random.c53 bootseed_init_bootloader(const struct ccdigest_info * di, ccdigest_ctx_t ctx) in bootseed_init_bootloader()
75 bootseed_init_native(const struct ccdigest_info * di, ccdigest_ctx_t ctx) in bootseed_init_native()
116 bootseed_init_native(__unused const struct ccdigest_info * di, __unused ccdigest_ctx_t ctx) in bootseed_init_native()
264 register_and_init_prng(struct cckprng_ctx *ctx, const struct cckprng_funcs *funcs) in register_and_init_prng()
342 SHA256_CTX ctx; in write_random() local
/xnu-10063.101.15/bsd/nfs/gss/
H A Dgss_krb5_mech.c452 …t, size_t len, size_t blocksize, int (*crypto_fn)(void *, uint8_t *data, size_t length), void *ctx) in mbuf_walk() argument
606 krb5_mic(crypto_ctx_t ctx, gss_buffer_t header, gss_buffer_t bp, gss_buffer_t trailer, uint8_t *mic… in krb5_mic()
656 krb5_mic_mbuf(crypto_ctx_t ctx, gss_buffer_t header, in krb5_mic_mbuf()
718 krb5_crypt_mbuf(crypto_ctx_t ctx, mbuf_t *mbp, size_t len, int encrypt, cccbc_ctx *ks) in krb5_crypt_mbuf()
941 krb5_key_derivation(crypto_ctx_t ctx, const void *cons, size_t conslen, krb5_key_t *dkey, size_t dk… in krb5_key_derivation()
980 krb5_3des_key_derivation(crypto_ctx_t ctx, const void *cons, size_t conslen, krb5_key_t *des3key) in krb5_3des_key_derivation()
1007 cc_key_schedule_create(crypto_ctx_t ctx) in cc_key_schedule_create()
1061 gss_crypto_ctx_free(crypto_ctx_t ctx) in gss_crypto_ctx_free()
1082 gss_crypto_ctx_init(struct crypto_ctx *ctx, lucid_context_t lucid) in gss_crypto_ctx_init()
1184 gss_krb5_cfx_verify_mic_token(gss_ctx_id_t ctx, gss_cfx_mic_token token) in gss_krb5_cfx_verify_mic_token()
[all …]
/xnu-10063.101.15/osfmk/kern/
H A Dtest_lock.c372 struct smr_ctx *ctx; member
387 smr_sleepable_stress_make_call(struct smr_ctx *ctx) in smr_sleepable_stress_make_call()
398 smr_sleepable_stress_log(struct smr_ctx *ctx, uint64_t n) in smr_sleepable_stress_log()
412 smr_sleepable_stress_idx(struct smr_ctx *ctx, thread_t self) in smr_sleepable_stress_idx()
425 struct smr_ctx *ctx = arg; in smr_sleepable_stress_worker() local
502 struct smr_ctx ctx = { }; in smr_sleepable_stress_test() local
/xnu-10063.101.15/bsd/kern/
H A Dkern_shutdown.c349 sd_openlog(vfs_context_t ctx) in sd_openlog()
371 sd_closelog(vfs_context_t ctx) in sd_closelog()
385 sd_log(vfs_context_t ctx, const char *fmt, ...) in sd_log()
524 vfs_context_t ctx = vfs_context_current(); in sd_callback3() local
577 vfs_context_t ctx = vfs_context_current(); in proc_shutdown() local
H A Dkern_descrip.c1306 struct vfs_context *ctx, in falloc_withinit()
4342 vfs_context_t ctx = vfs_context_current(); in sys_fcntl_nocancel() local
4737 vfs_context_t ctx = vfs_context_current(); in sys_fcntl_nocancel() local
4784 vfs_context_t ctx = vfs_context_current(); in sys_fcntl_nocancel() local
4844 vfs_context_t ctx = vfs_context_current(); in sys_fcntl_nocancel() local
4882 vfs_context_t ctx = vfs_context_current(); in sys_fcntl_nocancel() local
5409 vfs_context_t ctx = vfs_context_current(); in fstat() local
5726 vfs_context_t ctx = vfs_context_current(); in sys_flock() local
5988 fo_read(struct fileproc *fp, struct uio *uio, int flags, vfs_context_t ctx) in fo_read()
5994 fo_no_read(struct fileproc *fp, struct uio *uio, int flags, vfs_context_t ctx) in fo_no_read()
[all …]
H A Dkern_acct.c157 struct vfs_context *ctx; in acct() local
369 vfs_context_t ctx = vfs_context_current(); in acctwatch() local
H A Dsys_pipe.c750 __unused vfs_context_t ctx) in pipe_read()
912 __unused vfs_context_t ctx) in pipe_write()
1188 __unused vfs_context_t ctx) in pipe_ioctl()
1243 pipe_select(struct fileproc *fp, int which, void *wql, vfs_context_t ctx) in pipe_select()
1306 pipe_close(struct fileglob *fg, __unused vfs_context_t ctx) in pipe_close()
1755 pipe_drain(struct fileproc *fp, __unused vfs_context_t ctx) in pipe_drain()
/xnu-10063.101.15/bsd/nfs/
H A Dnfs_serv.c270 vfs_context_t ctx, in nfsrv_access()
405 vfs_context_t ctx, in nfsrv_getattr()
487 vfs_context_t ctx, in nfsrv_setattr()
664 vfs_context_t ctx, in nfsrv_lookup()
770 vfs_context_t ctx, in nfsrv_readlink()
916 vfs_context_t ctx, in nfsrv_read()
1233 nfsrv_modified(vnode_t vp, vfs_context_t ctx) in nfsrv_modified()
1303 vfs_context_t ctx, in nfsrv_write()
1528 vfs_context_t ctx, in nfsrv_writegather()
1990 vfs_context_t ctx, in nfsrv_create()
[all …]
/xnu-10063.101.15/tests/
H A Dprng.c31 prng_getentropy(void *ctx, size_t i) in prng_getentropy()
44 prng_devrandom(void *ctx, size_t i) in prng_devrandom()
H A Dbacktracing_tests.c307 struct fake_async_context * __stack_context_auth ctx = &level2; in backtrace_thread_async() local
309 /* struct fake_async_context * */uint64_t ctx = (uintptr_t)&level2; in backtrace_thread_async() local
479 check_stack(uintptr_t fp, uintptr_t ctx) in check_stack()
493 struct fake_async_context * __stack_context_auth ctx = &level2; in spin_backtrace_async() local
495 /* struct fake_async_context * */uint64_t ctx = (uintptr_t)&level2; in spin_backtrace_async() local
H A Dfd.c14 fd_select_close_helper(void *ctx) in fd_select_close_helper()
61 fd_stress_dup2_close_fun(void *ctx) in fd_stress_dup2_close_fun()
/xnu-10063.101.15/libkern/crypto/
H A Dcorecrypto_des.c61 ccecb_ctx *ctx = enc ? ks->enc : ks->dec; in des_ecb_encrypt() local
92 ccecb_ctx *ctx = enc ? ks->enc : ks->dec; in des3_ecb_encrypt() local
/xnu-10063.101.15/tests/vm/
H A Dvm_unaligned_copy_protection_race.c24 struct context1 *ctx; in protect_thread() local
69 struct context1 context1, *ctx; variable
H A Dvm_unaligned_copy_switch_race.c27 struct context1 *ctx; in switcheroo_thread() local
84 struct context1 context1, *ctx; variable
/xnu-10063.101.15/libsyscall/mach/
H A Dmach_right.c45 mach_right_send_t *_Nullable sr, uintptr_t ctx) in mach_right_recv_construct()
75 uintptr_t ctx) in mach_right_recv_destruct()
/xnu-10063.101.15/bsd/skywalk/packet/
H A Dpbufpool_kern.c242 void *ctx = (pp->pp_flags & PPF_EXTERNAL) ? pp->pp_ctx : NULL; in kern_pbufpool_get_context() local
321 alloc_cb_func_t cb, const void *ctx, uint32_t skmflag) in kern_pbufpool_alloc_batch_common()
348 alloc_cb_func_t cb, const void *ctx) in kern_pbufpool_alloc_batch_callback()
365 alloc_cb_func_t cb, const void *ctx) in kern_pbufpool_alloc_batch_nosleep_callback()
/xnu-10063.101.15/osfmk/corecrypto/
H A Dccdigest_init.c40 ccdigest_init(const struct ccdigest_info *di, ccdigest_ctx_t ctx) in ccdigest_init()
H A Dcccbc.c60 cccbc_ctx *ctx, in cccbc_init()
110 const cccbc_ctx *ctx, in cccbc_update()
H A Dccdigest_final_64be.c42 ccdigest_final_64be(const struct ccdigest_info *di, ccdigest_ctx_t ctx, unsigned char *digest) in ccdigest_final_64be()
/xnu-10063.101.15/iokit/Kernel/
H A DIOWorkloadConfig.cpp361 parsePhases(workload_config_ctx_t *ctx, const OSSymbol &id, OSObject *phasesObj) in parsePhases()
461 parseWorkloadIDTable(workload_config_ctx_t *ctx, OSDictionary *IDTable) in parseWorkloadIDTable()
515 parseWorkloadIDConfigurationFlags(workload_config_ctx_t *ctx, const OSObject *idTableFlagsObj) in parseWorkloadIDConfigurationFlags()
582 IOParseWorkloadConfig(workload_config_ctx_t *ctx, const char *buffer, size_t size) in IOParseWorkloadConfig()

123456