Searched refs:dir (Results 1 – 1 of 1) sorted by relevance
/ipc/ |
D | mqueue.c | 422 static int mqueue_create(struct inode *dir, struct dentry *dentry, in mqueue_create() argument 431 ipc_ns = __get_ns_from_inode(dir); in mqueue_create() 445 inode = mqueue_get_inode(dir->i_sb, ipc_ns, mode, attr); in mqueue_create() 454 dir->i_size += DIRENT_SIZE; in mqueue_create() 455 dir->i_ctime = dir->i_mtime = dir->i_atime = CURRENT_TIME; in mqueue_create() 467 static int mqueue_unlink(struct inode *dir, struct dentry *dentry) in mqueue_unlink() argument 471 dir->i_ctime = dir->i_mtime = dir->i_atime = CURRENT_TIME; in mqueue_unlink() 472 dir->i_size -= DIRENT_SIZE; in mqueue_unlink() 731 static struct file *do_create(struct ipc_namespace *ipc_ns, struct inode *dir, in do_create() argument 757 ret = vfs_create2(path->mnt, dir, path->dentry, mode, true); in do_create()
|