Home
last modified time | relevance | path

Searched refs:fileglob (Results 1 – 25 of 36) sorted by relevance

12

/xnu-10063.141.1/bsd/sys/
H A Dcodesign.h85 struct fileglob;
167 const char * csfg_get_teamid(struct fileglob *);
168 const char * csfg_get_supplement_teamid(struct fileglob *);
169 int csfg_get_path(struct fileglob *, char *, int *);
170 int csfg_get_platform_binary(struct fileglob *);
171 int csfg_get_supplement_platform_binary(struct fileglob *);
172 uint8_t * csfg_get_cdhash(struct fileglob *, uint64_t, size_t *);
173 uint8_t * csfg_get_supplement_cdhash(struct fileglob *, uint64_t, size_t *);
174 const uint8_t * csfg_get_supplement_linkage_cdhash(struct fileglob *, uint64_t, size_t *);
175 int csfg_get_prod_signed(struct fileglob *);
[all …]
H A Dfile_internal.h125 struct fileglob *XNU_PTRAUTH_SIGNED_PTR("fileproc.fp_glob") fp_glob;
173 int (*fo_close) (struct fileglob *fg, vfs_context_t ctx);
178 struct fileglob { struct
179 LIST_ENTRY(fileglob) f_msglist; /* list of files in unix messages */
198 ofd_to_id(const struct fileglob *fg) in ofd_to_id() argument
210 #pragma mark files (struct fileglob)
229 fg_ref(proc_t proc, struct fileglob *fg);
241 fg_drop_live(struct fileglob *fg);
264 fg_drop(proc_t p, struct fileglob *fg);
273 fg_sendable(struct fileglob *fg);
[all …]
H A Dfile.h98 struct fileglob;
103 struct vnode *fg_get_vnode(struct fileglob *fg);
H A Dguarded.h171 struct fileglob;
175 extern void vng_file_label_destroy(struct fileglob *fg);
H A Dvnode_internal.h141 struct fileglob *fl_fg; /* The file that the lease is placed on */
692 int vnode_setlease(vnode_t vp, struct fileglob *fg, int fl_type, int expcounts,
/xnu-10063.141.1/security/
H A Dmac_file.c60 mac_file_check_dup(struct ucred *cred, struct fileglob *fg, int newfd) in mac_file_check_dup()
69 mac_file_check_fcntl(struct ucred *cred, struct fileglob *fg, int cmd, in mac_file_check_fcntl()
79 mac_file_check_ioctl(struct ucred *cred, struct fileglob *fg, u_long cmd) in mac_file_check_ioctl()
88 mac_file_check_inherit(struct ucred *cred, struct fileglob *fg) in mac_file_check_inherit()
97 mac_file_check_receive(struct ucred *cred, struct fileglob *fg) in mac_file_check_receive()
106 mac_file_check_get_offset(struct ucred *cred, struct fileglob *fg) in mac_file_check_get_offset()
115 mac_file_check_change_offset(struct ucred *cred, struct fileglob *fg) in mac_file_check_change_offset()
124 mac_file_check_get(struct ucred *cred, struct fileglob *fg, char *elements, in mac_file_check_get()
134 mac_file_check_set(struct ucred *cred, struct fileglob *fg, char *buf, in mac_file_check_set()
144 mac_file_check_lock(struct ucred *cred, struct fileglob *fg, int op, in mac_file_check_lock()
[all …]
H A Dmac_framework.h92 struct fileglob;
190 int mac_file_check_change_offset(kauth_cred_t cred, struct fileglob *fg) __result_use_check;
192 int mac_file_check_dup(kauth_cred_t cred, struct fileglob *fg, int newfd) __result_use_check;
193 int mac_file_check_fcntl(kauth_cred_t cred, struct fileglob *fg, int cmd,
195 int mac_file_check_get(kauth_cred_t cred, struct fileglob *fg,
197 int mac_file_check_get_offset(kauth_cred_t cred, struct fileglob *fg) __result_use_check;
198 int mac_file_check_inherit(kauth_cred_t cred, struct fileglob *fg) __result_use_check;
199 int mac_file_check_ioctl(kauth_cred_t cred, struct fileglob *fg,
201 int mac_file_check_lock(kauth_cred_t cred, struct fileglob *fg, int op,
204 struct fileglob *fg, off_t slice_offset,
[all …]
H A Dmac_policy.h96 struct fileglob;
775 struct fileglob *fg,
807 struct fileglob *fg,
827 struct fileglob *fg,
847 struct fileglob *fg,
865 struct fileglob *fg,
882 struct fileglob *fg,
905 struct fileglob *fg,
926 struct fileglob *fg,
951 struct fileglob *fg,
[all …]
H A Dmac_necp.c56 mac_necp_check_client_action(proc_t proc, struct fileglob *fg, uint32_t action) in mac_necp_check_client_action()
H A Dmac_base.c1769 mac_file_setxattr(struct fileglob *fg __unused, const char *name __unused, char *buf __unused, size… in mac_file_setxattr()
1775 mac_file_getxattr(struct fileglob *fg __unused, const char *name __unused, in mac_file_getxattr()
1782 mac_file_removexattr(struct fileglob *fg __unused, const char *name __unused) in mac_file_removexattr()
/xnu-10063.141.1/osfmk/kern/
H A Dipc_misc.h32 struct fileglob;
33 ipc_port_t fileport_alloc(struct fileglob *);
34 struct fileglob *fileport_port_to_fileglob(ipc_port_t);
37 int (*)(mach_port_name_t, struct fileglob *, void *), void *, int *);
39 bool (^cb)(size_t i, mach_port_name_t, struct fileglob *));
H A Dipc_misc.c39 extern void fileport_releasefg(struct fileglob *);
53 fileport_alloc(struct fileglob *fg) in fileport_alloc()
74 struct fileglob *
96 struct fileglob *fg; in fileport_no_senders()
120 int (*action)(mach_port_name_t, struct fileglob *, void *), in fileport_invoke() argument
125 struct fileglob *fg; in fileport_invoke()
154 bool (^cb)(size_t i, mach_port_name_t, struct fileglob *))
180 struct fileglob *fg;
/xnu-10063.141.1/bsd/kern/
H A Dkern_cs.c1021 csfg_get_platform_binary(struct fileglob *fg) in csfg_get_platform_binary()
1060 csfg_get_supplement_platform_binary(struct fileglob *fg __unused) in csfg_get_supplement_platform_binary()
1103 csfg_get_cdhash(struct fileglob *fg, uint64_t offset, size_t *cdhash_size) in csfg_get_cdhash()
1128 csfg_get_supplement_cdhash(struct fileglob *fg __unused, uint64_t offset __unused, size_t *cdhash_s… in csfg_get_supplement_cdhash()
1159 csfg_get_supplement_linkage_cdhash(struct fileglob *fg __unused, uint64_t offset __unused, size_t *… in csfg_get_supplement_linkage_cdhash()
1197 csfg_get_signer_type(struct fileglob *fg) in csfg_get_signer_type()
1236 csfg_get_supplement_signer_type(struct fileglob *fg __unused) in csfg_get_supplement_signer_type()
1285 csfg_get_validation_category(struct fileglob *fg, uint64_t offset) in csfg_get_validation_category()
1314 csfg_get_supplement_validation_category(struct fileglob *fg __unused, uint64_t offset __unused) in csfg_get_supplement_validation_category()
1355 csfg_get_teamid(struct fileglob *fg) in csfg_get_teamid()
[all …]
H A Duipc_usrreq.c140 static LIST_HEAD(, fileglob) unp_msghead = LIST_HEAD_INITIALIZER(unp_msghead);
210 static void unp_scan(struct mbuf *, void (*)(struct fileglob *, void *arg), void *arg);
211 static void unp_mark(struct fileglob *, __unused void *);
212 static void unp_discard(struct fileglob *, void *);
2217 fg_insertuipc_mark(struct fileglob * fg) in fg_insertuipc_mark()
2254 fg_insertuipc(struct fileglob * fg) in fg_insertuipc()
2283 fg_removeuipc_mark(struct fileglob * fg) in fg_removeuipc_mark()
2318 fg_removeuipc(struct fileglob * fg) in fg_removeuipc()
2344 struct fileglob **rp = (struct fileglob **)(cm + 1); in unp_externalize()
2412 if (sizeof(struct fileglob *) != sizeof(int)) { in unp_externalize()
[all …]
H A Dkern_descrip.c135 void fileport_releasefg(struct fileglob *fg);
154 ZONE_DEFINE_TYPE(fg_zone, "fileglob", struct fileglob, ZC_ZFREE_CLEARMEM);
179 fg_free(struct fileglob *fg) in fg_free()
203 fg_ref(proc_t p, struct fileglob *fg) in fg_ref()
214 fg_drop_live(struct fileglob *fg) in fg_drop_live()
220 fg_drop(proc_t p, struct fileglob *fg) in fg_drop()
276 struct fileglob *fg, in fg_set_data()
297 fg_get_data_volatile(struct fileglob *fg) in fg_get_data_volatile()
317 fg_transfer_filelocks(proc_t p, struct fileglob *fg, thread_t thread) in fg_transfer_filelocks()
366 fg_sendable(struct fileglob *fg) in fg_sendable()
[all …]
H A Dsys_socket.c97 static int soo_close(struct fileglob *, vfs_context_t ctx);
409 soo_close(struct fileglob *fg, __unused vfs_context_t ctx) in soo_close()
H A Dposix_shm.c184 static int pshm_closefile(struct fileglob *fg, vfs_context_t ctx);
1066 pshm_closefile(struct fileglob *fg, __unused vfs_context_t ctx) in pshm_closefile()
H A Dkern_guarded.c924 struct fileglob *fg = fp->fp_glob; in vnguard_sysc_getguardattr()
986 struct fileglob *fg = fp->fp_glob; in vnguard_sysc_setguard()
1124 vng_file_label_destroy(struct fileglob *fg) in vng_file_label_destroy()
H A Dposix_sem.c169 static int psem_closefile(struct fileglob *fp, vfs_context_t ctx);
1028 psem_closefile(struct fileglob *fg, __unused vfs_context_t ctx) in psem_closefile()
H A Dsys_pipe.c175 static int pipe_close(struct fileglob *fg, vfs_context_t ctx);
1306 pipe_close(struct fileglob *fg, __unused vfs_context_t ctx) in pipe_close()
/xnu-10063.141.1/bsd/dev/dtrace/scripts/
H A Dio.d199 translator fileinfo_t < struct fileglob *F > {
244 (struct fileglob *)(curproc->p_fd.fd_ofiles[fd]->fp_glob) :
245 (struct fileglob *)NULL);
/xnu-10063.141.1/bsd/miscfs/fifofs/
H A Dfifo_vnops.c404 struct fileglob filefg; in fifo_ioctl()
411 bzero(&filefg, sizeof(struct fileglob)); in fifo_ioctl()
437 struct fileglob filefg; in fifo_select()
441 bzero(&filefg, sizeof(struct fileglob)); in fifo_select()
/xnu-10063.141.1/bsd/skywalk/nexus/
H A Dnexus_syscalls.c40 static int nxop_close(struct fileglob *, vfs_context_t);
67 nxop_close(struct fileglob *fg, vfs_context_t ctx) in nxop_close()
/xnu-10063.141.1/bsd/skywalk/channel/
H A Dchannel_syscalls.c41 static int chop_close(struct fileglob *, vfs_context_t);
95 chop_close(struct fileglob *fg, vfs_context_t ctx) in chop_close()
/xnu-10063.141.1/bsd/vfs/
H A Dvfs_vnops.c114 static int vn_closefile(struct fileglob *fp, vfs_context_t ctx);
1027 vn_offset_lock(struct fileglob *fg) in vn_offset_lock()
1040 vn_offset_unlock(struct fileglob *fg) in vn_offset_unlock()
1804 vn_closefile(struct fileglob *fg, vfs_context_t ctx) in vn_closefile()

12