/openbmc/openbmc/meta-openembedded/meta-oe/recipes-security/nmap/files/ |
H A D | 0001-Make-ndiff-support-python3.patch | 113 attrs = {} 119 + attrs["args"] = self.args 979 if "start" in attrs: 1002 + state = attrs.get("state") 1015 - addr = attrs.get(u"addr") 1016 + addr = attrs.get("addr") 1046 + state = attrs.get("state") 1059 + count = attrs.get("count") 1114 if "state" not in attrs: 1179 if "name" not in attrs: [all …]
|
/openbmc/linux/arch/x86/events/amd/ |
H A D | iommu.c | 72 .attrs = iommu_format_attrs, 148 .attrs = iommu_cpumask_attrs, 383 struct attribute **attrs; in _init_events_attrs() local 388 attrs = kcalloc(i + 1, sizeof(*attrs), GFP_KERNEL); in _init_events_attrs() 389 if (!attrs) in _init_events_attrs() 393 attrs[j] = &amd_iommu_v2_event_descs[j].attr.attr; in _init_events_attrs() 395 amd_iommu_events_group.attrs = attrs; in _init_events_attrs() 480 kfree(amd_iommu_events_group.attrs); in amd_iommu_pc_init()
|
/openbmc/linux/net/devlink/ |
H A D | health.c | 331 struct nlattr **attrs) in devlink_health_reporter_get_from_attrs() argument 336 if (!attrs[DEVLINK_ATTR_HEALTH_REPORTER_NAME]) in devlink_health_reporter_get_from_attrs() 340 devlink_port = devlink_port_get_from_attrs(devlink, attrs); in devlink_health_reporter_get_from_attrs() 393 struct nlattr **attrs = info->attrs; in devlink_nl_health_reporter_get_dump_one() local 400 if (attrs && attrs[DEVLINK_ATTR_PORT_INDEX]) { in devlink_nl_health_reporter_get_dump_one() 466 info->attrs[DEVLINK_ATTR_HEALTH_REPORTER_AUTO_RECOVER])) in devlink_nl_cmd_health_reporter_set_doit() 470 info->attrs[DEVLINK_ATTR_HEALTH_REPORTER_AUTO_DUMP]) in devlink_nl_cmd_health_reporter_set_doit() 473 if (info->attrs[DEVLINK_ATTR_HEALTH_REPORTER_GRACEFUL_PERIOD]) in devlink_nl_cmd_health_reporter_set_doit() 477 if (info->attrs[DEVLINK_ATTR_HEALTH_REPORTER_AUTO_RECOVER]) in devlink_nl_cmd_health_reporter_set_doit() 481 if (info->attrs[DEVLINK_ATTR_HEALTH_REPORTER_AUTO_DUMP]) in devlink_nl_cmd_health_reporter_set_doit() [all …]
|
/openbmc/linux/fs/nfsd/ |
H A D | vfs.h | 57 static inline void nfsd_attrs_free(struct nfsd_attrs *attrs) in nfsd_attrs_free() argument 59 posix_acl_release(attrs->na_pacl); in nfsd_attrs_free() 60 posix_acl_release(attrs->na_dpacl); in nfsd_attrs_free() 83 struct nfsd_attrs *attrs, int type, dev_t rdev, 86 char *name, int len, struct nfsd_attrs *attrs, 131 struct nfsd_attrs *attrs,
|
H A D | nfsproc.c | 53 struct iattr *iap = &argp->attrs; in nfsd_proc_setattr() 54 struct nfsd_attrs attrs = { in nfsd_proc_setattr() local 61 argp->attrs.ia_valid, (long) argp->attrs.ia_size); in nfsd_proc_setattr() 254 struct iattr *attr = &argp->attrs; in nfsd_proc_create() 255 struct nfsd_attrs attrs = { in nfsd_proc_create() local 468 struct nfsd_attrs attrs = { in nfsd_proc_symlink() local 469 .na_iattr = &argp->attrs, in nfsd_proc_symlink() 492 argp->tname, &attrs, &newfh); in nfsd_proc_symlink() 510 struct nfsd_attrs attrs = { in nfsd_proc_mkdir() local 511 .na_iattr = &argp->attrs, in nfsd_proc_mkdir() [all …]
|
/openbmc/linux/net/dsa/ |
H A D | devlink.c | 295 struct devlink_port_attrs attrs = {}; in dsa_port_devlink_setup() local 314 attrs.phys.port_number = dp->index; in dsa_port_devlink_setup() 315 memcpy(attrs.switch_id.id, id, len); in dsa_port_devlink_setup() 316 attrs.switch_id.id_len = len; in dsa_port_devlink_setup() 320 attrs.flavour = DEVLINK_PORT_FLAVOUR_UNUSED; in dsa_port_devlink_setup() 323 attrs.flavour = DEVLINK_PORT_FLAVOUR_CPU; in dsa_port_devlink_setup() 326 attrs.flavour = DEVLINK_PORT_FLAVOUR_DSA; in dsa_port_devlink_setup() 329 attrs.flavour = DEVLINK_PORT_FLAVOUR_PHYSICAL; in dsa_port_devlink_setup() 333 devlink_port_attrs_set(dlp, &attrs); in dsa_port_devlink_setup()
|
/openbmc/linux/fs/sysfs/ |
H A D | group.c | 26 if (grp->attrs) in remove_files() 27 for (attr = grp->attrs; *attr; attr++) in remove_files() 42 if (grp->attrs) { in create_files() 43 for (i = 0, attr = grp->attrs; *attr && !error; i++, attr++) { in create_files() 122 if (!grp->attrs && !grp->bin_attrs) { in internal_create_group() 345 for ((i = 0, attr = grp->attrs); *attr && !error; (++i, ++attr)) in sysfs_merge_group() 371 for (attr = grp->attrs; *attr; ++attr) in sysfs_unmerge_group() 478 if (grp->attrs) { in sysfs_group_attrs_change_owner() 481 for (attr = grp->attrs; *attr; attr++) { in sysfs_group_attrs_change_owner()
|
/openbmc/u-boot/board/cavium/thunderx/ |
H A D | thunderx.c | 50 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) | PTE_BLOCK_NON_SHARE, 55 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) | 61 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
|
/openbmc/linux/crypto/ |
H A D | crypto_user_base.c | 185 struct nlattr **attrs) in crypto_report() argument 261 struct nlattr **attrs) in crypto_update_alg() argument 265 struct nlattr *priority = attrs[CRYPTOCFGA_PRIORITY_VAL]; in crypto_update_alg() 297 struct nlattr **attrs) in crypto_del_alg() argument 335 struct nlattr **attrs) in crypto_add_alg() argument 341 struct nlattr *priority = attrs[CRYPTOCFGA_PRIORITY_VAL]; in crypto_add_alg() 383 struct nlattr **attrs) in crypto_del_rng() argument 426 struct nlattr *attrs[CRYPTOCFGA_MAX+1]; in crypto_user_rcv_msg() local 462 err = nlmsg_parse_deprecated(nlh, crypto_msg_min[type], attrs, in crypto_user_rcv_msg() 470 return link->doit(skb, nlh, attrs); in crypto_user_rcv_msg()
|
/openbmc/linux/fs/hostfs/ |
H A D | hostfs_kern.c | 805 struct hostfs_iattr attrs; in hostfs_setattr() local 818 attrs.ia_valid = 0; in hostfs_setattr() 820 attrs.ia_valid |= HOSTFS_ATTR_MODE; in hostfs_setattr() 821 attrs.ia_mode = attr->ia_mode; in hostfs_setattr() 824 attrs.ia_valid |= HOSTFS_ATTR_UID; in hostfs_setattr() 828 attrs.ia_valid |= HOSTFS_ATTR_GID; in hostfs_setattr() 832 attrs.ia_valid |= HOSTFS_ATTR_SIZE; in hostfs_setattr() 833 attrs.ia_size = attr->ia_size; in hostfs_setattr() 836 attrs.ia_valid |= HOSTFS_ATTR_ATIME; in hostfs_setattr() 841 attrs.ia_valid |= HOSTFS_ATTR_MTIME; in hostfs_setattr() [all …]
|
/openbmc/linux/Documentation/netlink/specs/ |
H A D | rt_route.yaml | 82 name: route-attrs 245 attribute-set: route-attrs 265 attributes: &all-route-attrs 309 attributes: *all-route-attrs 313 attribute-set: route-attrs 318 attributes: *all-route-attrs 322 attribute-set: route-attrs 327 attributes: *all-route-attrs
|
/openbmc/linux/net/netlabel/ |
H A D | netlabel_calipso.c | 102 doi_def->doi = nla_get_u32(info->attrs[NLBL_CALIPSO_A_DOI]); in netlbl_calipso_add_pass() 126 if (!info->attrs[NLBL_CALIPSO_A_DOI] || in netlbl_calipso_add() 127 !info->attrs[NLBL_CALIPSO_A_MTYPE]) in netlbl_calipso_add() 134 switch (nla_get_u32(info->attrs[NLBL_CALIPSO_A_MTYPE])) { in netlbl_calipso_add() 163 if (!info->attrs[NLBL_CALIPSO_A_DOI]) { in netlbl_calipso_list() 168 doi = nla_get_u32(info->attrs[NLBL_CALIPSO_A_DOI]); in netlbl_calipso_list() 312 if (!info->attrs[NLBL_CALIPSO_A_DOI]) in netlbl_calipso_remove() 316 cb_arg.doi = nla_get_u32(info->attrs[NLBL_CALIPSO_A_DOI]); in netlbl_calipso_remove()
|
/openbmc/linux/drivers/net/ |
H A D | gtp.c | 1457 if (!info->attrs[GTPA_VERSION] || in gtp_genl_new_pdp() 1458 !info->attrs[GTPA_LINK] || in gtp_genl_new_pdp() 1460 !info->attrs[GTPA_MS_ADDRESS]) in gtp_genl_new_pdp() 1467 if (!info->attrs[GTPA_TID] || in gtp_genl_new_pdp() 1468 !info->attrs[GTPA_FLOW]) in gtp_genl_new_pdp() 1472 if (!info->attrs[GTPA_I_TEI] || in gtp_genl_new_pdp() 1473 !info->attrs[GTPA_O_TEI]) in gtp_genl_new_pdp() 1559 if (!info->attrs[GTPA_VERSION]) in gtp_genl_del_pdp() 1648 if (!info->attrs[GTPA_VERSION]) in gtp_genl_get_pdp() 1740 if (!info->attrs[GTPA_VERSION] || in gtp_genl_send_echo_req() [all …]
|
/openbmc/qemu/target/microblaze/ |
H A D | helper.c | 47 MemTxAttrs attrs = {}; in mb_cpu_tlb_fill() local 49 attrs.secure = mb_cpu_access_is_secure(cpu, access_type); in mb_cpu_tlb_fill() 55 tlb_set_page_with_attrs(cs, address, address, attrs, prot, mmu_idx, in mb_cpu_tlb_fill() 67 tlb_set_page_with_attrs(cs, vaddr, paddr, attrs, lu.prot, mmu_idx, in mb_cpu_tlb_fill() 228 MemTxAttrs *attrs) in mb_cpu_get_phys_page_attrs_debug() argument 238 *attrs = (MemTxAttrs) {}; in mb_cpu_get_phys_page_attrs_debug() 239 attrs->secure = mb_cpu_access_is_secure(cpu, MMU_DATA_LOAD); in mb_cpu_get_phys_page_attrs_debug()
|
/openbmc/qemu/include/hw/pci/ |
H A D | pci_device.h | 231 DMADirection dir, MemTxAttrs attrs) in pci_dma_rw() argument 234 dir, attrs); in pci_dma_rw() 279 MemTxAttrs attrs) \ 281 return ld##_l##_dma(pci_get_address_space(dev), addr, val, attrs); \ 286 MemTxAttrs attrs) \ 288 return st##_s##_dma(pci_get_address_space(dev), addr, val, attrs); \
|
/openbmc/linux/net/ipv4/ |
H A D | fou_core.c | 657 if (info->attrs[FOU_ATTR_AF]) { in parse_nl_config() 673 if (info->attrs[FOU_ATTR_PORT]) { in parse_nl_config() 678 if (info->attrs[FOU_ATTR_IPPROTO]) in parse_nl_config() 681 if (info->attrs[FOU_ATTR_TYPE]) in parse_nl_config() 688 if (info->attrs[FOU_ATTR_LOCAL_V4]) { in parse_nl_config() 694 if (info->attrs[FOU_ATTR_PEER_V4]) { in parse_nl_config() 695 attr = info->attrs[FOU_ATTR_PEER_V4]; in parse_nl_config() 701 if (info->attrs[FOU_ATTR_LOCAL_V6]) { in parse_nl_config() 707 if (info->attrs[FOU_ATTR_PEER_V6]) { in parse_nl_config() 708 attr = info->attrs[FOU_ATTR_PEER_V6]; in parse_nl_config() [all …]
|
/openbmc/qemu/hw/pci-host/ |
H A D | dino.c | 59 MemTxAttrs attrs) in dino_chip_mem_valid() argument 95 MemTxAttrs attrs) in dino_chip_read_with_attrs() argument 111 val = address_space_ldub(io, ioaddr, attrs, &ret); in dino_chip_read_with_attrs() 114 val = address_space_lduw_be(io, ioaddr, attrs, &ret); in dino_chip_read_with_attrs() 117 val = address_space_ldl_be(io, ioaddr, attrs, &ret); in dino_chip_read_with_attrs() 188 MemTxAttrs attrs) in dino_chip_write_with_attrs() argument 206 address_space_stb(io, ioaddr, val, attrs, &ret); in dino_chip_write_with_attrs() 209 address_space_stw_be(io, ioaddr, val, attrs, &ret); in dino_chip_write_with_attrs() 212 address_space_stl_be(io, ioaddr, val, attrs, &ret); in dino_chip_write_with_attrs()
|
/openbmc/linux/drivers/net/ipa/ |
H A D | ipa_sysfs.c | 62 .attrs = ipa_attrs, 98 .attrs = ipa_feature_attrs, 149 .attrs = ipa_endpoint_id_attrs, 170 .attrs = ipa_modem_attrs,
|
/openbmc/phosphor-hwmon/test/ |
H A D | hwmon_unittest.cpp | 8 hwmon::Attributes attrs; in TEST() local 9 EXPECT_FALSE(hwmon::getAttributes("invalid", attrs)); in TEST()
|
/openbmc/qemu/hw/net/ |
H A D | tulip.c | 73 const MemTxAttrs attrs = { .memory = true }; in tulip_desc_read() local 76 ldl_be_pci_dma(&s->dev, p, &desc->status, attrs); in tulip_desc_read() 77 ldl_be_pci_dma(&s->dev, p + 4, &desc->control, attrs); in tulip_desc_read() 81 ldl_le_pci_dma(&s->dev, p, &desc->status, attrs); in tulip_desc_read() 82 ldl_le_pci_dma(&s->dev, p + 4, &desc->control, attrs); in tulip_desc_read() 91 const MemTxAttrs attrs = { .memory = true }; in tulip_desc_write() local 94 stl_be_pci_dma(&s->dev, p, desc->status, attrs); in tulip_desc_write() 95 stl_be_pci_dma(&s->dev, p + 4, desc->control, attrs); in tulip_desc_write() 96 stl_be_pci_dma(&s->dev, p + 8, desc->buf_addr1, attrs); in tulip_desc_write() 99 stl_le_pci_dma(&s->dev, p, desc->status, attrs); in tulip_desc_write() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bs4/builder/ |
H A D | _htmlparser.py | 52 def handle_starttag(self, name, attrs): argument 55 for key, value in attrs: 209 attrs = [] 229 attrs.append((attrname.lower(), attrvalue)) 248 self.handle_startendtag(tag, attrs) 250 self.handle_starttag(tag, attrs)
|
H A D | _html5lib.py | 119 self.attrs = dict(self.element.attrs) 121 return list(self.attrs.items()).__iter__() 135 return list(self.attrs.items()) 137 return list(self.attrs.keys()) 139 return len(self.attrs) 141 return self.attrs[name] 143 return name in list(self.attrs.keys())
|
/openbmc/openbmc/poky/scripts/lib/wic/ |
H A D | pluginbase.py | 66 def __new__(cls, name, bases, attrs): argument 67 class_type = type.__new__(cls, name, bases, attrs) 68 if 'name' in attrs: 69 PLUGINS[class_type.wic_plugin_type][attrs['name']] = class_type
|
/openbmc/linux/drivers/vdpa/ |
H A D | vdpa.c | 114 .attrs = vdpa_dev_attrs, 445 if (!attrs[VDPA_ATTR_MGMTDEV_DEV_NAME]) in vdpa_mgmtdev_get_from_attr() 448 if (attrs[VDPA_ATTR_MGMTDEV_BUS_NAME]) in vdpa_mgmtdev_get_from_attr() 535 mdev = vdpa_mgmtdev_get_from_attr(info->attrs); in vdpa_nl_cmd_mgmtdev_get_doit() 598 struct nlattr **nl_attrs = info->attrs; in vdpa_nl_cmd_dev_add_set_doit() 606 if (!info->attrs[VDPA_ATTR_DEV_NAME]) in vdpa_nl_cmd_dev_add_set_doit() 712 if (!info->attrs[VDPA_ATTR_DEV_NAME]) in vdpa_nl_cmd_dev_del_set_doit() 793 if (!info->attrs[VDPA_ATTR_DEV_NAME]) in vdpa_nl_cmd_dev_get_doit() 1118 if (!info->attrs[VDPA_ATTR_DEV_NAME]) in vdpa_nl_cmd_dev_config_get_doit() 1201 if (!info->attrs[VDPA_ATTR_DEV_NAME]) in vdpa_nl_cmd_dev_stats_get_doit() [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | vexpress-hwmon.c | 96 .attrs = vexpress_hwmon_attrs_volt, 116 .attrs = vexpress_hwmon_attrs_amp, 135 .attrs = vexpress_hwmon_attrs_temp, 154 .attrs = vexpress_hwmon_attrs_power, 173 .attrs = vexpress_hwmon_attrs_energy,
|