| /xnu-11215/security/ |
| H A D | mac_framework.h | 120 struct vnode; 156 struct vnode *vp, off_t offset, struct vnode *scriptvp, 176 struct vnode *vp, off_t offset, struct vnode *scriptvp, 188 struct vnode *vp); 452 struct vnode *tvp, struct vnode *fvp, struct componentname *cnp, 493 struct vnode *fvp, struct componentname *fcnp, struct vnode *tdvp, 496 struct vnode *fvp, struct componentname *fcnp, struct vnode *tdvp, 543 struct vnode *vp); 548 struct vnode *vp); 573 struct vnode *fdvp, struct componentname *fcnp, struct vnode *tvp, [all …]
|
| H A D | mac_policy.h | 119 struct vnode; 294 struct vnode *vp, 531 struct vnode *vp, 669 struct vnode *vp, 1276 struct vnode *vp, 1372 struct vnode *vp, 3007 struct vnode *vp, 3042 struct vnode *vp, 3147 struct vnode *vp, 3164 struct vnode *vp, [all …]
|
| H A D | mac_vfs.c | 347 struct vnode *vp) in mac_devfs_label_update() 396 struct vnode *vp) in mac_vnode_label_associate_devfs() 447 struct vnode *dvp, struct vnode *vp, struct componentname *cnp) in mac_vnode_notify_create() 1110 struct vnode *v1, struct vnode *v2) in mac_vnode_check_exchangedata() 1644 struct vnode *vp) in mac_vnode_check_read() 1737 struct vnode *fvp, struct componentname *fcnp, struct vnode *tdvp, in mac_vnode_check_rename() 2005 struct vnode *vp) in mac_vnode_check_stat() 2652 struct vnode *fvp; in mac_vnode_label_associate_fdesc() 2824 struct vnode *tvp, struct vnode *fvp, struct componentname *cnp, in mac_vnode_check_copyfile() 2871 struct vnode *fvp, struct componentname *fcnp, struct vnode *tdvp, in mac_vnode_notify_rename_swap() [all …]
|
| H A D | mac_vfs_subr.c | 45 vnode_label(struct mount *mp, struct vnode *dvp, struct vnode *vp, in vnode_label() 147 vnode_relabel(struct vnode *vp) in vnode_relabel() 166 mac_vnop_setxattr(struct vnode *vp, const char *name, char *buf, size_t len) in mac_vnop_setxattr() 196 mac_vnop_getxattr(struct vnode *vp, const char *name, char *buf, size_t len, in mac_vnop_getxattr() 216 mac_vnop_removexattr(struct vnode *vp, const char *name) in mac_vnop_removexattr()
|
| H A D | mac_file.c | 214 struct vnode *vp = NULL; in mac_file_setxattr() 220 vp = (struct vnode *)fg_get_data(fg); in mac_file_setxattr() 234 struct vnode *vp = NULL; in mac_file_getxattr() 240 vp = (struct vnode *)fg_get_data(fg); in mac_file_getxattr() 253 struct vnode *vp = NULL; in mac_file_removexattr() 259 vp = (struct vnode *)fg_get_data(fg); in mac_file_removexattr()
|
| /xnu-11215/bsd/miscfs/nullfs/ |
| H A D | nullfs.h | 90 struct vnode * nullm_rootvp; /* Reference to root null_node (inode 1) */ 91 struct vnode * nullm_secondvp; /* Reference to virtual directory vnode to wrap app 93 struct vnode * nullm_lowerrootvp; /* reference to the root of the tree we are 116 struct vnode * null_lowervp; /* VREFed once */ 117 struct vnode * null_vnode; /* Back pointer */ 144 …struct mount * mp, struct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct compone… 145 int null_hashget(struct mount * mp, struct vnode * lowervp, struct vnode ** vpp); 147 …struct mount * mp, struct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct compone…
|
| H A D | null_subr.c | 96 static int null_hashins(struct mount *, struct null_node *, struct vnode **); 136 null_hashget(struct mount * mp, struct vnode * lowervp, struct vnode ** vpp) in null_hashget() 140 struct vnode * vp = NULL; in null_hashget() 187 null_hashins(struct mount * mp, struct null_node * xp, struct vnode ** vpp) in null_hashins() 191 struct vnode * ovp = NULL; in null_hashins() 251 null_nodecreate(struct vnode * lowervp) in null_nodecreate() 266 …struct mount * mp, struct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct compone… in null_getnewvnode() 313 …struct mount * mp, struct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct compone… in null_nodeget() 315 struct vnode * vp; in null_nodeget()
|
| /xnu-11215/bsd/miscfs/bindfs/ |
| H A D | bindfs.h | 89 struct vnode * bindm_rootvp; /* Reference to root bind_node (inode 1) */ 90 struct vnode * bindm_lowerrootvp; /* reference to the root of the tree we are 106 struct vnode * bind_lowervp; /* VREFed once */ 107 struct vnode * bind_vnode; /* Back pointer */ 132 …struct mount * mp, struct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct compone… 133 int bind_hashget(struct mount * mp, struct vnode * lowervp, struct vnode ** vpp); 135 …struct mount * mp, struct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct compone…
|
| H A D | bind_subr.c | 93 static int bind_hashins(struct mount *, struct bind_node *, struct vnode **); 129 bind_hashget(struct mount * mp, struct vnode * lowervp, struct vnode ** vpp) in bind_hashget() 133 struct vnode * vp = NULL; in bind_hashget() 183 bind_hashins(struct mount * mp, struct bind_node * xp, struct vnode ** vpp) in bind_hashins() 187 struct vnode * ovp = NULL; in bind_hashins() 245 bind_nodecreate(struct vnode * lowervp) in bind_nodecreate() 260 …struct mount * mp, struct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct compone… in bind_getnewvnode() 307 …struct mount * mp, struct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct compone… in bind_nodeget() 309 struct vnode * vp; in bind_nodeget()
|
| H A D | bind_vnops.c | 145 struct vnode *vp, *lvp; in bindfs_open() 164 struct vnode *vp, *lvp; in bindfs_close() 272 struct vnode * vp; in bind_reclaim() 274 struct vnode * lowervp; in bind_reclaim() 393 struct vnode *vp, *lvp; in bindfs_readlink() 429 struct vnode *vp, *lvp; in bindfs_mmap() 448 struct vnode *vp, *lvp; in bindfs_mnomap() 467 struct vnode *vp, *lvp; in bindfs_getxattr() 486 struct vnode *vp, *lvp; in bindfs_listxattr() 506 struct vnode *vp, *lvp; in bindfs_pagein() [all …]
|
| /xnu-11215/bsd/sys/ |
| H A D | ubc.h | 57 off_t ubc_blktooff(struct vnode *, daddr64_t); 58 daddr64_t ubc_offtoblk(struct vnode *, off_t); 59 off_t ubc_getsize(struct vnode *); 60 int ubc_setsize(struct vnode *, off_t); 73 kauth_cred_t ubc_getcred(struct vnode *); 75 int ubc_setthreadcred(struct vnode *, struct proc *, struct thread *); 83 int ubc_setcred(struct vnode *, struct ucred *); 99 void ubc_cs_free_and_vnode_unlock(struct vnode *); 101 int UBCINFOEXISTS(const struct vnode *); 167 boolean_t ubc_is_mapped(const struct vnode *, boolean_t *writable); [all …]
|
| H A D | doc_tombstone.h | 48 struct vnode *t_lastop_parent; 49 struct vnode *t_lastop_item; 60 void doc_tombstone_clear(struct doc_tombstone *ut, struct vnode **old_vpp); 61 void doc_tombstone_save(struct vnode *dvp, struct vnode *vp, 65 bool doc_tombstone_should_save(struct doc_tombstone *ut, struct vnode *vp,
|
| H A D | vnode_internal.h | 159 struct vnode { struct 362 extern struct vnode *imgsrc_rootvnodes[]; 466 void fifo_printinfo(struct vnode *vp); 472 errno_t vn_rename(struct vnode *fdvp, struct vnode **fvpp, struct componentname *fcnp, struct vnode… 473 struct vnode *tdvp, struct vnode **tvpp, struct componentname *tcnp, struct vnode_attr *tvap, 490 int vn_authorize_rename(struct vnode *fdvp, struct vnode *fvp, struct componentname *fcnp, 491 struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp, 493 int vn_authorize_renamex(struct vnode *fdvp, struct vnode *fvp, struct componentname *fcnp, 494 struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp, 496 int vn_authorize_renamex_with_paths(struct vnode *fdvp, struct vnode *fvp, struct componentname *fc… [all …]
|
| H A D | namei.h | 109 struct vnode *ni_startdir; /* starting directory */ 110 struct vnode *ni_rootdir; /* logical root directory */ 111 struct vnode *ni_usedvp; /* directory passed in via USEDVP */ 115 struct vnode *ni_vp; /* vnode of result */ 116 struct vnode *ni_dvp; /* vnode of intermediate directory */ 247 int relookup(struct vnode *dvp, struct vnode **vpp, 253 void kdebug_lookup(struct vnode *dp, struct componentname *cnp);
|
| H A D | codesign.h | 83 struct vnode; 97 int cs_entitlements_blob_get_vnode(struct vnode *, off_t, void **, size_t *); 98 int cs_entitlements_dictionary_copy_vnode(struct vnode *, off_t, void **); 108 struct cs_blob * csvnode_get_blob(struct vnode *, off_t); 109 void csvnode_print_debug(struct vnode *); 120 void csvnode_invalidate_flags(struct vnode * vp); 164 const char * csvnode_get_teamid(struct vnode *, off_t); 185 uint8_t csvnode_get_platform_identifier(struct vnode *, off_t);
|
| H A D | file.h | 100 struct vnode; 101 int fp_getfvp(struct proc *p, int fd, struct fileproc **resultfp, struct vnode **resultvp); 103 struct vnode *fg_get_vnode(struct fileglob *fg);
|
| /xnu-11215/osfmk/vm/ |
| H A D | vm_compressor_backing_store_internal.h | 116 struct vnode; 118 extern void vm_swapfile_open(const char *path, struct vnode **vp); 119 extern void vm_swapfile_close(uint64_t path, struct vnode *vp); 120 extern int vm_swapfile_preallocate(struct vnode *vp, uint64_t *size, boolean_t *pin); 121 extern uint64_t vm_swapfile_get_blksize(struct vnode *vp); 122 extern uint64_t vm_swapfile_get_transfer_size(struct vnode *vp); 123 extern int vm_swapfile_io(struct vnode *vp, uint64_t offset, uint64_t start, int npages, int flags,… 124 extern int vm_record_file_write(struct vnode *vp, uint64_t offset, char *buf, int size); 127 int vm_swap_vol_get_budget(struct vnode* vp, uint64_t *freeze_daily_budget);
|
| H A D | vm_protos_internal.h | 77 struct vnode *, 84 struct vnode *); 86 struct vnode *); 88 struct vnode *); 91 struct vnode *); 96 struct vnode *, 99 struct vnode *vp, 107 struct vnode *vp, 111 struct vnode *vp, 116 struct vnode *devvp, [all …]
|
| H A D | vm_ubc.h | 44 struct vnode; 46 extern struct vnode * upl_lookup_vnode(upl_t upl); 82 struct vnode *, memory_object_t); 87 struct vnode *vp); 96 struct vnode *, upl_t, 100 struct vnode *, upl_t,
|
| H A D | vm_protos.h | 170 struct vnode; 171 extern memory_object_t swapfile_pager_setup(struct vnode *vp); 191 struct vnode; 193 extern void vnode_setswapmount(struct vnode *); 194 extern int64_t vnode_getswappin_avail(struct vnode *); 219 struct vnode *vp, 223 struct vnode *vp, 226 struct vnode *vp); 276 extern boolean_t cs_validate_range(struct vnode *vp, 283 struct vnode *vp,
|
| /xnu-11215/bsd/dev/dtrace/scripts/ |
| H A D | io.d | 202 …((struct vnode *)F->fg_data)->v_name == NULL ? "<unknown (NULL v_name)>" : ((struct vnode *)F->fg_… 212 ((struct vnode *)F->fg_data)->v_parent == NULL ? "<unknown (NULL v_parent)>" : 213 (((struct vnode *)F->fg_data)->v_parent->v_name == NULL ? "<unknown (NULL v_name)>" : 214 ((struct vnode *)F->fg_data)->v_parent->v_name); 221 ((struct vnode *)F->fg_data)->v_parent->v_name), 223 ((struct vnode *)F->fg_data)->v_name == NULL ? "<unknown (NULL v_name)>" : 224 ((struct vnode *)F->fg_data)->v_name))); 231 ((struct vnode *)F->fg_data)->v_mount->mnt_vtable->vfc_name; 235 ((struct vnode *)F->fg_data)->v_mount->mnt_vnodecovered == NULL ? "/" : 236 ((struct vnode *)F->fg_data)->v_mount->mnt_vnodecovered->v_name; [all …]
|
| /xnu-11215/iokit/IOKit/ |
| H A D | IOBSD.h | 54 struct vnode; 69 extern boolean_t IOVnodeHasEntitlement(struct vnode *vnode, int64_t off, const char *entitlement); 75 extern char *IOVnodeGetEntitlement(struct vnode *vnode, int64_t offset, const char *entitlement);
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_cs.c | 1031 vp = (struct vnode *)fg_get_data(fg); in csfg_get_platform_binary() 1071 vp = (struct vnode *)fg_get_data(fg); in csfg_get_supplement_platform_binary() 1111 vp = (struct vnode *)fg_get_data(fg); in csfg_get_cdhash() 1137 vp = (struct vnode *)fg_get_data(fg); in csfg_get_supplement_cdhash() 1168 vp = (struct vnode *)fg_get_data(fg); in csfg_get_supplement_linkage_cdhash() 1207 vp = (struct vnode *)fg_get_data(fg); in csfg_get_signer_type() 1247 vp = (struct vnode *)fg_get_data(fg); in csfg_get_supplement_signer_type() 1294 vp = (struct vnode *)fg_get_data(fg); in csfg_get_validation_category() 1324 vp = (struct vnode *)fg_get_data(fg); in csfg_get_supplement_validation_category() 1741 if (vnode == NULL) { in cs_entitlements_blob_get_vnode() [all …]
|
| /xnu-11215/bsd/vm/ |
| H A D | vnode_pager.c | 141 struct vnode *vp, in vnode_pager_was_dirtied() 149 vnode_pager_isinuse(struct vnode *vp) in vnode_pager_isinuse() 158 vnode_pager_return_throttle_io_limit(struct vnode *vp, uint32_t *limit) in vnode_pager_return_throttle_io_limit() 164 vnode_pager_get_filesize(struct vnode *vp) in vnode_pager_get_filesize() 173 struct vnode *vp, in vnode_pager_get_name() 201 struct vnode *vp, in vnode_pager_get_mtime() 214 struct vnode *vp, in vnode_pager_get_cs_blobs() 233 struct vnode *vp, in vnode_trim() 244 struct vnode *devvp; in vnode_trim() 301 vnode_pageout(struct vnode *vp, in vnode_pageout() [all …]
|
| /xnu-11215/bsd/miscfs/devfs/ |
| H A D | devfs_vnops.c | 443 struct vnode *vp = ap->a_vp; in devfs_getattr() 546 struct vnode *vp = ap->a_vp; in devfs_setattr() 618 struct vnode *vp; in devfs_setlabel() 816 struct vnode *vp = ap->a_vp; in devfs_vnop_remove() 817 struct vnode *dvp = ap->a_dvp; in devfs_vnop_remove() 899 struct vnode *vp = ap->a_vp; in devfs_link() 900 struct vnode *tdvp = ap->a_tdvp; in devfs_link() 984 struct vnode *tvp = ap->a_tvp; in devfs_rename() 986 struct vnode *fvp = ap->a_fvp; in devfs_rename() 1331 struct vnode *vp = ap->a_vp; in devfs_readdir() [all …]
|