Lines Matching refs:prot
267 uchar_t prot = PROT_ALL; in shmat() local
392 if (valid_usr_range(addr, size, prot, in shmat()
433 result = valid_usr_range(base, len, prot, as, in shmat()
442 prot &= ~PROT_EXEC; in shmat()
443 result = valid_usr_range(base, len, prot, as, in shmat()
457 error = sptcreate(size, &segspt, sp->shm_amp, prot, in shmat()
465 sp->shm_sptprot = prot; in shmat()
466 } else if ((prot & sp->shm_sptprot) != sp->shm_sptprot) { in shmat()
490 prot &= ~PROT_WRITE; in shmat()
522 result = valid_usr_range(base, len, prot, as, in shmat()
525 prot &= ~PROT_EXEC; in shmat()
526 result = valid_usr_range(base, len, prot, as, in shmat()
544 crargs.prot = prot; in shmat()
545 crargs.maxprot = crargs.prot; in shmat()
1181 crargs.prot = PROT_ALL; in shmem_lock()
1182 crargs.maxprot = crargs.prot; in shmem_lock()