Lines Matching defs:mode
120 shp->shm_perm.mode |= SHM_DEST;
349 (shp->shm_perm.mode & SHM_DEST));
627 static long shm_fallocate(struct file *file, int mode, loff_t offset, loff_t len)
634 return sfd->file->f_op->fallocate(file, mode, offset, len);
721 shp->shm_perm.mode = (shmflg & S_IRWXUGO);
892 out->shm_perm.mode = tbuf_old.shm_perm.mode;
986 * to be held in write mode.
1211 if (!err && !(shp->shm_perm.mode & SHM_LOCKED)) {
1212 shp->shm_perm.mode |= SHM_LOCKED;
1219 if (!(shp->shm_perm.mode & SHM_LOCKED)) {
1223 shp->shm_perm.mode &= ~SHM_LOCKED;
1881 shp->shm_perm.key, shp->shm_perm.id, shp->shm_perm.mode, shp->shm_segsz,