Home
last modified time | relevance | path

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

12

/freebsd/lib/libutil/
H A Dkinfo_getfile.c10 struct kinfo_file *
18 struct kinfo_file *kif, *kp, *kf; in kinfo_getfile()
48 kf = (struct kinfo_file *)(uintptr_t)bp; in kinfo_getfile()
65 kf = (struct kinfo_file *)(uintptr_t)bp; in kinfo_getfile()
H A Dlibutil.h111 struct kinfo_file *
/freebsd/tests/sys/kern/
H A Dsysctl_kern_proc.c64 struct kinfo_file kfile; in ATF_TC_BODY()
106 struct kinfo_file pkfile; in ATF_TC_BODY()
142 struct kinfo_file *kfile; in ATF_TC_BODY()
155 ATF_REQUIRE(sz >= __offsetof(struct kinfo_file, kf_structsize) + in ATF_TC_BODY()
H A Dktrace_test.c246 struct kinfo_file kinf; in ATF_TC_BODY()
263 kinf.kf_structsize = sizeof(struct kinfo_file); in ATF_TC_BODY()
/freebsd/sys/sys/
H A Dfile.h83 struct kinfo_file;
130 typedef int fo_fill_kinfo_t(struct file *fp, struct kinfo_file *kif,
302 int vn_fill_kinfo_vnode(struct vnode *vp, struct kinfo_file *kif);
455 fo_fill_kinfo(struct file *fp, struct kinfo_file *kif, struct filedesc *fdp) in fo_fill_kinfo()
H A Duser.h352 struct kinfo_file { struct
766 void pack_kinfo(struct kinfo_file *kif);
/freebsd/cddl/contrib/opensolaris/tests/os-tests/tests/oclo/
H A Docloexec_verify.c43 struct kinfo_file *files; in getmaxfd()
/freebsd/tools/test/stress2/misc/
H A Dkinfo.sh103 struct kinfo_file *freep;
H A Dkinfo2.sh107 struct kinfo_file *freep;
H A Dkinfo3.sh134 struct kinfo_file *freep, *kif __unused;
/freebsd/lib/libprocstat/
H A Dlibprocstat.c796 static struct kinfo_file *
802 struct kinfo_file *kif, *kp, *kf; in kinfo_getfile_core()
820 kf = (struct kinfo_file *)(uintptr_t)bp; in kinfo_getfile_core()
837 kf = (struct kinfo_file *)(uintptr_t)bp; in kinfo_getfile_core()
857 struct kinfo_file *kif, *files; in procstat_getfiles_sysctl()
1000 struct kinfo_file *kif; in procstat_get_pipe_info_sysctl()
1066 struct kinfo_file *kif; in procstat_get_pts_info_sysctl()
1149 struct kinfo_file *kif; in procstat_get_sem_info_sysctl()
1232 struct kinfo_file *kif; in procstat_get_shm_info_sysctl()
1383 struct kinfo_file *kif; in procstat_get_vnode_info_sysctl()
[all …]
H A Dcore.c70 .structsize = sizeof(struct kinfo_file)
/freebsd/usr.bin/posixshmcontrol/
H A Dposixshmcontrol.c224 const struct kinfo_file *kif; in list_shm()
301 kif = (const struct kinfo_file *)(void *)bp; in list_shm()
/freebsd/sys/kern/
H A Dkern_descrip.c106 cap_rights_t *rightsp, struct kinfo_file *kif,
578 struct kinfo_file *kif; in kern_fcntl()
4745 CTASSERT(sizeof(struct kinfo_file) == KINFO_FILE_SIZE);
4783 pack_kinfo(struct kinfo_file *kif) in pack_kinfo()
4786 kif->kf_structsize = offsetof(struct kinfo_file, kf_path) + in pack_kinfo()
4793 struct kinfo_file *kif, struct filedesc *fdp, int flags) in export_file_to_kinfo()
4825 struct kinfo_file *kif, int flags) in export_vnode_to_kinfo()
4852 struct kinfo_file kif;
4859 struct kinfo_file *kif; in export_kinfo_to_sb()
5020 #define FILEDESC_SBUF_SIZE (sizeof(struct kinfo_file) * 5)
[all …]
H A Dsys_eventfd.c380 eventfd_fill_kinfo(struct file *fp, struct kinfo_file *kif, struct filedesc *fdp) in eventfd_fill_kinfo()
H A Dkern_jaildesc.c416 jaildesc_fill_kinfo(struct file *fp, struct kinfo_file *kif, in jaildesc_fill_kinfo()
H A Dsys_procdesc.c553 procdesc_fill_kinfo(struct file *fp, struct kinfo_file *kif, in procdesc_fill_kinfo()
H A Duipc_shm.c1929 shm_fill_kinfo_locked(struct shmfd *shmfd, struct kinfo_file *kif, bool list) in shm_fill_kinfo_locked()
1958 shm_fill_kinfo(struct file *fp, struct kinfo_file *kif, in shm_fill_kinfo()
2160 struct kinfo_file kif = {}; in sysctl_posix_shm_list()
2164 sbuf_new_for_sysctl(&sb, NULL, sizeof(struct kinfo_file) * 5, req); in sysctl_posix_shm_list()
H A Dsys_timerfd.c358 timerfd_fill_kinfo(struct file *fp, struct kinfo_file *kif, in timerfd_fill_kinfo()
H A Dtty_pts.c588 ptsdev_fill_kinfo(struct file *fp, struct kinfo_file *kif, struct filedesc *fdp) in ptsdev_fill_kinfo()
H A Dsys_socket.c392 soo_fill_kinfo(struct file *fp, struct kinfo_file *kif, struct filedesc *fdp) in soo_fill_kinfo()
/freebsd/tests/sys/kqueue/
H A Dkqueue_fork.c239 struct kinfo_file kf = { .kf_structsize = sizeof(kf) }; in ATF_TC_BODY()
/freebsd/tests/sys/file/
H A Dclosefrom_test.c105 struct kinfo_file *kif; in highest_fd()
/freebsd/sys/dev/ntsync/
H A Dntsync.c485 ntsync_sem_fill_kinfo(struct file *fp, struct kinfo_file *kif, in ntsync_sem_fill_kinfo()
791 ntsync_mutex_fill_kinfo(struct file *fp, struct kinfo_file *kif, in ntsync_mutex_fill_kinfo()
1080 ntsync_event_fill_kinfo(struct file *fp, struct kinfo_file *kif, in ntsync_event_fill_kinfo()
/freebsd/usr.bin/gcore/
H A Delfcore.c796 sizeof(struct kinfo_file), sizep)); in elf_note_procstat_files()

12