Home
last modified time | relevance | path

Searched refs:dir (Results 301 – 325 of 3116) sorted by relevance

1...<<11121314151617181920>>...125

/openbmc/linux/tools/perf/util/
H A Dutil.c153 DIR *dir; in rm_rf_depth_pat() local
169 dir = opendir(path); in rm_rf_depth_pat()
170 if (dir == NULL) in rm_rf_depth_pat()
173 while ((d = readdir(dir)) != NULL && !ret) { in rm_rf_depth_pat()
198 closedir(dir); in rm_rf_depth_pat()
283 DIR *dir; in lsdir() local
286 dir = opendir(name); in lsdir()
287 if (!dir) in lsdir()
296 while ((d = readdir(dir)) != NULL) { in lsdir()
302 closedir(dir); in lsdir()
/openbmc/linux/arch/mips/cavium-octeon/
H A Doct_ilm.c29 static struct dentry *dir; variable
58 dir = debugfs_create_dir("oct_ilm", 0); in init_debugfs()
59 debugfs_create_file("statistics", 0222, dir, NULL, &oct_ilm_fops); in init_debugfs()
60 debugfs_create_file("reset", 0222, dir, NULL, &reset_statistics_ops); in init_debugfs()
156 debugfs_remove_recursive(dir); in oct_ilm_module_init()
163 debugfs_remove_recursive(dir); in oct_ilm_module_exit()
/openbmc/linux/drivers/scsi/snic/
H A Dvnic_devcmd.h48 #define _CMDCF(dir, flags, vtype, nr) \ argument
49 (((dir) << _CMD_DIRSHIFT) | \
53 #define _CMDC(dir, vtype, nr) _CMDCF(dir, 0, vtype, nr) argument
54 #define _CMDCNW(dir, vtype, nr) _CMDCF(dir, _CMD_FLAGS_NOWAIT, vtype, nr) argument
/openbmc/linux/fs/hfs/
H A Dinode.c189 struct super_block *sb = dir->i_sb; in hfs_new_inode()
211 if (dir->i_ino == HFS_ROOT_CNID) in hfs_new_inode()
220 if (dir->i_ino == HFS_ROOT_CNID) in hfs_new_inode()
373 hfs_m_to_utime(rec->dir.MdDat)); in hfs_read_inode()
400 cnid = be32_to_cpu(rec->dir.DirID); in hfs_iget()
530 inode = HFS_I(dir)->rsrc_inode; in hfs_file_lookup()
534 inode = new_inode(dir->i_sb); in hfs_file_lookup()
543 fd.search_key->cat = HFS_I(dir)->cat_key; in hfs_file_lookup()
554 HFS_I(inode)->rsrc_inode = dir; in hfs_file_lookup()
555 HFS_I(dir)->rsrc_inode = inode; in hfs_file_lookup()
[all …]
/openbmc/linux/arch/arm/mm/
H A Ddma-mapping.c655 op(vaddr + offset, len, dir); in dma_cache_maint_page()
660 op(vaddr + offset, len, dir); in dma_cache_maint_page()
666 op(vaddr, len, dir); in dma_cache_maint_page()
687 if (dir == DMA_FROM_DEVICE) { in __dma_page_cpu_to_dev()
702 if (dir != DMA_TO_DEVICE) { in __dma_page_dev_to_cpu()
740 switch (dir) { in __dma_info_to_prot()
1314 s->length, dir); in arm_iommu_unmap_sg()
1797 enum dma_data_direction dir) in arch_sync_dma_for_device() argument
1800 size, dir); in arch_sync_dma_for_device()
1804 enum dma_data_direction dir) in arch_sync_dma_for_cpu() argument
[all …]
/openbmc/linux/drivers/iio/dummy/
H A Diio_simple_dummy.h57 enum iio_event_direction dir);
62 enum iio_event_direction dir,
68 enum iio_event_direction dir,
75 enum iio_event_direction dir,
/openbmc/linux/fs/autofs/
H A Droot.c506 sbi = autofs_sbi(dir->i_sb); in autofs_lookup()
567 struct inode *dir, struct dentry *dentry, in autofs_dir_symlink() argument
603 dir->i_mtime = inode_set_ctime_current(dir); in autofs_dir_symlink()
625 struct autofs_sb_info *sbi = autofs_sbi(dir->i_sb); in autofs_dir_unlink()
636 dir->i_mtime = inode_set_ctime_current(dir); in autofs_dir_unlink()
694 struct autofs_sb_info *sbi = autofs_sbi(dir->i_sb); in autofs_dir_rmdir()
717 if (dir->i_nlink) in autofs_dir_rmdir()
718 drop_nlink(dir); in autofs_dir_rmdir()
724 struct inode *dir, struct dentry *dentry, in autofs_dir_mkdir() argument
751 inc_nlink(dir); in autofs_dir_mkdir()
[all …]
/openbmc/linux/drivers/iio/light/
H A Dus5182d.c172 .dir = IIO_EV_DIR_RISING,
178 .dir = IIO_EV_DIR_FALLING,
525 if (dir == IIO_EV_DIR_FALLING) in us5182d_setup_prox()
528 else if (dir == IIO_EV_DIR_RISING) in us5182d_setup_prox()
542 switch (dir) { in us5182d_read_thresh()
571 switch (dir) { in us5182d_write_thresh()
604 enum iio_event_direction dir) in us5182d_read_event_config() argument
609 switch (dir) { in us5182d_read_event_config()
630 enum iio_event_direction dir, int state) in us5182d_write_event_config() argument
638 switch (dir) { in us5182d_write_event_config()
[all …]
/openbmc/linux/kernel/trace/
H A Dtrace_events.c971 kfree(dir); in __put_system_dir()
983 if (!dir) in remove_subsystem()
1817 dir = kzalloc(sizeof(*dir), GFP_KERNEL); in system_tr_open()
1818 if (!dir) in system_tr_open()
1823 kfree(dir); in system_tr_open()
1826 dir->tr = tr; in system_tr_open()
1846 kfree(dir); in subsystem_release()
2371 dir = kmalloc(sizeof(*dir), GFP_KERNEL); in event_subsystem_dir()
2372 if (!dir) in event_subsystem_dir()
2395 dir->ei = ei; in event_subsystem_dir()
[all …]
/openbmc/u-boot/fs/btrfs/
H A Dctree.c200 static int jump_leaf(struct btrfs_path *path, int dir) in jump_leaf() argument
206 dir = dir >= 0 ? 1 : -1; in jump_leaf()
215 if ((dir > 0 && slot + dir >= p.nodes[level]->header.nritems) in jump_leaf()
216 || (dir < 0 && !slot)) in jump_leaf()
225 p.slots[level] = slot + dir; in jump_leaf()
241 if (dir > 0) in jump_leaf()
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dcirrus,cs35l45.yaml60 gpio-dir:
71 GPIO level. Valid only when 'gpio-ctrl' is 1 and 'gpio-dir' is 0
80 GPIO level. Valid only when 'gpio-ctrl' is 1 and 'gpio-dir' is 0
90 and 'gpio-dir' is 0
102 1 = Pin acts as a GPIO, direction controlled by 'gpio-dir'
107 1 = Pin acts as a GPIO, direction controlled by 'gpio-dir'
115 1 = Pin acts as a GPIO, direction controlled by 'gpio-dir'
153 gpio-dir = <0x1>;
/openbmc/u-boot/fs/ext4/
H A Dext4_common.c449 if (dir->namelen % 4 != 0) in check_void_in_dentry()
453 dir->namelen + padding_factor; in check_void_in_dentry()
486 struct ext2_dirent *dir; in ext4fs_update_parent_dentry() local
589 dir = (struct ext2_dirent *)((char *)dir + templength); in ext4fs_update_parent_dentry()
595 dir = (struct ext2_dirent *)((char *)dir + templength); in ext4fs_update_parent_dentry()
611 temp_dir = (char *)dir; in ext4fs_update_parent_dentry()
635 struct ext2_dirent *dir = NULL; in search_dir() local
673 if (dir->inode && (strlen(dirname) == dir->namelen) && in search_dir()
891 previous_dir = dir; in unlink_filename()
899 if (dir->inode && (strlen(filename) == dir->namelen) && in unlink_filename()
[all …]
/openbmc/linux/tools/perf/arch/x86/util/
H A Dpmu.c77 DIR *dir; in setup_pmu_alias_list() local
88 dir = fdopendir(dirfd); in setup_pmu_alias_list()
89 if (!dir) in setup_pmu_alias_list()
92 while ((dent = readdir(dir))) { in setup_pmu_alias_list()
125 closedir(dir); in setup_pmu_alias_list()
/openbmc/linux/drivers/gpu/drm/omapdrm/
H A Domap_gem_dmabuf.c22 enum dma_data_direction dir) in omap_gem_map_dma_buf() argument
26 sg = omap_gem_get_sg(obj, dir); in omap_gem_map_dma_buf()
34 struct sg_table *sg, enum dma_data_direction dir) in omap_gem_unmap_dma_buf() argument
41 enum dma_data_direction dir) in omap_gem_dmabuf_begin_cpu_access() argument
56 enum dma_data_direction dir) in omap_gem_dmabuf_end_cpu_access() argument
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_64_vio.c387 if (dir == DMA_NONE) in kvmppc_tce_validate()
487 &dir))) in kvmppc_tce_iommu_do_unmap()
490 if (dir == DMA_NONE) in kvmppc_tce_iommu_do_unmap()
521 enum dma_data_direction dir) in kvmppc_tce_iommu_do_map() argument
549 if (dir != DMA_NONE) in kvmppc_tce_iommu_do_map()
560 enum dma_data_direction dir) in kvmppc_tce_iommu_map() argument
570 io_entry + i, ua + pgoff, dir); in kvmppc_tce_iommu_map()
587 enum dma_data_direction dir; in kvmppc_h_put_tce() local
606 dir = iommu_tce_direction(tce); in kvmppc_h_put_tce()
616 if (dir == DMA_NONE) in kvmppc_h_put_tce()
[all …]
/openbmc/qemu/crypto/
H A Dtrace-events8 qcrypto_tls_creds_anon_load(void *creds, const char *dir) "TLS creds anon load creds=%p dir=%s"
11 qcrypto_tls_creds_psk_load(void *creds, const char *dir) "TLS creds psk load creds=%p dir=%s"
14 qcrypto_tls_creds_x509_load(void *creds, const char *dir) "TLS creds x509 load creds=%p dir=%s"
/openbmc/linux/arch/csky/mm/
H A Ddma-mapping.c59 enum dma_data_direction dir) in arch_sync_dma_for_device() argument
61 switch (dir) { in arch_sync_dma_for_device()
75 enum dma_data_direction dir) in arch_sync_dma_for_cpu() argument
77 switch (dir) { in arch_sync_dma_for_cpu()
/openbmc/linux/drivers/dma/
H A Dste_dma40_ll.c34 if (cfg->dir == DMA_MEM_TO_DEV || in d40_log_cfg()
35 cfg->dir == DMA_MEM_TO_MEM) in d40_log_cfg()
39 if (cfg->dir == DMA_DEV_TO_MEM || in d40_log_cfg()
40 cfg->dir == DMA_MEM_TO_MEM) in d40_log_cfg()
44 if (cfg->dir == DMA_DEV_TO_MEM || in d40_log_cfg()
45 cfg->dir == DMA_DEV_TO_DEV) in d40_log_cfg()
49 if (cfg->dir == DMA_MEM_TO_DEV || in d40_log_cfg()
50 cfg->dir == DMA_DEV_TO_DEV) in d40_log_cfg()
73 if ((cfg->dir == DMA_DEV_TO_MEM) || in d40_phy_cfg()
74 (cfg->dir == DMA_DEV_TO_DEV)) { in d40_phy_cfg()
[all …]
/openbmc/linux/fs/btrfs/
H A Dexport.c149 struct inode *dir = d_inode(child); in btrfs_get_parent() local
150 struct btrfs_fs_info *fs_info = btrfs_sb(dir->i_sb); in btrfs_get_parent()
151 struct btrfs_root *root = BTRFS_I(dir)->root; in btrfs_get_parent()
163 if (btrfs_ino(BTRFS_I(dir)) == BTRFS_FIRST_FREE_OBJECTID) { in btrfs_get_parent()
169 key.objectid = btrfs_ino(BTRFS_I(dir)); in btrfs_get_parent()
224 struct inode *dir = d_inode(parent); in btrfs_get_name() local
227 struct btrfs_root *root = BTRFS_I(dir)->root; in btrfs_get_name()
237 if (!S_ISDIR(dir->i_mode)) in btrfs_get_name()
253 key.offset = btrfs_ino(BTRFS_I(dir)); in btrfs_get_name()
/openbmc/phosphor-logging/test/
H A Dserialization_tests.hpp31 TestSerialization() : dir(fs::path(mkdtemp(tmplt))) {} in TestSerialization()
35 fs::remove_all(dir); in ~TestSerialization()
38 fs::path dir; member in phosphor::logging::test::TestSerialization
/openbmc/linux/tools/thermal/thermometer/
H A DMakefile5 srctree := $(patsubst %/,%,$(dir $(CURDIR)))
6 srctree := $(patsubst %/,%,$(dir $(srctree)))
7 srctree := $(patsubst %/,%,$(dir $(srctree)))
/openbmc/linux/arch/mips/kernel/
H A Dgpio_txx9.c49 __raw_writel(__raw_readl(&txx9_pioptr->dir) & ~(1 << offset), in txx9_gpio_dir_in()
50 &txx9_pioptr->dir); in txx9_gpio_dir_in()
62 __raw_writel(__raw_readl(&txx9_pioptr->dir) | (1 << offset), in txx9_gpio_dir_out()
63 &txx9_pioptr->dir); in txx9_gpio_dir_out()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/openlldp/files/
H A D0001-autotools-Add-include-path-to-generated-version.h.patch6 When the build dir isn't the same as source dir it fails to compile
8 dir. Include the path to it in AM_CPPFLAGS.
26 +# Required for the generated version.h when build dir is not the same as srcdir.
/openbmc/linux/arch/sh/mm/
H A Dalignment.c171 struct proc_dir_entry *dir, *res; in alignment_init() local
173 dir = proc_mkdir("cpu", NULL); in alignment_init()
174 if (!dir) in alignment_init()
177 res = proc_create_data("alignment", S_IWUSR | S_IRUGO, dir, in alignment_init()
182 res = proc_create_data("kernel_alignment", S_IWUSR | S_IRUGO, dir, in alignment_init()
/openbmc/linux/fs/proc/
H A Dgeneric.c58 return rb_entry_safe(rb_first(&dir->subdir), struct proc_dir_entry, in pde_subdir_first()
72 struct rb_node *node = dir->subdir.rb_node; in pde_subdir_find()
90 static bool pde_subdir_insert(struct proc_dir_entry *dir, in pde_subdir_insert() argument
93 struct rb_root *root = &dir->subdir; in pde_subdir_insert()
253 inode = proc_get_inode(dir->i_sb, de); in proc_lookup_de()
266 struct proc_fs_info *fs_info = proc_sb_info(dir->i_sb); in proc_lookup()
271 return proc_lookup_de(dir, dentry, PDE(dir)); in proc_lookup()
373 dp->parent = dir; in proc_register()
374 if (pde_subdir_insert(dir, dp) == false) { in proc_register()
376 dir->name, dp->name); in proc_register()
[all …]

1...<<11121314151617181920>>...125