Searched refs:attr_idx (Results 1 – 5 of 5) sorted by relevance
/linux/net/netlink/ |
A D | policy.c | 19 unsigned int attr_idx; member 422 pt = &state->policies[state->policy_idx].policy[state->attr_idx]; in netlink_policy_dump_write() 428 err = __netlink_policy_dump_write_attr(state, skb, pt, state->attr_idx); in netlink_policy_dump_write() 441 state->attr_idx += 1; in netlink_policy_dump_write() 442 if (state->attr_idx > state->policies[state->policy_idx].maxtype) { in netlink_policy_dump_write() 443 state->attr_idx = 0; in netlink_policy_dump_write()
|
/linux/drivers/hwtracing/coresight/ |
A D | coresight-cti-sysfs.c | 1043 int attr_idx) in cti_create_con_sysfs_attr() argument 1067 con->con_attrs[attr_idx] = &eattr->attr.attr; in cti_create_con_sysfs_attr() 1073 sysfs_attr_init(con->con_attrs[attr_idx]); in cti_create_con_sysfs_attr() 1105 int attr_idx = 0; in cti_create_con_attr_set() local 1119 attr_idx++); in cti_create_con_attr_set() 1126 attr_idx++); in cti_create_con_attr_set() 1132 attr_idx++); in cti_create_con_attr_set() 1140 attr_idx++); in cti_create_con_attr_set() 1146 attr_idx++); in cti_create_con_attr_set()
|
/linux/tools/testing/selftests/kvm/lib/aarch64/ |
A D | processor.c | 91 uint8_t attr_idx = flags & 7; in _virt_pg_map() local 131 *ptep |= (attr_idx << 2) | (1 << 10) /* Access Flag */; in _virt_pg_map() 136 uint64_t attr_idx = 4; /* NORMAL (See DEFAULT_MAIR_EL1) */ in virt_pg_map() local 138 _virt_pg_map(vm, vaddr, paddr, attr_idx); in virt_pg_map()
|
/linux/include/rdma/ |
A D | uverbs_ioctl.h | 750 const struct uverbs_attr_bundle *attrs_bundle, u16 attr_idx, in uverbs_attr_get_uobjs_arr() argument 754 uverbs_attr_get(attrs_bundle, attr_idx); in uverbs_attr_get_uobjs_arr()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | eswitch_offloads.c | 411 int attr_idx, int dest_idx, bool pkt_reformat) in esw_setup_vport_dest() argument 414 dest[dest_idx].vport.num = esw_attr->dests[attr_idx].rep->vport; in esw_setup_vport_dest() 417 MLX5_CAP_GEN(esw_attr->dests[attr_idx].mdev, vhca_id); in esw_setup_vport_dest() 420 if (esw_attr->dests[attr_idx].flags & MLX5_ESW_DEST_ENCAP) { in esw_setup_vport_dest() 423 flow_act->pkt_reformat = esw_attr->dests[attr_idx].pkt_reformat; in esw_setup_vport_dest() 426 dest[dest_idx].vport.pkt_reformat = esw_attr->dests[attr_idx].pkt_reformat; in esw_setup_vport_dest()
|
Completed in 24 milliseconds