/openbmc/linux/fs/hpfs/ |
H A D | dir.c | 213 hpfs_lock(dir->i_sb); in hpfs_lookup() 216 hpfs_unlock(dir->i_sb); in hpfs_lookup() 226 de = map_dirent(dir, hpfs_i(dir)->i_dno, name, len, NULL, &qbh); in hpfs_lookup() 244 result = iget_locked(dir->i_sb, ino); in hpfs_lookup() 246 hpfs_error(dir->i_sb, "hpfs_lookup: can't get inode"); in hpfs_lookup() 254 else if (le32_to_cpu(de->ea_size) && hpfs_sb(dir->i_sb)->sb_eas) in hpfs_lookup() 266 if (!de->directory) hpfs_result->i_parent_dir = dir->i_ino; in hpfs_lookup() 268 if (de->has_acl || de->has_xtd_perm) if (!sb_rdonly(dir->i_sb)) { in hpfs_lookup() 281 time64_t csec = local_to_gmt(dir->i_sb, le32_to_cpu(de->creation_date)); in hpfs_lookup() 286 result->i_atime.tv_sec = local_to_gmt(dir->i_sb, le32_to_cpu(de->read_date)); in hpfs_lookup() [all …]
|
/openbmc/linux/drivers/xen/ |
H A D | grant-dma-ops.c | 147 enum dma_data_direction dir, in xen_grant_dma_alloc_pages() argument 161 enum dma_data_direction dir) in xen_grant_dma_free_pages() argument 168 enum dma_data_direction dir, in xen_grant_dma_map_page() argument 178 if (WARN_ON(dir == DMA_NONE)) in xen_grant_dma_map_page() 194 dir == DMA_TO_DEVICE); in xen_grant_dma_map_page() 211 if (WARN_ON(dir == DMA_NONE)) in xen_grant_dma_unmap_page() 235 int nents, enum dma_data_direction dir, in xen_grant_dma_unmap_sg() argument 241 if (WARN_ON(dir == DMA_NONE)) in xen_grant_dma_unmap_sg() 250 int nents, enum dma_data_direction dir, in xen_grant_dma_map_sg() argument 256 if (WARN_ON(dir == DMA_NONE)) in xen_grant_dma_map_sg() [all …]
|
/openbmc/linux/drivers/xen/xenbus/ |
H A D | xenbus_xs.c | 428 path = join(dir, node); in xenbus_directory() 443 const char *dir, const char *node) in xenbus_exists() argument 466 path = join(dir, node); in xenbus_read() 486 path = join(dir, node); in xenbus_write() 503 const char *dir, const char *node) in xenbus_mkdir() argument 508 path = join(dir, node); in xenbus_mkdir() 524 path = join(dir, node); in xenbus_rm() 575 val = xenbus_read(t, dir, node, NULL); in xenbus_scanf() 620 ret = xenbus_write(t, dir, node, buf); in xenbus_printf() 635 va_start(ap, dir); in xenbus_gather() [all …]
|
/openbmc/linux/drivers/dma/dw-edma/ |
H A D | dw-edma-v0-debugfs.c | 40 #define CTX_REGISTER(dw, name, dir, ch) \ argument 41 { dw, #name, REGS_CH_ADDR(dw, name, dir, ch), dir, ch } 67 enum dw_edma_dir dir; member 123 CTX_REGISTER(dw, ch_control1, dir, ch), in dw_edma_debugfs_regs_ch() 124 CTX_REGISTER(dw, ch_control2, dir, ch), in dw_edma_debugfs_regs_ch() 126 CTX_REGISTER(dw, sar.lsb, dir, ch), in dw_edma_debugfs_regs_ch() 127 CTX_REGISTER(dw, sar.msb, dir, ch), in dw_edma_debugfs_regs_ch() 128 CTX_REGISTER(dw, dar.lsb, dir, ch), in dw_edma_debugfs_regs_ch() 129 CTX_REGISTER(dw, dar.msb, dir, ch), in dw_edma_debugfs_regs_ch() 130 CTX_REGISTER(dw, llp.lsb, dir, ch), in dw_edma_debugfs_regs_ch() [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | tracepoint.h | 114 TP_PROTO(u8 dir, void *data), 115 TP_ARGS(dir, data), 117 __field(u8, dir) 119 __dynamic_array(u8, hdr, dir == SDPCM_GLOM ? 20 : 12) 122 memcpy(__get_dynamic_array(hdr), data, dir == SDPCM_GLOM ? 20 : 12); 124 __entry->dir = dir; 127 __entry->dir == SDPCM_RX ? "RX" : "TX",
|
/openbmc/linux/lib/ |
H A D | fault-inject-usercopy.c | 21 struct dentry *dir; in fail_usercopy_debugfs() local 23 dir = fault_create_debugfs_attr("fail_usercopy", NULL, in fail_usercopy_debugfs() 25 if (IS_ERR(dir)) in fail_usercopy_debugfs() 26 return PTR_ERR(dir); in fail_usercopy_debugfs()
|
/openbmc/linux/fs/notify/ |
H A D | fsnotify.c | 243 struct inode *dir, const struct qstr *name, in fsnotify_handle_inode_event() argument 253 if (WARN_ON_ONCE(!inode && !dir)) in fsnotify_handle_inode_event() 269 struct inode *dir, const struct qstr *name, in fsnotify_handle_event() argument 288 if (dir != moved->d_parent->d_inode) in fsnotify_handle_event() 294 data, data_type, dir, name, 0); in fsnotify_handle_event() 312 dir = NULL; in fsnotify_handle_event() 317 dir, name, cookie); in fsnotify_handle_event() 321 struct inode *dir, const struct qstr *file_name, in send_to_group() argument 354 data, data_type, dir, cookie); in send_to_group() 499 inode = dir; in fsnotify() [all …]
|
/openbmc/linux/drivers/iio/temperature/ |
H A D | tmp007.c | 227 if (dir == IIO_EV_DIR_RISING) in tmp007_write_event_config() 233 if (dir == IIO_EV_DIR_RISING) in tmp007_write_event_config() 259 enum iio_event_direction dir) in tmp007_read_event_config() argument 266 if (dir == IIO_EV_DIR_RISING) in tmp007_read_event_config() 272 if (dir == IIO_EV_DIR_RISING) in tmp007_read_event_config() 295 if (dir == IIO_EV_DIR_RISING) in tmp007_read_thresh() 301 if (dir == IIO_EV_DIR_RISING) in tmp007_read_thresh() 367 .dir = IIO_EV_DIR_RISING, 373 .dir = IIO_EV_DIR_FALLING, 382 .dir = IIO_EV_DIR_RISING, [all …]
|
/openbmc/linux/arch/mips/jazz/ |
H A D | jazzdma.c | 531 arch_sync_dma_for_device(phys, size, dir); in jazz_dma_map_page() 539 arch_sync_dma_for_cpu(vdma_log2phys(dma_addr), size, dir); in jazz_dma_unmap_page() 544 int nents, enum dma_data_direction dir, unsigned long attrs) in jazz_dma_map_sg() argument 552 dir); in jazz_dma_map_sg() 570 arch_sync_dma_for_cpu(sg_phys(sg), sg->length, dir); in jazz_dma_unmap_sg() 576 dma_addr_t addr, size_t size, enum dma_data_direction dir) in jazz_dma_sync_single_for_device() argument 578 arch_sync_dma_for_device(vdma_log2phys(addr), size, dir); in jazz_dma_sync_single_for_device() 582 dma_addr_t addr, size_t size, enum dma_data_direction dir) in jazz_dma_sync_single_for_cpu() argument 584 arch_sync_dma_for_cpu(vdma_log2phys(addr), size, dir); in jazz_dma_sync_single_for_cpu() 594 arch_sync_dma_for_device(sg_phys(sg), sg->length, dir); in jazz_dma_sync_sg_for_device() [all …]
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | file_io_type_lid.hpp | 37 std::string dir = permSide ? LID_ALTERNATE_DIR : LID_RUNNING_DIR; in LidHandler() local 51 lidPath = std::move(dir) + '/' + lidName; in LidHandler() 66 std::string dir = LID_ALTERNATE_DIR; in constructLIDPath() local 69 dir = LID_ALTERNATE_PATCH_DIR; in constructLIDPath() 76 dir = LID_RUNNING_PATCH_DIR; in constructLIDPath() 80 dir = LID_RUNNING_DIR; in constructLIDPath() 92 lidPath = std::move(dir) + '/' + lidName; in constructLIDPath() 112 std::string dir = LID_STAGING_DIR; in writeFromMemory() local 116 lidPath = std::move(dir) + '/' + lidName; in writeFromMemory() 195 std::string dir = LID_STAGING_DIR; in write() local [all …]
|
/openbmc/openbmc/poky/scripts/lib/wic/canned-wks/ |
H A D | directdisk-multi-rootfs.wks | 8 # --rootfs-dir rootfs1=core-image-minimal 9 # --rootfs-dir rootfs2=core-image-minimal-dev 13 # --rootfs-dir rootfs1=tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/ 14 # --rootfs-dir rootfs2=tmp/work/qemux86_64-poky-linux/core-image-minimal-dev/1.0-r0/rootfs/ 19 part / --source rootfs --rootfs-dir=rootfs1 --ondisk sda --fstype=ext4 --label platform --align 1024 20 part /rescue --source rootfs --rootfs-dir=rootfs2 --ondisk sda --fstype=ext4 --label secondary --al…
|
/openbmc/linux/drivers/regulator/ |
H A D | dbx500-prcmu.c | 69 struct dentry *dir; member 117 rdebug.dir = debugfs_create_dir("ux500-regulator", NULL); in ux500_regulator_debug_init() 120 debugfs_create_file("status", 0444, rdebug.dir, &pdev->dev, in ux500_regulator_debug_init() 124 debugfs_create_file("power-state-count", 0444, rdebug.dir, in ux500_regulator_debug_init() 143 debugfs_remove_recursive(rdebug.dir); in ux500_regulator_debug_init() 149 debugfs_remove_recursive(rdebug.dir); in ux500_regulator_debug_exit()
|
/openbmc/openbmc/poky/meta/classes-global/ |
H A D | utility-tasks.bbclass | 33 dir = d.expand("${WORKDIR}") 34 bb.note("Removing " + dir) 35 oe.path.remove(dir) 37 dir = "%s.*" % d.getVar('STAMP') 38 bb.note("Removing " + dir) 39 oe.path.remove(dir)
|
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/ |
H A D | 0005-add-missing-FTW_-macros-for-musl.patch | 15 src/test/test-recurse-dir.c | 1 + 30 diff --git a/src/test/test-recurse-dir.c b/src/test/test-recurse-dir.c 32 --- a/src/test/test-recurse-dir.c 33 +++ b/src/test/test-recurse-dir.c 35 #include "recurse-dir.h"
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/ |
H A D | 0005-add-missing-FTW_-macros-for-musl.patch | 15 src/test/test-recurse-dir.c | 1 + 30 diff --git a/src/test/test-recurse-dir.c b/src/test/test-recurse-dir.c 32 --- a/src/test/test-recurse-dir.c 33 +++ b/src/test/test-recurse-dir.c 35 #include "recurse-dir.h"
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_fs.c | 55 struct inode *inode = new_inode(dir->i_sb); in qibfs_mknod() 73 inc_nlink(dir); in qibfs_mknod() 360 struct dentry *dir, *tmp; in add_cntr_files() local 374 ret = create_file("counters", S_IFREG|S_IRUGO, dir, &tmp, in add_cntr_files() 400 ret = create_file(fname, S_IFREG|S_IRUGO, dir, &tmp, in add_cntr_files() 410 ret = create_file(fname, S_IFREG|S_IRUGO, dir, &tmp, in add_cntr_files() 431 struct dentry *dir; in remove_device_files() local 437 if (IS_ERR(dir)) { in remove_device_files() 439 return PTR_ERR(dir); in remove_device_files() 441 simple_recursive_removal(dir, NULL); in remove_device_files() [all …]
|
/openbmc/linux/sound/usb/line6/ |
H A D | pcm.c | 304 int ret = 0, dir; in line6_pcm_acquire() local 308 for (dir = 0; dir < 2; dir++) { in line6_pcm_acquire() 309 pstr = get_stream(line6pcm, dir); in line6_pcm_acquire() 310 ret = line6_buffer_acquire(line6pcm, pstr, dir, type); in line6_pcm_acquire() 317 for (dir = 0; dir < 2; dir++) { in line6_pcm_acquire() 318 ret = line6_stream_start(line6pcm, dir, type); in line6_pcm_acquire() 335 int dir; in line6_pcm_release() local 338 for (dir = 0; dir < 2; dir++) in line6_pcm_release() 339 line6_stream_stop(line6pcm, dir, type); in line6_pcm_release() 340 for (dir = 0; dir < 2; dir++) { in line6_pcm_release() [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-f7188x.c | 293 u8 dir; in f7188x_gpio_get_direction() local 305 dir = ~dir; in f7188x_gpio_get_direction() 307 if (dir & BIT(offset)) in f7188x_gpio_get_direction() 318 u8 dir; in f7188x_gpio_direction_in() local 328 dir |= BIT(offset); in f7188x_gpio_direction_in() 330 dir &= ~BIT(offset); in f7188x_gpio_direction_in() 343 u8 dir, data; in f7188x_gpio_get() local 351 dir = !!(dir & BIT(offset)); in f7188x_gpio_get() 368 u8 dir, data_out; in f7188x_gpio_direction_out() local 384 dir &= ~BIT(offset); in f7188x_gpio_direction_out() [all …]
|
/openbmc/linux/arch/microblaze/kernel/ |
H A D | dma.c | 34 enum dma_data_direction dir) in arch_sync_dma_for_device() argument 36 __dma_sync(paddr, size, dir); in arch_sync_dma_for_device() 40 enum dma_data_direction dir) in arch_sync_dma_for_cpu() argument 42 __dma_sync(paddr, size, dir); in arch_sync_dma_for_cpu()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_iops.c | 81 struct inode *dir, in xfs_inode_init_security() argument 116 struct inode *dir, in xfs_cleanup_inode() argument 147 struct inode *dir, in xfs_create_need_xattr() argument 166 struct inode *dir, in xfs_generic_create() argument 259 struct inode *dir, in xfs_vn_mknod() argument 270 struct inode *dir, in xfs_vn_create() argument 281 struct inode *dir, in xfs_vn_mkdir() argument 290 struct inode *dir, in xfs_vn_lookup() argument 315 struct inode *dir, in xfs_vn_ci_lookup() argument 356 struct inode *dir, in xfs_vn_link() argument [all …]
|
/openbmc/linux/fs/ |
H A D | bad_inode.c | 31 struct inode *dir, struct dentry *dentry, in bad_inode_create() argument 37 static struct dentry *bad_inode_lookup(struct inode *dir, in bad_inode_lookup() argument 43 static int bad_inode_link (struct dentry *old_dentry, struct inode *dir, in bad_inode_link() argument 49 static int bad_inode_unlink(struct inode *dir, struct dentry *dentry) in bad_inode_unlink() argument 55 struct inode *dir, struct dentry *dentry, in bad_inode_symlink() argument 61 static int bad_inode_mkdir(struct mnt_idmap *idmap, struct inode *dir, in bad_inode_mkdir() argument 67 static int bad_inode_rmdir (struct inode *dir, struct dentry *dentry) in bad_inode_rmdir() argument 72 static int bad_inode_mknod(struct mnt_idmap *idmap, struct inode *dir, in bad_inode_mknod() argument
|
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A D | debugfs.c | 127 struct dentry *dir; in mt7601u_init_debugfs() local 129 dir = debugfs_create_dir("mt7601u", dev->hw->wiphy->debugfsdir); in mt7601u_init_debugfs() 131 debugfs_create_u8("temperature", 0400, dir, &dev->raw_temp); in mt7601u_init_debugfs() 132 debugfs_create_u32("temp_mode", 0400, dir, &dev->temp_mode); in mt7601u_init_debugfs() 134 debugfs_create_u32("regidx", 0600, dir, &dev->debugfs_reg); in mt7601u_init_debugfs() 135 debugfs_create_file("regval", 0600, dir, dev, &fops_regval); in mt7601u_init_debugfs() 136 debugfs_create_file("ampdu_stat", 0400, dir, dev, &mt7601u_ampdu_stat_fops); in mt7601u_init_debugfs() 137 debugfs_create_file("eeprom_param", 0400, dir, dev, &mt7601u_eeprom_param_fops); in mt7601u_init_debugfs()
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | comedi_8255.c | 37 int (*io)(struct comedi_device *dev, int dir, int port, int data, 42 int dir, int port, int data, unsigned long regbase) in subdev_8255_io() argument 44 if (dir) { in subdev_8255_io() 52 int dir, int port, int data, unsigned long regbase) in subdev_8255_mmio() argument 54 if (dir) { in subdev_8255_mmio() 144 int dir, int port, int data, in __subdev_8255_init() argument 203 int (*io)(struct comedi_device *dev, int dir, int port, in subdev_8255_init() argument 238 int (*io)(struct comedi_device *dev, int dir, int port, in subdev_8255_mm_init() argument
|
/openbmc/linux/drivers/nvme/host/ |
H A D | fault_inject.c | 21 struct dentry *dir, *parent; in nvme_fault_inject_init() local 36 dir = fault_create_debugfs_attr("fault_inject", parent, attr); in nvme_fault_inject_init() 37 if (IS_ERR(dir)) { in nvme_fault_inject_init() 47 debugfs_create_x16("status", 0600, dir, &fault_inj->status); in nvme_fault_inject_init() 48 debugfs_create_bool("dont_retry", 0600, dir, &fault_inj->dont_retry); in nvme_fault_inject_init()
|
/openbmc/linux/fs/btrfs/ |
H A D | dir-item.h | 6 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir, 9 const struct fscrypt_str *name, struct btrfs_inode *dir, 13 struct btrfs_path *path, u64 dir, 18 struct btrfs_path *path, u64 dir, 34 struct btrfs_path *path, u64 dir,
|