/fs/adfs/ |
D | dir.c | 17 int adfs_dir_copyfrom(void *dst, struct adfs_dir *dir, unsigned int offset, in adfs_dir_copyfrom() argument 20 struct super_block *sb = dir->sb; in adfs_dir_copyfrom() 26 if (index + (remain < len) >= dir->nr_buffers) in adfs_dir_copyfrom() 30 memcpy(dst, dir->bhs[index]->b_data + offset, remain); in adfs_dir_copyfrom() 37 memcpy(dst, dir->bhs[index]->b_data + offset, len); in adfs_dir_copyfrom() 42 int adfs_dir_copyto(struct adfs_dir *dir, unsigned int offset, const void *src, in adfs_dir_copyto() argument 45 struct super_block *sb = dir->sb; in adfs_dir_copyto() 51 if (index + (remain < len) >= dir->nr_buffers) in adfs_dir_copyto() 55 memcpy(dir->bhs[index]->b_data + offset, src, remain); in adfs_dir_copyto() 62 memcpy(dir->bhs[index]->b_data + offset, src, len); in adfs_dir_copyto() [all …]
|
D | dir_fplus.c | 70 static u8 adfs_fplus_checkbyte(struct adfs_dir *dir) in adfs_fplus_checkbyte() argument 72 struct adfs_bigdirheader *h = dir->bighead; in adfs_fplus_checkbyte() 73 struct adfs_bigdirtail *t = dir->bigtail; in adfs_fplus_checkbyte() 83 bp = (void *)dir->bhs[bi]->b_data; in adfs_fplus_checkbyte() 84 bs = dir->bhs[bi]->b_size; in adfs_fplus_checkbyte() 104 unsigned int size, struct adfs_dir *dir) in adfs_fplus_read() argument 112 ret = adfs_dir_read_buffers(sb, indaddr, sb->s_blocksize, dir); in adfs_fplus_read() 116 dir->bighead = h = (void *)dir->bhs[0]->b_data; in adfs_fplus_read() 131 ret = adfs_dir_read_buffers(sb, indaddr, dirsize, dir); in adfs_fplus_read() 135 dir->bigtail = t = (struct adfs_bigdirtail *) in adfs_fplus_read() [all …]
|
D | dir_f.c | 70 adfs_dir_checkbyte(const struct adfs_dir *dir) in adfs_dir_checkbyte() argument 72 struct buffer_head * const *bh = dir->bh; in adfs_dir_checkbyte() 73 const int blocksize_bits = dir->sb->s_blocksize_bits; in adfs_dir_checkbyte() 124 static int adfs_f_validate(struct adfs_dir *dir) in adfs_f_validate() argument 126 struct adfs_dirheader *head = dir->dirhead; in adfs_f_validate() 127 struct adfs_newdirtail *tail = dir->newtail; in adfs_f_validate() 134 adfs_dir_checkbyte(dir) != tail->dircheckbyte) in adfs_f_validate() 142 struct adfs_dir *dir) in adfs_f_read() argument 150 ret = adfs_dir_read_buffers(sb, indaddr, ADFS_NEWDIR_SIZE, dir); in adfs_f_read() 154 dir->dirhead = bufoff(dir->bh, 0); in adfs_f_read() [all …]
|
/fs/f2fs/ |
D | dir.c | 79 int f2fs_init_casefolded_name(const struct inode *dir, in f2fs_init_casefolded_name() argument 83 struct super_block *sb = dir->i_sb; in f2fs_init_casefolded_name() 85 if (IS_CASEFOLDED(dir) && in f2fs_init_casefolded_name() 107 static int __f2fs_setup_filename(const struct inode *dir, in __f2fs_setup_filename() argument 124 err = f2fs_init_casefolded_name(dir, fname); in __f2fs_setup_filename() 129 f2fs_hash_filename(dir, fname); in __f2fs_setup_filename() 140 int f2fs_setup_filename(struct inode *dir, const struct qstr *iname, in f2fs_setup_filename() argument 146 err = fscrypt_setup_filename(dir, iname, lookup, &crypt_name); in f2fs_setup_filename() 150 return __f2fs_setup_filename(dir, &crypt_name, fname); in f2fs_setup_filename() 159 int f2fs_prepare_lookup(struct inode *dir, struct dentry *dentry, in f2fs_prepare_lookup() argument [all …]
|
D | inline.c | 352 struct f2fs_dir_entry *f2fs_find_in_inline_dir(struct inode *dir, in f2fs_find_in_inline_dir() argument 356 struct f2fs_sb_info *sbi = F2FS_SB(dir->i_sb); in f2fs_find_in_inline_dir() 362 ipage = f2fs_get_node_page(sbi, dir->i_ino); in f2fs_find_in_inline_dir() 368 inline_dentry = inline_data_addr(dir, ipage); in f2fs_find_in_inline_dir() 370 make_dentry_ptr_inline(dir, &d, inline_dentry); in f2fs_find_in_inline_dir() 408 static int f2fs_move_inline_dirents(struct inode *dir, struct page *ipage, in f2fs_move_inline_dirents() argument 417 page = f2fs_grab_cache_page(dir->i_mapping, 0, true); in f2fs_move_inline_dirents() 423 set_new_dnode(&dn, dir, ipage, NULL, 0); in f2fs_move_inline_dirents() 432 __func__, dir->i_ino, dn.data_blkaddr); in f2fs_move_inline_dirents() 447 make_dentry_ptr_inline(dir, &src, inline_dentry); in f2fs_move_inline_dirents() [all …]
|
D | namei.c | 25 static struct inode *f2fs_new_inode(struct inode *dir, umode_t mode) in f2fs_new_inode() argument 27 struct f2fs_sb_info *sbi = F2FS_I_SB(dir); in f2fs_new_inode() 35 inode = new_inode(dir->i_sb); in f2fs_new_inode() 49 inode_init_owner(inode, dir, mode); in f2fs_new_inode() 67 (F2FS_I(dir)->i_flags & F2FS_PROJINHERIT_FL)) in f2fs_new_inode() 68 F2FS_I(inode)->i_projid = F2FS_I(dir)->i_projid; in f2fs_new_inode() 73 err = fscrypt_prepare_new_inode(dir, inode, &encrypt); in f2fs_new_inode() 109 f2fs_mask_flags(mode, F2FS_I(dir)->i_flags & F2FS_FL_INHERITED); in f2fs_new_inode() 119 if ((F2FS_I(dir)->i_flags & F2FS_COMPR_FL) && in f2fs_new_inode() 330 static int f2fs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in f2fs_create() argument [all …]
|
/fs/ubifs/ |
D | dir.c | 47 static int inherit_flags(const struct inode *dir, umode_t mode) in inherit_flags() argument 50 const struct ubifs_inode *ui = ubifs_inode(dir); in inherit_flags() 52 if (!S_ISDIR(dir->i_mode)) in inherit_flags() 76 struct inode *ubifs_new_inode(struct ubifs_info *c, struct inode *dir, in ubifs_new_inode() argument 97 inode_init_owner(inode, dir, mode); in ubifs_new_inode() 102 err = fscrypt_prepare_new_inode(dir, inode, &encrypted); in ubifs_new_inode() 132 ui->flags = inherit_flags(dir, mode); in ubifs_new_inode() 193 static struct dentry *ubifs_lookup(struct inode *dir, struct dentry *dentry, in ubifs_lookup() argument 200 struct ubifs_info *c = dir->i_sb->s_fs_info; in ubifs_lookup() 203 dbg_gen("'%pd' in dir ino %lu", dentry, dir->i_ino); in ubifs_lookup() [all …]
|
/fs/hpfs/ |
D | namei.c | 12 static void hpfs_update_directory_times(struct inode *dir) in hpfs_update_directory_times() argument 14 time64_t t = local_to_gmt(dir->i_sb, local_get_seconds(dir->i_sb)); in hpfs_update_directory_times() 15 if (t == dir->i_mtime.tv_sec && in hpfs_update_directory_times() 16 t == dir->i_ctime.tv_sec) in hpfs_update_directory_times() 18 dir->i_mtime.tv_sec = dir->i_ctime.tv_sec = t; in hpfs_update_directory_times() 19 dir->i_mtime.tv_nsec = dir->i_ctime.tv_nsec = 0; in hpfs_update_directory_times() 20 hpfs_write_inode_nolock(dir); in hpfs_update_directory_times() 23 static int hpfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in hpfs_mkdir() argument 39 hpfs_lock(dir->i_sb); in hpfs_mkdir() 41 fnode = hpfs_alloc_fnode(dir->i_sb, hpfs_i(dir)->i_dno, &fno, &bh); in hpfs_mkdir() [all …]
|
/fs/ext4/ |
D | namei.c | 299 static unsigned dx_root_limit(struct inode *dir, unsigned infosize); 300 static unsigned dx_node_limit(struct inode *dir); 302 struct inode *dir, 306 static int dx_make_map(struct inode *dir, struct ext4_dir_entry_2 *de, 310 static struct ext4_dir_entry_2 *dx_move_dirents(struct inode *dir, char *from, 313 static struct ext4_dir_entry_2 *dx_pack_dirents(struct inode *dir, char *base, 317 static int ext4_htree_next_block(struct inode *dir, __u32 hash, 321 static struct buffer_head * ext4_dx_find_entry(struct inode *dir, 325 struct inode *dir, struct inode *inode); 606 static inline unsigned dx_root_limit(struct inode *dir, unsigned infosize) in dx_root_limit() argument [all …]
|
/fs/reiserfs/ |
D | namei.c | 304 static int reiserfs_find_entry(struct inode *dir, const char *name, int namelen, in reiserfs_find_entry() argument 311 if (namelen > REISERFS_MAX_NAME(dir->i_sb->s_blocksize)) in reiserfs_find_entry() 315 make_cpu_key(&key_to_search, dir, in reiserfs_find_entry() 316 get_third_component(dir->i_sb, name, namelen), in reiserfs_find_entry() 321 search_by_entry_key(dir->i_sb, &key_to_search, in reiserfs_find_entry() 324 reiserfs_error(dir->i_sb, "zam-7001", "io error"); in reiserfs_find_entry() 352 static struct dentry *reiserfs_lookup(struct inode *dir, struct dentry *dentry, in reiserfs_lookup() argument 360 if (REISERFS_MAX_NAME(dir->i_sb->s_blocksize) < dentry->d_name.len) in reiserfs_lookup() 363 reiserfs_write_lock(dir->i_sb); in reiserfs_lookup() 367 reiserfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len, in reiserfs_lookup() [all …]
|
/fs/ocfs2/ |
D | dir.c | 60 struct inode *dir, 71 static int ocfs2_supports_dir_trailer(struct inode *dir) in ocfs2_supports_dir_trailer() argument 73 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_supports_dir_trailer() 75 if (OCFS2_I(dir)->ip_dyn_features & OCFS2_INLINE_DATA_FL) in ocfs2_supports_dir_trailer() 78 return ocfs2_meta_ecc(osb) || ocfs2_dir_indexed(dir); in ocfs2_supports_dir_trailer() 89 static int ocfs2_new_dir_wants_trailer(struct inode *dir) in ocfs2_new_dir_wants_trailer() argument 91 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_new_dir_wants_trailer() 119 static int ocfs2_skip_dir_trailer(struct inode *dir, in ocfs2_skip_dir_trailer() argument 126 if (!ocfs2_supports_dir_trailer(dir)) in ocfs2_skip_dir_trailer() 153 static int ocfs2_dx_dir_link_trailer(struct inode *dir, handle_t *handle, in ocfs2_dx_dir_link_trailer() argument [all …]
|
/fs/bfs/ |
D | dir.c | 24 static int bfs_add_entry(struct inode *dir, const struct qstr *child, int ino); 25 static struct buffer_head *bfs_find_entry(struct inode *dir, 31 struct inode *dir = file_inode(f); in bfs_readdir() local 40 dir->i_sb->s_id, dir->i_ino); in bfs_readdir() 44 while (ctx->pos < dir->i_size) { in bfs_readdir() 46 block = BFS_I(dir)->i_sblock + (ctx->pos >> BFS_BSIZE_BITS); in bfs_readdir() 47 bh = sb_bread(dir->i_sb, block); in bfs_readdir() 65 } while ((offset < BFS_BSIZE) && (ctx->pos < dir->i_size)); in bfs_readdir() 78 static int bfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in bfs_create() argument 83 struct super_block *s = dir->i_sb; in bfs_create() [all …]
|
/fs/exfat/ |
D | namei.c | 228 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_search_empty_slot() 244 clu.dir, clu.size, clu.flags); in exfat_search_empty_slot() 260 p_dir->dir, clu.dir); in exfat_search_empty_slot() 277 clu.dir++; in exfat_search_empty_slot() 279 clu.dir = EXFAT_EOF_CLUSTER; in exfat_search_empty_slot() 281 if (exfat_get_next_cluster(sb, &clu.dir)) in exfat_search_empty_slot() 353 if (exfat_zeroed_cluster(inode, clu.dir)) in exfat_find_empty_entry() 357 ei->start_clu = clu.dir; in exfat_find_empty_entry() 358 p_dir->dir = clu.dir; in exfat_find_empty_entry() 366 exfat_chain_cont_cluster(sb, p_dir->dir, p_dir->size); in exfat_find_empty_entry() [all …]
|
/fs/nilfs2/ |
D | namei.c | 54 nilfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in nilfs_lookup() argument 62 ino = nilfs_inode_by_name(dir, &dentry->d_name); in nilfs_lookup() 63 inode = ino ? nilfs_iget(dir->i_sb, NILFS_I(dir)->i_root, ino) : NULL; in nilfs_lookup() 75 static int nilfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in nilfs_create() argument 82 err = nilfs_transaction_begin(dir->i_sb, &ti, 1); in nilfs_create() 85 inode = nilfs_new_inode(dir, mode); in nilfs_create() 95 err = nilfs_transaction_commit(dir->i_sb); in nilfs_create() 97 nilfs_transaction_abort(dir->i_sb); in nilfs_create() 103 nilfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) in nilfs_mknod() argument 109 err = nilfs_transaction_begin(dir->i_sb, &ti, 1); in nilfs_mknod() [all …]
|
D | dir.c | 99 struct inode *dir = mapping->host; in nilfs_commit_chunk() local 107 if (pos + copied > dir->i_size) in nilfs_commit_chunk() 108 i_size_write(dir, pos + copied); in nilfs_commit_chunk() 109 if (IS_DIRSYNC(dir)) in nilfs_commit_chunk() 111 err = nilfs_set_file_dirty(dir, nr_dirty); in nilfs_commit_chunk() 118 struct inode *dir = page->mapping->host; in nilfs_check_page() local 119 struct super_block *sb = dir->i_sb; in nilfs_check_page() 120 unsigned int chunk_size = nilfs_chunk_size(dir); in nilfs_check_page() 127 if ((dir->i_size >> PAGE_SHIFT) == page->index) { in nilfs_check_page() 128 limit = dir->i_size & ~PAGE_MASK; in nilfs_check_page() [all …]
|
/fs/cachefiles/ |
D | namei.c | 289 struct dentry *dir, in cachefiles_bury_object() argument 299 _enter(",'%pd','%pd'", dir, rep); in cachefiles_bury_object() 301 _debug("remove %p from %p", rep, dir); in cachefiles_bury_object() 308 path.dentry = dir; in cachefiles_bury_object() 314 ret = vfs_unlink(d_inode(dir), rep, NULL); in cachefiles_bury_object() 320 inode_unlock(d_inode(dir)); in cachefiles_bury_object() 331 inode_unlock(d_inode(dir)); in cachefiles_bury_object() 340 trap = lock_rename(cache->graveyard, dir); in cachefiles_bury_object() 343 if (rep->d_parent != dir || IS_DEADDIR(d_inode(rep))) { in cachefiles_bury_object() 346 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object() [all …]
|
/fs/udf/ |
D | namei.c | 163 static struct fileIdentDesc *udf_find_entry(struct inode *dir, in udf_find_entry() argument 181 struct udf_inode_info *dinfo = UDF_I(dir); in udf_find_entry() 184 struct super_block *sb = dir->i_sb; in udf_find_entry() 186 size = udf_ext0_offset(dir) + dir->i_size; in udf_find_entry() 187 f_pos = udf_ext0_offset(dir); in udf_find_entry() 192 if (inode_bmap(dir, f_pos >> sb->s_blocksize_bits, &epos, in udf_find_entry() 221 fi = udf_fileident_read(dir, &f_pos, fibh, cfi, &epos, &eloc, in udf_find_entry() 299 static struct dentry *udf_lookup(struct inode *dir, struct dentry *dentry, in udf_lookup() argument 310 fi = udf_find_entry(dir, &dentry->d_name, &fibh, &cfi); in udf_lookup() 322 inode = udf_iget(dir->i_sb, &loc); in udf_lookup() [all …]
|
/fs/omfs/ |
D | dir.c | 24 static struct buffer_head *omfs_get_bucket(struct inode *dir, in omfs_get_bucket() argument 27 int nbuckets = (dir->i_size - OMFS_DIR_START)/8; in omfs_get_bucket() 31 return omfs_bread(dir->i_sb, dir->i_ino); in omfs_get_bucket() 34 static struct buffer_head *omfs_scan_list(struct inode *dir, u64 block, in omfs_scan_list() argument 44 bh = omfs_bread(dir->i_sb, block); in omfs_scan_list() 51 if (omfs_is_bad(OMFS_SB(dir->i_sb), &oi->i_head, block)) { in omfs_scan_list() 67 static struct buffer_head *omfs_find_entry(struct inode *dir, in omfs_find_entry() argument 74 bh = omfs_get_bucket(dir, name, namelen, &ofs); in omfs_find_entry() 81 return omfs_scan_list(dir, block, name, namelen, &dummy); in omfs_find_entry() 113 struct inode *dir = d_inode(dentry->d_parent); in omfs_add_link() local [all …]
|
/fs/ufs/ |
D | dir.c | 48 struct inode *dir = mapping->host; in ufs_commit_chunk() local 51 inode_inc_iversion(dir); in ufs_commit_chunk() 53 if (pos+len > dir->i_size) { in ufs_commit_chunk() 54 i_size_write(dir, pos+len); in ufs_commit_chunk() 55 mark_inode_dirty(dir); in ufs_commit_chunk() 57 if (IS_DIRSYNC(dir)) in ufs_commit_chunk() 70 ino_t ufs_inode_by_name(struct inode *dir, const struct qstr *qstr) in ufs_inode_by_name() argument 76 de = ufs_find_entry(dir, qstr, &page); in ufs_inode_by_name() 78 res = fs32_to_cpu(dir->i_sb, de->d_ino); in ufs_inode_by_name() 86 void ufs_set_link(struct inode *dir, struct ufs_dir_entry *de, in ufs_set_link() argument [all …]
|
/fs/ext2/ |
D | dir.c | 93 struct inode *dir = mapping->host; in ext2_commit_chunk() local 96 inode_inc_iversion(dir); in ext2_commit_chunk() 99 if (pos+len > dir->i_size) { in ext2_commit_chunk() 100 i_size_write(dir, pos+len); in ext2_commit_chunk() 101 mark_inode_dirty(dir); in ext2_commit_chunk() 104 if (IS_DIRSYNC(dir)) { in ext2_commit_chunk() 107 err = sync_inode_metadata(dir, 1); in ext2_commit_chunk() 117 struct inode *dir = page->mapping->host; in ext2_check_page() local 118 struct super_block *sb = dir->i_sb; in ext2_check_page() 119 unsigned chunk_size = ext2_chunk_size(dir); in ext2_check_page() [all …]
|
D | namei.c | 56 static struct dentry *ext2_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in ext2_lookup() argument 65 res = ext2_inode_by_name(dir, &dentry->d_name, &ino); in ext2_lookup() 71 inode = ext2_iget(dir->i_sb, ino); in ext2_lookup() 73 ext2_error(dir->i_sb, __func__, in ext2_lookup() 103 static int ext2_create (struct inode * dir, struct dentry * dentry, umode_t mode, bool excl) in ext2_create() argument 108 err = dquot_initialize(dir); in ext2_create() 112 inode = ext2_new_inode(dir, mode, &dentry->d_name); in ext2_create() 121 static int ext2_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in ext2_tmpfile() argument 123 struct inode *inode = ext2_new_inode(dir, mode, NULL); in ext2_tmpfile() 134 static int ext2_mknod (struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ext2_mknod() argument [all …]
|
/fs/nfs/ |
D | dir.c | 71 static struct nfs_open_dir_context *alloc_nfs_open_dir_context(struct inode *dir, const struct cred… in alloc_nfs_open_dir_context() argument 73 struct nfs_inode *nfsi = NFS_I(dir); in alloc_nfs_open_dir_context() 82 spin_lock(&dir->i_lock); in alloc_nfs_open_dir_context() 88 spin_unlock(&dir->i_lock); in alloc_nfs_open_dir_context() 94 static void put_nfs_open_dir_context(struct inode *dir, struct nfs_open_dir_context *ctx) in put_nfs_open_dir_context() argument 96 spin_lock(&dir->i_lock); in put_nfs_open_dir_context() 98 spin_unlock(&dir->i_lock); in put_nfs_open_dir_context() 437 bool nfs_use_readdirplus(struct inode *dir, struct dir_context *ctx) in nfs_use_readdirplus() argument 439 if (!nfs_server_capable(dir, NFS_CAP_READDIRPLUS)) in nfs_use_readdirplus() 441 if (test_and_clear_bit(NFS_INO_ADVISE_RDPLUS, &NFS_I(dir)->flags)) in nfs_use_readdirplus() [all …]
|
/fs/affs/ |
D | amigaffs.c | 26 affs_insert_hash(struct inode *dir, struct buffer_head *bh) in affs_insert_hash() argument 28 struct super_block *sb = dir->i_sb; in affs_insert_hash() 36 pr_debug("%s(dir=%lu, ino=%d)\n", __func__, dir->i_ino, ino); in affs_insert_hash() 38 dir_bh = affs_bread(sb, dir->i_ino); in affs_insert_hash() 50 AFFS_TAIL(sb, bh)->parent = cpu_to_be32(dir->i_ino); in affs_insert_hash() 54 if (dir->i_ino == dir_bh->b_blocknr) in affs_insert_hash() 60 mark_buffer_dirty_inode(dir_bh, dir); in affs_insert_hash() 63 dir->i_mtime = dir->i_ctime = current_time(dir); in affs_insert_hash() 64 inode_inc_iversion(dir); in affs_insert_hash() 65 mark_inode_dirty(dir); in affs_insert_hash() [all …]
|
/fs/coda/ |
D | dir.c | 41 static struct dentry *coda_lookup(struct inode *dir, struct dentry *entry, unsigned int flags) in coda_lookup() argument 43 struct super_block *sb = dir->i_sb; in coda_lookup() 51 coda_i2s(dir), length); in coda_lookup() 56 if (is_root_inode(dir) && coda_iscontrol(name, length)) { in coda_lookup() 61 int error = venus_lookup(sb, coda_i2f(dir), name, length, in coda_lookup() 103 static inline void coda_dir_update_mtime(struct inode *dir) in coda_dir_update_mtime() argument 108 coda_flag_inode(dir, C_VATTR); in coda_dir_update_mtime() 113 dir->i_mtime = dir->i_ctime = current_time(dir); in coda_dir_update_mtime() 122 static inline void coda_dir_inc_nlink(struct inode *dir) in coda_dir_inc_nlink() argument 124 if (dir->i_nlink >= 2) in coda_dir_inc_nlink() [all …]
|
/fs/minix/ |
D | namei.c | 22 static struct dentry *minix_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in minix_lookup() argument 27 if (dentry->d_name.len > minix_sb(dir->i_sb)->s_namelen) in minix_lookup() 32 inode = minix_iget(dir->i_sb, ino); in minix_lookup() 36 static int minix_mknod(struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in minix_mknod() argument 44 inode = minix_new_inode(dir, mode, &error); in minix_mknod() 54 static int minix_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in minix_tmpfile() argument 57 struct inode *inode = minix_new_inode(dir, mode, &error); in minix_tmpfile() 66 static int minix_create(struct inode *dir, struct dentry *dentry, umode_t mode, in minix_create() argument 69 return minix_mknod(dir, dentry, mode, 0); in minix_create() 72 static int minix_symlink(struct inode * dir, struct dentry *dentry, in minix_symlink() argument [all …]
|