Searched refs:fg (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) argument
67 fg->fg_label = mac_file_label_alloc();
79 mac_file_label_associate(struct ucred *cred, struct fileglob *fg) argument
82 MAC_PERFORM(file_label_associate, cred, fg, fg->fg_label);
86 mac_file_label_destroy(struct fileglob *fg) argument
89 mac_file_label_free(fg->fg_label);
90 fg->fg_label = NULL;
103 mac_file_check_dup(struct ucred *cred, struct fileglob *fg, int newfd) argument
107 MAC_CHECK(file_check_dup, cred, fg, f
112 mac_file_check_fcntl(struct ucred *cred, struct fileglob *fg, int cmd, user_long_t arg) argument
122 mac_file_check_ioctl(struct ucred *cred, struct fileglob *fg, u_int cmd) argument
131 mac_file_check_inherit(struct ucred *cred, struct fileglob *fg) argument
140 mac_file_check_receive(struct ucred *cred, struct fileglob *fg) argument
149 mac_file_check_get_offset(struct ucred *cred, struct fileglob *fg) argument
158 mac_file_check_change_offset(struct ucred *cred, struct fileglob *fg) argument
167 mac_file_check_get(struct ucred *cred, struct fileglob *fg, char *elements, int len) argument
177 mac_file_check_set(struct ucred *cred, struct fileglob *fg, char *buf, int buflen) argument
187 mac_file_check_lock(struct ucred *cred, struct fileglob *fg, int op, struct flock *fl) argument
206 mac_file_check_mmap(struct ucred *cred, struct fileglob *fg, int prot, int flags, int *maxprot) argument
221 mac_file_check_mmap_downgrade(struct ucred *cred, struct fileglob *fg, int *prot) argument
[all...]
H A Dmac_framework.h175 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 *fg,
190 void mac_file_check_mmap_downgrade(kauth_cred_t cred, struct fileglob *fg,
[all...]
H A Dmac_policy.h654 @param fg Fileglob structure
655 @param label Policy label for fg
658 change the offset of the file represented by fg.
665 struct fileglob *fg,
684 @param fg Fileglob structure
685 @param label Policy label for fg
689 duplicate the fileglob structure represented by fg and as file
697 struct fileglob *fg,
704 @param fg Fileglob structure
705 @param label Policy label for fg
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Duipc_usrreq.c1236 struct fileglob *fg; local
1247 fg = *rp;
1248 unp_discard_fdlocked(fg, p);
1269 fg = *rp;
1271 unp_discard_fdlocked(fg, p);
1277 fg = *rp;
1284 fp->f_fglob = fg;
1285 fg_removeuipc(fg);
1388 struct fileglob *fg, *nextfg; local
1408 for (fg
1660 unp_mark(struct fileglob *fg) argument
1677 unp_discard(struct fileglob *fg) argument
1688 unp_discard_fdlocked(struct fileglob *fg, proc_t p) argument
[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; local
3402 MALLOC_ZONE(fg, struct fileglob *, sizeof(struct fileglob), M_FILEGLOB, M_WAITOK);
3403 if (fg == NULL) {
3410 bzero(fg, sizeof(struct fileglob));
3411 lck_mtx_init(&fg->fg_lock, file_lck_grp, file_lck_attr);
3414 fg->fg_count = 1;
3415 fp->f_fglob = fg;
3417 mac_file_label_init(fg);
3468 fg_free(struct fileglob *fg) argument
3870 closef_finish(struct fileproc *fp, struct fileglob *fg, proc_t p, vfs_context_t ctx) argument
3915 closef_locked(struct fileproc *fp, struct fileglob *fg, proc_t p) argument
4258 struct fileglob *fg; local
4291 struct fileglob *fg; local
4312 fg_insertuipc(struct fileglob * fg) argument
4362 fg_removeuipc(struct fileglob * fg) argument
4507 fo_close(struct fileglob *fg, vfs_context_t ctx) argument
[all...]
H A Dsys_socket.c490 soo_close(struct fileglob *fg, __unused vfs_context_t ctx) argument
495 sp = (struct socket *)fg->fg_data;
496 fg->fg_data = NULL;
H A Dkern_sysctl.c1004 struct fileglob *fg; local
1025 for (fg = filehead.lh_first; fg != 0; fg = fg->f_list.le_next) {
1026 nef.f_list.le_next = (struct extern_file *)fg->f_list.le_next;
1027 nef.f_list.le_prev = (struct extern_file **)fg->f_list.le_prev;
1028 nef.f_flag = (fg->fg_flag & FMASK);
1029 nef.f_type = fg->fg_type;
1030 nef.f_count = fg
[all...]
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) argument
1513 cpipe = (struct pipe *)fg->fg_data;
1514 fg->fg_data = NULL;
H A Dposix_sem.c1025 psem_closefile(struct fileglob *fg, __unused vfs_context_t ctx) argument
1033 error = psem_close(((struct psemnode *)fg->fg_data), fg->fg_flag);
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) argument
1070 error = pshm_close(((struct pshmnode *)fg->fg_data));
H A Dkern_event.c1638 kqueue_close(struct fileglob *fg, __unused vfs_context_t ctx) argument
1640 struct kqueue *kq = (struct kqueue *)fg->fg_data;
1643 fg->fg_data = NULL;
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dfile_internal.h155 int (*fo_close) (struct fileglob *fg, vfs_context_t ctx);
187 int fo_close(struct fileglob *fg, vfs_context_t ctx);
210 int closef_locked(struct fileproc *fp, struct fileglob *fg, struct proc *p);
211 void fg_insertuipc(struct fileglob * fg);
212 void fg_removeuipc(struct fileglob * fg);
/macosx-10.5.8/xnu-1228.15.4/EXTERNAL_HEADERS/architecture/ppc/
H A Dfp_regs.h75 fg:BIT_WIDTH(14), // positive
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Dsys_dep.c257 int atalk_closeref(fg, grefp)
258 struct fileglob *fg;
261 if ((*grefp = (gref_t *)fg->fg_data)) {
262 fg->fg_data = 0;
H A Dsys_glue.c286 struct fileglob *fg,
292 if ((err = atalk_closeref(fg, &gref)) == 0) {
285 _ATclose( struct fileglob *fg, __unused vfs_context_t ctx) argument
/macosx-10.5.8/xnu-1228.15.4/osfmk/console/panic_ui/
H A Dqtif2kraw.c51 "\t-fg <color>\tForeground color of font used for panic information in\n"
89 static unsigned char fg, bg; variable
129 else if (strcmp(argv[next], "-fg") == 0) // foreground color in 24 bits
157 fg = findIndexNearMatch(fg24);
289 fwrite(&fg, sizeof(fg), 1, ostream);
H A Dgenimage.c97 "\t-fg <color>\tForeground color of font used for panic information in\n"
137 on dark gray. This can be changed by using the -fg and/or -bg options to\n\
180 static unsigned char fg, bg; variable
226 else if (strcmp(argv[next], "-fg") == 0) // foreground color in 24 bits
286 fg = findIndexNearMatch(fg24);
583 fwrite(&fg, sizeof(fg), 1, ostream);
642 fprintf( out_stream, "0x%02x, ", fg); /* font foreground color: indexed */
1611 fonts[row][i][j] = fg;
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_vnops.c1202 vn_closefile(struct fileglob *fg, vfs_context_t ctx) argument
1204 struct vnode *vp = (struct vnode *)fg->fg_data;
1210 if ((fg->fg_flag & FHASLOCK) && fg->fg_type == DTYPE_VNODE) {
1216 (void)VNOP_ADVLOCK(vp, (caddr_t)fg, F_UNLCK, &lf, F_FLOCK, ctx);
1218 error = vn_close(vp, fg->fg_flag, ctx);
H A Dvfs_fsevents.c2032 fseventsf_close(struct fileglob *fg, __unused vfs_context_t ctx) argument
2034 fsevent_handle *fseh = (struct fsevent_handle *)fg->fg_data;
2043 fg->fg_data = NULL;

Completed in 105 milliseconds