Home
last modified time | relevance | path

Searched refs:dir (Results 101 – 125 of 2988) sorted by relevance

12345678910>>...120

/openbmc/linux/net/netfilter/
H A Dnf_flow_table_ip.c82 switch (dir) { in nf_flow_snat_ip()
105 switch (dir) { in nf_flow_dnat_ip()
371 enum flow_offload_tuple_dir dir; in nf_flow_offload_forward() local
376 dir = tuplehash->tuple.dir; in nf_flow_offload_forward()
419 enum flow_offload_tuple_dir dir; in nf_flow_offload_ip_hook() local
447 dir = tuplehash->tuple.dir; in nf_flow_offload_ip_hook()
523 switch (dir) { in nf_flow_snat_ipv6()
546 switch (dir) { in nf_flow_dnat_ipv6()
650 enum flow_offload_tuple_dir dir; in nf_flow_offload_ipv6_forward() local
655 dir = tuplehash->tuple.dir; in nf_flow_offload_ipv6_forward()
[all …]
/openbmc/linux/tools/perf/tests/
H A Dpmu.c90 static char *test_format_dir_get(char *dir, size_t sz) in test_format_dir_get() argument
94 snprintf(dir, sz, "/tmp/perf-pmu-test-format-XXXXXX"); in test_format_dir_get()
95 if (!mkdtemp(dir)) in test_format_dir_get()
103 scnprintf(name, PATH_MAX, "%s/%s", dir, format->name); in test_format_dir_get()
115 return dir; in test_format_dir_get()
119 static int test_format_dir_put(char *dir) in test_format_dir_put() argument
123 snprintf(buf, sizeof(buf), "rm -f %s/*\n", dir); in test_format_dir_put()
127 snprintf(buf, sizeof(buf), "rmdir %s\n", dir); in test_format_dir_put()
144 char dir[PATH_MAX]; in test__pmu() local
159 format = test_format_dir_get(dir, sizeof(dir)); in test__pmu()
/openbmc/linux/drivers/iio/cdc/
H A Dad7150.c89 enum iio_event_direction dir; member
170 if (dir == IIO_EV_DIR_RISING) in ad7150_read_event_config()
193 if ((type != chip->type) || (dir != chip->dir)) in ad7150_write_event_params()
250 (type == chip->type) && (dir == chip->dir)) { in ad7150_write_event_config()
258 if ((type != chip->type) || (dir != chip->dir)) { in ad7150_write_event_config()
302 chip->dir = dir; in ad7150_write_event_config()
306 dir); in ad7150_write_event_config()
414 .dir = IIO_EV_DIR_RISING,
419 .dir = IIO_EV_DIR_FALLING,
424 .dir = IIO_EV_DIR_RISING,
[all …]
/openbmc/linux/security/
H A Dinode.c113 struct inode *dir, *inode; in securityfs_create_dentry() local
128 dir = d_inode(parent); in securityfs_create_dentry()
130 inode_lock(dir); in securityfs_create_dentry()
140 inode = new_inode(dir->i_sb); in securityfs_create_dentry()
154 inc_nlink(dir); in securityfs_create_dentry()
163 inode_unlock(dir); in securityfs_create_dentry()
170 inode_unlock(dir); in securityfs_create_dentry()
297 struct inode *dir; in securityfs_remove() local
303 inode_lock(dir); in securityfs_remove()
306 simple_rmdir(dir, dentry); in securityfs_remove()
[all …]
/openbmc/linux/fs/adfs/
H A Dadfs.h127 unsigned int size, struct adfs_dir *dir);
128 int (*iterate)(struct adfs_dir *dir, struct dir_context *ctx);
129 int (*setpos)(struct adfs_dir *dir, unsigned int fpos);
130 int (*getnext)(struct adfs_dir *dir, struct object_info *obj);
131 int (*update)(struct adfs_dir *dir, struct object_info *obj);
132 int (*create)(struct adfs_dir *dir, struct object_info *obj);
133 int (*remove)(struct adfs_dir *dir, struct object_info *obj);
134 int (*commit)(struct adfs_dir *dir);
180 void adfs_dir_relse(struct adfs_dir *dir);
182 unsigned int size, struct adfs_dir *dir);
[all …]
/openbmc/linux/sound/soc/sof/
H A Dsof-audio.c469 pipeline_params, dir); in sof_prepare_widgets_in_path()
681 int dir) in sof_widget_list_setup() argument
697 dir, SOF_WIDGET_PREPARE); in sof_widget_list_setup()
703 dir, SOF_WIDGET_SETUP); in sof_widget_list_setup()
706 dir, SOF_WIDGET_UNPREPARE); in sof_widget_list_setup()
782 spcm->stream[dir].list = NULL; in sof_widget_list_free()
798 int dir; in snd_sof_dsp_only_d0i3_compatible_stream_active() local
801 for_each_pcm_streams(dir) { in snd_sof_dsp_only_d0i3_compatible_stream_active()
906 int dir; in snd_sof_find_spcm_comp() local
909 for_each_pcm_streams(dir) { in snd_sof_find_spcm_comp()
[all …]
/openbmc/qemu/block/
H A Dthrottle-groups.c451 ThrottleDirection dir; in throttle_group_restart_tgm() local
454 for (dir = THROTTLE_READ; dir < THROTTLE_MAX; dir++) { in throttle_group_restart_tgm()
547 ThrottleDirection dir; in throttle_group_register_tgm() local
557 for (dir = THROTTLE_READ; dir < THROTTLE_MAX; dir++) { in throttle_group_register_tgm()
558 if (!tg->tokens[dir]) { in throttle_group_register_tgm()
559 tg->tokens[dir] = tgm; in throttle_group_register_tgm()
590 ThrottleDirection dir; in throttle_group_unregister_tgm() local
601 for (dir = THROTTLE_READ; dir < THROTTLE_MAX; dir++) { in throttle_group_unregister_tgm()
636 ThrottleDirection dir; in throttle_group_detach_aio_context() local
639 for (dir = THROTTLE_READ; dir < THROTTLE_MAX; dir++) { in throttle_group_detach_aio_context()
[all …]
/openbmc/linux/fs/crypto/
H A Dhooks.c33 struct dentry *dir; in fscrypt_file_open() local
39 dir = dget_parent(file_dentry(filp)); in fscrypt_file_open()
40 if (IS_ENCRYPTED(d_inode(dir)) && in fscrypt_file_open()
44 d_inode(dir)->i_ino); in fscrypt_file_open()
47 dput(dir); in fscrypt_file_open()
62 if (!fscrypt_has_permitted_context(dir, inode)) in __fscrypt_prepare_link()
133 int err = fscrypt_get_encryption_info(dir, true); in fscrypt_prepare_lookup_partial()
135 if (!err && !fscrypt_has_encryption_key(dir)) { in fscrypt_prepare_lookup_partial()
144 int __fscrypt_prepare_readdir(struct inode *dir) in __fscrypt_prepare_readdir() argument
146 return fscrypt_get_encryption_info(dir, true); in __fscrypt_prepare_readdir()
[all …]
/openbmc/linux/fs/affs/
H A Dnamei.c172 struct super_block *sb = dir->i_sb; in affs_find_entry()
179 bh = affs_bread(sb, dir->i_ino); in affs_find_entry()
201 struct super_block *sb = dir->i_sb; in affs_lookup()
208 affs_lock_dir(dir); in affs_lookup()
209 bh = affs_find_entry(dir, dentry); in affs_lookup()
211 affs_unlock_dir(dir); in affs_lookup()
231 affs_unlock_dir(dir); in affs_lookup()
248 struct super_block *sb = dir->i_sb; in affs_create()
255 inode = affs_new_inode(dir); in affs_create()
286 inode = affs_new_inode(dir); in affs_mkdir()
[all …]
/openbmc/linux/tools/build/
H A DMakefile.build27 build-dir := $(srctree)/tools/build
31 fixdep := $(build-dir)/fixdep
37 include $(build-dir)/Build.include
51 build-file := $(dir)/Build
59 quiet_cmd_mkdir = MKDIR $(dir $@)
60 cmd_mkdir = mkdir -p $(dir $@)
61 rule_mkdir = $(if $(wildcard $(dir $@)),,@$(call echo-cmd,mkdir) $(cmd_mkdir))
140 objprefix := $(subst ./,,$(OUTPUT)$(dir)/)
150 $(Q)$(MAKE) -f $(build-dir)/Makefile.build dir=$(dir)/$@ obj=$(obj)
167 cmd_files := $(wildcard $(foreach f,$(targets),$(dir $(f)).$(notdir $(f)).cmd))
/openbmc/linux/drivers/net/thunderbolt/
H A Dtrace.h27 enum dma_data_direction dir),
28 TP_ARGS(index, page, phys, dir),
33 __field(enum dma_data_direction, dir)
39 __entry->dir = dir;
43 __print_symbolic(__entry->dir, DMA_DATA_DIRECTION_NAMES))
48 enum dma_data_direction dir),
49 TP_ARGS(index, page, phys, dir)
54 enum dma_data_direction dir),
55 TP_ARGS(index, page, phys, dir)
60 enum dma_data_direction dir),
[all …]
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-utils/xfsdump/files/
H A Dremove-install-as-user.patch118 $MKDIR -p $dir
122 - $CHMOD $DIRMODE $dir
127 - $CHOWN $OWNER $GROUP $dir
163 if [ -f $dir/$f ]
165 - $CHMOD $FILEMODE $dir/$f
169 - $CHOWN $OWNER $GROUP $dir/$f
175 $CHMOD $FILEMODE $dir
179 - $CHOWN $OWNER $GROUP $dir
182 - $MANIFEST f $FILEMODE $OWNER $GROUP $HERE/$dir ${dir#$DIST_ROOT}
183 + $MANIFEST f $FILEMODE $HERE/$dir ${dir#$DIST_ROOT}
[all …]
/openbmc/linux/arch/x86/mm/
H A Ddebug_pagetables.c47 static struct dentry *dir; variable
51 dir = debugfs_create_dir("page_tables", NULL); in pt_dump_debug_init()
53 debugfs_create_file("kernel", 0400, dir, NULL, &ptdump_fops); in pt_dump_debug_init()
54 debugfs_create_file("current_kernel", 0400, dir, NULL, in pt_dump_debug_init()
58 debugfs_create_file("current_user", 0400, dir, NULL, in pt_dump_debug_init()
62 debugfs_create_file("efi", 0400, dir, NULL, &ptdump_efi_fops); in pt_dump_debug_init()
69 debugfs_remove_recursive(dir); in pt_dump_debug_exit()
/openbmc/linux/lib/
H A Dmemory-notifier-error-inject.c20 static struct dentry *dir; variable
26 dir = notifier_err_inject_init("memory", notifier_err_inject_dir, in err_inject_init()
28 if (IS_ERR(dir)) in err_inject_init()
29 return PTR_ERR(dir); in err_inject_init()
33 debugfs_remove_recursive(dir); in err_inject_init()
41 debugfs_remove_recursive(dir); in err_inject_exit()
H A Dpm-notifier-error-inject.c21 static struct dentry *dir; variable
27 dir = notifier_err_inject_init("pm", notifier_err_inject_dir, in err_inject_init()
29 if (IS_ERR(dir)) in err_inject_init()
30 return PTR_ERR(dir); in err_inject_init()
34 debugfs_remove_recursive(dir); in err_inject_init()
42 debugfs_remove_recursive(dir); in err_inject_exit()
H A Dof-reconfig-notifier-error-inject.c23 static struct dentry *dir; variable
29 dir = notifier_err_inject_init("OF-reconfig", in err_inject_init()
31 if (IS_ERR(dir)) in err_inject_init()
32 return PTR_ERR(dir); in err_inject_init()
36 debugfs_remove_recursive(dir); in err_inject_init()
44 debugfs_remove_recursive(dir); in err_inject_exit()
H A Dnetdev-notifier-error-inject.c27 static struct dentry *dir; variable
33 dir = notifier_err_inject_init("netdev", notifier_err_inject_dir, in netdev_err_inject_init()
35 if (IS_ERR(dir)) in netdev_err_inject_init()
36 return PTR_ERR(dir); in netdev_err_inject_init()
40 debugfs_remove_recursive(dir); in netdev_err_inject_init()
48 debugfs_remove_recursive(dir); in netdev_err_inject_exit()
/openbmc/linux/kernel/irq/
H A Dproc.c324 if (!desc->dir || action->dir || !action->name || in register_handler_proc()
331 action->dir = proc_mkdir(name, desc->dir); in register_handler_proc()
354 if (desc->dir) in register_irq_proc()
360 desc->dir = proc_mkdir(name, root_irq_dir); in register_irq_proc()
361 if (!desc->dir) in register_irq_proc()
397 if (!root_irq_dir || !desc->dir) in unregister_irq_proc()
400 remove_proc_entry("smp_affinity", desc->dir); in unregister_irq_proc()
401 remove_proc_entry("affinity_hint", desc->dir); in unregister_irq_proc()
403 remove_proc_entry("node", desc->dir); in unregister_irq_proc()
409 remove_proc_entry("spurious", desc->dir); in unregister_irq_proc()
[all …]
/openbmc/linux/arch/powerpc/platforms/cell/spufs/
H A Dinode.c150 inode_lock(d_inode(dir)); in spufs_prune_dir()
166 shrink_dcache_parent(dir); in spufs_prune_dir()
167 inode_unlock(d_inode(dir)); in spufs_prune_dir()
175 spufs_prune_dir(dir); in spufs_rmdir()
176 d_drop(dir); in spufs_rmdir()
204 struct dentry *dir; in spufs_dir_close() local
207 dir = file->f_path.dentry; in spufs_dir_close()
255 inc_nlink(dir); in spufs_mkdir()
271 spufs_rmdir(dir, dentry); in spufs_mkdir()
484 inc_nlink(dir); in spufs_mkgang()
[all …]
/openbmc/linux/fs/proc/
H A Dproc_sysctl.c97 if (dir->header.parent) in sysctl_print_dir()
244 header->parent = dir; in insert_header()
1049 return &set->dir; in xlate_dir()
1071 if (IS_ERR(dir)) in sysctl_follow_link()
1304 dir = get_subdir(dir, name, namelen); in sysctl_mkdir_p()
1305 if (IS_ERR(dir)) in sysctl_mkdir_p()
1308 return dir; in sysctl_mkdir_p()
1380 dir = &set->dir; in __register_sysctl_table()
1382 dir->header.nreg++; in __register_sysctl_table()
1385 dir = sysctl_mkdir_p(dir, path); in __register_sysctl_table()
[all …]
/openbmc/linux/fs/ocfs2/
H A Dnamei.c56 struct inode *dir,
227 struct inode *dir, in ocfs2_mknod() argument
407 inc_nlink(dir); in ocfs2_mknod()
456 drop_nlink(dir); in ocfs2_mknod()
665 struct inode *dir, in ocfs2_create() argument
732 if (!dir->i_nlink) { in ocfs2_link()
1002 inode_set_mtime_to_ts(dir, inode_set_ctime_current(dir)); in ocfs2_unlink()
1004 drop_nlink(dir); in ocfs2_unlink()
1010 inc_nlink(dir); in ocfs2_unlink()
1798 struct inode *dir, in ocfs2_symlink() argument
[all …]
/openbmc/linux/include/linux/
H A Ddma-map-ops.h37 enum dma_data_direction dir, gfp_t gfp,
52 size_t size, enum dma_data_direction dir,
73 enum dma_data_direction dir);
75 int nents, enum dma_data_direction dir);
77 int nents, enum dma_data_direction dir);
279 enum dma_data_direction dir) in dma_kmalloc_safe() argument
330 enum dma_data_direction dir) in dma_kmalloc_needs_bounce() argument
368 enum dma_data_direction dir);
371 enum dma_data_direction dir) in arch_sync_dma_for_device() argument
378 enum dma_data_direction dir);
[all …]
/openbmc/linux/fs/nfs/
H A Dnfstrace.h408 __entry->dir = NFS_FILEID(dir);
452 __entry->dir = NFS_FILEID(dir);
506 __entry->dir = NFS_FILEID(dir);
545 __entry->dir = NFS_FILEID(dir);
582 __entry->dir = NFS_FILEID(dir);
618 __entry->dir = NFS_FILEID(dir);
650 __entry->dir = NFS_FILEID(dir);
688 __entry->dir = NFS_FILEID(dir);
743 __entry->dir = NFS_FILEID(dir);
778 __entry->dir = NFS_FILEID(dir);
[all …]
/openbmc/linux/arch/arm/mm/
H A Ddma-mapping-nommu.c17 enum dma_data_direction dir) in arch_sync_dma_for_device() argument
19 dmac_map_area(__va(paddr), size, dir); in arch_sync_dma_for_device()
21 if (dir == DMA_FROM_DEVICE) in arch_sync_dma_for_device()
28 enum dma_data_direction dir) in arch_sync_dma_for_cpu() argument
30 if (dir != DMA_TO_DEVICE) { in arch_sync_dma_for_cpu()
32 dmac_unmap_area(__va(paddr), size, dir); in arch_sync_dma_for_cpu()
/openbmc/phosphor-debug-collector/
H A Ddump_entry.cpp70 std::filesystem::path dir = file.parent_path() / PRESERVE; in serialize() local
73 std::filesystem::path serializePath = dir / SERIAL_FILE; in serialize()
76 if (!std::filesystem::exists(dir)) in serialize()
78 std::filesystem::create_directories(dir); in serialize()
105 std::filesystem::remove_all(dir, ec); in serialize()
114 std::filesystem::path dir = dumpPath / PRESERVE; in deserialize() local
115 if (!std::filesystem::exists(dir)) in deserialize()
119 "SERIAL_DIR", dir); in deserialize()
124 std::filesystem::path serializePath = dir / SERIAL_FILE; in deserialize()
157 std::filesystem::remove_all(dir, ec); in deserialize()

12345678910>>...120