Home
last modified time | relevance | path

Searched defs:shmfd (Results 1 – 12 of 12) sorted by relevance

/freebsd-src/sys/security/mac/
H A Dmac_posix_shm.c66 mac_posixshm_init(struct shmfd *shmfd) in mac_posixshm_init()
84 mac_posixshm_destroy(struct shmfd *shmfd) in mac_posixshm_destroy()
94 mac_posixshm_create(struct ucred *cred, struct shmfd *shmfd) in mac_posixshm_create()
119 mac_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, int prot, in mac_posixshm_check_mmap()
136 mac_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd, in mac_posixshm_check_open()
153 struct shmfd *shmfd) in mac_posixshm_check_stat()
170 struct shmfd *shmfd) in mac_posixshm_check_truncate()
186 mac_posixshm_check_unlink(struct ucred *cred, struct shmfd *shmfd) in mac_posixshm_check_unlink()
201 mac_posixshm_check_setmode(struct ucred *cred, struct shmfd *shmfd, mode_t mode) in mac_posixshm_check_setmode()
216 mac_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, uid_t uid, in mac_posixshm_check_setowner()
[all …]
/freebsd-src/sys/sys/
H A Dmman.h265 struct shmfd { argument
263 struct shmfd { global() struct
264 shm_sizeshmfd global() argument
266 shm_pagesshmfd global() argument
267 shm_refsshmfd global() argument
268 shm_uidshmfd global() argument
269 shm_gidshmfd global() argument
270 shm_modeshmfd global() argument
271 shm_kmappingsshmfd global() argument
277 shm_atimeshmfd global() argument
278 shm_mtimeshmfd global() argument
279 shm_ctimeshmfd global() argument
280 shm_birthtimeshmfd global() argument
304 shm_lp_alloc_policyshmfd global() argument
[all...]
/freebsd-src/sys/kern/
H A Duipc_shm.c186 shm_rangelock_unlock(shmfd,cookie) global() argument
188 shm_rangelock_rlock(shmfd,start,end) global() argument
190 shm_rangelock_tryrlock(shmfd,start,end) global() argument
192 shm_rangelock_wlock(shmfd,start,end) global() argument
353 shm_largepage(struct shmfd * shmfd) shm_largepage() argument
416 struct shmfd *shmfd; shm_seek() local
458 struct shmfd *shmfd; shm_read() local
481 struct shmfd *shmfd; shm_write() local
535 struct shmfd *shmfd; shm_truncate() local
553 struct shmfd *shmfd; shm_ioctl() local
604 struct shmfd *shmfd; shm_stat() local
649 struct shmfd *shmfd; shm_close() local
748 shm_dotruncate_locked(struct shmfd * shmfd,off_t length,void * rl_cookie) shm_dotruncate_locked() argument
814 shm_dotruncate_largepage(struct shmfd * shmfd,off_t length,void * rl_cookie) shm_dotruncate_largepage() argument
908 shm_dotruncate_cookie(struct shmfd * shmfd,off_t length,void * rl_cookie) shm_dotruncate_cookie() argument
921 shm_dotruncate(struct shmfd * shmfd,off_t length) shm_dotruncate() argument
939 struct shmfd *shmfd; shm_alloc() local
977 shm_hold(struct shmfd * shmfd) shm_hold() argument
985 shm_drop(struct shmfd * shmfd) shm_drop() argument
1011 shm_access(struct shmfd * shmfd,struct ucred * ucred,int flags) shm_access() argument
1105 shm_insert(char * path,Fnv32_t fnv,struct shmfd * shmfd) shm_insert() argument
1159 struct shmfd *shmfd; kern_shm_open2() local
1546 shm_mmap_large(struct shmfd * shmfd,vm_map_t map,vm_offset_t * addr,vm_size_t size,vm_prot_t prot,vm_prot_t max_prot,int flags,vm_ooffset_t foff,struct thread * td) shm_mmap_large() argument
1653 struct shmfd *shmfd; shm_mmap() local
1744 struct shmfd *shmfd; shm_chmod() local
1773 struct shmfd *shmfd; shm_chown() local
1806 struct shmfd *shmfd; shm_map() local
1864 struct shmfd *shmfd; shm_unmap() local
1902 shm_fill_kinfo_locked(struct shmfd * shmfd,struct kinfo_file * kif,bool list) shm_fill_kinfo_locked() argument
1945 struct shmfd *shmfd; shm_add_seals() local
1990 struct shmfd *shmfd; shm_get_seals() local
1998 shm_deallocate(struct shmfd * shmfd,off_t * offset,off_t * length,int flags) shm_deallocate() argument
2063 struct shmfd *shmfd; shm_fspacectl() local
2100 struct shmfd *shmfd; shm_fallocate() local
[all...]
H A Dkern_sendfile.c569 struct shmfd *shmfd; in sendfile_getobj() local
685 struct shmfd *shmfd; in vn_sendfile() local
[all...]
/freebsd-src/tests/sys/vm/
H A Dmlock_test.c186 int count, error, shmfd; in ATF_TC_BODY() local
H A Dmmap_test.c136 int devstatfd, pagesize, shmfd, zerofd; in ATF_TC_BODY() local
/freebsd-src/tools/tools/syscall_timing/
H A Dsyscall_timing.c696 int shmfd; in test_shmfd() local
717 int fd, shmfd; in test_shmfd_dup() local
741 int shmfd; in test_shmfd_fstat() local
/freebsd-src/sys/security/mac_stub/
H A Dmac_stub.c794 struct shmfd *shm, struct label *shmlabel) in stub_posixshm_check_setowner() argument
818 struct shmfd *shmf argument
762 stub_posixshm_check_mmap(struct ucred * cred,struct shmfd * shmfd,struct label * shmlabel,int prot,int flags) stub_posixshm_check_mmap() argument
770 stub_posixshm_check_open(struct ucred * cred,struct shmfd * shmfd,struct label * shmlabel,accmode_t accmode) stub_posixshm_check_open() argument
786 stub_posixshm_check_setmode(struct ucred * cred,struct shmfd * shmfd,struct label * shmlabel,mode_t mode) stub_posixshm_check_setmode() argument
803 stub_posixshm_check_stat(struct ucred * active_cred,struct ucred * file_cred,struct shmfd * shmfd,struct label * shmlabel) stub_posixshm_check_stat() argument
811 stub_posixshm_check_truncate(struct ucred * active_cred,struct ucred * file_cred,struct shmfd * shmfd,struct label * shmlabel) stub_posixshm_check_truncate() argument
834 stub_posixshm_create(struct ucred * cred,struct shmfd * shmfd,struct label * shmlabel) stub_posixshm_create() argument
[all...]
/freebsd-src/sys/security/mac_mls/
H A Dmac_mls.c1591 mls_posixshm_check_mmap(struct ucred * cred,struct shmfd * shmfd,struct label * shmlabel,int prot,int flags) mls_posixshm_check_mmap() argument
1615 mls_posixshm_check_open(struct ucred * cred,struct shmfd * shmfd,struct label * shmlabel,accmode_t accmode) mls_posixshm_check_open() argument
1657 mls_posixshm_check_setmode(struct ucred * cred,struct shmfd * shmfd,struct label * shmlabel,mode_t mode) mls_posixshm_check_setmode() argument
1675 mls_posixshm_check_setowner(struct ucred * cred,struct shmfd * shmfd,struct label * shmlabel,uid_t uid,gid_t gid) mls_posixshm_check_setowner() argument
1694 mls_posixshm_check_stat(struct ucred * active_cred,struct ucred * file_cred,struct shmfd * shmfd,struct label * shmlabel) mls_posixshm_check_stat() argument
1712 mls_posixshm_check_truncate(struct ucred * active_cred,struct ucred * file_cred,struct shmfd * shmfd,struct label * shmlabel) mls_posixshm_check_truncate() argument
1729 mls_posixshm_check_unlink(struct ucred * cred,struct shmfd * shmfd,struct label * shmlabel) mls_posixshm_check_unlink() argument
1765 mls_posixshm_create(struct ucred * cred,struct shmfd * shmfd,struct label * shmlabel) mls_posixshm_create() argument
[all...]
/freebsd-src/sys/security/mac_test/
H A Dmac_test.c1427 test_posixshm_check_mmap(struct ucred * cred,struct shmfd * shmfd,struct label * shmfdlabel,int prot,int flags) test_posixshm_check_mmap() argument
1439 test_posixshm_check_open(struct ucred * cred,struct shmfd * shmfd,struct label * shmfdlabel,accmode_t accmode) test_posixshm_check_open() argument
1466 test_posixshm_check_setmode(struct ucred * cred,struct shmfd * shmfd,struct label * shmfdlabel,mode_t mode) test_posixshm_check_setmode() argument
1478 test_posixshm_check_setowner(struct ucred * cred,struct shmfd * shmfd,struct label * shmfdlabel,uid_t uid,gid_t gid) test_posixshm_check_setowner() argument
1491 test_posixshm_check_stat(struct ucred * active_cred,struct ucred * file_cred,struct shmfd * shmfd,struct label * shmfdlabel) test_posixshm_check_stat() argument
1504 test_posixshm_check_truncate(struct ucred * active_cred,struct ucred * file_cred,struct shmfd * shmfd,struct label * shmfdlabel) test_posixshm_check_truncate() argument
1516 test_posixshm_check_unlink(struct ucred * cred,struct shmfd * shmfd,struct label * shmfdlabel) test_posixshm_check_unlink() argument
1543 test_posixshm_create(struct ucred * cred,struct shmfd * shmfd,struct label * shmfdlabel) test_posixshm_create() argument
[all...]
/freebsd-src/sys/security/mac_biba/
H A Dmac_biba.c1695 biba_posixshm_check_mmap(struct ucred * cred,struct shmfd * shmfd,struct label * shmlabel,int prot,int flags) biba_posixshm_check_mmap() argument
1719 biba_posixshm_check_open(struct ucred * cred,struct shmfd * shmfd,struct label * shmlabel,accmode_t accmode) biba_posixshm_check_open() argument
1761 biba_posixshm_check_setmode(struct ucred * cred,struct shmfd * shmfd,struct label * shmlabel,mode_t mode) biba_posixshm_check_setmode() argument
1779 biba_posixshm_check_setowner(struct ucred * cred,struct shmfd * shmfd,struct label * shmlabel,uid_t uid,gid_t gid) biba_posixshm_check_setowner() argument
1798 biba_posixshm_check_stat(struct ucred * active_cred,struct ucred * file_cred,struct shmfd * shmfd,struct label * shmlabel) biba_posixshm_check_stat() argument
1816 biba_posixshm_check_truncate(struct ucred * active_cred,struct ucred * file_cred,struct shmfd * shmfd,struct label * shmlabel) biba_posixshm_check_truncate() argument
1833 biba_posixshm_check_unlink(struct ucred * cred,struct shmfd * shmfd,struct label * shmlabel) biba_posixshm_check_unlink() argument
1869 biba_posixshm_create(struct ucred * cred,struct shmfd * shmfd,struct label * shmlabel) biba_posixshm_create() argument
[all...]
/freebsd-src/lib/libprocstat/
H A Dlibprocstat.c1180 struct shmfd shmfd; in procstat_get_shm_info_kvm() local