/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/scripts/ |
H A D | cleanup-trace-events.pl | 32 my $dir = dirname($in); 34 chdir($dir) or die "chdir $dir: $!";
|
/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/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/phosphor-logging/test/openpower-pels/ |
H A D | pel_test.cpp | 43 return dir; in makeTempDir() 519 auto dir = makeTempDir(); in TEST_F() local 566 fs::remove_all(dir); in TEST_F() 592 auto dir = makeTempDir(); in TEST_F() local 631 fs::remove_all(dir); in TEST_F() 651 auto dir = makeTempDir(); in TEST_F() local 670 fs::remove_all(dir); in TEST_F() 737 fs::remove_all(dir); in TEST_F() 798 fs::remove_all(dir); in TEST_F() 1046 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
|
/openbmc/linux/drivers/spi/ |
H A D | spi-rpc-if.c | 44 switch (spi_op->data.dir) { in rpcif_spi_mem_prepare() 46 rpc_op.data.dir = RPCIF_DATA_IN; in rpcif_spi_mem_prepare() 50 rpc_op.data.dir = RPCIF_DATA_OUT; in rpcif_spi_mem_prepare() 54 rpc_op.data.dir = RPCIF_NO_DATA; in rpcif_spi_mem_prepare() 58 rpc_op.data.dir = RPCIF_NO_DATA; in rpcif_spi_mem_prepare() 103 if (!rpc->dirmap && desc->info.op_tmpl.data.dir == SPI_MEM_DATA_IN) in rpcif_spi_mem_dirmap_create() 106 if (desc->info.op_tmpl.data.dir == SPI_MEM_DATA_OUT) in rpcif_spi_mem_dirmap_create()
|
/openbmc/skeleton/libopenbmc_intf/ |
H A D | gpio.c | 81 DIR* dir = opendir(GPIO_BASE_PATH); in get_gpio_base() local 82 if (dir == NULL) in get_gpio_base() 90 while ((entry = readdir(dir)) != NULL) in get_gpio_base() 161 closedir(dir); in get_gpio_base() 291 const cJSON* dir = cJSON_GetObjectItem(def, "direction"); in gpio_get_params() local 292 g_assert(dir != NULL); in gpio_get_params() 293 gpio->direction = g_strdup(dir->valuestring); in gpio_get_params()
|
/openbmc/linux/tools/thermal/tmon/ |
H A D | sysfs.c | 282 DIR *dir; in scan_tzones() local 294 dir = opendir(tz_name); in scan_tzones() 295 if (!dir) { in scan_tzones() 329 closedir(dir); in scan_tzones() 340 DIR *dir; in scan_cdevs() local 353 dir = opendir(cdev_name); in scan_cdevs() 354 if (!dir) { in scan_cdevs() 376 closedir(dir); in scan_cdevs() 385 DIR *dir; in probe_thermal_sysfs() local 390 if (!dir) { in probe_thermal_sysfs() [all …]
|