Home
last modified time | relevance | path

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

/linux/net/netlink/
H A Dpolicy.c19 unsigned int attr_idx; member
445 pt = &state->policies[state->policy_idx].policy[state->attr_idx]; in netlink_policy_dump_write()
451 err = __netlink_policy_dump_write_attr(state, skb, pt, state->attr_idx); in netlink_policy_dump_write()
464 state->attr_idx += 1; in netlink_policy_dump_write()
465 if (state->attr_idx > state->policies[state->policy_idx].maxtype) { in netlink_policy_dump_write()
466 state->attr_idx = 0; in netlink_policy_dump_write()
/linux/drivers/hwtracing/coresight/
H A Dcoresight-cti-sysfs.c1016 int attr_idx) in cti_create_con_sysfs_attr() argument
1040 con->con_attrs[attr_idx] = &eattr->attr.attr; in cti_create_con_sysfs_attr()
1046 sysfs_attr_init(con->con_attrs[attr_idx]); in cti_create_con_sysfs_attr()
1078 int attr_idx = 0; in cti_create_con_attr_set() local
1092 attr_idx++); in cti_create_con_attr_set()
1099 attr_idx++); in cti_create_con_attr_set()
1105 attr_idx++); in cti_create_con_attr_set()
1113 attr_idx++); in cti_create_con_attr_set()
1119 attr_idx++); in cti_create_con_attr_set()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c435 int attr_idx) in esw_setup_uplink_fwd_ipsec_needed()
438 esw_attr->dests[attr_idx].vport_valid && in esw_setup_uplink_fwd_ipsec_needed()
439 esw_attr->dests[attr_idx].vport == MLX5_VPORT_UPLINK && in esw_setup_uplink_fwd_ipsec_needed()
441 (esw_attr->dests[attr_idx].flags & MLX5_ESW_DEST_ENCAP_VALID) && in esw_setup_uplink_fwd_ipsec_needed()
442 esw_attr->dests[attr_idx].vport != esw_attr->in_rep->vport && in esw_setup_uplink_fwd_ipsec_needed()
443 esw_same_vhca_id(esw_attr->dests[attr_idx].mdev, esw->dev)) in esw_setup_uplink_fwd_ipsec_needed()
472 int attr_idx, int dest_idx, bool pkt_reformat) in esw_setup_dest_fwd_vport()
475 dest[dest_idx].vport.num = esw_attr->dests[attr_idx].vport; in esw_setup_dest_fwd_vport()
478 MLX5_CAP_GEN(esw_attr->dests[attr_idx].mdev, vhca_id); in esw_setup_dest_fwd_vport()
484 if (esw_attr->dests[attr_idx] in esw_setup_dest_fwd_vport()
433 esw_setup_uplink_fwd_ipsec_needed(struct mlx5_eswitch * esw,struct mlx5_esw_flow_attr * esw_attr,int attr_idx) esw_setup_uplink_fwd_ipsec_needed() argument
470 esw_setup_dest_fwd_vport(struct mlx5_flow_destination * dest,struct mlx5_flow_act * flow_act,struct mlx5_eswitch * esw,struct mlx5_esw_flow_attr * esw_attr,int attr_idx,int dest_idx,bool pkt_reformat) esw_setup_dest_fwd_vport() argument
495 esw_setup_dest_fwd_ipsec(struct mlx5_flow_destination * dest,struct mlx5_flow_act * flow_act,struct mlx5_eswitch * esw,struct mlx5_esw_flow_attr * esw_attr,int attr_idx,int dest_idx,bool pkt_reformat) esw_setup_dest_fwd_ipsec() argument
509 esw_setup_vport_dest(struct mlx5_flow_destination * dest,struct mlx5_flow_act * flow_act,struct mlx5_eswitch * esw,struct mlx5_esw_flow_attr * esw_attr,int attr_idx,int dest_idx,bool pkt_reformat) esw_setup_vport_dest() argument
4842 mlx5_eswitch_restore_ipsec_rule(struct mlx5_eswitch * esw,struct mlx5_flow_handle * rule,struct mlx5_esw_flow_attr * esw_attr,int attr_idx) mlx5_eswitch_restore_ipsec_rule() argument
[all...]
H A Deswitch.h988 struct mlx5_esw_flow_attr *esw_attr, int attr_idx); in mlx5_eswitch_offloads_single_fdb_add_one()
/linux/tools/testing/selftests/kvm/lib/arm64/
H A Dprocessor.c127 u8 attr_idx = flags & (PTE_ATTRINDX_MASK >> PTE_ATTRINDX_SHIFT); in _virt_pg_map() local
169 pg_attr = PTE_AF | PTE_ATTRINDX(attr_idx) | PTE_TYPE_PAGE | PTE_VALID; in _virt_pg_map()
178 u64 attr_idx = MT_NORMAL; in virt_arch_pg_map() local
180 _virt_pg_map(vm, gva, gpa, attr_idx); in virt_arch_pg_map()
/linux/include/rdma/
H A Duverbs_ioctl.h783 const struct uverbs_attr_bundle *attrs_bundle, u16 attr_idx,
787 uverbs_attr_get(attrs_bundle, attr_idx); in uverbs_attr_get_alloced_ptr()
763 uverbs_attr_get_uobjs_arr(const struct uverbs_attr_bundle * attrs_bundle,u16 attr_idx,struct ib_uobject *** arr) uverbs_attr_get_uobjs_arr() argument