Lines Matching defs:int
55 int state; /* one of STATE_* values */
111 struct ipc_namespace *ipc_ns, int mode,
183 static int mqueue_fill_super(struct super_block *sb, void *data, int silent)
187 int error;
213 static int mqueue_get_sb(struct file_system_type *fs_type,
214 int flags, const char *dev_name,
249 int i;
287 static int mqueue_create(struct inode *dir, struct dentry *dentry,
288 int mode, struct nameidata *nd)
292 int error;
331 static int mqueue_unlink(struct inode *dir, struct dentry *dentry)
377 static int mqueue_flush_file(struct file *filp, fl_owner_t id)
389 static unsigned int mqueue_poll_file(struct file *filp, struct poll_table_struct *poll_tab)
392 int retval = 0;
408 static void wq_add(struct mqueue_inode_info *info, int sr,
429 static int wq_sleep(struct mqueue_inode_info *info, int sr,
432 int retval;
476 struct mqueue_inode_info *info, int sr)
489 int k;
554 static int prepare_timeout(const struct timespec __user *u_abs_timeout,
577 static int mq_attr_ok(struct ipc_namespace *ipc_ns, struct mq_attr *attr)
603 struct dentry *dentry, int oflag, mode_t mode,
608 int ret;
646 struct dentry *dentry, int oflag)
648 int ret;
651 static const int oflag2acc[O_ACCMODE] = { MAY_READ, MAY_WRITE,
672 SYSCALL_DEFINE4(mq_open, const char __user *, u_name, int, oflag, mode_t, mode,
679 int fd, error;
747 int err;
840 size_t, msg_len, unsigned int, msg_prio,
851 int ret;
854 int res = prepare_timeout(u_abs_timeout, &expires, &ts);
934 size_t, msg_len, unsigned int __user *, u_msg_prio,
947 int res = prepare_timeout(u_abs_timeout, &expires, &ts);
1025 int ret;
1157 int ret;
1237 int mq_init_ns(struct ipc_namespace *ns)
1246 int err = PTR_ERR(ns->mq_mnt);
1263 static int __init init_mqueue_fs(void)
1265 int error;