Home
last modified time | relevance | path

Searched refs:shmfd (Results 1 – 14 of 14) sorted by relevance

/f-stack/freebsd/security/mac/
H A Dmac_posix_shm.c68 mac_posixshm_init(struct shmfd *shmfd) in mac_posixshm_init() argument
86 mac_posixshm_destroy(struct shmfd *shmfd) in mac_posixshm_destroy() argument
155 struct shmfd *shmfd) in mac_posixshm_check_stat() argument
160 shmfd, shmfd->shm_label); in mac_posixshm_check_stat()
162 shmfd); in mac_posixshm_check_stat()
172 struct shmfd *shmfd) in mac_posixshm_check_truncate() argument
177 file_cred, shmfd, shmfd->shm_label); in mac_posixshm_check_truncate()
236 struct shmfd *shmfd) in mac_posixshm_check_read() argument
241 file_cred, shmfd, shmfd->shm_label); in mac_posixshm_check_read()
253 struct shmfd *shmfd) in mac_posixshm_check_write() argument
[all …]
H A Dmac_framework.h78 struct shmfd;
261 int mac_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd,
263 int mac_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd,
266 struct ucred *file_cred, struct shmfd *shmfd);
267 int mac_posixshm_check_setmode(struct ucred *cred, struct shmfd *shmfd,
269 int mac_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd,
272 struct ucred *file_cred, struct shmfd *shmfd);
274 struct ucred *file_cred, struct shmfd *shmfd);
275 int mac_posixshm_check_unlink(struct ucred *cred, struct shmfd *shmfd);
277 struct ucred *file_cred, struct shmfd *shmfd);
[all …]
H A Dmac_policy.h92 struct shmfd;
357 struct shmfd *shmfd, struct label *shmlabel, int prot,
360 struct shmfd *shmfd, struct label *shmlabel,
363 struct ucred *file_cred, struct shmfd *shmfd,
366 struct shmfd *shmfd, struct label *shmlabel,
369 struct shmfd *shmfd, struct label *shmlabel,
372 struct ucred *file_cred, struct shmfd *shmfd,
375 struct ucred *file_cred, struct shmfd *shmfd,
378 struct shmfd *shmfd, struct label *shmlabel);
380 struct ucred *file_cred, struct shmfd *shmfd,
[all …]
/f-stack/freebsd/kern/
H A Duipc_shm.c346 struct shmfd *shmfd; in shm_seek() local
388 struct shmfd *shmfd; in shm_read() local
411 struct shmfd *shmfd; in shm_write() local
468 struct shmfd *shmfd; in shm_truncate() local
486 struct shmfd *shmfd; in shm_ioctl() local
540 struct shmfd *shmfd; in shm_stat() local
582 struct shmfd *shmfd; in shm_close() local
856 struct shmfd *shmfd; in shm_alloc() local
1035 struct shmfd *shmfd; in kern_shm_open2() local
1529 struct shmfd *shmfd; in shm_mmap() local
[all …]
H A Dkern_sendfile.c565 struct vnode **vp_res, struct shmfd **shmfd_res, off_t *obj_size, in sendfile_getobj()
571 struct shmfd *shmfd; in sendfile_getobj() local
576 shmfd = *shmfd_res = NULL; in sendfile_getobj()
614 shmfd = fp->f_data; in sendfile_getobj()
615 obj = shmfd->shm_object; in sendfile_getobj()
617 *obj_size = shmfd->shm_size; in sendfile_getobj()
638 *shmfd_res = shmfd; in sendfile_getobj()
691 struct shmfd *shmfd; in vn_sendfile() local
712 error = sendfile_getobj(td, fp, &obj, &vp, &shmfd, &obj_size, &bsize); in vn_sendfile()
H A Dkern_umtx.c3842 struct shmfd *ushm_obj;
/f-stack/freebsd/sys/
H A Dmman.h268 struct shmfd { struct
306 int shm_access(struct shmfd *shmfd, struct ucred *ucred, int flags); argument
307 struct shmfd *shm_alloc(struct ucred *ucred, mode_t mode, bool largepage);
308 struct shmfd *shm_hold(struct shmfd *shmfd);
309 void shm_drop(struct shmfd *shmfd);
310 int shm_dotruncate(struct shmfd *shmfd, off_t length);
311 bool shm_largepage(struct shmfd *shmfd);
/f-stack/freebsd/security/mac_stub/
H A Dmac_stub.c738 stub_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_mmap() argument
746 stub_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_open() argument
755 struct shmfd *shm, struct label *shmlabel) in stub_posixshm_check_read()
762 stub_posixshm_check_setmode(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_setmode() argument
770 stub_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_setowner() argument
779 struct shmfd *shmfd, struct label *shmlabel) in stub_posixshm_check_stat() argument
787 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) in stub_posixshm_check_truncate() argument
794 stub_posixshm_check_unlink(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_unlink() argument
803 struct shmfd *shm, struct label *shmlabel) in stub_posixshm_check_write()
810 stub_posixshm_create(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_create() argument
/f-stack/dpdk/doc/guides/vdpadevs/features/
H A Dmlx5.ini19 proto log shmfd = Y
H A Ddefault.ini35 proto log shmfd =
/f-stack/freebsd/security/mac_biba/
H A Dmac_biba.c1697 biba_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_check_mmap() argument
1721 biba_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_check_open() argument
1746 struct shmfd *vp, struct label *shmlabel) in biba_posixshm_check_read()
1763 biba_posixshm_check_setmode(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_check_setmode() argument
1781 biba_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_check_setowner() argument
1800 struct shmfd *shmfd, struct label *shmlabel) in biba_posixshm_check_stat() argument
1818 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) in biba_posixshm_check_truncate() argument
1835 biba_posixshm_check_unlink(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_check_unlink() argument
1854 struct shmfd *vp, struct label *shmlabel) in biba_posixshm_check_write()
1871 biba_posixshm_create(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_create() argument
/f-stack/freebsd/security/mac_mls/
H A Dmac_mls.c1593 mls_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_check_mmap() argument
1617 mls_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_check_open() argument
1642 struct shmfd *shm, struct label *shmlabel) in mls_posixshm_check_read()
1659 mls_posixshm_check_setmode(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_check_setmode() argument
1677 mls_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_check_setowner() argument
1696 struct shmfd *shmfd, struct label *shmlabel) in mls_posixshm_check_stat() argument
1714 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) in mls_posixshm_check_truncate() argument
1731 mls_posixshm_check_unlink(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_check_unlink() argument
1750 struct shmfd *shm, struct label *shmlabel) in mls_posixshm_check_write()
1767 mls_posixshm_create(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_create() argument
/f-stack/freebsd/security/mac_test/
H A Dmac_test.c1395 test_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_check_mmap() argument
1407 test_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_check_open() argument
1420 struct ucred *file_cred, struct shmfd *shm, struct label *shmlabel) in test_posixshm_check_read()
1434 test_posixshm_check_setmode(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_check_setmode() argument
1446 test_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_check_setowner() argument
1459 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmfdlabel) in test_posixshm_check_stat() argument
1472 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmfdlabel) in test_posixshm_check_truncate() argument
1484 test_posixshm_check_unlink(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_check_unlink() argument
1497 struct ucred *file_cred, struct shmfd *shm, struct label *shmlabel) in test_posixshm_check_write()
1511 test_posixshm_create(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_create() argument
/f-stack/dpdk/doc/guides/vdpadevs/
H A Dfeatures_overview.rst84 proto log shmfd