Searched refs:dir (Results 76 - 100 of 2038) sorted by relevance

1234567891011>>

/linux-master/drivers/net/wireless/mediatek/mt76/
H A Ddebugfs.c109 struct dentry *dir; local
111 dir = debugfs_create_dir("mt76", phy->hw->wiphy->debugfsdir);
113 debugfs_create_u8("led_pin", 0600, dir, &phy->leds.pin);
114 debugfs_create_u32("regidx", 0600, dir, &dev->debugfs_reg);
115 debugfs_create_file_unsafe("regval", 0600, dir, dev, fops);
116 debugfs_create_file_unsafe("napi_threaded", 0600, dir, dev,
118 debugfs_create_blob("eeprom", 0400, dir, &dev->eeprom);
120 debugfs_create_blob("otp", 0400, dir, &dev->otp);
121 debugfs_create_devm_seqfile(dev->dev, "rx-queues", dir,
124 return dir;
[all...]
H A Dmt76x02_debugfs.c134 struct dentry *dir; local
136 dir = mt76_register_debugfs(&dev->mt76);
137 if (!dir)
140 debugfs_create_devm_seqfile(dev->mt76.dev, "xmit-queues", dir,
142 debugfs_create_u8("temperature", 0400, dir, &dev->cal.temp);
143 debugfs_create_bool("tpc", 0600, dir, &dev->enable_tpc);
145 debugfs_create_file("edcca", 0600, dir, dev, &fops_edcca);
146 debugfs_create_file("ampdu_stat", 0400, dir, dev, &mt76x02_ampdu_stat_fops);
147 debugfs_create_file("dfs_stats", 0400, dir, dev, &mt76x02_dfs_stat_fops);
148 debugfs_create_devm_seqfile(dev->mt76.dev, "txpower", dir,
[all...]
/linux-master/fs/hpfs/
H A Dnamei.c12 static void hpfs_update_directory_times(struct inode *dir) argument
14 time64_t t = local_to_gmt(dir->i_sb, local_get_seconds(dir->i_sb));
15 if (t == inode_get_mtime_sec(dir) &&
16 t == inode_get_ctime_sec(dir))
18 inode_set_mtime_to_ts(dir, inode_set_ctime(dir, t, 0));
19 hpfs_write_inode_nolock(dir);
22 static int hpfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, argument
39 hpfs_lock(dir
129 hpfs_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
215 hpfs_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) argument
288 hpfs_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *symlink) argument
366 hpfs_unlink(struct inode *dir, struct dentry *dentry) argument
417 hpfs_rmdir(struct inode *dir, struct dentry *dentry) argument
[all...]
/linux-master/scripts/
H A DMakefile.vdsoinst12 install-dir := $(MODLIB)/vdso
17 dest := $(install-dir)/$$(or $$(word 2,$$(subst :,$(space),$(1))),$$(patsubst %.dbg,%,$$(notdir $(1))))
25 link := $(install-dir)/.build-id/$$(shell $(READELF) -n $$(src) | sed -n 's@^.*Build ID: \(..\)\(.*\)@\1/\2@p').debug
37 cmd_install = mkdir -p $(dir $@); cp $< $@
40 cmd_symlink = mkdir -p $(dir $@); ln -sf --relative $< $@
/linux-master/fs/sysv/
H A Ddir.c3 * linux/fs/sysv/dir.c
5 * minix/dir.c
8 * coh/dir.c
11 * sysv/dir.c
34 struct inode *dir = mapping->host; local
37 if (pos+len > dir->i_size) {
38 i_size_write(dir, pos+len);
39 mark_inode_dirty(dir);
44 static int sysv_handle_dirsync(struct inode *dir) argument
48 err = filemap_write_and_wait(dir
61 dir_get_page(struct inode *dir, unsigned long n, struct page **p) argument
143 struct inode * dir = d_inode(dentry->d_parent); local
186 struct inode *dir = d_inode(dentry->d_parent); local
257 sysv_make_empty(struct inode *inode, struct inode *dir) argument
337 struct inode *dir = page->mapping->host; local
361 sysv_dotdot(struct inode *dir, struct page **p) argument
[all...]
H A Dnamei.c31 static struct dentry *sysv_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags) argument
40 inode = sysv_iget(dir->i_sb, ino);
44 static int sysv_mknod(struct mnt_idmap *idmap, struct inode *dir, argument
53 inode = sysv_new_inode(dir, mode);
64 static int sysv_create(struct mnt_idmap *idmap, struct inode *dir, argument
67 return sysv_mknod(&nop_mnt_idmap, dir, dentry, mode, 0);
70 static int sysv_symlink(struct mnt_idmap *idmap, struct inode *dir, argument
77 if (l > dir->i_sb->s_blocksize)
80 inode = sysv_new_inode(dir, S_IFLNK|0777);
101 static int sysv_link(struct dentry * old_dentry, struct inode * dir, argument
113 sysv_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
151 sysv_unlink(struct inode * dir, struct dentry * dentry) argument
171 sysv_rmdir(struct inode * dir, struct dentry * dentry) argument
[all...]
/linux-master/fs/ubifs/
H A Ddir.c35 * @dir: parent inode
39 * parent directory inode @dir. UBIFS inodes inherit the following flags:
47 static int inherit_flags(const struct inode *dir, umode_t mode) argument
50 const struct ubifs_inode *ui = ubifs_inode(dir);
52 if (!S_ISDIR(dir->i_mode))
69 * @dir: parent directory inode
77 struct inode *ubifs_new_inode(struct ubifs_info *c, struct inode *dir, argument
98 inode_init_owner(&nop_mnt_idmap, inode, dir, mode);
103 err = fscrypt_prepare_new_inode(dir, inode, &encrypted);
134 ui->flags = inherit_flags(dir, mod
195 ubifs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) argument
275 ubifs_prepare_create(struct inode *dir, struct dentry *dentry, struct fscrypt_name *nm) argument
284 ubifs_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
354 create_whiteout(struct inode *dir, struct dentry *dentry) argument
422 ubifs_tmpfile(struct mnt_idmap *idmap, struct inode *dir, struct file *file, umode_t mode) argument
561 struct inode *dir = file_inode(file); local
713 ubifs_dir_release(struct inode *dir, struct file *file) argument
720 ubifs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument
798 ubifs_unlink(struct inode *dir, struct dentry *dentry) argument
884 ubifs_check_dir_empty(struct inode *dir) argument
905 ubifs_rmdir(struct inode *dir, struct dentry *dentry) argument
981 ubifs_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
1055 ubifs_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) argument
1147 ubifs_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *symname) argument
[all...]
/linux-master/fs/affs/
H A Damigaffs.c21 /* Insert a header block bh into the directory dir
26 affs_insert_hash(struct inode *dir, struct buffer_head *bh) argument
28 struct super_block *sb = dir->i_sb;
36 pr_debug("%s(dir=%lu, ino=%d)\n", __func__, dir->i_ino, ino);
38 dir_bh = affs_bread(sb, dir->i_ino);
50 AFFS_TAIL(sb, bh)->parent = cpu_to_be32(dir->i_ino);
54 if (dir->i_ino == dir_bh->b_blocknr)
60 mark_buffer_dirty_inode(dir_bh, dir);
63 inode_set_mtime_to_ts(dir, inode_set_ctime_curren
75 affs_remove_hash(struct inode *dir, struct buffer_head *rem_bh) argument
144 struct inode *dir, *inode = d_inode(dentry); local
270 struct inode *inode, *dir; local
[all...]
/linux-master/arch/um/os-Linux/
H A Dmem.c45 /* Check if dir is on tmpfs. Return 0 if yes, -1 if no or error. */
46 static int __init check_tmpfs(const char *dir) argument
50 os_info("Checking if %s is on tmpfs...", dir);
51 if (statfs(dir, &st) < 0) {
84 const char *dir; local
88 dir = getenv(vars[i]);
89 if ((dir != NULL) && (*dir != '\0')) {
90 os_info("%s\n", dir);
91 if (check_tmpfs(dir) >
[all...]
/linux-master/fs/ext2/
H A Ddir.c3 * linux/fs/ext2/dir.c
12 * linux/fs/minix/dir.c
87 struct inode *dir = mapping->host; local
89 inode_inc_iversion(dir);
92 if (pos+len > dir->i_size) {
93 i_size_write(dir, pos+len);
94 mark_inode_dirty(dir);
101 struct inode *dir = folio->mapping->host; local
102 struct super_block *sb = dir->i_sb;
103 unsigned chunk_size = ext2_chunk_size(dir);
190 ext2_get_folio(struct inode *dir, unsigned long n, int quiet, struct folio **foliop) argument
343 ext2_find_entry(struct inode *dir, const struct qstr *child, struct folio **foliop) argument
413 ext2_dotdot(struct inode *dir, struct folio **foliop) argument
422 ext2_inode_by_name(struct inode *dir, const struct qstr *child, ino_t *ino) argument
441 ext2_handle_dirsync(struct inode *dir) argument
451 ext2_set_link(struct inode *dir, struct ext2_dir_entry_2 *de, struct folio *folio, struct inode *inode, bool update_times) argument
479 struct inode *dir = d_inode(dentry->d_parent); local
572 ext2_delete_entry(struct ext2_dir_entry_2 *dir, struct folio *folio) argument
[all...]
/linux-master/tools/testing/selftests/net/
H A Ddrop_monitor_tests.sh64 local dir=$(mktemp -d)
73 timeout 5 dwdump -o sw -w ${dir}/packets.pcap
74 (( $(tshark -r ${dir}/packets.pcap \
78 rm ${dir}/packets.pcap
81 timeout 5 dwdump -o sw -w ${dir}/packets.pcap
82 (( $(tshark -r ${dir}/packets.pcap \
86 rm -r $dir
98 local dir=$(mktemp -d)
101 timeout 5 dwdump -o hw -w ${dir}/packets.pcap
102 (( $(tshark -r ${dir}/packet
[all...]
/linux-master/tools/testing/selftests/dma/
H A Ddma_map_benchmark.c31 int bits = 32, xdelay = 0, dir = DMA_MAP_BIDIRECTIONAL; local
53 dir = atoi(optarg);
90 if (dir != DMA_MAP_BIDIRECTIONAL && dir != DMA_MAP_TO_DEVICE &&
91 dir != DMA_MAP_FROM_DEVICE) {
112 map.dma_dir = dir;
121 printf("dma mapping benchmark: threads:%d seconds:%d node:%d dir:%s granule: %d\n",
122 threads, seconds, node, dir[directions], granule);
/linux-master/fs/ocfs2/
H A Ddir.c3 * dir.c
9 * Portions of this code from linux/fs/ext3/dir.c
18 * linux/fs/minix/dir.c
37 #include "dir.h"
58 struct inode *dir,
69 static int ocfs2_supports_dir_trailer(struct inode *dir) argument
71 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb);
73 if (OCFS2_I(dir)->ip_dyn_features & OCFS2_INLINE_DATA_FL)
76 return ocfs2_meta_ecc(osb) || ocfs2_dir_indexed(dir);
87 static int ocfs2_new_dir_wants_trailer(struct inode *dir) argument
117 ocfs2_skip_dir_trailer(struct inode *dir, struct ocfs2_dir_entry *de, unsigned long offset, unsigned long blklen) argument
151 ocfs2_dx_dir_link_trailer(struct inode *dir, handle_t *handle, struct buffer_head *dx_root_bh, struct buffer_head *dirdata_bh) argument
251 ocfs2_dx_dir_name_hash(struct inode *dir, const char *name, int len, struct ocfs2_dx_hinfo *hinfo) argument
297 ocfs2_check_dir_entry(struct inode * dir, struct ocfs2_dir_entry * de, struct buffer_head * bh, unsigned long offset) argument
339 ocfs2_search_dirblock(struct buffer_head *bh, struct inode *dir, const char *name, int namelen, unsigned long offset, char *first_de, unsigned int bytes, struct ocfs2_dir_entry **res_dir) argument
389 ocfs2_find_entry_id(const char *name, int namelen, struct inode *dir, struct ocfs2_dir_entry **res_dir) argument
457 ocfs2_check_dir_trailer(struct inode *dir, struct buffer_head *bh) argument
533 ocfs2_read_dir_block_direct(struct inode *dir, u64 phys, struct buffer_head **bh) argument
590 ocfs2_read_dx_root(struct inode *dir, struct ocfs2_dinode *di, struct buffer_head **dx_root_bh) argument
631 ocfs2_read_dx_leaf(struct inode *dir, u64 blkno, struct buffer_head **dx_leaf_bh) argument
651 ocfs2_read_dx_leaves(struct inode *dir, u64 start, int num, struct buffer_head **dx_leaf_bhs) argument
664 ocfs2_find_entry_el(const char *name, int namelen, struct inode *dir, struct ocfs2_dir_entry **res_dir) argument
889 ocfs2_dx_dir_search(const char *name, int namelen, struct inode *dir, struct ocfs2_dx_root_block *dx_root, struct ocfs2_dir_lookup_result *res) argument
1003 ocfs2_find_entry_dx(const char *name, int namelen, struct inode *dir, struct ocfs2_dir_lookup_result *lookup) argument
1057 ocfs2_find_entry(const char *name, int namelen, struct inode *dir, struct ocfs2_dir_lookup_result *lookup) argument
1087 ocfs2_update_entry(struct inode *dir, handle_t *handle, struct ocfs2_dir_lookup_result *res, struct inode *new_entry_inode) argument
1125 __ocfs2_delete_entry(handle_t *handle, struct inode *dir, struct ocfs2_dir_entry *de_del, struct buffer_head *bh, char *first_de, unsigned int bytes) argument
1229 ocfs2_delete_entry_dx(handle_t *handle, struct inode *dir, struct ocfs2_dir_lookup_result *lookup) argument
1345 ocfs2_delete_entry_id(handle_t *handle, struct inode *dir, struct ocfs2_dir_entry *de_del, struct buffer_head *bh) argument
1372 ocfs2_delete_entry_el(handle_t *handle, struct inode *dir, struct ocfs2_dir_entry *de_del, struct buffer_head *bh) argument
1385 ocfs2_delete_entry(handle_t *handle, struct inode *dir, struct ocfs2_dir_lookup_result *res) argument
1454 __ocfs2_dx_dir_leaf_insert(struct inode *dir, handle_t *handle, struct ocfs2_dx_hinfo *hinfo, u64 dirent_blk, struct buffer_head *dx_leaf_bh) argument
1477 ocfs2_dx_inline_root_insert(struct inode *dir, handle_t *handle, struct ocfs2_dx_hinfo *hinfo, u64 dirent_blk, struct ocfs2_dx_root_block *dx_root) argument
1485 ocfs2_dx_dir_insert(struct inode *dir, handle_t *handle, struct ocfs2_dir_lookup_result *lookup) argument
1520 ocfs2_remove_block_from_free_list(struct inode *dir, handle_t *handle, struct ocfs2_dir_lookup_result *lookup) argument
1551 ocfs2_recalc_free_list(struct inode *dir, handle_t *handle, struct ocfs2_dir_lookup_result *lookup) argument
1579 __ocfs2_add_entry(handle_t *handle, struct inode *dir, const char *name, int namelen, struct inode *inode, u64 blkno, struct buffer_head *parent_fe_bh, struct ocfs2_dir_lookup_result *lookup) argument
1987 ocfs2_lookup_ino_from_name(struct inode *dir, const char *name, int namelen, u64 *blkno) argument
2006 ocfs2_check_dir_for_entry(struct inode *dir, const char *name, int namelen) argument
2280 ocfs2_dx_dir_attach_index(struct ocfs2_super *osb, handle_t *handle, struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dirdata_bh, struct ocfs2_alloc_context *meta_ac, int dx_inline, u32 num_entries, struct buffer_head **ret_dx_root_bh) argument
2372 ocfs2_dx_dir_format_cluster(struct ocfs2_super *osb, handle_t *handle, struct inode *dir, struct buffer_head **dx_leaves, int num_dx_leaves, u64 start_blk) argument
2425 __ocfs2_dx_dir_new_cluster(struct inode *dir, u32 cpos, handle_t *handle, struct ocfs2_alloc_context *data_ac, struct buffer_head **dx_leaves, int num_dx_leaves, u64 *ret_phys_blkno) argument
2465 ocfs2_dx_dir_new_cluster(struct inode *dir, struct ocfs2_extent_tree *et, u32 cpos, handle_t *handle, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, struct buffer_head **dx_leaves, int num_dx_leaves) argument
2582 ocfs2_dx_dir_index_block(struct inode *dir, handle_t *handle, struct buffer_head **dx_leaves, int num_dx_leaves, u32 *num_dx_entries, struct buffer_head *dirent_bh) argument
2631 ocfs2_dx_dir_index_root_block(struct inode *dir, struct buffer_head *dx_root_bh, struct buffer_head *dirent_bh) argument
2674 ocfs2_new_dx_should_be_inline(struct inode *dir, struct buffer_head *di_bh) argument
2712 ocfs2_expand_last_dirent(char *start, unsigned int old_size, struct inode *dir) argument
2762 ocfs2_expand_inline_dir(struct inode *dir, struct buffer_head *di_bh, unsigned int blocks_wanted, struct ocfs2_dir_lookup_result *lookup, struct buffer_head **first_block_bh) argument
3079 ocfs2_do_extend_dir(struct super_block *sb, handle_t *handle, struct inode *dir, struct buffer_head *parent_fe_bh, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, struct buffer_head **new_bh) argument
3144 ocfs2_extend_dir(struct ocfs2_super *osb, struct inode *dir, struct buffer_head *parent_fe_bh, unsigned int blocks_wanted, struct ocfs2_dir_lookup_result *lookup, struct buffer_head **new_de_bh) argument
3333 ocfs2_find_dir_space_id(struct inode *dir, struct buffer_head *di_bh, const char *name, int namelen, struct buffer_head **ret_de_bh, unsigned int *blocks_wanted) argument
3404 ocfs2_find_dir_space_el(struct inode *dir, const char *name, int namelen, struct buffer_head **ret_de_bh) argument
3625 ocfs2_dx_dir_transfer_leaf(struct inode *dir, u32 split_hash, handle_t *handle, struct ocfs2_dx_leaf *tmp_dx_leaf, struct buffer_head **orig_dx_leaves, struct buffer_head **new_dx_leaves, int num_dx_leaves) argument
3682 ocfs2_dx_dir_rebalance(struct ocfs2_super *osb, struct inode *dir, struct buffer_head *dx_root_bh, struct buffer_head *dx_leaf_bh, struct ocfs2_dx_hinfo *hinfo, u32 leaf_cpos, u64 leaf_blkno) argument
3877 ocfs2_find_dir_space_dx(struct ocfs2_super *osb, struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dx_root_bh, const char *name, int namelen, struct ocfs2_dir_lookup_result *lookup) argument
3950 ocfs2_search_dx_free_list(struct inode *dir, struct buffer_head *dx_root_bh, int namelen, struct ocfs2_dir_lookup_result *lookup) argument
3998 ocfs2_expand_inline_dx_root(struct inode *dir, struct buffer_head *dx_root_bh) argument
4129 ocfs2_prepare_dx_dir_for_insert(struct inode *dir, struct buffer_head *di_bh, const char *name, int namelen, struct ocfs2_dir_lookup_result *lookup) argument
4231 ocfs2_prepare_dir_for_insert(struct ocfs2_super *osb, struct inode *dir, struct buffer_head *parent_fe_bh, const char *name, int namelen, struct ocfs2_dir_lookup_result *lookup) argument
4302 ocfs2_dx_dir_remove_index(struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dx_root_bh) argument
4383 ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh) argument
[all...]
/linux-master/fs/exfat/
H A Dnamei.c241 clu.dir != EXFAT_EOF_CLUSTER) {
256 clu.dir++;
258 clu.dir = EXFAT_EOF_CLUSTER;
260 if (exfat_get_next_cluster(sb, &clu.dir))
270 if (dentry == total_entries || clu.dir == EXFAT_EOF_CLUSTER)
283 * exFAT spec allows a dir to grow up to 8388608(256MB)
342 if (exfat_zeroed_cluster(inode, clu.dir))
346 ei->start_clu = clu.dir;
347 p_dir->dir = clu.dir;
442 exfat_resolve_path(struct inode *inode, const unsigned char *path, struct exfat_chain *dir, struct exfat_uni_name *uni) argument
449 exfat_resolve_path_for_lookup(struct inode *inode, const unsigned char *path, struct exfat_chain *dir, struct exfat_uni_name *uni) argument
541 exfat_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
585 exfat_find(struct inode *dir, struct qstr *qname, struct exfat_dir_entry *info) argument
689 exfat_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) argument
766 exfat_unlink(struct inode *dir, struct dentry *dentry) argument
817 exfat_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
908 exfat_rmdir(struct inode *dir, struct dentry *dentry) argument
[all...]
/linux-master/mm/
H A Dfail_page_alloc.c50 struct dentry *dir; local
52 dir = fault_create_debugfs_attr("fail_page_alloc", NULL,
55 debugfs_create_bool("ignore-gfp-wait", mode, dir,
57 debugfs_create_bool("ignore-gfp-highmem", mode, dir,
59 debugfs_create_u32("min-order", mode, dir, &fail_page_alloc.min_order);
/linux-master/drivers/nvme/host/
H A Dfault_inject.c21 struct dentry *dir, *parent; local
36 dir = fault_create_debugfs_attr("fault_inject", parent, attr);
37 if (IS_ERR(dir)) {
47 debugfs_create_x16("status", 0600, dir, &fault_inj->status);
48 debugfs_create_bool("dont_retry", 0600, dir, &fault_inj->dont_retry);
/linux-master/fs/btrfs/
H A Ddir-item.h16 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir,
19 const struct fscrypt_str *name, struct btrfs_inode *dir,
23 struct btrfs_path *path, u64 dir,
28 struct btrfs_path *path, u64 dir,
44 struct btrfs_path *path, u64 dir,
/linux-master/drivers/dma/dw-edma/
H A Ddw-hdma-v0-core.c32 __dw_ch_regs(struct dw_edma *dw, enum dw_edma_dir dir, u16 ch) argument
34 if (dir == EDMA_DIR_WRITE)
40 #define SET_CH_32(dw, dir, ch, name, value) \
41 writel(value, &(__dw_ch_regs(dw, dir, ch)->name))
43 #define GET_CH_32(dw, dir, ch, name) \
44 readl(&(__dw_ch_regs(dw, dir, ch)->name))
66 static u16 dw_hdma_v0_core_ch_count(struct dw_edma *dw, enum dw_edma_dir dir) argument
82 GET_CH_32(dw, chan->id, chan->dir, ch_stat));
96 SET_CH_32(dw, chan->dir, chan->id, int_clear, HDMA_V0_STOP_INT_MASK);
103 SET_CH_32(dw, chan->dir, cha
114 dw_hdma_v0_core_handle_int(struct dw_edma_irq *dw_irq, enum dw_edma_dir dir, dw_edma_handler_t done, dw_edma_handler_t abort) argument
[all...]
/linux-master/kernel/dma/
H A Dmapping.c148 size_t offset, size_t size, enum dma_data_direction dir,
154 BUG_ON(!valid_dma_direction(dir));
161 addr = dma_direct_map_page(dev, page, offset, size, dir, attrs);
163 addr = ops->map_page(dev, page, offset, size, dir, attrs);
164 kmsan_handle_dma(page, offset, size, dir);
165 debug_dma_map_page(dev, page, offset, size, dir, addr, attrs);
172 enum dma_data_direction dir, unsigned long attrs)
176 BUG_ON(!valid_dma_direction(dir));
179 dma_direct_unmap_page(dev, addr, size, dir, attrs);
181 ops->unmap_page(dev, addr, size, dir, attr
147 dma_map_page_attrs(struct device *dev, struct page *page, size_t offset, size_t size, enum dma_data_direction dir, unsigned long attrs) argument
171 dma_unmap_page_attrs(struct device *dev, dma_addr_t addr, size_t size, enum dma_data_direction dir, unsigned long attrs) argument
186 __dma_map_sg_attrs(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir, unsigned long attrs) argument
231 dma_map_sg_attrs(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir, unsigned long attrs) argument
270 dma_map_sgtable(struct device *dev, struct sg_table *sgt, enum dma_data_direction dir, unsigned long attrs) argument
283 dma_unmap_sg_attrs(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir, unsigned long attrs) argument
299 dma_map_resource(struct device *dev, phys_addr_t phys_addr, size_t size, enum dma_data_direction dir, unsigned long attrs) argument
320 dma_unmap_resource(struct device *dev, dma_addr_t addr, size_t size, enum dma_data_direction dir, unsigned long attrs) argument
332 dma_sync_single_for_cpu(struct device *dev, dma_addr_t addr, size_t size, enum dma_data_direction dir) argument
346 dma_sync_single_for_device(struct device *dev, dma_addr_t addr, size_t size, enum dma_data_direction dir) argument
360 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction dir) argument
374 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction dir) argument
558 __dma_alloc_pages(struct device *dev, size_t size, dma_addr_t *dma_handle, enum dma_data_direction dir, gfp_t gfp) argument
578 dma_alloc_pages(struct device *dev, size_t size, dma_addr_t *dma_handle, enum dma_data_direction dir, gfp_t gfp) argument
589 __dma_free_pages(struct device *dev, size_t size, struct page *page, dma_addr_t dma_handle, enum dma_data_direction dir) argument
601 dma_free_pages(struct device *dev, size_t size, struct page *page, dma_addr_t dma_handle, enum dma_data_direction dir) argument
622 alloc_single_sgt(struct device *dev, size_t size, enum dma_data_direction dir, gfp_t gfp) argument
646 dma_alloc_noncontiguous(struct device *dev, size_t size, enum dma_data_direction dir, gfp_t gfp, unsigned long attrs) argument
670 free_single_sgt(struct device *dev, size_t size, struct sg_table *sgt, enum dma_data_direction dir) argument
679 dma_free_noncontiguous(struct device *dev, size_t size, struct sg_table *sgt, enum dma_data_direction dir) argument
[all...]
/linux-master/tools/testing/selftests/netfilter/
H A 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 "
[all...]
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmcs.h160 void (*mcs_flowid_secy_map)(struct mcs *mcs, struct secy_mem_map *map, int dir);
161 void (*mcs_bbe_intr_handler)(struct mcs *mcs, u64 intr, enum mcs_direction dir);
162 void (*mcs_pab_intr_handler)(struct mcs *mcs, u64 intr, enum mcs_direction dir);
184 u8 *sc_id, u8 *sa1_id, u8 *sa2_id, u16 pcifunc, int dir);
185 int mcs_free_all_rsrc(struct mcs *mcs, int dir, u16 pcifunc);
186 void mcs_clear_secy_plcy(struct mcs *mcs, int secy_id, int dir);
187 void mcs_ena_dis_flowid_entry(struct mcs *mcs, int id, int dir, int ena);
189 void mcs_flowid_entry_write(struct mcs *mcs, u64 *data, u64 *mask, int id, int dir);
190 void mcs_secy_plcy_write(struct mcs *mcs, u64 plcy, int id, int dir);
192 void mcs_sa_plcy_write(struct mcs *mcs, u64 *plcy, int sa, int dir);
[all...]
/linux-master/fs/nilfs2/
H A Dnamei.c54 nilfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) argument
62 ino = nilfs_inode_by_name(dir, &dentry->d_name);
63 inode = ino ? nilfs_iget(dir->i_sb, NILFS_I(dir)->i_root, ino) : NULL;
75 static int nilfs_create(struct mnt_idmap *idmap, struct inode *dir, argument
82 err = nilfs_transaction_begin(dir->i_sb, &ti, 1);
85 inode = nilfs_new_inode(dir, mode);
95 err = nilfs_transaction_commit(dir->i_sb);
97 nilfs_transaction_abort(dir->i_sb);
103 nilfs_mknod(struct mnt_idmap *idmap, struct inode *dir, argument
128 nilfs_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *symname) argument
177 nilfs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument
205 nilfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
259 nilfs_do_unlink(struct inode *dir, struct dentry *dentry) argument
294 nilfs_unlink(struct inode *dir, struct dentry *dentry) argument
315 nilfs_rmdir(struct inode *dir, struct dentry *dentry) argument
[all...]
H A Ddir.c10 * linux/fs/ext2/dir.c
19 * linux/fs/minix/dir.c
92 struct inode *dir = mapping->host; local
100 if (pos + copied > dir->i_size)
101 i_size_write(dir, pos + copied);
102 if (IS_DIRSYNC(dir))
104 err = nilfs_set_file_dirty(dir, nr_dirty);
111 struct inode *dir = folio->mapping->host; local
112 struct super_block *sb = dir->i_sb;
113 unsigned int chunk_size = nilfs_chunk_size(dir);
181 nilfs_get_folio(struct inode *dir, unsigned long n, struct folio **foliop) argument
323 nilfs_find_entry(struct inode *dir, const struct qstr *qstr, struct folio **foliop) argument
379 nilfs_dotdot(struct inode *dir, struct folio **foliop) argument
388 nilfs_inode_by_name(struct inode *dir, const struct qstr *qstr) argument
402 nilfs_set_link(struct inode *dir, struct nilfs_dir_entry *de, struct folio *folio, struct inode *inode) argument
424 struct inode *dir = d_inode(dentry->d_parent); local
518 nilfs_delete_entry(struct nilfs_dir_entry *dir, struct folio *folio) argument
[all...]
/linux-master/sound/soc/fsl/
H A Dfsl_asrc_dma.c58 u8 dir = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? OUT : IN; local
69 pair->desc[!dir] = dmaengine_prep_dma_cyclic(
70 pair->dma_chan[!dir], runtime->dma_addr,
73 dir == OUT ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM, flags);
74 if (!pair->desc[!dir]) {
79 pair->desc[!dir]->callback = fsl_asrc_dma_complete;
80 pair->desc[!dir]->callback_param = substream;
82 dmaengine_submit(pair->desc[!dir]);
85 pair->desc[dir] = dmaengine_prep_dma_cyclic(
86 pair->dma_chan[dir],
151 u8 dir = tx ? OUT : IN; local
314 u8 dir = tx ? OUT : IN; local
340 u8 dir = tx ? OUT : IN; local
[all...]
/linux-master/fs/udf/
H A Dnamei.c14 * 12/12/98 blf Created. Split out the lookup code from dir.c
43 * @dir: directory inode to search in
47 * This function searches in the directory @dir for a file name @child. When
52 static int udf_fiiter_find_entry(struct inode *dir, const struct qstr *child, argument
57 struct super_block *sb = dir->i_sb;
66 for (ret = udf_fiiter_init(iter, dir, 0);
67 !ret && iter->pos < dir->i_size;
107 static struct dentry *udf_lookup(struct inode *dir, struct dentry *dentry, argument
117 err = udf_fiiter_find_entry(dir, &dentry->d_name, &iter);
127 inode = udf_iget(dir
220 udf_fiiter_add_entry(struct inode *dir, struct dentry *dentry, struct udf_fileident_iter *iter) argument
331 udf_add_fid_counter(struct super_block *sb, bool dir, int val) argument
349 struct inode *dir = d_inode(dentry->d_parent); local
373 udf_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
389 udf_tmpfile(struct mnt_idmap *idmap, struct inode *dir, struct file *file, umode_t mode) argument
406 udf_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) argument
422 udf_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
477 empty_dir(struct inode *dir) argument
496 udf_rmdir(struct inode *dir, struct dentry *dentry) argument
532 udf_unlink(struct inode *dir, struct dentry *dentry) argument
566 udf_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *symname) argument
727 udf_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument
[all...]

Completed in 178 milliseconds

1234567891011>>