/openbmc/linux/net/netfilter/ |
H A D | nf_flow_table_offload.c | 225 enum flow_offload_tuple_dir dir, in flow_offload_eth_src() argument 272 enum flow_offload_tuple_dir dir, in flow_offload_eth_dst() argument 337 switch (dir) { in flow_offload_ipv4_snat() 364 switch (dir) { in flow_offload_ipv4_dnat() 404 switch (dir) { in flow_offload_ipv6_snat() 429 switch (dir) { in flow_offload_ipv6_dnat() 473 switch (dir) { in flow_offload_port_snat() 503 switch (dir) { in flow_offload_port_dnat() 628 enum flow_offload_tuple_dir dir, in nf_flow_rule_route_common() argument 642 tuple = &flow->tuplehash[dir].tuple; in nf_flow_rule_route_common() [all …]
|
H A D | nf_conntrack_h323_main.c | 69 int dir = CTINFO2DIR(ctinfo); in get_tpkt_data() local 104 if (info->tpkt_len[dir] > 0) { in get_tpkt_data() 163 info->tpkt_len[dir] = 0; in get_tpkt_data() 167 info->tpkt_len[dir] = 0; in get_tpkt_data() 212 int dir = CTINFO2DIR(ctinfo); in expect_rtp_rtcp() local 287 int dir = CTINFO2DIR(ctinfo); in expect_t120() local 626 int dir = CTINFO2DIR(ctinfo); in expect_h245() local 742 int dir = CTINFO2DIR(ctinfo); in expect_callforwarding() local 1393 info->sig_port[!dir]); in process_rcf() 1432 info->sig_port[dir] = 0; in process_urq() [all …]
|
/openbmc/smbios-mdr/src/ |
H A D | mdrv2.cpp | 85 switch (smbiosDir.dir[index].stage) in smbiosIsAvailForUpdate() 124 std::copy(smbiosDir.dir[0].common.id.dataInfo, in getDataOffer() 140 MDR2SMBIOSStatusEnum stage = smbiosDir.dir[index].stage; in smbiosValidFlag() 141 MDR2DirLockEnum lock = smbiosDir.dir[index].lock; in smbiosValidFlag() 194 smbiosDir.dir[idIndex].common.id.dataInfo[index]); in getDataInformation() 322 if (smbiosDir.dir[idIndex].common.dataSetSize != dataLen) in sendDataInformation() 325 smbiosDir.dir[idIndex].common.dataSetSize = dataLen; in sendDataInformation() 328 if (smbiosDir.dir[idIndex].common.dataVersion != dataVer) in sendDataInformation() 331 smbiosDir.dir[idIndex].common.dataVersion = dataVer; in sendDataInformation() 337 smbiosDir.dir[idIndex].common.timestamp = timeStamp; in sendDataInformation() [all …]
|
/openbmc/linux/fs/hfsplus/ |
H A D | catalog.c | 232 HFSPLUS_I(dir)->subfolders++; in hfsplus_subfolders_inc() 248 if (HFSPLUS_I(dir)->subfolders) in hfsplus_subfolders_dec() 249 HFSPLUS_I(dir)->subfolders--; in hfsplus_subfolders_dec() 256 struct super_block *sb = dir->i_sb; in hfsplus_create_cat() 280 dir->i_ino, str); in hfsplus_create_cat() 312 dir->i_size++; in hfsplus_create_cat() 314 hfsplus_subfolders_inc(dir); in hfsplus_create_cat() 315 dir->i_mtime = inode_set_ctime_current(dir); in hfsplus_create_cat() 417 dir->i_size--; in hfsplus_delete_cat() 419 hfsplus_subfolders_dec(dir); in hfsplus_delete_cat() [all …]
|
H A D | dir.c | 41 sb = dir->i_sb; in hfsplus_lookup() 47 err = hfsplus_cat_build_key(sb, fd.search_key, dir->i_ino, in hfsplus_lookup() 118 inode = hfsplus_iget(dir->i_sb, cnid); in hfsplus_lookup() 360 struct hfsplus_sb_info *sbi = HFSPLUS_SB(dir->i_sb); in hfsplus_unlink() 377 dir, &dentry->d_name, in hfsplus_unlink() 385 res = hfsplus_delete_cat(cnid, dir, &dentry->d_name); in hfsplus_unlink() 417 struct hfsplus_sb_info *sbi = HFSPLUS_SB(dir->i_sb); in hfsplus_rmdir() 440 struct hfsplus_sb_info *sbi = HFSPLUS_SB(dir->i_sb); in hfsplus_symlink() 445 inode = hfsplus_new_inode(dir->i_sb, dir, S_IFLNK | S_IRWXUGO); in hfsplus_symlink() 482 struct hfsplus_sb_info *sbi = HFSPLUS_SB(dir->i_sb); in hfsplus_mknod() [all …]
|
/openbmc/linux/fs/exfat/ |
H A D | fatent.c | 158 p_chain->dir == EXFAT_EOF_CLUSTER || in __exfat_free_cluster() 159 p_chain->dir < EXFAT_FIRST_CLUSTER) in __exfat_free_cluster() 172 clu = p_chain->dir; in __exfat_free_cluster() 244 next = p_chain->dir; in exfat_find_last_cluster() 270 struct super_block *sb = dir->i_sb; in exfat_zeroed_cluster() 298 if (IS_DIRSYNC(dir)) in exfat_zeroed_cluster() 329 hint_clu = p_chain->dir; in exfat_alloc_cluster() 354 p_chain->dir = EXFAT_EOF_CLUSTER; in exfat_alloc_cluster() 383 p_chain->dir = new_clu; in exfat_alloc_cluster() 430 if (!p_chain->dir || p_chain->dir == EXFAT_EOF_CLUSTER) { in exfat_count_num_clusters() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 233 | 76 obj=tls-creds-x509,dir=${tls_dir}/client1,endpoint=client,id=tls0 100 obj1=tls-creds-x509,dir=${tls_dir}/client1,endpoint=client,id=tls0 101 obj2=tls-creds-x509,dir=${tls_dir}/client3,endpoint=client,id=tls0 113 obj1=tls-creds-x509,dir=${tls_dir}/client1,endpoint=client,id=tls0 122 obj1=tls-creds-x509,dir=${tls_dir}/client1,endpoint=client,id=tls0 131 obj=tls-creds-x509,dir=${tls_dir}/client2,endpoint=client,id=tls0 142 --object tls-creds-x509,dir=${tls_dir}/client1,endpoint=client,id=tls0 \ 163 --object tls-creds-x509,dir=${tls_dir}/client1,endpoint=client,id=tls0 \ 168 --object tls-creds-x509,dir=${tls_dir}/client3,endpoint=client,id=tls0 \ 181 obj1=tls-creds-x509,dir=${tls_dir}/client1,endpoint=client,id=tls0 [all …]
|
/openbmc/linux/fs/ocfs2/ |
H A D | dir.h | 42 struct inode *dir, 45 struct inode *dir, 48 struct inode *dir, 63 int ocfs2_update_entry(struct inode *dir, handle_t *handle, 67 int ocfs2_check_dir_for_entry(struct inode *dir, 77 int ocfs2_lookup_ino_from_name(struct inode *dir, const char *name, 82 struct inode *dir, 96 int ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh);
|
/openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/nikto/files/ |
H A D | location.patch | 22 -# PLUGINDIR=/opt/nikto/plugins # Location of plugin dir 23 -# DBDIR=/opt/nikto/databases # Location of database dir 24 -# TEMPLATEDIR=/opt/nikto/templates # Location of template dir 25 -# DOCDIR=/opt/nikto/docs # Location of docs dir 27 +PLUGINDIR=/etc/nikto/plugins # Location of plugin dir 28 +DBDIR=/etc/nikto/databases # Location of database dir 29 +TEMPLATEDIR=/etc/nikto/templates # Location of template dir 30 +DOCDIR=/usr/share/doc/nikto # Location of docs dir
|
/openbmc/linux/net/sunrpc/ |
H A D | rpc_pipe.c | 537 inc_nlink(dir); in __rpc_mkdir() 690 inode_unlock(dir); in rpc_depopulate() 702 inode_lock(dir); in rpc_populate() 726 inode_unlock(dir); in rpc_populate() 730 inode_unlock(dir); in rpc_populate() 757 inode_unlock(dir); in rpc_mkdir_populate() 770 struct inode *dir; in rpc_rmdir_depopulate() local 779 inode_unlock(dir); in rpc_rmdir_depopulate() 825 inode_unlock(dir); in rpc_mkpipe_dentry() 848 struct inode *dir; in rpc_unlink() local [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | patch.py | 31 def runcmd(args, dir = None): argument 32 if dir: 34 if not os.path.exists(dir): 35 raise NotFoundError(dir) 36 os.chdir(dir) 58 if dir: 74 def __init__(self, dir, d): argument 75 self.dir = dir 187 def __init__(self, dir, d): argument 301 def __init__(self, dir, d): argument [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | debugfs.c | 550 struct dentry *dir; in mt7615_init_debugfs() local 553 if (!dir) in mt7615_init_debugfs() 569 debugfs_create_file("idle-timeout", 0600, dir, dev, in mt7615_init_debugfs() 577 debugfs_create_u32("dfs_hw_pattern", 0400, dir, in mt7615_init_debugfs() 580 debugfs_create_u8("pattern_len", 0600, dir, in mt7615_init_debugfs() 582 debugfs_create_u32("pulse_period", 0600, dir, in mt7615_init_debugfs() 584 debugfs_create_u16("pulse_width", 0600, dir, in mt7615_init_debugfs() 586 debugfs_create_u16("pulse_power", 0600, dir, in mt7615_init_debugfs() 588 debugfs_create_file("radar_trigger", 0200, dir, dev, in mt7615_init_debugfs() 592 debugfs_create_file("reset_test", 0200, dir, dev, in mt7615_init_debugfs() [all …]
|
/openbmc/linux/include/linux/ |
H A D | fscrypt.h | 373 int __fscrypt_prepare_readdir(struct inode *dir); 575 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_new_inode() 595 static inline int fscrypt_setup_filename(struct inode *dir, in fscrypt_setup_filename() argument 599 if (IS_ENCRYPTED(dir)) in fscrypt_setup_filename() 728 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_symlink() 893 struct inode *dir, in fscrypt_prepare_link() argument 896 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_link() 962 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_lookup() 963 return __fscrypt_prepare_lookup(dir, dentry, fname); in fscrypt_prepare_lookup() 987 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_readdir() [all …]
|
/openbmc/qemu/system/ |
H A D | async-teardown.c | 36 DIR *dir; in close_all_open_fd() local 46 dir = opendir("/proc/self/fd"); in close_all_open_fd() 47 if (!dir) { in close_all_open_fd() 52 dfd = dirfd(dir); in close_all_open_fd() 54 for (de = readdir(dir); de; de = readdir(dir)) { in close_all_open_fd() 60 closedir(dir); in close_all_open_fd()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | debugfs.c | 266 struct dentry *dir; in mt7921_init_debugfs() local 268 dir = mt76_register_debugfs_fops(&dev->mphy, &fops_regval); in mt7921_init_debugfs() 269 if (!dir) in mt7921_init_debugfs() 274 dir, mt792x_queues_read); in mt7921_init_debugfs() 277 dir, mt76_queues_read); in mt7921_init_debugfs() 279 debugfs_create_devm_seqfile(dev->mt76.dev, "acq", dir, in mt7921_init_debugfs() 281 debugfs_create_devm_seqfile(dev->mt76.dev, "txpower_sku", dir, in mt7921_init_debugfs() 285 debugfs_create_file("runtime-pm", 0600, dir, dev, &fops_pm); in mt7921_init_debugfs() 286 debugfs_create_file("idle-timeout", 0600, dir, dev, in mt7921_init_debugfs() 288 debugfs_create_file("chip_reset", 0600, dir, dev, &fops_reset); in mt7921_init_debugfs() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | data.c | 33 close_dir(data->dir.files, data->dir.nr); in perf_data__close_dir() 68 data->dir.nr = nr; in perf_data__create_dir() 81 DIR *dir; in perf_data__open_dir() local 99 if (!dir) in perf_data__open_dir() 135 closedir(dir); in perf_data__open_dir() 139 data->dir.files = files; in perf_data__open_dir() 140 data->dir.nr = nr; in perf_data__open_dir() 144 closedir(dir); in perf_data__open_dir() 491 if (dir) { in has_kcore_dir() 493 d = readdir(dir); in has_kcore_dir() [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/dwarfsrcfiles/files/ |
H A D | dwarfsrcfiles.c | 23 const char *dir = NULL; in process_cu() local 51 dir = dwarf_formstring (&attr); in process_cu() 52 if (dir == NULL) in process_cu() 60 if (dir == NULL) in process_cu() 63 printf ("%s/%s\n", dir, name); in process_cu() 75 if (dir != NULL && file[0] != '/') in process_cu() 76 printf ("\t%s/%s\n", dir, file); in process_cu()
|
/openbmc/linux/mm/ |
H A D | failslab.c | 56 struct dentry *dir; in failslab_debugfs_init() local 59 dir = fault_create_debugfs_attr("failslab", NULL, &failslab.attr); in failslab_debugfs_init() 60 if (IS_ERR(dir)) in failslab_debugfs_init() 61 return PTR_ERR(dir); in failslab_debugfs_init() 63 debugfs_create_bool("ignore-gfp-wait", mode, dir, in failslab_debugfs_init() 65 debugfs_create_bool("cache-filter", mode, dir, in failslab_debugfs_init()
|
/openbmc/linux/lib/ |
H A D | fault-inject.c | 215 struct dentry *dir; in fault_create_debugfs_attr() local 217 dir = debugfs_create_dir(name, parent); in fault_create_debugfs_attr() 218 if (IS_ERR(dir)) in fault_create_debugfs_attr() 219 return dir; in fault_create_debugfs_attr() 222 debugfs_create_ul("interval", mode, dir, &attr->interval); in fault_create_debugfs_attr() 223 debugfs_create_atomic_t("times", mode, dir, &attr->times); in fault_create_debugfs_attr() 224 debugfs_create_atomic_t("space", mode, dir, &attr->space); in fault_create_debugfs_attr() 225 debugfs_create_ul("verbose", mode, dir, &attr->verbose); in fault_create_debugfs_attr() 228 debugfs_create_u32("verbose_ratelimit_burst", mode, dir, in fault_create_debugfs_attr() 241 attr->dname = dget(dir); in fault_create_debugfs_attr() [all …]
|
/openbmc/linux/sound/firewire/oxfw/ |
H A D | oxfw.h | 94 int avc_stream_set_format(struct fw_unit *unit, enum avc_general_plug_dir dir, 97 enum avc_general_plug_dir dir, unsigned int pid, 101 enum avc_general_plug_dir dir, unsigned int pid, in avc_stream_get_format_single() argument 104 return avc_stream_get_format(unit, dir, pid, buf, len, 0xff); in avc_stream_get_format_single() 108 enum avc_general_plug_dir dir, unsigned int pid, in avc_stream_get_format_list() argument 112 return avc_stream_get_format(unit, dir, pid, buf, len, eid); in avc_stream_get_format_list() 120 enum avc_general_plug_dir dir, 142 enum avc_general_plug_dir dir,
|
/openbmc/linux/fs/ntfs3/ |
H A D | dir.c | 237 struct super_block *sb = dir->i_sb; in dir_search_u() 239 struct ntfs_inode *ni = ntfs_i(dir); in dir_search_u() 397 struct inode *dir = file_inode(file); in ntfs_readdir() local 398 struct ntfs_inode *ni = ntfs_i(dir); in ntfs_readdir() 399 struct super_block *sb = dir->i_sb; in ntfs_readdir() 401 loff_t i_size = i_size_read(dir); in ntfs_readdir() 405 u8 index_bits = ni->dir.index_bits; in ntfs_readdir() 484 err = indx_read(&ni->dir, ni, bit << ni->dir.idx2vbn_bits, in ntfs_readdir() 514 struct ntfs_inode *ni = ntfs_i(dir); in ntfs_dir_count() 579 err = indx_read(&ni->dir, ni, bit << ni->dir.idx2vbn_bits, in ntfs_dir_count() [all …]
|
/openbmc/linux/fs/nfs/ |
H A D | nfs3proc.c | 161 .fh = NFS_FH(dir), in __nfs3_proc_lookup() 182 nfs_refresh_inode(dir, res.dir_attr); in __nfs3_proc_lookup() 353 data->arg.create.fh = NFS_FH(dir); in nfs3_proc_create() 436 .fh = NFS_FH(dir), in nfs3_proc_remove() 517 .tofh = NFS_FH(dir), in nfs3_proc_link() 600 data->arg.mkdir.fh = NFS_FH(dir); in nfs3_proc_mkdir() 631 .fh = NFS_FH(dir), in nfs3_proc_rmdir() 669 .fh = NFS_FH(dir), in nfs3_proc_readdir() 701 nfs_invalidate_atime(dir); in nfs3_proc_readdir() 702 nfs_refresh_inode(dir, res.dir_attr); in nfs3_proc_readdir() [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | xfrm_policy.sh | 76 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block 79 ip -net $ns xfrm policy add src 10.2.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block 123 ip -net $ns xfrm policy get src $lnet dst $rnet dir out > /dev/null 130 ip -net $ns xfrm policy get src $rnet dst $lnet dir fwd > /dev/null 146 ip -net $ns xfrm policy add dst $plain dir out priority 10 action allow 300 ip -net $ns xfrm policy add dst $j.0.0.0/24 dir out priority 10 action allow 303 if ! ip -net $ns xfrm policy get dst $j.0.0.0/24 dir out > /dev/null; then 314 ip -net $ns xfrm policy add dst $addr dir out priority 10 action allow 318 if ! ip -net $ns xfrm policy get dst $addr dir out > /dev/null; then 402 ip netns exec ns3 iptables -p icmp -A FORWARD -m policy --dir out --pol ipsec [all …]
|
/openbmc/linux/drivers/tty/vt/ |
H A D | consolemap.c | 203 #define UNI(dir, row, glyph) (FIELD_PREP(UNI_DIR_BITS, (dir)) | \ argument 272 if (!dir) in set_inverse_trans_unicode() 438 kfree(dir); in con_release_unimap() 511 u16 **dir, *row; in con_insert_unipair() local 516 if (!dir) { in con_insert_unipair() 517 dir = p->uni_pgdir[n] = kcalloc(UNI_DIR_ROWS, sizeof(*dir), in con_insert_unipair() 519 if (!dir) in con_insert_unipair() 524 row = dir[n]; in con_insert_unipair() 602 if (!dir) { in con_unshare_unimap() 807 if (!dir) in con_get_unimap() [all …]
|
/openbmc/linux/drivers/net/ethernet/freescale/fs_enet/ |
H A D | mii-bitbang.c | 32 u32 __iomem *dir; member 58 static inline void mdio_dir(struct mdiobb_ctrl *ctrl, int dir) in mdio_dir() argument 62 if (dir) in mdio_dir() 63 bb_set(bitbang->dir, bitbang->mdio_msk); in mdio_dir() 65 bb_clr(bitbang->dir, bitbang->mdio_msk); in mdio_dir() 68 in_be32(bitbang->dir); in mdio_dir() 141 bitbang->dir = ioremap(res.start, resource_size(&res)); in fs_mii_bitbang_init() 142 if (!bitbang->dir) in fs_mii_bitbang_init() 145 bitbang->dat = bitbang->dir + 4; in fs_mii_bitbang_init() 186 iounmap(bitbang->dir); in fs_enet_mdio_probe() [all …]
|