Home
last modified time | relevance | path

Searched refs:attr_idx (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/net/netlink/
H A Dpolicy.c19 unsigned int attr_idx; member
432 pt = &state->policies[state->policy_idx].policy[state->attr_idx]; in netlink_policy_dump_write()
438 err = __netlink_policy_dump_write_attr(state, skb, pt, state->attr_idx); in netlink_policy_dump_write()
451 state->attr_idx += 1; in netlink_policy_dump_write()
452 if (state->attr_idx > state->policies[state->policy_idx].maxtype) { in netlink_policy_dump_write()
453 state->attr_idx = 0; in netlink_policy_dump_write()
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-cti-sysfs.c1011 int attr_idx) in cti_create_con_sysfs_attr() argument
1035 con->con_attrs[attr_idx] = &eattr->attr.attr; in cti_create_con_sysfs_attr()
1041 sysfs_attr_init(con->con_attrs[attr_idx]); in cti_create_con_sysfs_attr()
1073 int attr_idx = 0; in cti_create_con_attr_set() local
1087 attr_idx++); in cti_create_con_attr_set()
1094 attr_idx++); in cti_create_con_attr_set()
1100 attr_idx++); in cti_create_con_attr_set()
1108 attr_idx++); in cti_create_con_attr_set()
1114 attr_idx++); in cti_create_con_attr_set()
/openbmc/linux/tools/testing/selftests/kvm/lib/aarch64/
H A Dprocessor.c111 uint8_t attr_idx = flags & 7; in _virt_pg_map() local
150 *ptep = addr_pte(vm, paddr, (attr_idx << 2) | (1 << 10) | 3); /* AF */ in _virt_pg_map()
155 uint64_t attr_idx = MT_NORMAL; in virt_arch_pg_map() local
157 _virt_pg_map(vm, vaddr, paddr, attr_idx); in virt_arch_pg_map()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c431 int attr_idx) in esw_setup_uplink_fwd_ipsec_needed() argument
434 esw_attr->dests[attr_idx].vport_valid && in esw_setup_uplink_fwd_ipsec_needed()
435 esw_attr->dests[attr_idx].vport == MLX5_VPORT_UPLINK && in esw_setup_uplink_fwd_ipsec_needed()
468 int attr_idx, int dest_idx, bool pkt_reformat) in esw_setup_dest_fwd_vport() argument
471 dest[dest_idx].vport.num = esw_attr->dests[attr_idx].vport; in esw_setup_dest_fwd_vport()
474 MLX5_CAP_GEN(esw_attr->dests[attr_idx].mdev, vhca_id); in esw_setup_dest_fwd_vport()
493 int attr_idx, int dest_idx, bool pkt_reformat) in esw_setup_dest_fwd_ipsec() argument
507 int attr_idx, int dest_idx, bool pkt_reformat) in esw_setup_vport_dest() argument
511 attr_idx, dest_idx, pkt_reformat); in esw_setup_vport_dest()
514 attr_idx, dest_idx, pkt_reformat); in esw_setup_vport_dest()
[all …]
H A Deswitch.h873 struct mlx5_esw_flow_attr *esw_attr, int attr_idx);
/openbmc/linux/include/rdma/
H A Duverbs_ioctl.h758 const struct uverbs_attr_bundle *attrs_bundle, u16 attr_idx, in uverbs_attr_get_uobjs_arr() argument
762 uverbs_attr_get(attrs_bundle, attr_idx); in uverbs_attr_get_uobjs_arr()