Home
last modified time | relevance | path

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

12345678910>>...70

/linux/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/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/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/drivers/dma/dw-edma/
A Ddw-edma-v0-core.c46 ((dir) == EDMA_DIR_WRITE \
73 ((dir) == EDMA_DIR_WRITE \
102 if (dir == EDMA_DIR_WRITE) in __dw_ch_regs()
118 if (dir == EDMA_DIR_READ) in writel_ch()
143 if (dir == EDMA_DIR_READ) in readl_ch()
159 writel_ch(dw, dir, ch, value, &(__dw_ch_regs(dw, dir, ch)->name))
162 readl_ch(dw, dir, ch, &(__dw_ch_regs(dw, dir, ch)->name))
179 if (dir == EDMA_DIR_READ) in writeq_ch()
204 if (dir == EDMA_DIR_READ) in readq_ch()
220 writeq_ch(dw, dir, ch, value, &(__dw_ch_regs(dw, dir, ch)->name))
[all …]
/linux/fs/ext4/
A Dnamei.c822 !(IS_ENCRYPTED(dir) && IS_CASEFOLDED(dir))) in dx_probe()
1380 if (!IS_CASEFOLDED(dir) || !dir->i_sb->s_encoding || in ext4_fname_setup_ci_filename()
2136 dir->i_mtime = dir->i_ctime = current_time(dir); in add_dirent_to_buf()
3181 dir->i_ctime = dir->i_mtime = current_time(dir); in __ext4_unlink()
3550 ent->dir->i_ctime = ent->dir->i_mtime = in ext4_setent()
3785 if (IS_DIRSYNC(old.dir) || IS_DIRSYNC(new.dir)) in ext4_rename()
3795 if (new.dir != old.dir && EXT4_DIR_LINK_MAX(new.dir)) in ext4_rename()
3809 force_reread = (new.dir->i_ino == old.dir->i_ino && in ext4_rename()
3860 old.dir->i_ctime = old.dir->i_mtime = current_time(old.dir); in ext4_rename()
4000 if (IS_DIRSYNC(old.dir) || IS_DIRSYNC(new.dir)) in ext4_cross_rename()
[all …]
/linux/fs/f2fs/
A Ddir.c85 if (IS_CASEFOLDED(dir)) { in f2fs_init_casefolded_name()
227 if (IS_ENCRYPTED(dir)) { in f2fs_match_ci_name()
410 dir->i_ino, max_depth); in __f2fs_find_entry()
486 dir->i_mtime = dir->i_ctime = current_time(dir); in f2fs_set_link()
506 if (IS_ENCRYPTED(dir)) { in init_dent_inode()
515 if (IS_CASEFOLDED(dir)) { in init_dent_inode()
640 dir->i_mtime = dir->i_ctime = current_time(dir); in f2fs_update_parent_metadata()
677 make_dentry_ptr_inline(dir, &d, inline_data_addr(dir, ipage)); in f2fs_has_enough_room()
726 F2FS_I(dir)->chash = 0; in f2fs_add_regular_entry()
914 f2fs_add_ino_entry(F2FS_I_SB(dir), dir->i_ino, TRANS_DIR_INO); in f2fs_delete_entry()
[all …]
A Dinline.c433 stat_dec_inline_dir(dir); in f2fs_move_inline_dirents()
441 !f2fs_has_inline_xattr(dir)) in f2fs_move_inline_dirents()
444 f2fs_i_depth_write(dir, 1); in f2fs_move_inline_dirents()
500 f2fs_remove_dirty_inode(dir); in f2fs_add_inline_entries()
528 stat_dec_inline_dir(dir); in f2fs_move_rehashed_dirents()
536 !f2fs_has_inline_xattr(dir)) in f2fs_move_rehashed_dirents()
545 f2fs_i_depth_write(dir, 0); in f2fs_move_rehashed_dirents()
546 f2fs_i_size_write(dir, MAX_INLINE_DATA(dir)); in f2fs_move_rehashed_dirents()
557 if (!F2FS_I(dir)->i_dir_level) in do_convert_inline_dir()
689 dir->i_ctime = dir->i_mtime = current_time(dir); in f2fs_delete_inline_entry()
[all …]
/linux/fs/ubifs/
A Ddir.c325 dir->i_mtime = dir->i_ctime = inode->i_ctime; in ubifs_create()
739 dir->i_mtime = dir->i_ctime = inode->i_ctime; in ubifs_link()
813 dir->i_mtime = dir->i_ctime = inode->i_ctime; in ubifs_unlink()
913 drop_nlink(dir); in ubifs_rmdir()
916 dir->i_mtime = dir->i_ctime = inode->i_ctime; in ubifs_rmdir()
935 inc_nlink(dir); in ubifs_rmdir()
986 inc_nlink(dir); in ubifs_mkdir()
989 dir->i_mtime = dir->i_ctime = inode->i_ctime; in ubifs_mkdir()
1005 drop_nlink(dir); in ubifs_mkdir()
1080 dir->i_mtime = dir->i_ctime = inode->i_ctime; in ubifs_mknod()
[all …]
/linux/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/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/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()
841 INC_DIR_INODE_NLINK(dir) in reiserfs_mkdir()
848 DEC_DIR_INODE_NLINK(dir) in reiserfs_mkdir()
865 DEC_DIR_INODE_NLINK(dir); in reiserfs_mkdir()
957 dir, NULL, /* page */ in reiserfs_rmdir()
968 inode->i_ctime = dir->i_ctime = dir->i_mtime = current_time(dir); in reiserfs_rmdir()
971 DEC_DIR_INODE_NLINK(dir) in reiserfs_rmdir()
[all …]
/linux/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/kernel/dma/
A Dmapping.c149 BUG_ON(!valid_dma_direction(dir)); in dma_map_page_attrs()
170 BUG_ON(!valid_dma_direction(dir)); in dma_unmap_page_attrs()
186 BUG_ON(!valid_dma_direction(dir)); in __dma_map_sg_attrs()
278 BUG_ON(!valid_dma_direction(dir)); in dma_unmap_sg_attrs()
294 BUG_ON(!valid_dma_direction(dir)); in dma_map_resource()
314 BUG_ON(!valid_dma_direction(dir)); in dma_unmap_resource()
322 enum dma_data_direction dir) in dma_sync_single_for_cpu() argument
326 BUG_ON(!valid_dma_direction(dir)); in dma_sync_single_for_cpu()
340 BUG_ON(!valid_dma_direction(dir)); in dma_sync_single_for_device()
354 BUG_ON(!valid_dma_direction(dir)); in dma_sync_sg_for_cpu()
[all …]
A Ddirect.h21 enum dma_data_direction dir, unsigned long attrs);
27 int nents, enum dma_data_direction dir);
60 swiotlb_sync_single_for_device(dev, paddr, size, dir); in dma_direct_sync_single_for_device()
63 arch_sync_dma_for_device(paddr, size, dir); in dma_direct_sync_single_for_device()
72 arch_sync_dma_for_cpu(paddr, size, dir); in dma_direct_sync_single_for_cpu()
77 swiotlb_sync_single_for_cpu(dev, paddr, size, dir); in dma_direct_sync_single_for_cpu()
79 if (dir == DMA_FROM_DEVICE) in dma_direct_sync_single_for_cpu()
85 enum dma_data_direction dir, unsigned long attrs) in dma_direct_map_page() argument
91 return swiotlb_map(dev, phys, size, dir, attrs); in dma_direct_map_page()
95 return swiotlb_map(dev, phys, size, dir, attrs); in dma_direct_map_page()
[all …]
/linux/fs/exfat/
A Dnamei.c260 p_dir->dir, clu.dir); in exfat_search_empty_slot()
563 dir->i_ctime = dir->i_mtime = current_time(dir); in exfat_create()
676 i_size_read(dir), ei->dir.dir, ei->entry); in exfat_find()
788 if (ei->dir.dir == DIR_DELETED) { in exfat_unlink()
816 ei->dir.dir = DIR_DELETED; in exfat_unlink()
820 dir->i_mtime = dir->i_atime = current_time(dir); in exfat_unlink()
856 dir->i_ctime = dir->i_mtime = current_time(dir); in exfat_mkdir()
981 ei->dir.dir = DIR_DELETED; in exfat_rmdir()
985 dir->i_mtime = dir->i_atime = current_time(dir); in exfat_rmdir()
1271 if (olddir.dir == newdir.dir) in __exfat_rename()
[all …]
/linux/fs/ntfs3/
A Dnamei.c138 if (inode != dir) in ntfs_link()
147 dir->i_ctime = dir->i_mtime = inode->i_ctime = in ntfs_link()
148 current_time(dir); in ntfs_link()
150 mark_inode_dirty(dir); in ntfs_link()
157 if (inode != dir) in ntfs_link()
159 ni_unlock(ntfs_i(dir)); in ntfs_link()
315 inode->i_ctime = dir->i_ctime = dir->i_mtime = in ntfs_rename()
316 current_time(dir); in ntfs_rename()
318 mark_inode_dirty(dir); in ntfs_rename()
319 if (dir != new_dir) { in ntfs_rename()
[all …]
/linux/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()
344 exp->dir = !dir; in nat_h245()
378 info->sig_port[dir] = port; in nat_h245()
436 exp->dir = !dir; in nat_q931()
470 info->sig_port[dir] = port; in nat_q931()
[all …]
/linux/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/tools/testing/selftests/netfilter/
A Dnft_nat.sh148 for dir in "in" "out" ; do
286 for dir in "in" "out" ; do
295 for dir in "in" "out" ; do
305 for dir in "in" "out" ; do
315 for dir in "in" "out" ; do
336 for dir in "in" "out" ; do
344 for dir in "in" "out" ; do
354 for dir in "in" "out" ; do
364 for dir in "in" "out" ; do
495 for dir in "in" "out" ; do
[all …]
/linux/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/fs/cachefiles/
A Dnamei.c306 path.dentry = dir; in cachefiles_bury_object()
407 path.dentry = dir; in cachefiles_bury_object()
444 struct dentry *dir; in cachefiles_delete_object() local
479 dput(dir); in cachefiles_delete_object()
562 path.dentry = dir; in cachefiles_walk_to_object()
625 dput(dir); in cachefiles_walk_to_object()
626 dir = next; in cachefiles_walk_to_object()
664 dput(dir); in cachefiles_walk_to_object()
665 dir = NULL; in cachefiles_walk_to_object()
745 dput(dir); in cachefiles_walk_to_object()
[all …]
/linux/fs/udf/
A Dnamei.c185 size = udf_ext0_offset(dir) + dir->i_size; in udf_find_entry()
339 loff_t size = udf_ext0_offset(dir) + dir->i_size; in udf_add_entry()
378 if (inode_bmap(dir, f_pos >> dir->i_sb->s_blocksize_bits, &epos, in udf_add_entry()
599 dir->i_ctime = dir->i_mtime = current_time(dir); in udf_add_nondir()
711 inc_nlink(dir); in udf_mkdir()
712 dir->i_ctime = dir->i_mtime = current_time(dir); in udf_mkdir()
729 loff_t size = udf_ext0_offset(dir) + dir->i_size; in empty_dir()
742 else if (inode_bmap(dir, f_pos >> dir->i_sb->s_blocksize_bits, in empty_dir()
825 inode->i_ctime = dir->i_ctime = dir->i_mtime = in udf_rmdir()
869 dir->i_ctime = dir->i_mtime = current_time(dir); in udf_unlink()
[all …]
/linux/fs/omfs/
A Ddir.c31 return omfs_bread(dir->i_sb, dir->i_ino); in omfs_get_bucket()
44 bh = omfs_bread(dir->i_sb, block); in omfs_scan_list()
142 oi->i_parent = cpu_to_be64(dir->i_ino); in omfs_add_link()
146 dir->i_ctime = current_time(dir); in omfs_add_link()
149 mark_inode_dirty(dir); in omfs_add_link()
190 bh = omfs_bread(dir->i_sb, prev); in omfs_delete_entry()
202 dirty = omfs_iget(dir->i_sb, prev); in omfs_delete_entry()
254 mark_inode_dirty(dir); in omfs_remove()
308 inode = omfs_iget(dir->i_sb, ino); in omfs_lookup()
410 struct inode *dir = file_inode(file); in omfs_readdir() local
[all …]

Completed in 89 milliseconds

12345678910>>...70