Home
last modified time | relevance | path

Searched refs:dir (Results 1 – 25 of 2046) sorted by relevance

12345678910>>...82

/linux-6.6.21/fs/adfs/
Ddir.c17 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 …]
Ddir_fplus.c70 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 …]
Ddir_f.c70 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 …]
/linux-6.6.21/lib/
Dref_tracker.c32 ref_tracker_get_stats(struct ref_tracker_dir *dir, unsigned int limit) in ref_tracker_get_stats() argument
44 list_for_each_entry(tracker, &dir->list, head) { in ref_tracker_get_stats()
84 __ref_tracker_dir_pr_ostream(struct ref_tracker_dir *dir, in __ref_tracker_dir_pr_ostream() argument
92 lockdep_assert_held(&dir->lock); in __ref_tracker_dir_pr_ostream()
94 if (list_empty(&dir->list)) in __ref_tracker_dir_pr_ostream()
97 stats = ref_tracker_get_stats(dir, display_limit); in __ref_tracker_dir_pr_ostream()
100 dir->name, dir, stats); in __ref_tracker_dir_pr_ostream()
110 pr_ostream(s, "%s@%pK has %d/%d users at\n%s\n", dir->name, dir, in __ref_tracker_dir_pr_ostream()
117 dir->name, dir, skipped, stats->total); in __ref_tracker_dir_pr_ostream()
124 void ref_tracker_dir_print_locked(struct ref_tracker_dir *dir, in ref_tracker_dir_print_locked() argument
[all …]
/linux-6.6.21/drivers/misc/cxl/
Ddebugfs.c36 void cxl_debugfs_add_adapter_regs_psl9(struct cxl *adapter, struct dentry *dir) in cxl_debugfs_add_adapter_regs_psl9() argument
38 debugfs_create_io_x64("fir1", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL9_FIR1)); in cxl_debugfs_add_adapter_regs_psl9()
39 debugfs_create_io_x64("fir_mask", 0400, dir, in cxl_debugfs_add_adapter_regs_psl9()
41 debugfs_create_io_x64("fir_cntl", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL9_FIR_CNTL)); in cxl_debugfs_add_adapter_regs_psl9()
42 debugfs_create_io_x64("trace", S_IRUSR | S_IWUSR, dir, _cxl_p1_addr(adapter, CXL_PSL9_TRACECFG)); in cxl_debugfs_add_adapter_regs_psl9()
43 debugfs_create_io_x64("debug", 0600, dir, in cxl_debugfs_add_adapter_regs_psl9()
45 debugfs_create_io_x64("xsl-debug", 0600, dir, in cxl_debugfs_add_adapter_regs_psl9()
49 void cxl_debugfs_add_adapter_regs_psl8(struct cxl *adapter, struct dentry *dir) in cxl_debugfs_add_adapter_regs_psl8() argument
51 debugfs_create_io_x64("fir1", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_FIR1)); in cxl_debugfs_add_adapter_regs_psl8()
52 debugfs_create_io_x64("fir2", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_FIR2)); in cxl_debugfs_add_adapter_regs_psl8()
[all …]
/linux-6.6.21/include/linux/
Dref_tracker.h26 static inline void ref_tracker_dir_init(struct ref_tracker_dir *dir, in ref_tracker_dir_init() argument
30 INIT_LIST_HEAD(&dir->list); in ref_tracker_dir_init()
31 INIT_LIST_HEAD(&dir->quarantine); in ref_tracker_dir_init()
32 spin_lock_init(&dir->lock); in ref_tracker_dir_init()
33 dir->quarantine_avail = quarantine_count; in ref_tracker_dir_init()
34 dir->dead = false; in ref_tracker_dir_init()
35 refcount_set(&dir->untracked, 1); in ref_tracker_dir_init()
36 refcount_set(&dir->no_tracker, 1); in ref_tracker_dir_init()
37 strscpy(dir->name, name, sizeof(dir->name)); in ref_tracker_dir_init()
41 void ref_tracker_dir_exit(struct ref_tracker_dir *dir);
[all …]
/linux-6.6.21/fs/ubifs/
Ddir.c47 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()
77 struct inode *ubifs_new_inode(struct ubifs_info *c, struct inode *dir, in ubifs_new_inode() argument
98 inode_init_owner(&nop_mnt_idmap, inode, dir, mode); in ubifs_new_inode()
103 err = fscrypt_prepare_new_inode(dir, inode, &encrypted); in ubifs_new_inode()
134 ui->flags = inherit_flags(dir, mode); in ubifs_new_inode()
195 static struct dentry *ubifs_lookup(struct inode *dir, struct dentry *dentry, in ubifs_lookup() argument
202 struct ubifs_info *c = dir->i_sb->s_fs_info; in ubifs_lookup()
205 dbg_gen("'%pd' in dir ino %lu", dentry, dir->i_ino); in ubifs_lookup()
[all …]
/linux-6.6.21/fs/ext4/
Dnamei.c301 static unsigned dx_root_limit(struct inode *dir, unsigned infosize);
302 static unsigned dx_node_limit(struct inode *dir);
304 struct inode *dir,
308 static int dx_make_map(struct inode *dir, struct buffer_head *bh,
312 static struct ext4_dir_entry_2 *dx_move_dirents(struct inode *dir, char *from,
315 static struct ext4_dir_entry_2 *dx_pack_dirents(struct inode *dir, char *base,
319 static int ext4_htree_next_block(struct inode *dir, __u32 hash,
323 static struct buffer_head * ext4_dx_find_entry(struct inode *dir,
327 struct inode *dir, struct inode *inode);
608 static inline unsigned dx_root_limit(struct inode *dir, unsigned infosize) in dx_root_limit() argument
[all …]
/linux-6.6.21/fs/f2fs/
Ddir.c46 int f2fs_init_casefolded_name(const struct inode *dir, in f2fs_init_casefolded_name() argument
50 struct super_block *sb = dir->i_sb; in f2fs_init_casefolded_name()
52 if (IS_CASEFOLDED(dir) && in f2fs_init_casefolded_name()
74 static int __f2fs_setup_filename(const struct inode *dir, in __f2fs_setup_filename() argument
91 err = f2fs_init_casefolded_name(dir, fname); in __f2fs_setup_filename()
96 f2fs_hash_filename(dir, fname); in __f2fs_setup_filename()
107 int f2fs_setup_filename(struct inode *dir, const struct qstr *iname, in f2fs_setup_filename() argument
113 err = fscrypt_setup_filename(dir, iname, lookup, &crypt_name); in f2fs_setup_filename()
117 return __f2fs_setup_filename(dir, &crypt_name, fname); in f2fs_setup_filename()
126 int f2fs_prepare_lookup(struct inode *dir, struct dentry *dentry, in f2fs_prepare_lookup() argument
[all …]
Dinline.c334 struct f2fs_dir_entry *f2fs_find_in_inline_dir(struct inode *dir, in f2fs_find_in_inline_dir() argument
338 struct f2fs_sb_info *sbi = F2FS_SB(dir->i_sb); in f2fs_find_in_inline_dir()
344 ipage = f2fs_get_node_page(sbi, dir->i_ino); in f2fs_find_in_inline_dir()
350 inline_dentry = inline_data_addr(dir, ipage); in f2fs_find_in_inline_dir()
352 make_dentry_ptr_inline(dir, &d, inline_dentry); in f2fs_find_in_inline_dir()
390 static int f2fs_move_inline_dirents(struct inode *dir, struct page *ipage, in f2fs_move_inline_dirents() argument
399 page = f2fs_grab_cache_page(dir->i_mapping, 0, true); in f2fs_move_inline_dirents()
405 set_new_dnode(&dn, dir, ipage, NULL, 0); in f2fs_move_inline_dirents()
414 __func__, dir->i_ino, dn.data_blkaddr); in f2fs_move_inline_dirents()
430 make_dentry_ptr_inline(dir, &src, inline_dentry); in f2fs_move_inline_dirents()
[all …]
/linux-6.6.21/drivers/nubus/
Dnubus.c227 struct nubus_dir *dir) in nubus_get_root_dir() argument
229 dir->ptr = dir->base = board->directory; in nubus_get_root_dir()
230 dir->done = 0; in nubus_get_root_dir()
231 dir->mask = board->lanes; in nubus_get_root_dir()
237 int nubus_get_func_dir(const struct nubus_rsrc *fres, struct nubus_dir *dir) in nubus_get_func_dir() argument
239 dir->ptr = dir->base = fres->directory; in nubus_get_func_dir()
240 dir->done = 0; in nubus_get_func_dir()
241 dir->mask = fres->board->lanes; in nubus_get_func_dir()
247 struct nubus_dir *dir) in nubus_get_board_dir() argument
251 dir->ptr = dir->base = board->directory; in nubus_get_board_dir()
[all …]
/linux-6.6.21/fs/hpfs/
Dnamei.c12 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 == inode_get_ctime(dir).tv_sec) in hpfs_update_directory_times()
18 dir->i_mtime = inode_set_ctime(dir, t, 0); in hpfs_update_directory_times()
19 hpfs_write_inode_nolock(dir); in hpfs_update_directory_times()
22 static int hpfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, 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()
44 dnode = hpfs_alloc_dnode(dir->i_sb, fno, &dno, &qbh0); in hpfs_mkdir()
[all …]
/linux-6.6.21/drivers/thunderbolt/
Dproperty.c100 struct tb_property_dir *dir; in tb_property_parse() local
116 dir = __tb_property_parse_dir(block, block_len, entry->value, in tb_property_parse()
118 if (!dir) { in tb_property_parse()
122 property->value.dir = dir; in tb_property_parse()
167 struct tb_property_dir *dir; in __tb_property_parse_dir() local
169 dir = kzalloc(sizeof(*dir), GFP_KERNEL); in __tb_property_parse_dir()
170 if (!dir) in __tb_property_parse_dir()
177 dir->uuid = kmemdup(&block[dir_offset], sizeof(*dir->uuid), in __tb_property_parse_dir()
179 if (!dir->uuid) { in __tb_property_parse_dir()
180 tb_property_free_dir(dir); in __tb_property_parse_dir()
[all …]
/linux-6.6.21/drivers/dma/dw-edma/
Ddw-edma-v0-core.c39 #define SET_RW_32(dw, dir, name, value) \ argument
41 if ((dir) == EDMA_DIR_WRITE) \
47 #define GET_RW_32(dw, dir, name) \ argument
48 ((dir) == EDMA_DIR_WRITE \
64 #define SET_RW_64(dw, dir, name, value) \ argument
66 if ((dir) == EDMA_DIR_WRITE) \
72 #define GET_RW_64(dw, dir, name) \ argument
73 ((dir) == EDMA_DIR_WRITE \
86 #define SET_RW_COMPAT(dw, dir, name, value) \ argument
88 if ((dir) == EDMA_DIR_WRITE) \
[all …]
Ddw-hdma-v0-debugfs.c35 #define CTX_REGISTER(dw, name, dir, ch) \ argument
36 {#name, REGS_CH_ADDR(dw, name, dir, ch)}
79 static void dw_hdma_debugfs_regs_ch(struct dw_edma *dw, enum dw_edma_dir dir, in dw_hdma_debugfs_regs_ch() argument
83 CTX_REGISTER(dw, ch_en, dir, ch), in dw_hdma_debugfs_regs_ch()
84 CTX_REGISTER(dw, doorbell, dir, ch), in dw_hdma_debugfs_regs_ch()
85 CTX_REGISTER(dw, prefetch, dir, ch), in dw_hdma_debugfs_regs_ch()
86 CTX_REGISTER(dw, handshake, dir, ch), in dw_hdma_debugfs_regs_ch()
87 CTX_REGISTER(dw, llp.lsb, dir, ch), in dw_hdma_debugfs_regs_ch()
88 CTX_REGISTER(dw, llp.msb, dir, ch), in dw_hdma_debugfs_regs_ch()
89 CTX_REGISTER(dw, cycle_sync, dir, ch), in dw_hdma_debugfs_regs_ch()
[all …]
/linux-6.6.21/fs/reiserfs/
Dnamei.c305 static int reiserfs_find_entry(struct inode *dir, const char *name, int namelen, in reiserfs_find_entry() argument
312 if (namelen > REISERFS_MAX_NAME(dir->i_sb->s_blocksize)) in reiserfs_find_entry()
316 make_cpu_key(&key_to_search, dir, in reiserfs_find_entry()
317 get_third_component(dir->i_sb, name, namelen), in reiserfs_find_entry()
322 search_by_entry_key(dir->i_sb, &key_to_search, in reiserfs_find_entry()
325 reiserfs_error(dir->i_sb, "zam-7001", "io error"); in reiserfs_find_entry()
353 static struct dentry *reiserfs_lookup(struct inode *dir, struct dentry *dentry, in reiserfs_lookup() argument
361 if (REISERFS_MAX_NAME(dir->i_sb->s_blocksize) < dentry->d_name.len) in reiserfs_lookup()
364 reiserfs_write_lock(dir->i_sb); in reiserfs_lookup()
368 reiserfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len, in reiserfs_lookup()
[all …]
/linux-6.6.21/fs/ocfs2/
Ddir.c58 struct inode *dir,
69 static int ocfs2_supports_dir_trailer(struct inode *dir) in ocfs2_supports_dir_trailer() argument
71 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_supports_dir_trailer()
73 if (OCFS2_I(dir)->ip_dyn_features & OCFS2_INLINE_DATA_FL) in ocfs2_supports_dir_trailer()
76 return ocfs2_meta_ecc(osb) || ocfs2_dir_indexed(dir); in ocfs2_supports_dir_trailer()
87 static int ocfs2_new_dir_wants_trailer(struct inode *dir) in ocfs2_new_dir_wants_trailer() argument
89 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_new_dir_wants_trailer()
117 static int ocfs2_skip_dir_trailer(struct inode *dir, in ocfs2_skip_dir_trailer() argument
124 if (!ocfs2_supports_dir_trailer(dir)) in ocfs2_skip_dir_trailer()
151 static int ocfs2_dx_dir_link_trailer(struct inode *dir, handle_t *handle, in ocfs2_dx_dir_link_trailer() argument
[all …]
/linux-6.6.21/fs/udf/
Ddirectory.c24 udf_err(iter->dir->i_sb, in udf_verify_fi()
26 iter->dir->i_ino, (unsigned long long)iter->pos, in udf_verify_fi()
32 udf_err(iter->dir->i_sb, in udf_verify_fi()
34 iter->dir->i_ino, (unsigned long long)iter->pos); in udf_verify_fi()
42 if (len > 1 << iter->dir->i_blkbits) { in udf_verify_fi()
43 udf_err(iter->dir->i_sb, in udf_verify_fi()
45 iter->dir->i_ino, len, (unsigned long long)iter->pos); in udf_verify_fi()
48 if (iter->pos + len > iter->dir->i_size) { in udf_verify_fi()
49 udf_err(iter->dir->i_sb, in udf_verify_fi()
51 iter->dir->i_ino, (unsigned long long)iter->pos); in udf_verify_fi()
[all …]
/linux-6.6.21/kernel/dma/
Dmapping.c148 size_t offset, size_t size, enum dma_data_direction dir, in dma_map_page_attrs() argument
154 BUG_ON(!valid_dma_direction(dir)); in dma_map_page_attrs()
161 addr = dma_direct_map_page(dev, page, offset, size, dir, attrs); in dma_map_page_attrs()
163 addr = ops->map_page(dev, page, offset, size, dir, attrs); in dma_map_page_attrs()
164 kmsan_handle_dma(page, offset, size, dir); in dma_map_page_attrs()
165 debug_dma_map_page(dev, page, offset, size, dir, addr, attrs); in dma_map_page_attrs()
172 enum dma_data_direction dir, unsigned long attrs) in dma_unmap_page_attrs() argument
176 BUG_ON(!valid_dma_direction(dir)); in dma_unmap_page_attrs()
179 dma_direct_unmap_page(dev, addr, size, dir, attrs); in dma_unmap_page_attrs()
181 ops->unmap_page(dev, addr, size, dir, attrs); in dma_unmap_page_attrs()
[all …]
Ddirect.h22 enum dma_data_direction dir, unsigned long attrs);
28 int nents, enum dma_data_direction dir);
31 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_device() argument
40 int nents, enum dma_data_direction dir, unsigned long attrs);
42 struct scatterlist *sgl, int nents, enum dma_data_direction dir);
45 struct scatterlist *sgl, int nents, enum dma_data_direction dir, in dma_direct_unmap_sg() argument
50 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_cpu() argument
56 dma_addr_t addr, size_t size, enum dma_data_direction dir) in dma_direct_sync_single_for_device() argument
61 swiotlb_sync_single_for_device(dev, paddr, size, dir); in dma_direct_sync_single_for_device()
64 arch_sync_dma_for_device(paddr, size, dir); in dma_direct_sync_single_for_device()
[all …]
/linux-6.6.21/fs/bfs/
Ddir.c24 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 mnt_idmap *idmap, struct inode *dir, in bfs_create() argument
83 struct super_block *s = dir->i_sb; in bfs_create()
[all …]
/linux-6.6.21/tools/power/cpupower/bench/
Dcpufreq-bench_plot.sh9 dir=`mktemp -d`
63 echo "set terminal $picture_type" >> $dir/plot_script.gpl
64 echo "set output \"$output_file\"" >> $dir/plot_script.gpl
65 echo "set title \"$global_title\"" >> $dir/plot_script.gpl
66 echo "set xlabel \"sleep/load time\"" >> $dir/plot_script.gpl
67 echo "set ylabel \"Performance (%)\"" >> $dir/plot_script.gpl
78 cat ${file[$plot]} |grep -v "^#" |awk '{printf "%lu %.1f\n",$2/1000, $6}' >$dir/data_$plot
81 echo -n "plot " >> $dir/plot_script.gpl
83 echo -n "\"$dir/data_$plot\" title \"${title[$plot]}\" with lines" >> $dir/plot_script.gpl
85 echo -n ", " >> $dir/plot_script.gpl
[all …]
/linux-6.6.21/net/ipv4/netfilter/
Dnf_nat_h323.c98 int dir = CTINFO2DIR(ctinfo); in set_sig_addr() local
105 if (addr.ip == ct->tuplehash[dir].tuple.src.u3.ip && in set_sig_addr()
106 port == info->sig_port[dir]) { in set_sig_addr()
118 &ct->tuplehash[!dir].tuple.dst.u3.ip, in set_sig_addr()
119 info->sig_port[!dir]); in set_sig_addr()
122 &ct->tuplehash[!dir]. in set_sig_addr()
124 info->sig_port[!dir]); in set_sig_addr()
125 } else if (addr.ip == ct->tuplehash[dir].tuple.dst.u3.ip && in set_sig_addr()
126 port == info->sig_port[dir]) { in set_sig_addr()
130 &ct->tuplehash[!dir].tuple.src.u3.ip, in set_sig_addr()
[all …]
/linux-6.6.21/fs/exfat/
Dnamei.c245 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_search_empty_slot()
261 clu.dir, clu.size, clu.flags); in exfat_search_empty_slot()
277 p_dir->dir, clu.dir); in exfat_search_empty_slot()
294 clu.dir++; in exfat_search_empty_slot()
296 clu.dir = EXFAT_EOF_CLUSTER; in exfat_search_empty_slot()
298 if (exfat_get_next_cluster(sb, &clu.dir)) in exfat_search_empty_slot()
374 if (exfat_zeroed_cluster(inode, clu.dir)) in exfat_find_empty_entry()
378 ei->start_clu = clu.dir; in exfat_find_empty_entry()
379 p_dir->dir = clu.dir; in exfat_find_empty_entry()
387 exfat_chain_cont_cluster(sb, p_dir->dir, p_dir->size); in exfat_find_empty_entry()
[all …]
/linux-6.6.21/fs/nilfs2/
Dnamei.c54 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 mnt_idmap *idmap, struct inode *dir, 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 mnt_idmap *idmap, struct inode *dir, in nilfs_mknod() argument
110 err = nilfs_transaction_begin(dir->i_sb, &ti, 1); in nilfs_mknod()
[all …]

12345678910>>...82