/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-icmp6.c | 884 u_int prot; local 938 if ((ouh = get_upperlayer(ndo, (const u_char *)oip, &prot)) 943 switch (prot) { 1169 get_upperlayer(netdissect_options *ndo, const u_char *bp, u_int *prot) argument 1197 *prot = nh; 1234 *prot = nh; /* meaningless, but set here anyway */
|
/freebsd-11-stable/sys/fs/devfs/ |
H A D | devfs_vnops.c | 1777 vm_prot_t prot, vm_prot_t cap_maxprot, int flags, vm_ooffset_t foff, 1798 if ((prot & VM_PROT_EXECUTE) != 0) 1804 else if ((prot & VM_PROT_READ) != 0) 1823 else if ((prot & VM_PROT_WRITE) != 0) 1833 error = vm_mmap_cdev(td, size, prot, &maxprot, &flags, dev, dsw, &foff, 1840 error = vm_mmap_object(map, addr, size, prot, maxprot, flags, object, 1776 devfs_mmap_f(struct file *fp, vm_map_t map, vm_offset_t *addr, vm_size_t size, vm_prot_t prot, vm_prot_t cap_maxprot, int flags, vm_ooffset_t foff, struct thread *td) argument
|
/freebsd-11-stable/sys/compat/svr4/ |
H A D | svr4_misc.c | 568 if (uap->prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC)) 574 mm.prot = uap->prot; 596 if (uap->prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC)) 602 mm.prot = uap->prot;
|
/freebsd-11-stable/sys/dev/fb/ |
H A D | fb.c | 514 vm_offset_t *paddr, int prot, vm_memattr_t *memattr) 516 return vidd_mmap(adp, offset, paddr, prot, memattr); 513 genfbmmap(genfb_softc_t *sc, video_adapter_t *adp, vm_ooffset_t offset, vm_offset_t *paddr, int prot, vm_memattr_t *memattr) argument
|
/freebsd-11-stable/sys/compat/cloudabi32/ |
H A D | cloudabi32_systrace_args.c | 318 iarg[2] = p->prot; /* cloudabi_mprot_t */ 330 iarg[2] = p->prot; /* cloudabi_mprot_t */
|
/freebsd-11-stable/sys/compat/cloudabi64/ |
H A D | cloudabi64_systrace_args.c | 318 iarg[2] = p->prot; /* cloudabi_mprot_t */ 330 iarg[2] = p->prot; /* cloudabi_mprot_t */
|
/freebsd-11-stable/sys/dev/drm2/ |
H A D | drm_os_freebsd.h | 194 #define access_ok(prot, p, l) useracc((p), (l), (prot))
|
/freebsd-11-stable/sys/security/mac/ |
H A D | mac_policy.h | 357 struct shmfd *shmfd, struct label *shmlabel, int prot, 588 struct vnode *vp, struct label *label, int prot, 591 struct vnode *vp, struct label *vplabel, int *prot); 593 struct vnode *vp, struct label *vplabel, int prot);
|
/freebsd-11-stable/sys/security/mac_stub/ |
H A D | mac_stub.c | 738 struct label *shmlabel, int prot, int flags) 1446 struct label *vplabel, int prot, int flags) 1454 struct label *vplabel, int *prot) 1461 struct label *vplabel, int prot) 737 stub_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, struct label *shmlabel, int prot, int flags) argument 1445 stub_vnode_check_mmap(struct ucred *cred, struct vnode *vp, struct label *vplabel, int prot, int flags) argument 1453 stub_vnode_check_mmap_downgrade(struct ucred *cred, struct vnode *vp, struct label *vplabel, int *prot) argument 1460 stub_vnode_check_mprotect(struct ucred *cred, struct vnode *vp, struct label *vplabel, int prot) argument
|
/freebsd-11-stable/sys/contrib/alpine-hal/ |
H A D | al_hal_udma_config.h | 86 uint8_t prot; member in struct:al_udma_axi_submaster
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_resource.c | 747 vm_prot_t prot; local 750 prot = p->p_sysent->sv_stackprot; 755 prot = VM_PROT_NONE; 763 addr, addr + size, prot, FALSE);
|
H A D | sysv_shm.c | 380 vm_prot_t prot; local 417 prot = VM_PROT_READ; 420 prot |= VM_PROT_WRITE; 443 size, 0, find_space, prot, prot, cow);
|
/freebsd-11-stable/sys/i386/i386/ |
H A D | exception.s | 130 IDTVEC(prot)
|
/freebsd-11-stable/sys/dev/terasic/mtl/ |
H A D | terasic_mtl_syscons.c | 290 vm_paddr_t *paddr, int prot, vm_memattr_t *memattr) 289 terasic_mtl_vidsw_mmap(video_adapter_t *adp, vm_ooffset_t offset, vm_paddr_t *paddr, int prot, vm_memattr_t *memattr) argument
|
/freebsd-11-stable/sys/dev/cxgbe/iw_cxgbe/ |
H A D | t4.h | 302 static inline pgprot_t t4_pgprot_wc(pgprot_t prot) argument 305 return pgprot_writecombine(prot); 307 return pgprot_noncached(prot);
|
/freebsd-11-stable/sys/netipsec/ |
H A D | xform_esp.c | 677 uint8_t prot; local 820 prot = IPPROTO_ESP; 821 m_copyback(m, protoff, sizeof(u_int8_t), (u_char *) &prot);
|
H A D | xform_ah.c | 868 uint8_t prot; local 1044 prot = IPPROTO_AH; 1045 m_copyback(m, protoff, sizeof(uint8_t), (caddr_t) &prot);
|
H A D | xform_ipcomp.c | 578 uint8_t prot; local 611 prot = IPPROTO_IPCOMP; 613 (u_char *)&prot);
|
/freebsd-11-stable/sys/cam/scsi/ |
H A D | scsi_sa.c | 1124 struct sa_prot_state *prot; local 1126 prot = &softc->prot_info.cur_prot_state; 1128 SASBADDUINTDESC(sb, *indent, prot->prot_method, %u, 1130 SASBADDUINTDESC(sb, *indent, prot->pi_length, %u, 1132 SASBADDUINTDESC(sb, *indent, prot->lbp_w, %u, 1134 SASBADDUINTDESC(sb, *indent, prot->lbp_r, %u, 1136 SASBADDUINTDESC(sb, *indent, prot->rbdp, %u, 3786 struct sa_prot_state *prot; local 3864 prot = &softc->prot_info.cur_prot_state; 3865 prot [all...] |
/freebsd-11-stable/sys/contrib/octeon-sdk/cvmx-malloc/ |
H A D | malloc.c | 1623 #define MMAP(addr, size, prot, flags) ((dev_zero_fd < 0) ? \ 1625 mmap((addr), (size), (prot), (flags), dev_zero_fd, 0)) : \ 1626 mmap((addr), (size), (prot), (flags), dev_zero_fd, 0)) 1630 #define MMAP(addr, size, prot, flags) \ 1631 (mmap((addr), (size), (prot), (flags)|MAP_ANONYMOUS, -1, 0))
|
/freebsd-11-stable/sys/dev/hptnr/ |
H A D | hptnr_osm_bsd.c | 620 HPT_U8 prot; local 630 prot = (cdb[1] & 0x1e) >> 1; 633 if (prot < 3 || prot > 5) 706 switch (prot) {
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_linux.cpp | 168 uptr internal_mmap(void *addr, uptr length, int prot, int flags, int fd, argument 171 return internal_syscall(SYSCALL(mmap), (uptr)addr, length, prot, flags, fd, 176 return internal_syscall(SYSCALL(mmap2), addr, length, prot, flags, fd, 187 int internal_mprotect(void *addr, uptr length, int prot) { argument 188 return internal_syscall(SYSCALL(mprotect), (uptr)addr, length, prot);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/include/sanitizer/ |
H A D | netbsd_syscall_hooks.h | 379 #define __sanitizer_syscall_pre_compat_43_ommap(addr, len, prot, flags, fd, \ 382 (long long)(addr), (long long)(len), (long long)(prot), \ 384 #define __sanitizer_syscall_post_compat_43_ommap(res, addr, len, prot, flags, \ 387 res, (long long)(addr), (long long)(len), (long long)(prot), \ 397 #define __sanitizer_syscall_pre_mprotect(addr, len, prot) \ 399 (long long)(prot)) 400 #define __sanitizer_syscall_post_mprotect(res, addr, len, prot) \ 402 (long long)(len), (long long)(prot)) 1016 #define __sanitizer_syscall_pre_mmap(addr, len, prot, flags, fd, PAD, pos) \ 1018 (long long)(addr), (long long)(len), (long long)(prot), \ [all...] |
/freebsd-11-stable/sys/dev/usb/wlan/ |
H A D | if_rum.c | 1362 const struct mbuf *m, struct ieee80211_node *ni, int prot, int rate) 1372 KASSERT(prot == IEEE80211_PROT_RTSCTS || prot == IEEE80211_PROT_CTSONLY, 1373 ("protection %d", prot)); 1384 if (prot == IEEE80211_PROT_RTSCTS) { 1635 int prot = IEEE80211_PROT_NONE; local 1637 prot = IEEE80211_PROT_RTSCTS; 1640 prot = ic->ic_protmode; 1641 if (prot != IEEE80211_PROT_NONE) { 1642 error = rum_sendprot(sc, m0, ni, prot, rat 1361 rum_sendprot(struct rum_softc *sc, const struct mbuf *m, struct ieee80211_node *ni, int prot, int rate) argument [all...] |
/freebsd-11-stable/sys/security/mac_biba/ |
H A D | mac_biba.c | 1697 struct label *shmlabel, int prot, int flags) 1707 if (prot & (VM_PROT_READ | VM_PROT_EXECUTE)) { 1711 if (((prot & VM_PROT_WRITE) != 0) && ((flags & MAP_SHARED) != 0)) { 3093 struct label *vplabel, int prot, int flags) 3107 if (prot & (VM_PROT_READ | VM_PROT_EXECUTE)) { 3111 if (((prot & VM_PROT_WRITE) != 0) && ((flags & MAP_SHARED) != 0)) { 1696 biba_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, struct label *shmlabel, int prot, int flags) argument 3092 biba_vnode_check_mmap(struct ucred *cred, struct vnode *vp, struct label *vplabel, int prot, int flags) argument
|