Home
last modified time | relevance | path

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

12345678910>>...79

/Linux-v6.1/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-v6.1/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-v6.1/lib/
Dref_tracker.c17 void ref_tracker_dir_exit(struct ref_tracker_dir *dir) in ref_tracker_dir_exit() argument
23 dir->dead = true; in ref_tracker_dir_exit()
24 spin_lock_irqsave(&dir->lock, flags); in ref_tracker_dir_exit()
25 list_for_each_entry_safe(tracker, n, &dir->quarantine, head) { in ref_tracker_dir_exit()
28 dir->quarantine_avail++; in ref_tracker_dir_exit()
30 list_for_each_entry_safe(tracker, n, &dir->list, head) { in ref_tracker_dir_exit()
38 spin_unlock_irqrestore(&dir->lock, flags); in ref_tracker_dir_exit()
40 WARN_ON_ONCE(refcount_read(&dir->untracked) != 1); in ref_tracker_dir_exit()
41 WARN_ON_ONCE(refcount_read(&dir->no_tracker) != 1); in ref_tracker_dir_exit()
45 void ref_tracker_dir_print(struct ref_tracker_dir *dir, in ref_tracker_dir_print() argument
[all …]
/Linux-v6.1/drivers/nubus/
Dnubus.c220 struct nubus_dir *dir) in nubus_get_root_dir() argument
222 dir->ptr = dir->base = board->directory; in nubus_get_root_dir()
223 dir->done = 0; in nubus_get_root_dir()
224 dir->mask = board->lanes; in nubus_get_root_dir()
230 int nubus_get_func_dir(const struct nubus_rsrc *fres, struct nubus_dir *dir) in nubus_get_func_dir() argument
232 dir->ptr = dir->base = fres->directory; in nubus_get_func_dir()
233 dir->done = 0; in nubus_get_func_dir()
234 dir->mask = fres->board->lanes; in nubus_get_func_dir()
240 struct nubus_dir *dir) in nubus_get_board_dir() argument
244 dir->ptr = dir->base = board->directory; in nubus_get_board_dir()
[all …]
/Linux-v6.1/drivers/dma/dw-edma/
Ddw-edma-v0-core.c37 #define SET_RW_32(dw, dir, name, value) \ argument
39 if ((dir) == EDMA_DIR_WRITE) \
45 #define GET_RW_32(dw, dir, name) \ argument
46 ((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 \
88 #define SET_RW_COMPAT(dw, dir, name, value) \ argument
90 if ((dir) == EDMA_DIR_WRITE) \
[all …]
/Linux-v6.1/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(&init_user_ns, inode, dir, mode); in ubifs_new_inode()
104 err = fscrypt_prepare_new_inode(dir, inode, &encrypted); in ubifs_new_inode()
135 ui->flags = inherit_flags(dir, mode); in ubifs_new_inode()
196 static struct dentry *ubifs_lookup(struct inode *dir, struct dentry *dentry, in ubifs_lookup() argument
203 struct ubifs_info *c = dir->i_sb->s_fs_info; in ubifs_lookup()
206 dbg_gen("'%pd' in dir ino %lu", dentry, dir->i_ino); in ubifs_lookup()
[all …]
/Linux-v6.1/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);
606 static inline unsigned dx_root_limit(struct inode *dir, unsigned infosize) in dx_root_limit() argument
[all …]
/Linux-v6.1/fs/f2fs/
Ddir.c79 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 …]
Dinline.c335 struct f2fs_dir_entry *f2fs_find_in_inline_dir(struct inode *dir, in f2fs_find_in_inline_dir() argument
339 struct f2fs_sb_info *sbi = F2FS_SB(dir->i_sb); in f2fs_find_in_inline_dir()
345 ipage = f2fs_get_node_page(sbi, dir->i_ino); in f2fs_find_in_inline_dir()
351 inline_dentry = inline_data_addr(dir, ipage); in f2fs_find_in_inline_dir()
353 make_dentry_ptr_inline(dir, &d, inline_dentry); in f2fs_find_in_inline_dir()
391 static int f2fs_move_inline_dirents(struct inode *dir, struct page *ipage, in f2fs_move_inline_dirents() argument
400 page = f2fs_grab_cache_page(dir->i_mapping, 0, true); in f2fs_move_inline_dirents()
406 set_new_dnode(&dn, dir, ipage, NULL, 0); in f2fs_move_inline_dirents()
415 __func__, dir->i_ino, dn.data_blkaddr); in f2fs_move_inline_dirents()
425 make_dentry_ptr_inline(dir, &src, inline_dentry); in f2fs_move_inline_dirents()
[all …]
/Linux-v6.1/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 == 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 user_namespace *mnt_userns, struct inode *dir, in hpfs_mkdir() argument
40 hpfs_lock(dir->i_sb); in hpfs_mkdir()
42 fnode = hpfs_alloc_fnode(dir->i_sb, hpfs_i(dir)->i_dno, &fno, &bh); in hpfs_mkdir()
[all …]
/Linux-v6.1/include/linux/
Dref_tracker.h24 static inline void ref_tracker_dir_init(struct ref_tracker_dir *dir, in ref_tracker_dir_init() argument
27 INIT_LIST_HEAD(&dir->list); in ref_tracker_dir_init()
28 INIT_LIST_HEAD(&dir->quarantine); in ref_tracker_dir_init()
29 spin_lock_init(&dir->lock); in ref_tracker_dir_init()
30 dir->quarantine_avail = quarantine_count; in ref_tracker_dir_init()
31 dir->dead = false; in ref_tracker_dir_init()
32 refcount_set(&dir->untracked, 1); in ref_tracker_dir_init()
33 refcount_set(&dir->no_tracker, 1); in ref_tracker_dir_init()
37 void ref_tracker_dir_exit(struct ref_tracker_dir *dir);
39 void ref_tracker_dir_print(struct ref_tracker_dir *dir,
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/kernel/dma/
Dmapping.c144 size_t offset, size_t size, enum dma_data_direction dir, in dma_map_page_attrs() argument
150 BUG_ON(!valid_dma_direction(dir)); in dma_map_page_attrs()
157 addr = dma_direct_map_page(dev, page, offset, size, dir, attrs); in dma_map_page_attrs()
159 addr = ops->map_page(dev, page, offset, size, dir, attrs); in dma_map_page_attrs()
160 kmsan_handle_dma(page, offset, size, dir); in dma_map_page_attrs()
161 debug_dma_map_page(dev, page, offset, size, dir, addr, attrs); in dma_map_page_attrs()
168 enum dma_data_direction dir, unsigned long attrs) in dma_unmap_page_attrs() argument
172 BUG_ON(!valid_dma_direction(dir)); in dma_unmap_page_attrs()
175 dma_direct_unmap_page(dev, addr, size, dir, attrs); in dma_unmap_page_attrs()
177 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-v6.1/fs/ntfs3/
Dnamei.c65 static struct dentry *ntfs_lookup(struct inode *dir, struct dentry *dentry, in ntfs_lookup() argument
68 struct ntfs_inode *ni = ntfs_i(dir); in ntfs_lookup()
83 inode = dir_search_u(dir, uni, NULL); in ntfs_lookup()
95 static int ntfs_create(struct user_namespace *mnt_userns, struct inode *dir, in ntfs_create() argument
100 inode = ntfs_create_inode(mnt_userns, dir, dentry, NULL, S_IFREG | mode, in ntfs_create()
111 static int ntfs_mknod(struct user_namespace *mnt_userns, struct inode *dir, in ntfs_mknod() argument
116 inode = ntfs_create_inode(mnt_userns, dir, dentry, NULL, mode, rdev, in ntfs_mknod()
125 static int ntfs_link(struct dentry *ode, struct inode *dir, struct dentry *de) in ntfs_link() argument
137 ni_lock_dir(ntfs_i(dir)); in ntfs_link()
138 if (inode != dir) in ntfs_link()
[all …]
/Linux-v6.1/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 user_namespace *mnt_userns, struct inode *dir, in bfs_create() argument
83 struct super_block *s = dir->i_sb; in bfs_create()
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/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 user_namespace *mnt_userns, 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 user_namespace *mnt_userns, struct inode *dir, in nilfs_mknod() argument
110 err = nilfs_transaction_begin(dir->i_sb, &ti, 1); in nilfs_mknod()
[all …]
/Linux-v6.1/fs/exfat/
Dnamei.c238 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_search_empty_slot()
254 clu.dir, clu.size, clu.flags); in exfat_search_empty_slot()
270 p_dir->dir, clu.dir); in exfat_search_empty_slot()
287 clu.dir++; in exfat_search_empty_slot()
289 clu.dir = EXFAT_EOF_CLUSTER; in exfat_search_empty_slot()
291 if (exfat_get_next_cluster(sb, &clu.dir)) in exfat_search_empty_slot()
355 if (exfat_zeroed_cluster(inode, clu.dir)) in exfat_find_empty_entry()
363 exfat_chain_cont_cluster(sb, p_dir->dir, p_dir->size); in exfat_find_empty_entry()
369 if (exfat_ent_set(sb, last_clu, clu.dir)) in exfat_find_empty_entry()
379 exfat_chain_set(&hint_femp.cur, clu.dir, 0, clu.flags); in exfat_find_empty_entry()
[all …]
/Linux-v6.1/arch/um/os-Linux/
Dumid.c30 char dir[512] = { '\0' }; in make_uml_dir() local
43 strlcpy(dir, home, sizeof(dir)); in make_uml_dir()
46 strlcat(dir, uml_dir, sizeof(dir)); in make_uml_dir()
47 len = strlen(dir); in make_uml_dir()
48 if (len > 0 && dir[len - 1] != '/') in make_uml_dir()
49 strlcat(dir, "/", sizeof(dir)); in make_uml_dir()
52 uml_dir = malloc(strlen(dir) + 1); in make_uml_dir()
58 strcpy(uml_dir, dir); in make_uml_dir()
81 static int remove_files_and_dir(char *dir) in remove_files_and_dir() argument
89 directory = opendir(dir); in remove_files_and_dir()
[all …]

12345678910>>...79