Home
last modified time | relevance | path

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

/Linux-v6.6/net/netlink/
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()
/Linux-v6.6/drivers/hwtracing/coresight/
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()
/Linux-v6.6/tools/testing/selftests/kvm/lib/aarch64/
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()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c432 int attr_idx) in esw_setup_uplink_fwd_ipsec_needed() argument
435 esw_attr->dests[attr_idx].rep && in esw_setup_uplink_fwd_ipsec_needed()
436 esw_attr->dests[attr_idx].rep->vport == MLX5_VPORT_UPLINK && in esw_setup_uplink_fwd_ipsec_needed()
438 (esw_attr->dests[attr_idx].flags & MLX5_ESW_DEST_ENCAP_VALID) && in esw_setup_uplink_fwd_ipsec_needed()
439 esw_attr->dests[attr_idx].rep != esw_attr->in_rep && in esw_setup_uplink_fwd_ipsec_needed()
440 esw_same_vhca_id(esw_attr->dests[attr_idx].mdev, esw->dev)) in esw_setup_uplink_fwd_ipsec_needed()
469 int attr_idx, int dest_idx, bool pkt_reformat) in esw_setup_dest_fwd_vport() argument
472 dest[dest_idx].vport.num = esw_attr->dests[attr_idx].rep->vport; in esw_setup_dest_fwd_vport()
475 MLX5_CAP_GEN(esw_attr->dests[attr_idx].mdev, vhca_id); in esw_setup_dest_fwd_vport()
481 if (esw_attr->dests[attr_idx].flags & MLX5_ESW_DEST_ENCAP_VALID) { in esw_setup_dest_fwd_vport()
[all …]
Deswitch.h870 struct mlx5_esw_flow_attr *esw_attr, int attr_idx);
/Linux-v6.6/include/rdma/
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()