Home
last modified time | relevance | path

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

12345678910>>...74

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
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 …]
/kernel/linux/linux-5.10/fs/f2fs/
Ddir.c74 int f2fs_init_casefolded_name(const struct inode *dir, in f2fs_init_casefolded_name() argument
78 struct super_block *sb = dir->i_sb; in f2fs_init_casefolded_name()
81 if (IS_CASEFOLDED(dir)) { in f2fs_init_casefolded_name()
102 static int __f2fs_setup_filename(const struct inode *dir, in __f2fs_setup_filename() argument
119 err = f2fs_init_casefolded_name(dir, fname); in __f2fs_setup_filename()
124 f2fs_hash_filename(dir, fname); in __f2fs_setup_filename()
135 int f2fs_setup_filename(struct inode *dir, const struct qstr *iname, in f2fs_setup_filename() argument
141 err = fscrypt_setup_filename(dir, iname, lookup, &crypt_name); in f2fs_setup_filename()
145 return __f2fs_setup_filename(dir, &crypt_name, fname); in f2fs_setup_filename()
154 int f2fs_prepare_lookup(struct inode *dir, struct dentry *dentry, in f2fs_prepare_lookup() argument
[all …]
Dinline.c338 struct f2fs_dir_entry *f2fs_find_in_inline_dir(struct inode *dir, in f2fs_find_in_inline_dir() argument
342 struct f2fs_sb_info *sbi = F2FS_SB(dir->i_sb); in f2fs_find_in_inline_dir()
348 ipage = f2fs_get_node_page(sbi, dir->i_ino); in f2fs_find_in_inline_dir()
354 inline_dentry = inline_data_addr(dir, ipage); in f2fs_find_in_inline_dir()
356 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()
423 make_dentry_ptr_inline(dir, &src, inline_dentry); in f2fs_move_inline_dirents()
[all …]
/kernel/linux/linux-5.10/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 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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/dma/dw-edma/
Ddw-edma-v0-core.c37 #define SET_RW(dw, dir, name, value) \ argument
39 if ((dir) == EDMA_DIR_WRITE) \
45 #define GET_RW(dw, dir, name) \ argument
46 ((dir) == EDMA_DIR_WRITE \
57 __dw_ch_regs(struct dw_edma *dw, enum dw_edma_dir dir, u16 ch) in __dw_ch_regs() argument
62 if (dir == EDMA_DIR_WRITE) in __dw_ch_regs()
68 static inline void writel_ch(struct dw_edma *dw, enum dw_edma_dir dir, u16 ch, in writel_ch() argument
78 if (dir == EDMA_DIR_READ) in writel_ch()
91 static inline u32 readl_ch(struct dw_edma *dw, enum dw_edma_dir dir, u16 ch, in readl_ch() argument
103 if (dir == EDMA_DIR_READ) in readl_ch()
[all …]
/kernel/linux/linux-5.10/kernel/dma/
Dmapping.c141 size_t offset, size_t size, enum dma_data_direction dir, in dma_map_page_attrs() argument
147 BUG_ON(!valid_dma_direction(dir)); in dma_map_page_attrs()
153 addr = dma_direct_map_page(dev, page, offset, size, dir, attrs); in dma_map_page_attrs()
155 addr = ops->map_page(dev, page, offset, size, dir, attrs); in dma_map_page_attrs()
156 debug_dma_map_page(dev, page, offset, size, dir, addr); in dma_map_page_attrs()
163 enum dma_data_direction dir, unsigned long attrs) in dma_unmap_page_attrs() argument
167 BUG_ON(!valid_dma_direction(dir)); in dma_unmap_page_attrs()
169 dma_direct_unmap_page(dev, addr, size, dir, attrs); in dma_unmap_page_attrs()
171 ops->unmap_page(dev, addr, size, dir, attrs); in dma_unmap_page_attrs()
172 debug_dma_unmap_page(dev, addr, size, dir); in dma_unmap_page_attrs()
[all …]
Ddirect.h21 enum dma_data_direction dir, unsigned long attrs);
27 int nents, enum dma_data_direction dir);
30 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_device() argument
39 int nents, enum dma_data_direction dir, unsigned long attrs);
41 struct scatterlist *sgl, int nents, enum dma_data_direction dir);
44 struct scatterlist *sgl, int nents, enum dma_data_direction dir, in dma_direct_unmap_sg() argument
49 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_cpu() argument
55 dma_addr_t addr, size_t size, enum dma_data_direction dir) in dma_direct_sync_single_for_device() argument
60 swiotlb_tbl_sync_single(dev, paddr, size, dir, SYNC_FOR_DEVICE); in dma_direct_sync_single_for_device()
63 arch_sync_dma_for_device(paddr, size, dir); in dma_direct_sync_single_for_device()
[all …]
/kernel/linux/linux-5.10/fs/ext4/
Dnamei.c299 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 buffer_head *bh,
315 static int ext4_htree_next_block(struct inode *dir, __u32 hash,
319 static struct buffer_head * ext4_dx_find_entry(struct inode *dir,
323 struct inode *dir, struct inode *inode);
602 static inline unsigned dx_root_limit(struct inode *dir, unsigned infosize) in dx_root_limit() argument
604 unsigned entry_space = dir->i_sb->s_blocksize - EXT4_DIR_REC_LEN(1) - in dx_root_limit()
607 if (ext4_has_metadata_csum(dir->i_sb)) in dx_root_limit()
[all …]
/kernel/linux/linux-5.10/fs/reiserfs/
Dnamei.c304 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 …]
/kernel/linux/linux-5.10/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 inode *dir, struct dentry *dentry, umode_t mode, in bfs_create() argument
83 struct super_block *s = dir->i_sb; in bfs_create()
[all …]
/kernel/linux/linux-5.10/fs/ocfs2/
Ddir.c60 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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/
Dnft_nat.sh148 for dir in "in" "out" ; do
150 cnt=$(ip netns exec "$ns0" nft list counter inet filter ${ns}${dir} | grep -q "$expect")
152 bad_counter "$ns0" $ns$dir "$expect" "check_ns0_counters 4"
157 cnt=$(ip netns exec "$ns0" nft list counter inet filter ${ns}${dir}6 | grep -q "$expect")
206 for dir in "in6" "out6" ; do
207 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns1${dir} | grep -q "$expect")
209 bad_counter "$ns0" ns1$dir "$expect" "test_local_dnat6 1"
215 for dir in "in6" "out6" ; do
216 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns2${dir} | grep -q "$expect")
218 bad_counter "$ns0" ns2$dir "$expect" "test_local_dnat6 2"
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 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 …]
/kernel/linux/linux-5.10/fs/exfat/
Dnamei.c228 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()
347 if (exfat_zeroed_cluster(inode, clu.dir)) in exfat_find_empty_entry()
355 exfat_chain_cont_cluster(sb, p_dir->dir, p_dir->size); in exfat_find_empty_entry()
361 if (exfat_ent_set(sb, last_clu, clu.dir)) in exfat_find_empty_entry()
371 exfat_chain_set(&hint_femp.cur, clu.dir, 0, clu.flags); in exfat_find_empty_entry()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/arm/mm/
Ddma-mapping-nommu.c79 enum dma_data_direction dir) in __dma_page_cpu_to_dev() argument
81 dmac_map_area(__va(paddr), size, dir); in __dma_page_cpu_to_dev()
83 if (dir == DMA_FROM_DEVICE) in __dma_page_cpu_to_dev()
90 enum dma_data_direction dir) in __dma_page_dev_to_cpu() argument
92 if (dir != DMA_TO_DEVICE) { in __dma_page_dev_to_cpu()
94 dmac_unmap_area(__va(paddr), size, dir); in __dma_page_dev_to_cpu()
100 enum dma_data_direction dir, in arm_nommu_dma_map_page() argument
105 __dma_page_cpu_to_dev(handle, size, dir); in arm_nommu_dma_map_page()
111 size_t size, enum dma_data_direction dir, in arm_nommu_dma_unmap_page() argument
114 __dma_page_dev_to_cpu(handle, size, dir); in arm_nommu_dma_unmap_page()
[all …]
/kernel/linux/linux-5.10/fs/cachefiles/
Dnamei.c289 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 …]

12345678910>>...74