Home
last modified time | relevance | path

Searched refs:maxprotp (Results 1 – 5 of 5) sorted by relevance

/freebsd-9-stable/sys/kern/
Dsys_capability.c380 cap_funwrap_mmap(struct file *fp_cap, cap_rights_t rights, u_char *maxprotp, in cap_funwrap_mmap() argument
389 *maxprotp = VM_PROT_ALL; in cap_funwrap_mmap()
404 *maxprotp = maxprot; in cap_funwrap_mmap()
539 cap_funwrap_mmap(struct file *fp_cap, cap_rights_t rights, u_char *maxprotp, in cap_funwrap_mmap() argument
547 *maxprotp = VM_PROT_ALL; in cap_funwrap_mmap()
Dkern_descrip.c2385 cap_rights_t needrights, cap_rights_t *haverightsp, u_char *maxprotp, in _fget() argument
2427 if (maxprotp == NULL) in _fget()
2430 error = cap_funwrap_mmap(fp, needrights, maxprotp, in _fget()
2451 if (maxprotp != NULL) in _fget()
2452 *maxprotp = VM_PROT_ALL; in _fget()
2493 fget_mmap(struct thread *td, int fd, cap_rights_t rights, u_char *maxprotp, in fget_mmap() argument
2497 return (_fget(td, fd, fpp, 0, rights, NULL, maxprotp, 0)); in fget_mmap()
/freebsd-9-stable/sys/vm/
Dvm_mmap.c1268 vm_prot_t prot, vm_prot_t *maxprotp, int *flagsp, in vm_mmap_vnode() argument
1281 if ((*maxprotp & VM_PROT_WRITE) && (*flagsp & MAP_SHARED)) in vm_mmap_vnode()
1319 error = vm_mmap_cdev(td, objsize, prot, maxprotp, flagsp, in vm_mmap_vnode()
1341 *maxprotp &= ~VM_PROT_WRITE; in vm_mmap_vnode()
1383 vm_prot_t prot, vm_prot_t *maxprotp, int *flagsp, in vm_mmap_cdev() argument
1397 *maxprotp = VM_PROT_ALL; in vm_mmap_cdev()
1404 if ((*maxprotp & VM_PROT_WRITE) == 0 && in vm_mmap_cdev()
1456 vm_prot_t prot, vm_prot_t *maxprotp, int *flagsp, in vm_mmap_shm() argument
1462 (*maxprotp & VM_PROT_WRITE) == 0 && in vm_mmap_shm()
/freebsd-9-stable/sys/sys/
Dcapability.h161 u_char *maxprotp, struct file **fpp);
Dfile.h219 u_char *maxprotp, struct file **fpp);