Searched refs:vnode (Results 1 - 25 of 159) sorted by relevance

1234567

/darwin-on-arm/xnu/bsd/kern/
H A Dmach_fat.h35 #include <sys/vnode.h>
37 load_return_t fatfile_getarch_affinity(struct vnode *vp, vm_offset_t data_ptr,
39 load_return_t fatfile_getarch(struct vnode *vp, vm_offset_t data_ptr,
41 load_return_t fatfile_getarch_with_bits(struct vnode *vp, integer_t archbits,
H A Dmach_fat.c31 #include <sys/vnode.h>
48 * Args: vp: The vnode for the fat file.
62 struct vnode *vp,
64 __unused struct vnode *vp,
198 struct vnode *vp,
217 * Args: vp: The vnode for the fat file.
227 struct vnode *vp,
241 * Args: vp: The vnode for the fat file.
252 struct vnode *vp,
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_hotfiles.h109 struct vnode;
119 int hfs_addhotfile (struct vnode *);
120 int hfs_removehotfile (struct vnode *);
H A Dhfs.h53 #include <sys/vnode.h>
159 struct vnode *hfs_devvp; /* block device mounted vnode */
160 struct vnode * hfs_extents_vp;
161 struct vnode * hfs_catalog_vp;
162 struct vnode * hfs_allocation_vp;
163 struct vnode * hfs_attribute_vp;
164 struct vnode * hfs_startup_vp;
165 struct vnode * hfs_attrdata_vp; /* pseudo file */
271 struct vnode *jv
[all...]
H A Dhfs_attrlist.h36 #include <sys/vnode.h>
103 struct vnode *vp, struct cat_desc *descp, struct cat_attr *attrp,
H A Dhfs_cnode.h38 #include <sys/vnode.h>
141 struct vnode *c_vp; /* vnode for data fork or dir */
142 struct vnode *c_rsrc_vp; /* vnode for resource fork */
200 #define H_ATTACH 0x00002 /* CNode is being attached to by another vnode */
247 * Convert between cnode pointers and vnode pointers
255 * Convert between vnode pointers and file forks
276 * unlinked in between the time we acquired its vnode and the time we acquire the cnode lock
300 int hfs_uncompressed_size_of_compressed_file(struct hfsmount *hfsmp, struct vnode *v
[all...]
/darwin-on-arm/xnu/bsd/vm/
H A Dvnode_pager.h52 * For the vnode pager, backing store comes in two flavors: normal files and
57 * access the file's contents directly through the vnode interface.
72 struct vnode *pf_vp; /* vnode of paging file */
93 struct vnode *vp;
115 * Basic vnode pager structure. One per object, backing-store pair.
122 /* boolean_t */ vs_swapfile:1; /* vnode is a swapfile */
125 struct vnode *vs_vp; /* vnode to page to */
/darwin-on-arm/xnu/security/
H A Dmac_framework.h122 struct vnode;
159 struct vnode *vp, struct label *scriptvnodelabel,
175 struct vnode *vp, struct label *scriptvnodelabel,
185 struct vnode *vp);
264 int mac_mount_check_mount(vfs_context_t ctx, struct vnode *vp,
394 int mac_system_check_acct(kauth_cred_t cred, struct vnode *vp);
396 int mac_system_check_auditctl(kauth_cred_t cred, struct vnode *vp);
403 int mac_system_check_swapoff(kauth_cred_t cred, struct vnode *vp);
404 int mac_system_check_swapon(kauth_cred_t cred, struct vnode *vp);
457 int mac_vnode_check_access(vfs_context_t ctx, struct vnode *v
[all...]
H A Dmac_vfs.c152 * vnode labels are allocated at the same time as vnodes, but vnodes are never
205 mac_vnode_label_destroy(struct vnode *vp)
225 mac_vnode_label_externalize_audit(struct vnode *vp, struct mac *mac)
229 /* It is assumed that any necessary vnode locking is done on entry */
230 error = MAC_EXTERNALIZE_AUDIT(vnode, vp->v_label,
242 error = MAC_EXTERNALIZE(vnode, label, elements, outbuf, outbuflen);
252 error = MAC_INTERNALIZE(vnode, label, string);
289 struct vnode *vp)
300 mac_vnode_label_associate(struct mount *mp, struct vnode *vp, vfs_context_t ctx)
329 struct vnode *v
[all...]
H A Dmac_system.c66 #include <sys/vnode.h>
73 mac_system_check_acct(kauth_cred_t cred, struct vnode *vp)
152 mac_system_check_swapon(kauth_cred_t cred, struct vnode *vp)
164 mac_system_check_swapoff(kauth_cred_t cred, struct vnode *vp)
H A Dmac_vfs_subr.c29 #include <sys/vnode.h>
42 * Caller holds I/O reference on vnode
45 vnode_label(struct mount *mp, struct vnode *dvp, struct vnode *vp,
70 * has since labeled this vnode
116 vprint("vnode label timeout", vp);
134 * Caller holds vnode lock.
137 vnode_relabel(struct vnode *vp)
157 mac_vnop_setxattr (struct vnode *vp, const char *name, char *buf, size_t len)
186 mac_vnop_getxattr (struct vnode *v
[all...]
H A Dmac_policy.h108 struct vnode;
292 @param scriptvnodelabel Script vnode label
301 call occurs when a process executes the passed vnode. If a policy
308 The supplied vnode and vnodelabel correspond with the file actually
310 example, a script), the label of the original exec-time vnode has
316 The vnode lock is held during this operation. No changes should be
327 struct vnode *vp,
520 @param scriptvnodelabel Script vnode label
528 executes the passed vnode and one of the loaded policy modules has
533 The supplied vnode an
[all...]
/darwin-on-arm/xnu/bsd/sys/
H A Dlockf.h70 struct vnode;
79 * the vnode structure. Locks are sorted by the starting byte of the lock for
94 struct vnode *lf_vnode; /* Back pointer to the inode */
H A Dubc.h52 off_t ubc_blktooff(struct vnode *, daddr64_t);
53 daddr64_t ubc_offtoblk(struct vnode *, off_t);
54 off_t ubc_getsize(struct vnode *);
55 int ubc_setsize(struct vnode *, off_t);
57 kauth_cred_t ubc_getcred(struct vnode *);
59 int ubc_setthreadcred(struct vnode *, struct proc *, struct thread *);
69 int ubc_setcred(struct vnode *, struct proc *) __deprecated;
H A Dnamei.h71 #define LOCKPARENT 0x0008 /* want parent vnode returned */
72 #define WANTPARENT 0x0010 /* want parent vnode returned */
84 #include <sys/vnode.h>
100 enum path_operation ni_op; /* intended operation, see enum path_operation in vnode.h */
105 struct vnode *ni_startdir; /* starting directory */
106 struct vnode *ni_rootdir; /* logical root directory */
107 struct vnode *ni_usedvp; /* directory passed in via USEDVP */
111 struct vnode *ni_vp; /* vnode of result */
112 struct vnode *ni_dv
[all...]
H A Dfiledesc.h93 struct vnode *fd_cdir; /* current directory */
94 struct vnode *fd_rdir; /* root directory */
151 extern struct filedesc *fdcopy(proc_t p, struct vnode *uth_cdir);
H A Dvnode_internal.h61 * @(#)vnode.h 8.17 (Berkeley) 5/20/95
85 #include <sys/vnode.h>
106 * VFS Internal (private) trigger vnode resolver info.
135 struct vnode { struct
136 lck_mtx_t v_lock; /* vnode mutex */
137 TAILQ_ENTRY(vnode) v_freelist; /* vnode freelist */
138 TAILQ_ENTRY(vnode) v_mntvnodes; /* vnodes for mount point */
139 LIST_HEAD(, namecache) v_nclinks; /* name cache entries that name this vnode */
143 uint32_t v_flag; /* vnode flag
[all...]
H A Dkernel_types.h62 struct vnode;
63 typedef struct vnode * vnode_t;
109 typedef struct vnode * vnode_t;
H A Dacct.h108 extern struct vnode *acctp;
/darwin-on-arm/xnu/osfmk/vm/
H A Dvm_protos.h141 struct vnode;
143 extern memory_object_t swapfile_pager_setup(struct vnode *vp);
150 struct vnode;
157 struct vnode *, upl_t,
161 struct vnode *, upl_t,
164 extern uint32_t vnode_trim (struct vnode *, int64_t offset, unsigned long len);
166 struct vnode *, memory_object_t);
168 struct vnode *);
170 struct vnode *);
172 struct vnode *);
[all...]
/darwin-on-arm/xnu/bsd/miscfs/devfs/
H A Dfdesc.h90 struct vnode *fd_vnode; /* Back ptr to vnode */
101 extern int fdesc_allocvp(fdntype, int, struct mount *, struct vnode **, enum vtype, int);
116 extern int fdesc_root(struct mount *, struct vnode **, vfs_context_t);
/darwin-on-arm/xnu/bsd/miscfs/fifofs/
H A Dfifo.h72 * This structure is associated with the FIFO vnode and stores
89 int fifo_freespace(struct vnode *vp, long *count);
90 int fifo_charcount(struct vnode *vp, int *count);
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_journal.h144 struct vnode *jdev; // vnode of the device where the journal lives
148 struct vnode *fsdev; // vnode of the file system device
216 * The "jvp" argument is the vnode where the journal is written.
219 * The "fsvp" argument is the vnode of your file system. It may be
239 journal *journal_create(struct vnode *jvp,
242 struct vnode *fsvp,
259 journal *journal_open(struct vnode *jvp,
262 struct vnode *fsv
[all...]
/darwin-on-arm/xnu/bsd/hfs/hfscommon/BTree/
H A DBTreeNodeReserve.c58 struct vnode *nr_btvp; /* b-tree file vnode */
80 static void nr_insert (struct vnode *, struct nreserve *nrp, int);
81 static void nr_delete (struct vnode *, struct nreserve *nrp, int *);
82 static void nr_update (struct vnode *, int);
252 nr_insert(struct vnode * btvp, struct nreserve *nrp, int nodecnt)
286 nr_delete(struct vnode * btvp, struct nreserve *nrp, int *nodecnt)
309 nr_update(struct vnode * btvp, int nodecnt)
/darwin-on-arm/xnu/bsd/miscfs/specfs/
H A Dspecdev.h78 struct vnode **si_hashchain;
79 struct vnode *si_specnext;
120 extern struct vnode *speclisth[SPECHSZ];

Completed in 128 milliseconds

1234567