Home
last modified time | relevance | path

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

12345678910>>...79

/linux-6.3-rc2/fs/adfs/
A Ddir.c69 dir->nr_buffers = 0; in __adfs_dir_cleanup()
71 if (dir->bhs != dir->bh) in __adfs_dir_cleanup()
72 kfree(dir->bhs); in __adfs_dir_cleanup()
73 dir->bhs = NULL; in __adfs_dir_cleanup()
74 dir->sb = NULL; in __adfs_dir_cleanup()
107 if (dir->bhs != dir->bh) in adfs_dir_read_buffers()
115 memcpy(bhs, dir->bhs, dir->nr_buffers * sizeof(*bhs)); in adfs_dir_read_buffers()
117 dir->bhs = bhs; in adfs_dir_read_buffers()
136 dir->nr_buffers++; in adfs_dir_read_buffers()
149 dir->sb = sb; in adfs_dir_read()
[all …]
A Ddir_fplus.c83 bp = (void *)dir->bhs[bi]->b_data; in adfs_fplus_checkbyte()
84 bs = dir->bhs[bi]->b_size; in adfs_fplus_checkbyte()
116 dir->bighead = h = (void *)dir->bhs[0]->b_data; in adfs_fplus_read()
136 (dir->bhs[dir->nr_buffers - 1]->b_data + (sb->s_blocksize - 8)); in adfs_fplus_read()
153 adfs_dir_relse(dir); in adfs_fplus_read()
164 dir->pos = fpos; in adfs_fplus_setpos()
203 adfs_object_fixup(dir, obj); in adfs_fplus_getnext()
205 dir->pos += 1; in adfs_fplus_getnext()
266 dir->bighead->startmasseq += 1; in adfs_fplus_commit()
270 dir->bigtail->bigdircheckbyte = adfs_fplus_checkbyte(dir); in adfs_fplus_commit()
[all …]
A Ddir_f.c154 dir->dirhead = bufoff(dir->bh, 0); in adfs_f_read()
155 dir->newtail = bufoff(dir->bh, 2007); in adfs_f_read()
157 if (adfs_f_validate(dir)) in adfs_f_read()
160 dir->parent_id = adfs_readval(dir->newtail->dirparent, 3); in adfs_f_read()
166 adfs_dir_relse(dir); in adfs_f_read()
194 adfs_object_fixup(dir, obj); in adfs_dir2obj()
238 dir->pos = 5 + fpos * 26; in adfs_f_setpos()
247 ret = __adfs_dir_get(dir, dir->pos, obj); in adfs_f_getnext()
249 dir->pos += 26; in adfs_f_getnext()
307 dir->newtail->dircheckbyte = adfs_dir_checkbyte(dir); in adfs_f_commit()
[all …]
/linux-6.3-rc2/drivers/misc/cxl/
A Ddebugfs.c39 debugfs_create_io_x64("fir_mask", 0400, dir, 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()
59 struct dentry *dir; in cxl_debugfs_adapter_add() local
66 dir = debugfs_create_dir(buf, cxl_debugfs); in cxl_debugfs_adapter_add()
67 adapter->debugfs = dir; in cxl_debugfs_adapter_add()
72 adapter->native->sl_ops->debugfs_add_adapter_regs(adapter, dir); in cxl_debugfs_adapter_add()
98 struct dentry *dir; in cxl_debugfs_afu_add() local
105 dir = debugfs_create_dir(buf, afu->adapter->debugfs); in cxl_debugfs_afu_add()
106 afu->debugfs = dir; in cxl_debugfs_afu_add()
[all …]
/linux-6.3-rc2/lib/
A Dref_tracker.c23 dir->dead = true; in ref_tracker_dir_exit()
24 spin_lock_irqsave(&dir->lock, flags); in ref_tracker_dir_exit()
28 dir->quarantine_avail++; in ref_tracker_dir_exit()
77 WARN_ON_ONCE(dir->dead); in ref_tracker_alloc()
80 refcount_inc(&dir->no_tracker); in ref_tracker_alloc()
88 refcount_inc(&dir->untracked); in ref_tracker_alloc()
110 WARN_ON_ONCE(dir->dead); in ref_tracker_free()
113 refcount_dec(&dir->no_tracker); in ref_tracker_free()
118 refcount_dec(&dir->untracked); in ref_tracker_free()
144 if (!dir->quarantine_avail) { in ref_tracker_free()
[all …]
/linux-6.3-rc2/drivers/nubus/
A Dnubus.c222 dir->ptr = dir->base = board->directory; in nubus_get_root_dir()
223 dir->done = 0; in nubus_get_root_dir()
232 dir->ptr = dir->base = fres->directory; in nubus_get_func_dir()
233 dir->done = 0; in nubus_get_func_dir()
244 dir->ptr = dir->base = board->directory; in nubus_get_board_dir()
245 dir->done = 0; in nubus_get_board_dir()
261 dir->ptr = dir->base = nubus_dirptr(ent); in nubus_get_subdir()
262 dir->done = 0; in nubus_get_subdir()
299 dir->ptr = dir->base; in nubus_rewinddir()
300 dir->done = 0; in nubus_rewinddir()
[all …]
/linux-6.3-rc2/drivers/dma/dw-edma/
A Ddw-edma-v0-core.c48 ((dir) == EDMA_DIR_WRITE \
73 ((dir) == EDMA_DIR_WRITE \
100 if (dir == EDMA_DIR_WRITE) in __dw_ch_regs()
116 if (dir == EDMA_DIR_READ) in writel_ch()
141 if (dir == EDMA_DIR_READ) in readl_ch()
157 writel_ch(dw, dir, ch, value, &(__dw_ch_regs(dw, dir, ch)->name))
160 readl_ch(dw, dir, ch, &(__dw_ch_regs(dw, dir, ch)->name))
172 if (dir == EDMA_DIR_READ) in writeq_ch()
197 if (dir == EDMA_DIR_READ) in readq_ch()
213 writeq_ch(dw, dir, ch, value, &(__dw_ch_regs(dw, dir, ch)->name))
[all …]
/linux-6.3-rc2/fs/ext4/
A Dnamei.c852 !(IS_ENCRYPTED(dir) && IS_CASEFOLDED(dir))) in dx_probe()
1431 if (!IS_CASEFOLDED(dir) || !dir->i_sb->s_encoding || in ext4_fname_setup_ci_filename()
2190 dir->i_mtime = dir->i_ctime = current_time(dir); in add_dirent_to_buf()
3253 dir->i_ctime = dir->i_mtime = current_time(dir); in __ext4_unlink()
3623 ent->dir->i_ctime = ent->dir->i_mtime = in ext4_setent()
3873 if (IS_DIRSYNC(old.dir) || IS_DIRSYNC(new.dir)) in ext4_rename()
3883 if (new.dir != old.dir && EXT4_DIR_LINK_MAX(new.dir)) in ext4_rename()
3899 force_reread = (new.dir->i_ino == old.dir->i_ino && in ext4_rename()
3950 old.dir->i_ctime = old.dir->i_mtime = current_time(old.dir); in ext4_rename()
4102 if (IS_DIRSYNC(old.dir) || IS_DIRSYNC(new.dir)) in ext4_cross_rename()
[all …]
/linux-6.3-rc2/fs/f2fs/
A Ddir.c85 if (IS_CASEFOLDED(dir) && in f2fs_init_casefolded_name()
228 if (IS_ENCRYPTED(dir)) { in f2fs_match_ci_name()
415 dir->i_ino, max_depth); in __f2fs_find_entry()
491 dir->i_mtime = dir->i_ctime = current_time(dir); in f2fs_set_link()
511 if (IS_ENCRYPTED(dir)) { in init_dent_inode()
520 if (IS_CASEFOLDED(dir)) { in init_dent_inode()
645 dir->i_mtime = dir->i_ctime = current_time(dir); in f2fs_update_parent_metadata()
682 make_dentry_ptr_inline(dir, &d, inline_data_addr(dir, ipage)); in f2fs_has_enough_room()
731 F2FS_I(dir)->chash = 0; in f2fs_add_regular_entry()
917 f2fs_add_ino_entry(F2FS_I_SB(dir), dir->i_ino, TRANS_DIR_INO); in f2fs_delete_entry()
[all …]
A Dinline.c445 stat_dec_inline_dir(dir); in f2fs_move_inline_dirents()
453 !f2fs_has_inline_xattr(dir)) in f2fs_move_inline_dirents()
456 f2fs_i_depth_write(dir, 1); in f2fs_move_inline_dirents()
512 f2fs_remove_dirty_inode(dir); in f2fs_add_inline_entries()
540 stat_dec_inline_dir(dir); in f2fs_move_rehashed_dirents()
548 !f2fs_has_inline_xattr(dir)) in f2fs_move_rehashed_dirents()
557 f2fs_i_depth_write(dir, 0); in f2fs_move_rehashed_dirents()
558 f2fs_i_size_write(dir, MAX_INLINE_DATA(dir)); in f2fs_move_rehashed_dirents()
569 if (!F2FS_I(dir)->i_dir_level) in do_convert_inline_dir()
701 dir->i_ctime = dir->i_mtime = current_time(dir); in f2fs_delete_inline_entry()
[all …]
/linux-6.3-rc2/fs/hpfs/
A Dnamei.c14 time64_t t = local_to_gmt(dir->i_sb, local_get_seconds(dir->i_sb)); 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()
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()
104 inc_nlink(dir); in hpfs_mkdir()
148 fnode = hpfs_alloc_fnode(dir->i_sb, hpfs_i(dir)->i_dno, &fno, &bh); in hpfs_create()
236 fnode = hpfs_alloc_fnode(dir->i_sb, hpfs_i(dir)->i_dno, &fno, &bh); in hpfs_mknod()
390 de = map_dirent(dir, hpfs_i(dir)->i_dno, name, len, &dno, &qbh); in hpfs_unlink()
441 de = map_dirent(dir, hpfs_i(dir)->i_dno, name, len, &dno, &qbh); in hpfs_rmdir()
[all …]
/linux-6.3-rc2/include/linux/
A Dref_tracker.h27 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,
42 int ref_tracker_alloc(struct ref_tracker_dir *dir,
[all …]
/linux-6.3-rc2/drivers/thunderbolt/
A Dproperty.c118 if (!dir) { in tb_property_parse()
122 property->value.dir = dir; in tb_property_parse()
169 dir = kzalloc(sizeof(*dir), GFP_KERNEL); in __tb_property_parse_dir()
170 if (!dir) in __tb_property_parse_dir()
204 return dir; in __tb_property_parse_dir()
246 dir = kzalloc(sizeof(*dir), GFP_KERNEL); in tb_property_create_dir()
247 if (!dir) in tb_property_create_dir()
259 return dir; in tb_property_create_dir()
297 if (!dir) in tb_property_free_dir()
517 if (!dir) in tb_property_copy_dir()
[all …]
/linux-6.3-rc2/fs/ubifs/
A Ddir.c328 dir->i_mtime = dir->i_ctime = inode->i_ctime; in ubifs_create()
776 dir->i_mtime = dir->i_ctime = inode->i_ctime; in ubifs_link()
850 dir->i_mtime = dir->i_ctime = inode->i_ctime; in ubifs_unlink()
950 drop_nlink(dir); in ubifs_rmdir()
953 dir->i_mtime = dir->i_ctime = inode->i_ctime; in ubifs_rmdir()
972 inc_nlink(dir); in ubifs_rmdir()
1024 inc_nlink(dir); in ubifs_mkdir()
1027 dir->i_mtime = dir->i_ctime = inode->i_ctime; in ubifs_mkdir()
1043 drop_nlink(dir); in ubifs_mkdir()
1118 dir->i_mtime = dir->i_ctime = inode->i_ctime; in ubifs_mknod()
[all …]
/linux-6.3-rc2/fs/reiserfs/
A Dnamei.c384 if (IS_PRIVATE(dir)) { in reiserfs_lookup()
409 if (dir->i_nlink == 0) { in reiserfs_get_parent()
576 dir->i_size += paste_size; in reiserfs_add_entry()
577 dir->i_mtime = dir->i_ctime = current_time(dir); in reiserfs_add_entry()
843 INC_DIR_INODE_NLINK(dir) in reiserfs_mkdir()
850 DEC_DIR_INODE_NLINK(dir) in reiserfs_mkdir()
867 DEC_DIR_INODE_NLINK(dir); in reiserfs_mkdir()
960 dir, NULL, /* page */ in reiserfs_rmdir()
971 inode->i_ctime = dir->i_ctime = dir->i_mtime = current_time(dir); in reiserfs_rmdir()
974 DEC_DIR_INODE_NLINK(dir) in reiserfs_rmdir()
[all …]
/linux-6.3-rc2/fs/ocfs2/
A Ddir.c58 struct inode *dir,
340 struct inode *dir, in ocfs2_search_dirblock() argument
679 sb = dir->i_sb; in ocfs2_find_entry_el()
1346 struct inode *dir, in ocfs2_delete_entry_id() argument
1373 struct inode *dir, in ocfs2_delete_entry_el() argument
1661 dir->i_mtime = dir->i_ctime = current_time(dir); in __ocfs2_add_entry()
2910 i = ocfs2_expand_last_dirent(dirdata_bh->b_data, i_size_read(dir), dir); in ocfs2_expand_inline_dir()
2965 dir->i_mtime = dir->i_ctime = current_time(dir); in ocfs2_expand_inline_dir()
2987 dir->i_blocks = ocfs2_inode_sector_count(dir); in ocfs2_expand_inline_dir()
3309 dir->i_blocks = ocfs2_inode_sector_count(dir); in ocfs2_extend_dir()
[all …]
/linux-6.3-rc2/fs/udf/
A Ddirectory.c28 udf_err(iter->dir->i_sb, in udf_verify_fi()
36 udf_err(iter->dir->i_sb, in udf_verify_fi()
47 udf_err(iter->dir->i_sb, in udf_verify_fi()
53 udf_err(iter->dir->i_sb, in udf_verify_fi()
60 udf_err(iter->dir->i_sb, in udf_verify_fi()
62 iter->dir->i_ino, in udf_verify_fi()
86 iter->dir->i_ino); in udf_copy_fi()
248 iter->dir = dir; in udf_fiiter_init()
266 if (inode_bmap(dir, iter->pos >> dir->i_blkbits, &iter->epos, in udf_fiiter_init()
271 udf_err(dir->i_sb, in udf_fiiter_init()
[all …]
/linux-6.3-rc2/kernel/dma/
A Dmapping.c150 BUG_ON(!valid_dma_direction(dir)); in dma_map_page_attrs()
172 BUG_ON(!valid_dma_direction(dir)); in dma_unmap_page_attrs()
188 BUG_ON(!valid_dma_direction(dir)); in __dma_map_sg_attrs()
285 BUG_ON(!valid_dma_direction(dir)); in dma_unmap_sg_attrs()
301 BUG_ON(!valid_dma_direction(dir)); in dma_map_resource()
321 BUG_ON(!valid_dma_direction(dir)); in dma_unmap_resource()
329 enum dma_data_direction dir) in dma_sync_single_for_cpu() argument
333 BUG_ON(!valid_dma_direction(dir)); in dma_sync_single_for_cpu()
347 BUG_ON(!valid_dma_direction(dir)); in dma_sync_single_for_device()
361 BUG_ON(!valid_dma_direction(dir)); in dma_sync_sg_for_cpu()
[all …]
A Ddirect.h22 enum dma_data_direction dir, unsigned long attrs);
28 int nents, enum dma_data_direction dir);
64 arch_sync_dma_for_device(paddr, size, dir); in dma_direct_sync_single_for_device()
73 arch_sync_dma_for_cpu(paddr, size, dir); in dma_direct_sync_single_for_cpu()
78 swiotlb_sync_single_for_cpu(dev, paddr, size, dir); in dma_direct_sync_single_for_cpu()
80 if (dir == DMA_FROM_DEVICE) in dma_direct_sync_single_for_cpu()
86 enum dma_data_direction dir, unsigned long attrs) in dma_direct_map_page() argument
94 return swiotlb_map(dev, phys, size, dir, attrs); in dma_direct_map_page()
101 return swiotlb_map(dev, phys, size, dir, attrs); in dma_direct_map_page()
110 arch_sync_dma_for_device(phys, size, dir); in dma_direct_map_page()
[all …]
/linux-6.3-rc2/fs/bfs/
A Ddir.c31 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()
47 bh = sb_bread(dir->i_sb, block); in bfs_readdir()
190 dir->i_ctime = dir->i_mtime = current_time(dir); in bfs_unlink()
191 mark_inode_dirty(dir); in bfs_unlink()
293 if (pos >= dir->i_size) { in bfs_add_entry()
295 dir->i_ctime = current_time(dir); in bfs_add_entry()
297 dir->i_mtime = current_time(dir); in bfs_add_entry()
298 mark_inode_dirty(dir); in bfs_add_entry()
[all …]
/linux-6.3-rc2/tools/power/cpupower/bench/
A 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
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
88 echo >> $dir/plot_script.gpl
90 gnuplot $dir/plot_script.gpl
[all …]
/linux-6.3-rc2/net/ipv4/netfilter/
A Dnf_nat_h323.c98 int dir = CTINFO2DIR(ctinfo); in set_sig_addr() local
119 info->sig_port[!dir]); in set_sig_addr()
131 info->sig_port[!dir]); in set_sig_addr()
190 rtp_exp->dir = !dir; in nat_rtp_rtcp()
193 rtcp_exp->dir = !dir; in nat_rtp_rtcp()
292 exp->dir = !dir; in nat_t120()
331 exp->dir = !dir; in nat_h245()
352 info->sig_port[dir] = port; in nat_h245()
410 exp->dir = !dir; in nat_q931()
431 info->sig_port[dir] = port; in nat_q931()
[all …]
/linux-6.3-rc2/fs/exfat/
A Dnamei.c277 p_dir->dir, clu.dir); in exfat_search_empty_slot()
572 dir->i_ctime = dir->i_mtime = current_time(dir); in exfat_create()
678 i_size_read(dir), ei->dir.dir, ei->entry); in exfat_find()
789 if (ei->dir.dir == DIR_DELETED) { in exfat_unlink()
817 ei->dir.dir = DIR_DELETED; in exfat_unlink()
820 dir->i_mtime = dir->i_atime = current_time(dir); in exfat_unlink()
855 dir->i_ctime = dir->i_mtime = current_time(dir); in exfat_mkdir()
979 ei->dir.dir = DIR_DELETED; in exfat_rmdir()
982 dir->i_mtime = dir->i_atime = current_time(dir); in exfat_rmdir()
1231 if (olddir.dir == newdir.dir) in __exfat_rename()
[all …]
/linux-6.3-rc2/fs/nilfs2/
A Dnamei.c63 inode = ino ? nilfs_iget(dir->i_sb, NILFS_I(dir)->i_root, ino) : NULL; in nilfs_lookup()
85 inode = nilfs_new_inode(dir, mode); in nilfs_create()
113 inode = nilfs_new_inode(dir, mode); in nilfs_mknod()
132 struct super_block *sb = dir->i_sb; in nilfs_symlink()
216 inc_nlink(dir); in nilfs_mkdir()
254 drop_nlink(dir); in nilfs_mkdir()
255 nilfs_mark_inode_dirty(dir); in nilfs_mkdir()
286 inode->i_ctime = dir->i_ctime; in nilfs_do_unlink()
305 nilfs_mark_inode_dirty(dir); in nilfs_unlink()
331 drop_nlink(dir); in nilfs_rmdir()
[all …]
/linux-6.3-rc2/arch/um/os-Linux/
A 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()
49 strlcat(dir, "/", sizeof(dir)); in make_uml_dir()
58 strcpy(uml_dir, dir); in make_uml_dir()
89 directory = opendir(dir); in remove_files_and_dir()
199 if (is_umdir_used(dir)) in umdir_take_if_dead()
393 char *dir, err; in remove_umid_dir() local
396 if (!dir) in remove_umid_dir()
[all …]

Completed in 90 milliseconds

12345678910>>...79