Home
last modified time | relevance | path

Searched refs:vnode_t (Results 1 – 25 of 99) sorted by relevance

1234

/xnu-11215/bsd/sys/
H A Dvnode_if.h194 vnode_t a_dvp;
218 vnode_t a_dvp;
244 vnode_t a_dvp;
297 vnode_t a_vp;
359 vnode_t a_vp;
381 vnode_t a_vp;
403 vnode_t a_vp;
428 vnode_t a_vp;
454 vnode_t a_vp;
479 vnode_t a_vp;
[all …]
H A Dvnode_internal.h526 errno_t vnode_makenamedstream(vnode_t, vnode_t *, const char *, int, vfs_context_t);
527 errno_t vnode_removenamedstream(vnode_t, vnode_t, const char *, int, vfs_context_t);
528 errno_t vnode_flushnamedstream(vnode_t vp, vnode_t svp, vfs_context_t context);
529 errno_t vnode_relenamedstream(vnode_t vp, vnode_t svp);
541 const char *cache_enter_create(vnode_t dvp, vnode_t vp, struct componentname *cnp);
562 vnode_t vnode_getparent_if_different(vnode_t, vnode_t);
570 vnode_t vnode_drop_and_unlock(vnode_t);
620 void vnode_lock(vnode_t);
621 void vnode_unlock(vnode_t);
657 int vnode_get_snapdir(vnode_t, vnode_t *, vfs_context_t);
[all …]
H A Dvnode.h397 vnode_t vp,
1209 errno_t vnode_setasnamedstream(vnode_t vp, vnode_t svp);
1218 errno_t vnode_setasfirmlink(vnode_t vp, vnode_t target_vp);
1227 errno_t vnode_getfirmlink(vnode_t vp, vnode_t *target_vp);
1788 vnode_t vnode_drop(vnode_t vp);
2409 vnode_t vnode_getparent(vnode_t vp);
2487 vnode_t vnode_parent(vnode_t vp);
2558 void vnode_setparent(vnode_t, vnode_t);
2561 vnode_t vnode_mountdevvp(vnode_t);
2590 int vnode_getbackingvnode(vnode_t in_vp, vnode_t* out_vpp);
[all …]
H A Dubc.h77 errno_t ubc_msync(vnode_t, off_t, off_t, off_t *, int);
78 int ubc_pages_resident(vnode_t);
79 int ubc_page_op(vnode_t, off_t, int, ppnum_t *, int *);
80 int ubc_range_op(vnode_t, off_t, off_t, int, int *);
88 struct cs_blob *ubc_cs_blob_get_supplement(vnode_t, off_t);
93 int ubc_cs_generation_check(vnode_t);
108 int advisory_read(vnode_t, off_t, off_t, int);
111 int cluster_read(vnode_t, struct uio *, off_t, int);
123 int cluster_push(vnode_t, int);
133 int cluster_copy_ubc_data(vnode_t, uio_t, int *, int);
[all …]
H A Dubc_internal.h108 vnode_t csb_vnode;
228 memory_object_control_t ubc_getobject(vnode_t, int);
230 int ubc_info_init(vnode_t);
231 int ubc_info_init_withsize(vnode_t, off_t);
234 int ubc_isinuse(vnode_t, int);
235 int ubc_isinuse_locked(vnode_t, int, int);
245 void cs_blob_require(struct cs_blob *, vnode_t);
247 vnode_t, uint32_t, cpu_type_t, cpu_subtype_t, off_t,
251 int ubc_cs_blob_add_supplement(vnode_t, vnode_t, off_t, vm_address_t *, vm_size_t, struct cs_bl…
253 struct cs_blob *ubc_get_cs_blobs(vnode_t);
[all …]
H A Dnamei.h234 vnode_t nc_dvp; /* vnode of parent of name */
235 vnode_t nc_vp; /* vnode the name refers to */
250 int lookup_traverse_union(vnode_t dvp, vnode_t *new_dvp, vfs_context_t ctx);
252 void lookup_compound_vnop_post_hook(int error, vnode_t dvp, vnode_t vp, struct nameidata *ndp, i…
259 int cache_lookup_path(struct nameidata *ndp, struct componentname *cnp, vnode_t dp,
260 vfs_context_t context, int *dp_authorized, vnode_t last_dp);
262 void vnode_cache_authorized_action(vnode_t vp, vfs_context_t context, kauth_action_t act…
263 void vnode_uncache_authorized_action(vnode_t vp, kauth_action_t action);
264 boolean_t vnode_cache_is_stale(vnode_t vp);
265 boolean_t vnode_cache_is_authorized(vnode_t vp, vfs_context_t context, kauth_action_t action);
[all …]
H A Dbuf.h553 vnode_t buf_vnode(buf_t bp);
562 void buf_setvnode(buf_t bp, vnode_t vp);
584 errno_t buf_setdevice(buf_t bp, vnode_t vp);
599 errno_t buf_strategy(vnode_t devvp, void *ap);
625 errno_t buf_invalblkno(vnode_t vp, daddr64_t lblkno, int flags);
719 buf_t buf_alloc(vnode_t vp);
751 int buf_invalidateblks(vnode_t vp, int flags, int slpflag, int slptimeo);
777 void buf_flushdirtyblks(vnode_t vp, int wait, int flags, const char *msg);
796 void buf_iterate(vnode_t vp, int (*callout)(buf_t, void *), int flags, void *arg);
898 errno_t buf_bread(vnode_t vp, daddr64_t blkno, int size, kauth_cred_t cred, buf_t *bpp);
[all …]
H A Ddecmpfs.h242 int decmpfs_file_is_compressed(vnode_t vp, decmpfs_cnode *cp);
243 errno_t decmpfs_validate_compressed_file(vnode_t vp, decmpfs_cnode *cp);
244 int decmpfs_decompress_file(vnode_t vp, decmpfs_cnode *cp, off_t toSize, int truncate_okay, int ski…
245 int decmpfs_free_compressed_data(vnode_t vp, decmpfs_cnode *cp);
246 int decmpfs_update_attributes(vnode_t vp, struct vnode_attr *vap);
252 typedef int (*decmpfs_validate_compressed_file_func)(vnode_t vp, vfs_context_t ctx, decmpfs_header …
253 typedef void (*decmpfs_adjust_fetch_region_func)(vnode_t vp, vfs_context_t ctx, decmpfs_header *hdr…
254 typedef int (*decmpfs_fetch_uncompressed_data_func)(vnode_t vp, vfs_context_t ctx, decmpfs_header *…
255 typedef int (*decmpfs_free_compressed_data_func)(vnode_t vp, vfs_context_t ctx, decmpfs_header *hdr…
256 typedef uint64_t (*decmpfs_get_decompression_flags_func)(vnode_t vp, vfs_context_t ctx, decmpfs_hea…
H A Dmount_internal.h146vnode_t mnt_devvp; /* the device mounted on for local file system…
177 vnode_t mnt_realrootvp;
313 …int (*vfc_mountroot)(mount_t, vnode_t, vfs_context_t); /* if != NULL, routine to moun…
461 int vfs_setmounting(vnode_t);
462 void vfs_clearmounting(vnode_t);
463 void vfs_setmountedon(vnode_t);
466 void mount_dropcrossref(mount_t, vnode_t, int);
502 int kernel_mount(const char *, vnode_t, vnode_t, const char *, void *, size_t, int, uint32_t, vfs_c…
H A Dbuf_internal.h121 vnode_t b_vp; /* File vnode for data, device vnode for metadata. */
153 vnode_t b_vnop_vp; /* identifies vp on which VNOP has been called */
316 buf_t alloc_io_buf(vnode_t, int);
329 int buf_flushdirtyblks_skipinfo(vnode_t, int, int, const char *);
330 void buf_wait_for_shadow_io(vnode_t, daddr64_t);
340 vnode_t buf_vnop_vnode(buf_t);
H A Dfsevents.h163 void create_fsevent_from_kevent(vnode_t vp, uint32_t kevents, struct vnode_attr *vap);
176 int vnode_get_fse_info_from_vap(vnode_t vp, fse_info *fse, struct vnode_attr *vap);
185 int need_fsevent(int type, vnode_t vp);
187 int test_fse_access_granted(vnode_t vp, unsigned long type, vfs_context_t);
H A Dmount.h846 extern int VFS_MOUNT(mount_t, vnode_t, user_addr_t, vfs_context_t);
849 extern int VFS_ROOT(mount_t, vnode_t *, vfs_context_t);
854 extern int VFS_VGET(mount_t, ino64_t, vnode_t *, vfs_context_t);
855 extern int VFS_FHTOVP(mount_t, int, unsigned char *, vnode_t *, vfs_context_t);
856 extern int VFS_VPTOFH(vnode_t, int *, unsigned char *, vfs_context_t);
859 extern int VFS_VGET_SNAPDIR(mount_t, vnode_t *, vfs_context_t);
903 int vfs_init_io_attributes(vnode_t devvp, mount_t mp);
1333 int vfs_getbyid(fsid_t *fsid, ino64_t ino, vnode_t *vpp, vfs_context_t ctx);
1339 int vfs_setdevvp(mount_t mp, vnode_t vp);
1340 vnode_t vfs_devvp(mount_t mp); /* Please see block comment with implementation */
[all …]
/xnu-11215/bsd/vfs/
H A Dkpi_vfs.c150 static errno_t post_rename(vnode_t fdvp, vnode_t fvp, vnode_t tdvp, vnode_t tvp);
824 vnode_t
866 vnode_t
1534 vnode_t
1774 vnode_t
1804 vnode_t
2331 vnode_t
2338 vnode_setparent(vnode_t vp, vnode_t dvp) in vnode_setparent()
2458 vnode_t
4744 post_rename(vnode_t fdvp, vnode_t fvp, vnode_t tdvp, vnode_t tvp) in post_rename()
[all …]
H A Dvfs_cache.c385 vnode_t pvp; in vnode_issubdir()
516 vnode_t vp, tvp; in build_path_with_parent()
708 vnode_t dvp; in build_path_with_parent()
986 vnode_t
1000 vnode_getparent_if_different(vnode_t vp, vnode_t pvp) in vnode_getparent_if_different()
1342 vnode_setasfirmlink(vnode_t vp, vnode_t target_vp) in vnode_setasfirmlink()
1424 vnode_getfirmlink(vnode_t vp, vnode_t *target_vp) in vnode_getfirmlink()
2382 static vnode_t
2420 static vnode_t
2540 vnode_t vp; in cache_lookup_fallback()
[all …]
H A Dvfs_xattr.c415 vnode_setasnamedstream_internal(vnode_t vp, vnode_t svp) in vnode_setasnamedstream_internal()
453 vnode_setasnamedstream(vnode_t vp, vnode_t svp) in vnode_setasnamedstream()
543 vnode_relenamedstream(vnode_t vp, vnode_t svp) in vnode_relenamedstream()
545 vnode_t dvp; in vnode_relenamedstream()
595 vnode_flushnamedstream(vnode_t vp, vnode_t svp, vfs_context_t context) in vnode_flushnamedstream()
1731 vnode_t xvp = NULL; in default_getxattr_vfs()
1847 vnode_t xvp = NULL; in default_setxattr_vfs()
2259 vnode_t xvp = NULL; in default_removexattr_vfs()
2477 vnode_t xvp = NULL; in default_listxattr_vfs()
2604 vnode_t xvp = NULL; in default_getxattr_doubleagent()
[all …]
H A Dvfs_subr.c206 static vnode_t checkalias(vnode_t vp, dev_t nvp_rdev);
587 vnode_t vp; in vnode_umount_preflight()
640 vnode_t vp; in vnode_iterate_prepare()
1443 vnode_t tdp; in verify_incoming_rootfs()
3385 vnode_t vp; in get_vp_from_dev()
3509 vnode_cmp_chrtoblk(vnode_t vp, vnode_t blk_vp) in vnode_cmp_chrtoblk()
6207 vnode_t
6213 vnode_t
7963 vnode_t vp = (vnode_t)0; in vn_create()
8070 vnode_t vp, vnode_t dvp, int *errorp);
[all …]
H A Dvfs_lookup.c192 vnode_t usedvp_dp = NULLVP; in namei()
775 vnode_t svp = NULLVP; in lookup_handle_rsrc_fork()
886 vnode_t dp; in lookup_handle_found_vnode()
1064 vnode_t dp; in lookup_handle_emptyname()
1187 vnode_t last_dp = NULLVP;
1540 lookup_traverse_union(vnode_t dvp, vnode_t *new_dvp, vfs_context_t ctx)
1547 vnode_t vp = dvp;
1636 vnode_t tdp;
1639 vnode_t mounted_on_dp;
1760 vnode_t dp;
[all …]
H A Dvfs_exclave_fs.c52 vnode_t vp;
70 vnode_t vp;
384 vnode_t base_vp = rft->vp; in get_base_dir()
837 vnode_t base_vp; in vfs_exclave_fs_root()
958 vnode_t vp; in decrement_vnode_open_count()
1151 vnode_t vp = NULLVP; in vfs_exclave_fs_close()
1187 vnode_t vp = NULLVP; in exclave_fs_io()
1266 vnode_t rvp = NULLVP; in vfs_exclave_fs_remove()
1300 vnode_t vp = NULLVP; in vfs_exclave_fs_sync()
1365 vnode_t dvp = NULLVP; in vfs_exclave_fs_readdir()
[all …]
H A Dvfs_syscalls.c181 vnode_t olddp;
182 vnode_t newdp;
353 vnode_t pvp, vnode_t vp, void *data, size_t datalen, in vfs_mount_at_path()
2296 vnode_t vp; in get_imgsrc_rootvnode()
2312 relocate_imageboot_source(vnode_t pvp, vnode_t vp, in relocate_imageboot_source()
2709 vnode_t vp; in unmount()
2847 vnode_t coveredvp = (vnode_t)0; in dounmount()
3144 vnode_t vp; in dounmount_submounts()
3587 vnode_t vp; in statfs()
3680 vnode_t vp; in statfs64()
[all …]
/xnu-11215/bsd/kern/
H A Dtty_tty.c83 static vnode_t cttyvp(proc_t p);
88 vnode_t ttyvp = cttyvp(p); in cttyopen()
162 vnode_t ttyvp = cttyvp(current_proc()); in cttyread()
182 vnode_t ttyvp = cttyvp(current_proc()); in cttywrite()
202 vnode_t ttyvp = cttyvp(current_proc()); in cttyioctl()
237 vnode_t ttyvp = cttyvp(current_proc()); in cttyselect()
253 static vnode_t
258 vnode_t vp; in cttyvp()
H A Dkern_cs.c1025 vnode_t vp; in csfg_get_platform_binary()
1065 vnode_t vp; in csfg_get_supplement_platform_binary()
1105 vnode_t vp; in csfg_get_cdhash()
1131 vnode_t vp; in csfg_get_supplement_cdhash()
1162 vnode_t vp; in csfg_get_supplement_linkage_cdhash()
1201 vnode_t vp; in csfg_get_signer_type()
1241 vnode_t vp; in csfg_get_supplement_signer_type()
1288 vnode_t vp; in csfg_get_validation_category()
1318 vnode_t vp; in csfg_get_supplement_validation_category()
1359 vnode_t vp; in csfg_get_teamid()
[all …]
/xnu-11215/bsd/vm/
H A Dvm_compressor_backing_file.c47 vm_swapfile_open(const char *path, vnode_t *vp) in vm_swapfile_open()
74 vm_swapfile_get_blksize(vnode_t vp) in vm_swapfile_get_blksize()
80 vm_swapfile_get_transfer_size(vnode_t vp) in vm_swapfile_get_transfer_size()
85 int unlink1(vfs_context_t, vnode_t, user_addr_t, enum uio_seg, int);
88 vm_swapfile_close(uint64_t path_addr, vnode_t vp) in vm_swapfile_close()
108 vm_swapfile_preallocate(vnode_t vp, uint64_t *size, boolean_t *pin) in vm_swapfile_preallocate()
166 vm_record_file_write(vnode_t vp, uint64_t offset, char *buf, int size) in vm_record_file_write()
281 vnode_trim_list(vnode_t vp, struct trim_list *tl, boolean_t route_only) in vnode_trim_list()
390 vm_swap_vol_get_budget(vnode_t vp, uint64_t *freeze_daily_budget) in vm_swap_vol_get_budget()
392 vnode_t devvp = NULL; in vm_swap_vol_get_budget()
[all …]
/xnu-11215/bsd/miscfs/mockfs/
H A Dmockfs_vnops.c92 vnode_t dvp; in mockfs_lookup()
93 vnode_t * vpp; in mockfs_lookup()
169 vnode_t vp; in mockfs_getattr()
211 vnode_t vp; in mockfs_read()
249 vnode_t vp; in mockfs_reclaim()
276 vnode_t dvp; in mockfs_strategy()
370 vnode_t vp; in mockfs_blockmap()
H A Dmockfs_vfsops.c44 int mockfs_mountroot(mount_t mp, vnode_t rvp, __unused vfs_context_t ctx);
50 int mockfs_root(mount_t mp, vnode_t * vpp, __unused vfs_context_t ctx);
65 mockfs_mountroot(mount_t mp, vnode_t rvp, __unused vfs_context_t ctx) in mockfs_mountroot()
208 mockfs_root(mount_t mp, vnode_t * vpp, __unused vfs_context_t ctx) in mockfs_root()
/xnu-11215/bsd/miscfs/routefs/
H A Droutefs.h41 vnode_t route_rvp; /* vnode of the target of route */
47 vnode_t route_rvp; /* vnode of the target of route */

1234