Searched refs:fileglob (Results 1 - 19 of 19) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/security/
H A Dmac_file.c64 mac_file_label_init(struct fileglob *fg)
79 mac_file_label_associate(struct ucred *cred, struct fileglob *fg)
86 mac_file_label_destroy(struct fileglob *fg)
103 mac_file_check_dup(struct ucred *cred, struct fileglob *fg, int newfd)
112 mac_file_check_fcntl(struct ucred *cred, struct fileglob *fg, int cmd,
122 mac_file_check_ioctl(struct ucred *cred, struct fileglob *fg, u_int cmd)
131 mac_file_check_inherit(struct ucred *cred, struct fileglob *fg)
140 mac_file_check_receive(struct ucred *cred, struct fileglob *fg)
149 mac_file_check_get_offset(struct ucred *cred, struct fileglob *fg)
158 mac_file_check_change_offset(struct ucred *cred, struct fileglob *f
[all...]
H A Dmac_framework.h89 struct fileglob;
175 int mac_file_check_change_offset(kauth_cred_t cred, struct fileglob *fg);
177 int mac_file_check_dup(kauth_cred_t cred, struct fileglob *fg, int newfd);
178 int mac_file_check_fcntl(kauth_cred_t cred, struct fileglob *fg, int cmd,
180 int mac_file_check_get(kauth_cred_t cred, struct fileglob *fg,
182 int mac_file_check_get_offset(kauth_cred_t cred, struct fileglob *fg);
183 int mac_file_check_inherit(kauth_cred_t cred, struct fileglob *fg);
184 int mac_file_check_ioctl(kauth_cred_t cred, struct fileglob *fg,
186 int mac_file_check_lock(kauth_cred_t cred, struct fileglob *fg, int op,
188 int mac_file_check_mmap(kauth_cred_t cred, struct fileglob *f
[all...]
H A Dmac_policy.h89 struct fileglob;
665 struct fileglob *fg,
689 duplicate the fileglob structure represented by fg and as file
697 struct fileglob *fg,
717 struct fileglob *fg,
737 struct fileglob *fg,
755 struct fileglob *fg,
765 inherit the fileglob structure represented by fg.
772 struct fileglob *fg,
795 struct fileglob *f
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dfile_internal.h93 struct fileglob * f_fglob;
130 #define FG_TERM 0x01 /* the fileglob is terminating .. */
133 #define FG_RMMSGQ 0x08 /* the fileglob is being removed from msgqueue */
134 #define FG_WRMMSGQ 0x10 /* wait for the fileglob to be removed from msgqueue */
136 struct fileglob { struct
137 LIST_ENTRY(fileglob) f_list;/* list of active files */
138 LIST_ENTRY(fileglob) f_msglist;/* list of active files */
155 int (*fo_close) (struct fileglob *fg, vfs_context_t ctx);
172 LIST_HEAD(filelist, fileglob);
173 LIST_HEAD(fmsglist, fileglob);
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Duipc_usrreq.c136 static void unp_scan(struct mbuf *, void (*)(struct fileglob *));
137 static void unp_mark(struct fileglob *);
138 static void unp_discard(struct fileglob *);
139 static void unp_discard_fdlocked(struct fileglob *, proc_t);
1234 struct fileglob **rp = (struct fileglob **)(cm + 1);
1236 struct fileglob *fg;
1334 struct fileglob **rp;
1347 rp = (struct fileglob **)(cm + 1);
1355 rp = (struct fileglob **)(c
[all...]
H A Dkern_descrip.c120 void fg_free(struct fileglob *fg);
127 static int closef_finish(struct fileproc *fp, struct fileglob *fg, proc_t p, vfs_context_t ctx);
3363 struct fileglob *fg;
3402 MALLOC_ZONE(fg, struct fileglob *, sizeof(struct fileglob), M_FILEGLOB, M_WAITOK);
3410 bzero(fg, sizeof(struct fileglob));
3459 * drop the credential reference, if the fileglob has one, and
3462 * Parameters: fg Pointer to fileglob to be
3468 fg_free(struct fileglob *fg)
3849 * Description: Called on last open instance for a fileglob fo
[all...]
H A Dsys_socket.c97 static int soo_close(struct fileglob *, vfs_context_t ctx);
490 soo_close(struct fileglob *fg, __unused vfs_context_t ctx)
H A Dkern_malloc.c289 "fileglob", /* 99 M_FILEGLOB */
472 { SOS(fileglob), KMZ_CREATEZONE }, /* 99 M_FILEGLOB */
H A Dposix_sem.c176 static int psem_closefile (struct fileglob *fp, vfs_context_t ctx);
1025 psem_closefile(struct fileglob *fg, __unused vfs_context_t ctx)
H A Dposix_shm.c175 static int pshm_closefile (struct fileglob *fg, vfs_context_t ctx);
1065 pshm_closefile(struct fileglob *fg, __unused vfs_context_t ctx)
H A Dsys_pipe.c171 static int pipe_close(struct fileglob *fg, vfs_context_t ctx);
1508 pipe_close(struct fileglob *fg, __unused vfs_context_t ctx)
H A Dkern_event.c113 static int kqueue_close(struct fileglob *fp, vfs_context_t ctx);
958 * assume we inherit a use count on the kq fileglob.
1638 kqueue_close(struct fileglob *fg, __unused vfs_context_t ctx)
H A Dkern_sysctl.c1004 struct fileglob *fg;
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Dat_var.h338 struct fileglob;
339 int atalk_closeref(struct fileglob *, gref_t **);
H A Dsys_dep.c77 int _ATclose(struct fileglob *, vfs_context_t);
258 struct fileglob *fg;
H A Dsys_glue.c77 int _ATclose(struct fileglob *, vfs_context_t);
286 struct fileglob *fg,
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/fifofs/
H A Dfifo_vnops.c377 struct fileglob filefg;
403 struct fileglob filefg;
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_vnops.c114 static int vn_closefile(struct fileglob *fp, vfs_context_t ctx);
1202 vn_closefile(struct fileglob *fg, vfs_context_t ctx)
H A Dvfs_fsevents.c2032 fseventsf_close(struct fileglob *fg, __unused vfs_context_t ctx)

Completed in 134 milliseconds