Home
last modified time | relevance | path

Searched refs:fp_get_data (Results 1 – 25 of 33) sorted by relevance

12

/xnu-8796.121.2/bsd/kern/
H A Dkern_descrip.c1950 *resultvp = (struct vnode *)fp_get_data(fp); in fp_getfvp()
2095 *vpp = (struct vnode *)fp_get_data(fp); in file_vnode_withvid()
2098 *vidp = vnode_vid((struct vnode *)fp_get_data(fp)); in file_vnode_withvid()
2147 *sp = (struct socket *)fp_get_data(fp); in file_socket()
2389 new, 0, (int64_t)VM_KERNEL_ADDRPERM(fp_get_data(fp))); in sys_dup()
2871 *retval = ((struct socket *)fp_get_data(fp))->so_pgid; in sys_fcntl_nocancel()
2883 ((struct socket *)fp_get_data(fp))->so_pgid = tmp; in sys_fcntl_nocancel()
2910 error = sock_setsockopt((struct socket *)fp_get_data(fp), in sys_fcntl_nocancel()
2933 error = sock_getsockopt((struct socket *)fp_get_data(fp), in sys_fcntl_nocancel()
2995 vp = (struct vnode *)fp_get_data(fp); in sys_fcntl_nocancel()
[all …]
H A Dsys_socket.c123 if ((so = (struct socket *)fp_get_data(fp)) == NULL) { in soo_read()
146 if ((so = (struct socket *)fp_get_data(fp)) == NULL) { in soo_write()
292 if ((so = (struct socket *)fp_get_data(fp)) == NULL) { in soo_ioctl()
303 struct socket *so = (struct socket *)fp_get_data(fp); in soo_select()
428 struct socket *so = (struct socket *)fp_get_data(fp); in soo_drain()
H A Dsys_pipe.c752 struct pipe *rpipe = (struct pipe *)fp_get_data(fp); in pipe_read()
925 rpipe = (struct pipe *)fp_get_data(fp); in pipe_write()
1190 struct pipe *mpipe = (struct pipe *)fp_get_data(fp); in pipe_ioctl()
1245 struct pipe *rpipe = (struct pipe *)fp_get_data(fp); in pipe_select()
1590 struct pipe *cpipe = (struct pipe *)fp_get_data(fp); in pipe_kqfilter()
1659 struct pipe *cpipe = (struct pipe *)fp_get_data(kn->kn_fp); in filt_pipedetach()
1758 struct pipe *ppipe, *cpipe = fp_get_data(fp); in pipe_drain()
H A Dposix_sem.c822 pnode = (struct psemnode *)fp_get_data(fp); in sem_wait_nocancel()
881 pnode = (struct psemnode *)fp_get_data(fp); in sem_trywait()
944 pnode = (struct psemnode *)fp_get_data(fp); in sem_post()
1098 pnode = (struct psemnode *)fp_get_data(fp); in psem_label_associate()
H A Dposix_shm.c570 if (((pnode = (pshmnode_t *)fp_get_data(fp))) == NULL) { in pshm_truncate()
777 pnode = (pshmnode_t *)fp_get_data(fp); in pshm_mmap()
1124 pnode = (pshmnode_t *)fp_get_data(fp); in pshm_label_associate()
H A Duipc_socket.c6690 struct socket *so = (struct socket *)fp_get_data(fp); in soo_kqfilter()
6809 struct socket *so = (struct socket *)fp_get_data(kn->kn_fp); in filt_sorattach()
6836 struct socket *so = (struct socket *)fp_get_data(kn->kn_fp); in filt_sordetach()
6851 struct socket *so = (struct socket *)fp_get_data(kn->kn_fp); in filt_soread()
6870 struct socket *so = (struct socket *)fp_get_data(kn->kn_fp); in filt_sortouch()
6890 struct socket *so = (struct socket *)fp_get_data(kn->kn_fp); in filt_sorprocess()
7028 struct socket *so = (struct socket *)fp_get_data(kn->kn_fp); in filt_sowattach()
7042 struct socket *so = (struct socket *)fp_get_data(kn->kn_fp); in filt_sowdetach()
7057 struct socket *so = (struct socket *)fp_get_data(kn->kn_fp); in filt_sowrite()
7076 struct socket *so = (struct socket *)fp_get_data(kn->kn_fp); in filt_sowtouch()
[all …]
H A Dproc_info.c2763 error = pid_vnodeinfo((vnode_t)fp_get_data(fp), fp, p, buffer, buffersize, retval); in proc_pidfdinfo()
2771 error = pid_vnodeinfopath((vnode_t)fp_get_data(fp), fp, p, buffer, buffersize, retval); in proc_pidfdinfo()
2779 error = pid_socketinfo((socket_t)fp_get_data(fp), fp, p, buffer, buffersize, retval); in proc_pidfdinfo()
2787 error = pid_pseminfo((struct psemnode *)fp_get_data(fp), fp, p, buffer, buffersize, retval); in proc_pidfdinfo()
2795 error = pid_pshminfo((struct pshmnode *)fp_get_data(fp), fp, p, buffer, buffersize, retval); in proc_pidfdinfo()
2803 error = pid_pipeinfo((struct pipe *)fp_get_data(fp), fp, p, buffer, buffersize, retval); in proc_pidfdinfo()
2819 kqu.kq = (struct kqueue *)fp_get_data(fp); in proc_pidfdinfo()
2838 kqu.kq = (struct kqueue *)fp_get_data(fp); in proc_pidfdinfo()
2848 …error = pid_channelinfo((struct kern_channel *)fp_get_data(fp), fp, p, buffer, buffersize, retval); in proc_pidfdinfo()
H A Dkern_event.c972 struct kqfile *kqf = (struct kqfile *)fp_get_data(kn->kn_fp); in filt_kqdetach()
983 struct kqueue *kq = (struct kqueue *)fp_get_data(kn->kn_fp); in filt_kqueue()
992 struct kqueue *kq = (struct kqueue *)fp_get_data(kn->kn_fp); in filt_kqtouch()
1005 struct kqueue *kq = (struct kqueue *)fp_get_data(kn->kn_fp); in filt_kqprocess()
4743 struct kqfile *kq = (struct kqfile *)fp_get_data(fp); in kqueue_select()
4796 struct kqfile *kqf = (struct kqfile *)fp_get_data(fp); in kqueue_kqfilter()
4896 struct kqfile *kqf = (struct kqfile *)fp_get_data(fp); in kqueue_drain()
6788 kq = (struct kqueue *)fp_get_data((*fpp)); in kevent_get_kqfile()
H A Dsys_generic.c206 vnode_t vp = (struct vnode *)fp_get_data(fp); in valid_for_random_access()
978 ((struct socket *)fp_get_data(fp))->so_pgid = tmp; in ioctl()
1001 *(int *)datap = ((struct socket *)fp_get_data(fp))->so_pgid; in ioctl()
H A Dkern_resource.c823 struct socket *sockp = (struct socket *)fp_get_data(fp); in do_background_socket()
846 sockp = (struct socket *)fp_get_data(fp); in do_background_socket()
H A Dkern_mman.c518 vp = (struct vnode *)fp_get_data(fp); in mmap()
H A Dkern_aio.c2091 vp = fp_get_data(fp); in do_aio_fsync()
/xnu-8796.121.2/bsd/skywalk/nexus/
H A Dnexus_syscalls.c59 if ((nxctl = (struct nxctl *)fp_get_data(fp)) == NULL) { in nxop_ioctl()
214 nxctl = (struct nxctl *)fp_get_data(fp); in __nexus_register()
282 nxctl = (struct nxctl *)fp_get_data(fp); in __nexus_deregister()
331 nxctl = (struct nxctl *)fp_get_data(fp); in __nexus_create()
395 nxctl = (struct nxctl *)fp_get_data(fp); in __nexus_destroy()
423 nxctl = (struct nxctl *)fp_get_data(fp); in __nexus_get_opt()
485 nxctl = (struct nxctl *)fp_get_data(fp); in __nexus_set_opt()
/xnu-8796.121.2/bsd/miscfs/devfs/
H A Ddevfs_fdesc_support.c401 if ((error = vnode_getwithref((struct vnode *)fp_get_data(fp))) != 0) { in fdesc_attr()
404 if ((error = vnode_authorize((struct vnode *)fp_get_data(fp), in fdesc_attr()
408 error = vnode_getattr((struct vnode *)fp_get_data(fp), vap, a_context); in fdesc_attr()
419 (void)vnode_put((struct vnode *)fp_get_data(fp)); in fdesc_attr()
426 error = soo_stat((struct socket *)fp_get_data(fp), (void *)&stb, 0); in fdesc_attr()
429 error = pipe_stat((struct pipe *)fp_get_data(fp), (void *)&stb, 0); in fdesc_attr()
529 vp = (struct vnode *)fp_get_data(fp); in fdesc_setattr()
/xnu-8796.121.2/bsd/skywalk/channel/
H A Dchannel_syscalls.c67 ch = (struct kern_channel *)fp_get_data(fp); in chop_select()
116 struct kern_channel *ch = (struct kern_channel *)fp_get_data(fp); in chop_kqfilter()
306 ch = fp_get_data(fp); in __channel_get_info()
385 ch = fp_get_data(fp); in __channel_sync()
682 ch = fp_get_data(fp); in __channel_get_opt()
745 ch = fp_get_data(fp); in __channel_set_opt()
/xnu-8796.121.2/bsd/security/audit/
H A Daudit_arg.c588 (struct vnode *)fp_get_data(fp), ARG_VNODE1); in audit_arg_file()
592 so = (struct socket *)fp_get_data(fp); in audit_arg_file()
928 audit_arg_vnpath_withref(ar, (struct vnode *)fp_get_data(fp), in audit_sysclose()
/xnu-8796.121.2/bsd/vfs/
H A Dvfs_vnops.c1166 vp = (struct vnode *)fp_get_data(fp); in vn_read()
1229 vp = (struct vnode *)fp_get_data(fp); in vn_write()
1661 struct vnode *vp = (struct vnode *)fp_get_data(fp); in vn_ioctl()
1773 struct vnode * vp = (struct vnode *)fp_get_data(fp); in vn_select()
1928 vp = (struct vnode *)fp_get_data(fp); in vn_kqfilter()
H A Dvfs_fsevents.c2060 fsevent_handle *fseh = (struct fsevent_handle *)fp_get_data(fp); in fseventsf_read()
2086 fsevent_handle *fseh = (struct fsevent_handle *)fp_get_data(fp); in fseventsf_ioctl()
2217 fsevent_handle *fseh = (struct fsevent_handle *)fp_get_data(fp); in fseventsf_select()
2396 fsevent_handle *fseh = (struct fsevent_handle *)fp_get_data(fp); in fseventsf_kqfilter()
2419 fsevent_handle *fseh = (struct fsevent_handle *)fp_get_data(fp); in fseventsf_drain()
/xnu-8796.121.2/bsd/sys/
H A Dfile_internal.h337 fp_get_data(struct fileproc *fp) in fp_get_data() function
/xnu-8796.121.2/security/
H A Dmac_base.c1334 vp = (struct vnode *)fp_get_data(fp); in __mac_get_fd()
1447 vp = (struct vnode *)fp_get_data(fp); in __mac_set_fd()
H A Dmac_vfs.c2708 fvp = (struct vnode *)fp_get_data(fp); in mac_vnode_label_associate_fdesc()
2722 so = (struct socket *)fp_get_data(fp); in mac_vnode_label_associate_fdesc()
2737 cpipe = (struct pipe *)fp_get_data(fp); in mac_vnode_label_associate_fdesc()
/xnu-8796.121.2/bsd/vm/
H A Dvm_unix.c1828 (struct necp_fd_data *)fp_get_data(fp)); in networking_memstatus_callout()
1834 (struct kern_channel *)fp_get_data(fp)); in networking_memstatus_callout()
2364 error = vnode_getwithref((vnode_t)fp_get_data(srfmp->fp)); in shared_region_map_and_slide_setup()
2373 srfmp->vp = (struct vnode *)fp_get_data(srfmp->fp); in shared_region_map_and_slide_setup()
3190 vp = (struct vnode *)fp_get_data(fp); in map_with_linking_np()
/xnu-8796.121.2/bsd/netinet/
H A Din_tclass.c517 so = (struct socket *)fp_get_data(fp); in set_pid_tclass()
616 so = (struct socket *)fp_get_data(fp); in flush_pid_tclass()
H A Din_pcblist.c820 so = (struct socket *)fp_get_data(fp); in shutdown_sockets_on_interface_proc_callout()
/xnu-8796.121.2/bsd/miscfs/specfs/
H A Dspec_vnops.c2933 vnode_t vp = (vnode_t)fp_get_data(kn->kn_fp); in filt_spec_common()
3009 vnode_t vp = (vnode_t)fp_get_data(kn->kn_fp); /* Already have iocount, and vnode is alive */ in filt_specattach()

12