Searched refs:mode (Results 1 – 9 of 9) sorted by relevance
/ipc/ |
D | ipc_sysctl.c | 125 .mode = 0644, 132 .mode = 0644, 139 .mode = 0644, 148 .mode = 0644, 157 .mode = 0644, 166 .mode = 0644, 175 .mode = 0644, 184 .mode = 0644, 193 .mode = 0644, 201 .mode = 0644, [all …]
|
D | compat.c | 46 to->mode = v.mode; in get_compat_ipc64_perm() 58 to->mode = v.mode; in get_compat_ipc_perm() 69 to->mode = from->mode; in to_compat_ipc64_perm() 80 to->mode = from->mode; in to_compat_ipc_perm()
|
D | mq_sysctl.c | 57 .mode = 0644, 64 .mode = 0644, 73 .mode = 0644, 82 .mode = 0644, 91 .mode = 0644, 102 .mode = 0555, 111 .mode = 0555,
|
D | util.c | 526 granted_mode = ipcp->mode; in ipcperms() 560 out->mode = in->mode; in kernel_to_ipc64_perm() 579 out->mode = in->mode; in ipc64_perm_to_ipc_perm() 662 out->mode = (out->mode & ~S_IRWXUGO) in ipc_update_perm() 663 | (in->mode & S_IRWXUGO); in ipc_update_perm() 705 perm->gid, perm->mode); in ipcctl_obtain_check()
|
D | msg.c | 144 msq->q_perm.mode = msgflg & S_IRWXUGO; in newque() 360 out->msg_perm.mode = tbuf_old.msg_perm.mode; in copy_msqid_from_user() 766 static int testmsg(struct msg_msg *msg, long type, int mode) in testmsg() argument 768 switch (mode) { in testmsg() 1042 static struct msg_msg *find_msg(struct msg_queue *msq, long *msgtyp, int mode) in find_msg() argument 1048 if (testmsg(msg, *msgtyp, mode) && in find_msg() 1050 *msgtyp, mode)) { in find_msg() 1051 if (mode == SEARCH_LESSEQUAL && msg->m_type != 1) { in find_msg() 1054 } else if (mode == SEARCH_NUMBER) { in find_msg() 1069 int mode; in do_msgrcv() local [all …]
|
D | mqueue.c | 232 struct ipc_namespace *ipc_ns, umode_t mode, in mqueue_get_inode() argument 244 inode->i_mode = mode; in mqueue_get_inode() 249 if (S_ISREG(mode)) { in mqueue_get_inode() 327 } else if (S_ISDIR(mode)) { in mqueue_get_inode() 492 static int mqueue_create_attr(struct dentry *dentry, umode_t mode, void *arg) in mqueue_create_attr() argument 515 inode = mqueue_get_inode(dir->i_sb, ipc_ns, mode, attr); in mqueue_create_attr() 538 umode_t mode, bool excl) in mqueue_create() argument 540 return mqueue_create_attr(dentry, mode, NULL); in mqueue_create() 772 umode_t mode, struct filename *name, in prepare_open() argument 785 return vfs_mkobj2(mnt, dentry, mode & ~current_umask(), in prepare_open() [all …]
|
D | shm.c | 120 shp->shm_perm.mode |= SHM_DEST; in do_shm_rmid() 313 (shp->shm_perm.mode & SHM_DEST)); in shm_may_destroy() 534 static long shm_fallocate(struct file *file, int mode, loff_t offset, in shm_fallocate() argument 541 return sfd->file->f_op->fallocate(file, mode, offset, len); in shm_fallocate() 627 shp->shm_perm.mode = (shmflg & S_IRWXUGO); in newseg() 793 out->shm_perm.mode = tbuf_old.shm_perm.mode; in copy_shmid_from_user() 1112 if (!err && !(shp->shm_perm.mode & SHM_LOCKED)) { in shmctl_do_lock() 1113 shp->shm_perm.mode |= SHM_LOCKED; in shmctl_do_lock() 1120 if (!(shp->shm_perm.mode & SHM_LOCKED)) in shmctl_do_lock() 1123 shp->shm_perm.mode &= ~SHM_LOCKED; in shmctl_do_lock() [all …]
|
D | util.h | 263 compat_mode_t mode; member
|
D | sem.c | 527 sma->sem_perm.mode = (semflg & S_IRWXUGO); in newary() 1569 out->sem_perm.mode = tbuf_old.sem_perm.mode; in copy_semid_from_user() 2435 sma->sem_perm.mode, in sysvipc_sem_proc_show()
|