/openbmc/linux/fs/proc/ |
H A D | generic.c | 58 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 …]
|
/openbmc/linux/arch/sh/mm/ |
H A D | alignment.c | 171 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/drivers/soc/fsl/qe/ |
H A D | qe_io.c | 47 void __par_io_config_pin(struct qe_pio_regs __iomem *par_io, u8 pin, int dir, in __par_io_config_pin() argument 75 new_mask2bits = (u32) (dir << (QE_PIO_PINS - in __par_io_config_pin() 108 int par_io_config_pin(u8 port, u8 pin, int dir, int open_drain, in par_io_config_pin() argument 114 __par_io_config_pin(&par_io[port], pin, dir, open_drain, assignment, in par_io_config_pin() 173 int dir = be32_to_cpu(pio_map[2]); in par_io_of_config() local 178 par_io_config_pin(port, pin, dir, open_drain, in par_io_of_config()
|
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-webadmin/webmin/files/ |
H A D | init-exclude.patch | 60 -local($dir, $f, @stbuf, @rv); 61 +local($dir, $f, @stbuf, @rv, @exclude); 62 $dir = $config{init_dir}; 64 opendir(DIR, $dir); 68 -d "$dir/$f" || $f =~ /\.swp$/ || $f eq "skeleton" || 73 if (@stbuf = stat("$dir/$f")) {
|
/openbmc/linux/drivers/staging/rtl8192u/ |
H A D | r8192U_debugfs.c | 155 struct dentry *dir = debugfs_create_dir(dev->name, parent_dir); in rtl8192_debugfs_init_one() local 157 debugfs_create_file("stats-rx", 0444, dir, dev, &rtl8192_usb_stats_rx_fops); in rtl8192_debugfs_init_one() 158 debugfs_create_file("stats-tx", 0444, dir, dev, &rtl8192_usb_stats_tx_fops); in rtl8192_debugfs_init_one() 159 debugfs_create_file("stats-ap", 0444, dir, dev, &rtl8192_usb_stats_ap_fops); in rtl8192_debugfs_init_one() 160 debugfs_create_file("registers", 0444, dir, dev, &rtl8192_usb_registers_fops); in rtl8192_debugfs_init_one() 162 priv->debugfs_dir = dir; in rtl8192_debugfs_init_one()
|
/openbmc/phosphor-bmc-code-mgmt/ |
H A D | meson.options | 51 'img-upload-dir', type: 'string', 63 'media-dir', type: 'string', 65 description: 'The base dir where all read-only partitions are mounted.', 93 'sync-list-dir-path', type: 'string', 126 'alt-rofs-dir', type: 'string', 128 description: 'The base dir where all read-only partitions are mounted.', 132 'alt-rwfs-dir', type: 'string', 134 description: 'The dir for alt-rwfs partition.',
|
/openbmc/qemu/contrib/vhost-user-scsi/ |
H A D | vhost-user-scsi.c | 92 static struct scsi_task *scsi_task_new(int cdb_len, uint8_t *cdb, int dir, in scsi_task_new() argument 103 task->xfer_dir = dir; in scsi_task_new() 131 uint32_t dir; in handle_cmd_sync() local 162 dir = SCSI_XFER_NONE; in handle_cmd_sync() 164 dir = SCSI_XFER_WRITE; in handle_cmd_sync() 169 dir = SCSI_XFER_READ; in handle_cmd_sync() 175 task = scsi_task_new(cdb_len, req->cdb, dir, len); in handle_cmd_sync() 177 if (dir == SCSI_XFER_WRITE) { in handle_cmd_sync() 180 } else if (dir == SCSI_XFER_READ) { in handle_cmd_sync() 186 cdb_len, dir, task); in handle_cmd_sync()
|
/openbmc/linux/scripts/ |
H A D | sphinx-pre-install | 164 foreach my $dir (split(/:/, $ENV{PATH})) { 165 next if ($dir =~ m,($cur_dir)/sphinx,); 166 return "$dir/python3" if(-x "$dir/python3"); 168 foreach my $dir (split(/:/, $ENV{PATH})) { 169 next if ($dir =~ m,($cur_dir)/sphinx,); 170 return "$dir/python" if(-x "$dir/python"); 350 foreach my $dir(@path) { 351 my $name = $dir.'/'.$file;
|
/openbmc/linux/fs/affs/ |
H A D | affs.h | 138 extern int affs_remove_hash(struct inode *dir, struct buffer_head *rem_bh); 168 extern struct dentry *affs_lookup(struct inode *dir, struct dentry *dentry, unsigned int); 169 extern int affs_unlink(struct inode *dir, struct dentry *dentry); 170 extern int affs_create(struct mnt_idmap *idmap, struct inode *dir, 172 extern int affs_mkdir(struct mnt_idmap *idmap, struct inode *dir, 174 extern int affs_rmdir(struct inode *dir, struct dentry *dentry); 175 extern int affs_link(struct dentry *olddentry, struct inode *dir, 178 struct inode *dir, struct dentry *dentry, 187 extern struct inode *affs_new_inode(struct inode *dir); 195 extern int affs_add_entry(struct inode *dir, struct inode *inode,
|
H A D | inode.c | 294 affs_new_inode(struct inode *dir) in affs_new_inode() argument 296 struct super_block *sb = dir->i_sb; in affs_new_inode() 304 if (!(block = affs_alloc_block(dir, dir->i_ino))) in affs_new_inode() 351 affs_add_entry(struct inode *dir, struct inode *inode, struct dentry *dentry, s32 type) in affs_add_entry() argument 353 struct super_block *sb = dir->i_sb; in affs_add_entry() 360 dir->i_ino, inode->i_ino, dentry, type); in affs_add_entry() 372 block = affs_alloc_block(dir, dir->i_ino); in affs_add_entry() 389 AFFS_TAIL(sb, bh)->parent = cpu_to_be32(dir->i_ino); in affs_add_entry() 406 affs_lock_dir(dir); in affs_add_entry() 407 retval = affs_insert_hash(dir, bh); in affs_add_entry() [all …]
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | devlink_lib.sh | 221 local dir=$1; shift 223 devlink sb tc bind show $port tc $tc type $dir -j \ 231 local dir=$1; shift 232 local key="tc_bind($port,$dir,$tc).pool_th" 234 DEVLINK_ORIG[$key]=$(devlink_tc_bind_pool_th $port $tc $dir) 241 local dir=$1; shift 245 devlink sb tc bind set $port tc $tc type $dir pool $pool th $th 252 local dir=$1; shift 253 local key="tc_bind($port,$dir,$tc).pool_th" 259 devlink sb tc bind set $port tc $tc type $dir \
|
H A D | hw_stats_l3_gre.sh | 76 local dir=$1; shift 83 a=$(hw_stats_get l3_stats $dev $dir packets) 86 hw_stats_get l3_stats $dev $dir packets) 89 log_test "Test $dir packets: $prot"
|
/openbmc/qemu/hw/arm/ |
H A D | pxa2xx_gpio.c | 40 uint32_t dir[PXA2XX_GPIO_BANKS]; member 121 ~s->ilevel[bank] & ~s->dir[bank]; in pxa2xx_gpio_set() 125 s->ilevel[bank] & ~s->dir[bank]; in pxa2xx_gpio_set() 133 if (cpu->halted && (mask & ~s->dir[bank] & pxa2xx_gpio_wake[bank])) { in pxa2xx_gpio_set() 142 level = s->olevel[i] & s->dir[i]; in pxa2xx_gpio_handler_update() 166 return s->dir[bank]; in pxa2xx_gpio_read() 191 ret = (s->olevel[bank] & s->dir[bank]) | in pxa2xx_gpio_read() 192 (s->ilevel[bank] & ~s->dir[bank]); in pxa2xx_gpio_read() 218 s->dir[bank] = value; in pxa2xx_gpio_write() 326 VMSTATE_UINT32_ARRAY(dir, PXA2xxGPIOInfo, PXA2XX_GPIO_BANKS),
|
/openbmc/linux/tools/testing/selftests/dmabuf-heaps/ |
H A D | dmabuf-heap.c | 447 struct dirent *dir; in main() local 456 while ((dir = readdir(d)) != NULL) { in main() 457 if (!strncmp(dir->d_name, ".", 2)) in main() 459 if (!strncmp(dir->d_name, "..", 3)) in main() 462 printf("Testing heap: %s\n", dir->d_name); in main() 464 ret = test_alloc_and_import(dir->d_name); in main() 468 ret = test_alloc_zeroed(dir->d_name, 4 * 1024); in main() 472 ret = test_alloc_zeroed(dir->d_name, ONE_MEG); in main() 476 ret = test_alloc_compat(dir->d_name); in main() 480 ret = test_alloc_errors(dir->d_name); in main()
|
/openbmc/qemu/scripts/ |
H A D | cleanup-trace-events.pl | 32 my $dir = dirname($in); 34 chdir($dir) or die "chdir $dir: $!";
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | pel_test.cpp | 43 return dir; in makeTempDir() 521 auto dir = makeTempDir(); in TEST_F() local 568 fs::remove_all(dir); in TEST_F() 594 auto dir = makeTempDir(); in TEST_F() local 633 fs::remove_all(dir); in TEST_F() 653 auto dir = makeTempDir(); in TEST_F() local 672 fs::remove_all(dir); in TEST_F() 739 fs::remove_all(dir); in TEST_F() 800 fs::remove_all(dir); in TEST_F() 1048 fs::remove_all(dir); in TEST_F() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-httpd/apache2/apache2/ |
H A D | 0003-apache2-do-not-export-apr-apr-util-symbols-when-usin.patch | 22 ls $$dir/*.h ; \ 25 - for dir in $(EXPORT_DIRS_APR); do \ 26 - ls $$dir/ap[ru].h $$dir/ap[ru]_*.h 2>/dev/null; \
|
/openbmc/linux/tools/power/acpi/os_specific/service_layers/ |
H A D | osunixdir.c | 50 DIR *dir; in acpi_os_open_directory() local 61 dir = opendir(dir_pathname); in acpi_os_open_directory() 62 if (!dir) { in acpi_os_open_directory() 73 external_info->dir_ptr = dir; in acpi_os_open_directory()
|
/openbmc/linux/usr/include/ |
H A D | headers_check.pl | 26 my ($dir, $arch, @files) = @ARGV; 56 $found = stat($dir . "/" . $inc); 59 $found = stat($dir . "/" . $inc); 120 my @file_paths = ($path, $dir . "/" . $path, dirname($filename) . "/" . $path);
|
/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
H A D | arm,pl18x.yaml | 105 st,sig-dir-dat0: 110 st,sig-dir-dat2: 115 st,sig-dir-dat31: 120 st,sig-dir-dat74: 125 st,sig-dir-cmd: 135 st,sig-dir: 207 st,sig-dir-dat0; 208 st,sig-dir-dat2; 209 st,sig-dir-cmd; 227 st,sig-dir-dat0; [all …]
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_comp_algs.c | 51 enum direction dir; member 91 qat_req->dir == COMPRESSION ? "comp" : "decomp", dlen); in qat_comp_resubmit() 141 enum direction dir = qat_req->dir; in qat_comp_rfc1950_callback() local 146 if (dir == COMPRESSION) { in qat_comp_rfc1950_callback() 200 qat_req->dir == COMPRESSION ? "comp " : "decomp", in qat_comp_generic_callback() 206 if (qat_req->dir == DECOMPRESSION && qat_req->dst.is_null) { in qat_comp_generic_callback() 224 if (qat_req->dir == COMPRESSION) { in qat_comp_generic_callback() 308 static int qat_comp_alg_compress_decompress(struct acomp_req *areq, enum direction dir, in qat_comp_alg_compress_decompress() argument 355 if (dir == COMPRESSION) { in qat_comp_alg_compress_decompress() 370 qat_req->dir = dir; in qat_comp_alg_compress_decompress() [all …]
|
/openbmc/linux/fs/nfsd/ |
H A D | nfsctl.c | 1171 inc_nlink(dir); in __nfsd_mkdir() 1182 inode_lock(dir); in nfsd_mkdir() 1190 inode_unlock(dir); in nfsd_mkdir() 1212 inc_nlink(dir); in __nfsd_symlink() 1228 inode_lock(dir); in _nfsd_symlink() 1236 inode_unlock(dir); in _nfsd_symlink() 1310 inode_lock(dir); in nfsdfs_create_files() 1328 inode_unlock(dir); in nfsdfs_create_files() 1332 inode_unlock(dir); in nfsdfs_create_files() 1366 inode_lock(dir); in nfsd_client_rmdir() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/ufw/ufw/ |
H A D | 0002-add-an-option-to-specify-iptables-location.patch | 41 - for dir in ['/usr/sbin', '/sbin', '/usr/bin', '/bin', '/usr/local/sbin', \ 44 - if os.path.exists(os.path.join(dir, e)): 45 - iptables_dir = dir 62 +if "--iptables-dir" in sys.argv: 63 + iptables_dir = sys.argv[sys.argv.index("--iptables-dir") + 1] 68 + sys.argv.remove("--iptables-dir") 72 + for dir in ['/usr/sbin', '/sbin', '/usr/bin', '/bin', '/usr/local/sbin', \ 75 + if os.path.exists(os.path.join(dir, e)): 76 + iptables_dir = dir
|
/openbmc/linux/fs/qnx6/ |
H A D | namei.c | 16 struct dentry *qnx6_lookup(struct inode *dir, struct dentry *dentry, in qnx6_lookup() argument 28 ino = qnx6_find_entry(len, dir, name, &page); in qnx6_lookup() 30 foundinode = qnx6_iget(dir->i_sb, ino); in qnx6_lookup()
|
/openbmc/linux/arch/powerpc/include/asm/book3s/64/ |
H A D | kup.h | 357 unsigned long size, unsigned long dir) in allow_user_access() argument 362 BUILD_BUG_ON(!__builtin_constant_p(dir)); in allow_user_access() 367 if (dir == KUAP_READ) in allow_user_access() 369 else if (dir == KUAP_WRITE) in allow_user_access() 371 else if (dir == KUAP_READ_WRITE) in allow_user_access() 387 unsigned long size, unsigned long dir) in allow_user_access() argument 392 static __always_inline void prevent_user_access(unsigned long dir) in prevent_user_access() argument
|