Home
last modified time | relevance | path

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

12345678910>>...71

/Linux-v5.4/fs/adfs/
Ddir_f.c12 static void adfs_f_free(struct adfs_dir *dir);
72 adfs_dir_checkbyte(const struct adfs_dir *dir) in adfs_dir_checkbyte() argument
74 struct buffer_head * const *bh = dir->bh; in adfs_dir_checkbyte()
75 const int blocksize_bits = dir->sb->s_blocksize_bits; in adfs_dir_checkbyte()
128 unsigned int size, struct adfs_dir *dir) in adfs_dir_read() argument
142 dir->nr_buffers = 0; in adfs_dir_read()
143 dir->sb = sb; in adfs_dir_read()
155 dir->bh[blk] = sb_bread(sb, phys); in adfs_dir_read()
156 if (!dir->bh[blk]) in adfs_dir_read()
160 memcpy(&dir->dirhead, bufoff(dir->bh, 0), sizeof(dir->dirhead)); in adfs_dir_read()
[all …]
Ddir_fplus.c12 adfs_fplus_read(struct super_block *sb, unsigned int id, unsigned int sz, struct adfs_dir *dir) in adfs_fplus_read() argument
20 dir->nr_buffers = 0; in adfs_fplus_read()
23 dir->bh_fplus = &dir->bh[0]; in adfs_fplus_read()
31 dir->bh_fplus[0] = sb_bread(sb, block); in adfs_fplus_read()
32 if (!dir->bh_fplus[0]) in adfs_fplus_read()
34 dir->nr_buffers += 1; in adfs_fplus_read()
36 h = (struct adfs_bigdirheader *)dir->bh_fplus[0]->b_data; in adfs_fplus_read()
52 if (size > ARRAY_SIZE(dir->bh)) { in adfs_fplus_read()
64 dir->bh_fplus = bh_fplus; in adfs_fplus_read()
66 dir->bh_fplus[0] = dir->bh[0]; in adfs_fplus_read()
[all …]
/Linux-v5.4/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-v5.4/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-v5.4/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
84 if (ubifs_crypt_is_encrypted(dir)) { in ubifs_new_inode()
85 err = fscrypt_get_encryption_info(dir); in ubifs_new_inode()
91 if (!fscrypt_has_encryption_key(dir)) in ubifs_new_inode()
110 inode_init_owner(inode, dir, mode); in ubifs_new_inode()
140 ui->flags = inherit_flags(dir, mode); in ubifs_new_inode()
174 err = fscrypt_inherit_context(dir, inode, &encrypted, true); in ubifs_new_inode()
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/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-v5.4/fs/ext4/
Dnamei.c269 static unsigned dx_root_limit(struct inode *dir, unsigned infosize);
270 static unsigned dx_node_limit(struct inode *dir);
272 struct inode *dir,
276 static int dx_make_map(struct inode *dir, struct ext4_dir_entry_2 *de,
285 static int ext4_htree_next_block(struct inode *dir, __u32 hash,
289 static struct buffer_head * ext4_dx_find_entry(struct inode *dir,
293 struct inode *dir, struct inode *inode);
572 static inline unsigned dx_root_limit(struct inode *dir, unsigned infosize) in dx_root_limit() argument
574 unsigned entry_space = dir->i_sb->s_blocksize - EXT4_DIR_REC_LEN(1) - in dx_root_limit()
577 if (ext4_has_metadata_csum(dir->i_sb)) in dx_root_limit()
[all …]
/Linux-v5.4/include/linux/
Ddma-mapping.h95 enum dma_data_direction dir,
98 size_t size, enum dma_data_direction dir,
105 int nents, enum dma_data_direction dir,
109 enum dma_data_direction dir,
112 size_t size, enum dma_data_direction dir,
115 size_t size, enum dma_data_direction dir,
119 enum dma_data_direction dir);
122 enum dma_data_direction dir);
125 enum dma_data_direction dir);
128 enum dma_data_direction dir);
[all …]
/Linux-v5.4/fs/f2fs/
Ddir.c85 static struct f2fs_dir_entry *find_in_block(struct inode *dir, in find_in_block() argument
98 make_dentry_ptr_block(dir, &d, dentry_blk); in find_in_block()
142 static void f2fs_fname_setup_ci_filename(struct inode *dir, in f2fs_fname_setup_ci_filename() argument
146 struct f2fs_sb_info *sbi = F2FS_I_SB(dir); in f2fs_fname_setup_ci_filename()
148 if (!IS_CASEFOLDED(dir)) { in f2fs_fname_setup_ci_filename()
253 static struct f2fs_dir_entry *find_in_level(struct inode *dir, in find_in_level() argument
266 f2fs_hash_t namehash = f2fs_dentry_hash(dir, &name, fname); in find_in_level()
268 nbucket = dir_buckets(level, F2FS_I(dir)->i_dir_level); in find_in_level()
271 bidx = dir_block_index(level, F2FS_I(dir)->i_dir_level, in find_in_level()
277 dentry_page = f2fs_find_data_page(dir, bidx); in find_in_level()
[all …]
Dinline.c307 struct f2fs_dir_entry *f2fs_find_in_inline_dir(struct inode *dir, in f2fs_find_in_inline_dir() argument
310 struct f2fs_sb_info *sbi = F2FS_SB(dir->i_sb); in f2fs_find_in_inline_dir()
318 ipage = f2fs_get_node_page(sbi, dir->i_ino); in f2fs_find_in_inline_dir()
324 namehash = f2fs_dentry_hash(dir, &name, fname); in f2fs_find_in_inline_dir()
326 inline_dentry = inline_data_addr(dir, ipage); in f2fs_find_in_inline_dir()
328 make_dentry_ptr_inline(dir, &d, inline_dentry); in f2fs_find_in_inline_dir()
362 static int f2fs_move_inline_dirents(struct inode *dir, struct page *ipage, in f2fs_move_inline_dirents() argument
371 page = f2fs_grab_cache_page(dir->i_mapping, 0, false); in f2fs_move_inline_dirents()
377 set_new_dnode(&dn, dir, ipage, NULL, 0); in f2fs_move_inline_dirents()
386 __func__, dir->i_ino, dn.data_blkaddr); in f2fs_move_inline_dirents()
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/tools/testing/selftests/netfilter/
Dnft_nat.sh133 for dir in "in" "out" ; do
135 cnt=$(ip netns exec ns0 nft list counter inet filter ${ns}${dir} | grep -q "$expect")
137 bad_counter ns0 $ns$dir "$expect"
142 cnt=$(ip netns exec ns0 nft list counter inet filter ${ns}${dir}6 | grep -q "$expect")
191 for dir in "in6" "out6" ; do
192 cnt=$(ip netns exec ns0 nft list counter inet filter ns1${dir} | grep -q "$expect")
194 bad_counter ns0 ns1$dir "$expect"
200 for dir in "in6" "out6" ; do
201 cnt=$(ip netns exec ns0 nft list counter inet filter ns2${dir} | grep -q "$expect")
203 bad_counter ns0 ns2$dir "$expect"
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/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-v5.4/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-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/arch/arm/mm/
Ddma-mapping-nommu.c78 enum dma_data_direction dir) in __dma_page_cpu_to_dev() argument
80 dmac_map_area(__va(paddr), size, dir); in __dma_page_cpu_to_dev()
82 if (dir == DMA_FROM_DEVICE) in __dma_page_cpu_to_dev()
89 enum dma_data_direction dir) in __dma_page_dev_to_cpu() argument
91 if (dir != DMA_TO_DEVICE) { in __dma_page_dev_to_cpu()
93 dmac_unmap_area(__va(paddr), size, dir); in __dma_page_dev_to_cpu()
99 enum dma_data_direction dir, in arm_nommu_dma_map_page() argument
104 __dma_page_cpu_to_dev(handle, size, dir); in arm_nommu_dma_map_page()
110 size_t size, enum dma_data_direction dir, in arm_nommu_dma_unmap_page() argument
113 __dma_page_dev_to_cpu(handle, size, dir); in arm_nommu_dma_unmap_page()
[all …]
/Linux-v5.4/fs/omfs/
Ddir.c24 static struct buffer_head *omfs_get_bucket(struct inode *dir, in omfs_get_bucket() argument
27 int nbuckets = (dir->i_size - OMFS_DIR_START)/8; in omfs_get_bucket()
31 return omfs_bread(dir->i_sb, dir->i_ino); in omfs_get_bucket()
34 static struct buffer_head *omfs_scan_list(struct inode *dir, u64 block, in omfs_scan_list() argument
44 bh = omfs_bread(dir->i_sb, block); in omfs_scan_list()
51 if (omfs_is_bad(OMFS_SB(dir->i_sb), &oi->i_head, block)) { in omfs_scan_list()
67 static struct buffer_head *omfs_find_entry(struct inode *dir, in omfs_find_entry() argument
74 bh = omfs_get_bucket(dir, name, namelen, &ofs); in omfs_find_entry()
81 return omfs_scan_list(dir, block, name, namelen, &dummy); in omfs_find_entry()
113 struct inode *dir = d_inode(dentry->d_parent); in omfs_add_link() local
[all …]
/Linux-v5.4/fs/affs/
Damigaffs.c26 affs_insert_hash(struct inode *dir, struct buffer_head *bh) in affs_insert_hash() argument
28 struct super_block *sb = dir->i_sb; in affs_insert_hash()
36 pr_debug("%s(dir=%lu, ino=%d)\n", __func__, dir->i_ino, ino); in affs_insert_hash()
38 dir_bh = affs_bread(sb, dir->i_ino); in affs_insert_hash()
50 AFFS_TAIL(sb, bh)->parent = cpu_to_be32(dir->i_ino); in affs_insert_hash()
54 if (dir->i_ino == dir_bh->b_blocknr) in affs_insert_hash()
60 mark_buffer_dirty_inode(dir_bh, dir); in affs_insert_hash()
63 dir->i_mtime = dir->i_ctime = current_time(dir); in affs_insert_hash()
64 inode_inc_iversion(dir); in affs_insert_hash()
65 mark_inode_dirty(dir); in affs_insert_hash()
[all …]
/Linux-v5.4/tools/perf/trace/beauty/
Dioctl.c21 static size_t ioctl__scnprintf_tty_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_tty_cmd() argument
44 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'T', nr, dir); in ioctl__scnprintf_tty_cmd()
47 static size_t ioctl__scnprintf_drm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_drm_cmd() argument
55 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'd', nr, dir); in ioctl__scnprintf_drm_cmd()
58 static size_t ioctl__scnprintf_sndrv_pcm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_sndrv_pcm_cmd() argument
66 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'A', nr, dir); in ioctl__scnprintf_sndrv_pcm_cmd()
69 static size_t ioctl__scnprintf_sndrv_ctl_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_sndrv_ctl_cmd() argument
77 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'U', nr, dir); in ioctl__scnprintf_sndrv_ctl_cmd()
80 static size_t ioctl__scnprintf_kvm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_kvm_cmd() argument
88 return scnprintf(bf, size, "(%#x, %#x, %#x)", 0xAE, nr, dir); in ioctl__scnprintf_kvm_cmd()
[all …]

12345678910>>...71