attr_id 1357 drivers/block/mtip32xx/mtip32xx.c if (pattr->attr_id == id) { attr_id 164 drivers/block/mtip32xx/mtip32xx.h u8 attr_id; attr_id 1262 drivers/infiniband/core/cm.c __be16 attr_id, __be64 tid) attr_id 1268 drivers/infiniband/core/cm.c hdr->attr_id = attr_id; attr_id 3791 drivers/infiniband/core/cm.c msg->mad)->attr_id) - CM_ATTR_ID_OFFSET; attr_id 3997 drivers/infiniband/core/cm.c u16 attr_id; attr_id 4001 drivers/infiniband/core/cm.c switch (mad_recv_wc->recv_buf.mad->mad_hdr.attr_id) { attr_id 4044 drivers/infiniband/core/cm.c attr_id = be16_to_cpu(mad_recv_wc->recv_buf.mad->mad_hdr.attr_id); attr_id 4046 drivers/infiniband/core/cm.c counter[attr_id - CM_ATTR_ID_OFFSET]); attr_id 1876 drivers/infiniband/core/mad.c (mad_hdr->attr_id != IB_MGMT_CLASSPORTINFO_ATTR_ID) && attr_id 1608 drivers/infiniband/core/sa_query.c mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_PATH_REC); attr_id 1745 drivers/infiniband/core/sa_query.c mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_SERVICE_REC); attr_id 1837 drivers/infiniband/core/sa_query.c mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_MC_MEMBER_REC); attr_id 1935 drivers/infiniband/core/sa_query.c mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_GUID_INFO_REC); attr_id 2089 drivers/infiniband/core/sa_query.c mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_CLASS_PORTINFO); attr_id 85 drivers/infiniband/core/sysfs.c __be16 attr_id; attr_id 458 drivers/infiniband/core/sysfs.c .attr_id = IB_PMA_PORT_COUNTERS , \ attr_id 465 drivers/infiniband/core/sysfs.c .attr_id = IB_PMA_PORT_COUNTERS_EXT , \ attr_id 495 drivers/infiniband/core/sysfs.c in_mad->mad_hdr.attr_id = attr; attr_id 528 drivers/infiniband/core/sysfs.c ret = get_perf_mad(p->ibdev, p->port_num, tab_attr->attr_id, &data, attr_id 387 drivers/infiniband/core/uverbs_ioctl.c u32 attr_key = uapi_key_attr(uattr->attr_id); attr_id 236 drivers/infiniband/hw/hfi1/mad.c if (smp->attr_id != IB_SMP_ATTR_NOTICE) attr_id 368 drivers/infiniband/hw/hfi1/mad.c smp->attr_id = IB_SMP_ATTR_NOTICE; attr_id 494 drivers/infiniband/hw/hfi1/mad.c trap->data.ntc_256.attr_id = mad->attr_id; attr_id 2423 drivers/infiniband/hw/hfi1/mad.c __be16 attr_id; attr_id 4092 drivers/infiniband/hw/hfi1/mad.c static int subn_get_opa_sma(__be16 attr_id, struct opa_smp *smp, u32 am, attr_id 4099 drivers/infiniband/hw/hfi1/mad.c switch (attr_id) { attr_id 4182 drivers/infiniband/hw/hfi1/mad.c static int subn_set_opa_sma(__be16 attr_id, struct opa_smp *smp, u32 am, attr_id 4189 drivers/infiniband/hw/hfi1/mad.c switch (attr_id) { attr_id 4291 drivers/infiniband/hw/hfi1/mad.c (void)subn_get_opa_sma(agg->attr_id, smp, am, agg->data, attr_id 4337 drivers/infiniband/hw/hfi1/mad.c (void)subn_set_opa_sma(agg->attr_id, smp, am, agg->data, attr_id 4521 drivers/infiniband/hw/hfi1/mad.c __be16 attr_id; attr_id 4529 drivers/infiniband/hw/hfi1/mad.c attr_id = smp->attr_id; attr_id 4548 drivers/infiniband/hw/hfi1/mad.c if (attr_id == IB_SMP_ATTR_PORT_INFO && attr_id 4566 drivers/infiniband/hw/hfi1/mad.c switch (attr_id) { attr_id 4569 drivers/infiniband/hw/hfi1/mad.c ret = subn_get_opa_sma(attr_id, smp, am, data, attr_id 4580 drivers/infiniband/hw/hfi1/mad.c switch (attr_id) { attr_id 4582 drivers/infiniband/hw/hfi1/mad.c ret = subn_set_opa_sma(attr_id, smp, am, data, attr_id 4645 drivers/infiniband/hw/hfi1/mad.c if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && attr_id 4661 drivers/infiniband/hw/hfi1/mad.c switch (smp->attr_id) { attr_id 4694 drivers/infiniband/hw/hfi1/mad.c switch (pmp->mad_hdr.attr_id) { attr_id 4713 drivers/infiniband/hw/hfi1/mad.c if (pmp->mad_hdr.attr_id) { attr_id 4756 drivers/infiniband/hw/hfi1/mad.c switch (pmp->mad_hdr.attr_id) { attr_id 4784 drivers/infiniband/hw/hfi1/mad.c switch (pmp->mad_hdr.attr_id) { attr_id 132 drivers/infiniband/hw/hfi1/mad.h __be16 attr_id; attr_id 77 drivers/infiniband/hw/mlx4/cm.c if (mad->mad_hdr.attr_id == CM_SIDR_REQ_ATTR_ID) { attr_id 81 drivers/infiniband/hw/mlx4/cm.c } else if (mad->mad_hdr.attr_id == CM_SIDR_REP_ATTR_ID) { attr_id 92 drivers/infiniband/hw/mlx4/cm.c if (mad->mad_hdr.attr_id == CM_SIDR_REQ_ATTR_ID) { attr_id 96 drivers/infiniband/hw/mlx4/cm.c } else if (mad->mad_hdr.attr_id == CM_SIDR_REP_ATTR_ID) { attr_id 107 drivers/infiniband/hw/mlx4/cm.c if (mad->mad_hdr.attr_id == CM_SIDR_REP_ATTR_ID) { attr_id 111 drivers/infiniband/hw/mlx4/cm.c } else if (mad->mad_hdr.attr_id == CM_SIDR_REQ_ATTR_ID) { attr_id 122 drivers/infiniband/hw/mlx4/cm.c if (mad->mad_hdr.attr_id == CM_SIDR_REP_ATTR_ID) { attr_id 126 drivers/infiniband/hw/mlx4/cm.c } else if (mad->mad_hdr.attr_id == CM_SIDR_REQ_ATTR_ID) { attr_id 295 drivers/infiniband/hw/mlx4/cm.c if (mad->mad_hdr.attr_id == CM_REQ_ATTR_ID || attr_id 296 drivers/infiniband/hw/mlx4/cm.c mad->mad_hdr.attr_id == CM_REP_ATTR_ID || attr_id 297 drivers/infiniband/hw/mlx4/cm.c mad->mad_hdr.attr_id == CM_SIDR_REQ_ATTR_ID) { attr_id 308 drivers/infiniband/hw/mlx4/cm.c } else if (mad->mad_hdr.attr_id == CM_REJ_ATTR_ID || attr_id 309 drivers/infiniband/hw/mlx4/cm.c mad->mad_hdr.attr_id == CM_SIDR_REP_ATTR_ID) { attr_id 325 drivers/infiniband/hw/mlx4/cm.c if (mad->mad_hdr.attr_id == CM_DREQ_ATTR_ID) attr_id 336 drivers/infiniband/hw/mlx4/cm.c if (mad->mad_hdr.attr_id == CM_REQ_ATTR_ID || attr_id 337 drivers/infiniband/hw/mlx4/cm.c mad->mad_hdr.attr_id == CM_SIDR_REQ_ATTR_ID) { attr_id 365 drivers/infiniband/hw/mlx4/cm.c if (mad->mad_hdr.attr_id == CM_DREQ_ATTR_ID || attr_id 366 drivers/infiniband/hw/mlx4/cm.c mad->mad_hdr.attr_id == CM_REJ_ATTR_ID) attr_id 234 drivers/infiniband/hw/mlx4/mad.c switch (mad->mad_hdr.attr_id) { attr_id 375 drivers/infiniband/hw/mlx4/mad.c mad->mad_hdr.attr_id == IB_SMP_ATTR_NODE_DESC) { attr_id 422 drivers/infiniband/hw/mlx4/mad.c switch (be16_to_cpu(sa_mad->mad_hdr.attr_id)) { attr_id 820 drivers/infiniband/hw/mlx4/mad.c be16_to_cpu(in_mad->mad_hdr.attr_id)); attr_id 848 drivers/infiniband/hw/mlx4/mad.c if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO) attr_id 863 drivers/infiniband/hw/mlx4/mad.c in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && attr_id 894 drivers/infiniband/hw/mlx4/mad.c __be16 attr_id) attr_id 896 drivers/infiniband/hw/mlx4/mad.c switch (attr_id) { attr_id 949 drivers/infiniband/hw/mlx4/mad.c if (in_mad->mad_hdr.attr_id == IB_PMA_CLASS_PORT_INFO) attr_id 974 drivers/infiniband/hw/mlx4/mad.c in_mad->mad_hdr.attr_id); attr_id 1006 drivers/infiniband/hw/mlx4/mad.c (in_mad->mad_hdr.attr_id == IB_PMA_PORT_COUNTERS || attr_id 1007 drivers/infiniband/hw/mlx4/mad.c in_mad->mad_hdr.attr_id == IB_PMA_PORT_COUNTERS_EXT || attr_id 1008 drivers/infiniband/hw/mlx4/mad.c in_mad->mad_hdr.attr_id == IB_PMA_CLASS_PORT_INFO))) attr_id 1161 drivers/infiniband/hw/mlx4/mad.c in_mad->attr_id = IB_SMP_ATTR_GUID_INFO; attr_id 1342 drivers/infiniband/hw/mlx4/mad.c switch (be16_to_cpu(sa_mad->mad_hdr.attr_id)) { attr_id 470 drivers/infiniband/hw/mlx4/main.c in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; attr_id 672 drivers/infiniband/hw/mlx4/main.c in_mad->attr_id = IB_SMP_ATTR_PORT_INFO; attr_id 724 drivers/infiniband/hw/mlx4/main.c in_mad->attr_id = MLX4_ATTR_EXTENDED_PORT_INFO; attr_id 850 drivers/infiniband/hw/mlx4/main.c in_mad->attr_id = IB_SMP_ATTR_PORT_INFO; attr_id 872 drivers/infiniband/hw/mlx4/main.c in_mad->attr_id = IB_SMP_ATTR_GUID_INFO; attr_id 918 drivers/infiniband/hw/mlx4/main.c in_mad->attr_id = IB_SMP_ATTR_SL_TO_VL_TABLE; attr_id 972 drivers/infiniband/hw/mlx4/main.c in_mad->attr_id = IB_SMP_ATTR_PKEY_TABLE; attr_id 2010 drivers/infiniband/hw/mlx4/main.c in_mad->attr_id = IB_SMP_ATTR_NODE_DESC; attr_id 2020 drivers/infiniband/hw/mlx4/main.c in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; attr_id 294 drivers/infiniband/hw/mlx4/mcg.c mad.mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_MC_MEMBER_REC); attr_id 335 drivers/infiniband/hw/mlx4/mcg.c mad.mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_MC_MEMBER_REC); attr_id 98 drivers/infiniband/hw/mlx5/mad.c if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO) attr_id 223 drivers/infiniband/hw/mlx5/mad.c if (in_mad->mad_hdr.attr_id == IB_PMA_CLASS_PORT_INFO) { attr_id 232 drivers/infiniband/hw/mlx5/mad.c if (in_mad->mad_hdr.attr_id == IB_PMA_PORT_COUNTERS_EXT) { attr_id 313 drivers/infiniband/hw/mlx5/mad.c in_mad->attr_id = MLX5_ATTR_EXTENDED_PORT_INFO; attr_id 340 drivers/infiniband/hw/mlx5/mad.c in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; attr_id 427 drivers/infiniband/hw/mlx5/mad.c in_mad->attr_id = IB_SMP_ATTR_NODE_DESC; attr_id 452 drivers/infiniband/hw/mlx5/mad.c in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; attr_id 478 drivers/infiniband/hw/mlx5/mad.c in_mad->attr_id = IB_SMP_ATTR_PKEY_TABLE; attr_id 507 drivers/infiniband/hw/mlx5/mad.c in_mad->attr_id = IB_SMP_ATTR_PORT_INFO; attr_id 518 drivers/infiniband/hw/mlx5/mad.c in_mad->attr_id = IB_SMP_ATTR_GUID_INFO; attr_id 552 drivers/infiniband/hw/mlx5/mad.c in_mad->attr_id = IB_SMP_ATTR_PORT_INFO; attr_id 613 drivers/infiniband/hw/mlx5/mad.c in_mad->attr_id = MLX5_ATTR_EXTENDED_PORT_INFO; attr_id 117 drivers/infiniband/hw/mthca/mthca_mad.c if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO) { attr_id 141 drivers/infiniband/hw/mthca/mthca_mad.c if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PKEY_TABLE) { attr_id 156 drivers/infiniband/hw/mthca/mthca_mad.c mad->mad_hdr.attr_id == IB_SMP_ATTR_NODE_DESC) { attr_id 243 drivers/infiniband/hw/mthca/mthca_mad.c if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO || attr_id 244 drivers/infiniband/hw/mthca/mthca_mad.c ((in_mad->mad_hdr.attr_id & IB_SMP_ATTR_VENDOR_MASK) == attr_id 258 drivers/infiniband/hw/mthca/mthca_mad.c in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && attr_id 82 drivers/infiniband/hw/mthca/mthca_provider.c in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; attr_id 154 drivers/infiniband/hw/mthca/mthca_provider.c in_mad->attr_id = IB_SMP_ATTR_PORT_INFO; attr_id 248 drivers/infiniband/hw/mthca/mthca_provider.c in_mad->attr_id = IB_SMP_ATTR_PKEY_TABLE; attr_id 277 drivers/infiniband/hw/mthca/mthca_provider.c in_mad->attr_id = IB_SMP_ATTR_PORT_INFO; attr_id 288 drivers/infiniband/hw/mthca/mthca_provider.c in_mad->attr_id = IB_SMP_ATTR_GUID_INFO; attr_id 1090 drivers/infiniband/hw/mthca/mthca_provider.c in_mad->attr_id = IB_SMP_ATTR_NODE_DESC; attr_id 1099 drivers/infiniband/hw/mthca/mthca_provider.c in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; attr_id 4144 drivers/infiniband/hw/qedr/verbs.c mad_hdr->attr_id, mad_hdr->base_version, mad_hdr->attr_mod, attr_id 5472 drivers/infiniband/hw/qib/qib_iba7322.c smp->attr_id = QIB_VENDOR_IPG; attr_id 99 drivers/infiniband/hw/qib/qib_mad.c smp->attr_id = IB_SMP_ATTR_NOTICE; attr_id 181 drivers/infiniband/hw/qib/qib_mad.c data.details.ntc_256.attr_id = smp->attr_id; attr_id 1887 drivers/infiniband/hw/qib/qib_mad.c if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && attr_id 1899 drivers/infiniband/hw/qib/qib_mad.c switch (smp->attr_id) { attr_id 1939 drivers/infiniband/hw/qib/qib_mad.c switch (smp->attr_id) { attr_id 1973 drivers/infiniband/hw/qib/qib_mad.c if (smp->attr_id == IB_SMP_ATTR_NOTICE) attr_id 1995 drivers/infiniband/hw/qib/qib_mad.c smp->attr_id == QIB_VENDOR_IPG) { attr_id 2028 drivers/infiniband/hw/qib/qib_mad.c switch (pmp->mad_hdr.attr_id) { attr_id 2057 drivers/infiniband/hw/qib/qib_mad.c switch (pmp->mad_hdr.attr_id) { attr_id 2327 drivers/infiniband/hw/qib/qib_mad.c switch (ccp->attr_id) { attr_id 2352 drivers/infiniband/hw/qib/qib_mad.c switch (ccp->attr_id) { attr_id 127 drivers/infiniband/hw/qib/qib_mad.h __be16 attr_id; attr_id 458 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c u16 attr_id) attr_id 479 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c if (attr_id == OPA_EM_ATTR_IFACE_MCAST_MACS) attr_id 539 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c u16 attr_id = be16_to_cpu(recvd_mad->mad_hdr.attr_id); attr_id 541 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c switch (attr_id) { attr_id 554 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c vema_get_mac_list(port, recvd_mad, rsp_mad, attr_id); attr_id 578 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c u16 attr_id = be16_to_cpu(recvd_mad->mad_hdr.attr_id); attr_id 580 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c switch (attr_id) { attr_id 816 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c trap_mad->mad_hdr.attr_id = IB_SMP_ATTR_NOTICE; attr_id 422 drivers/infiniband/ulp/srpt/ib_srpt.c u16 attr_id; attr_id 426 drivers/infiniband/ulp/srpt/ib_srpt.c attr_id = be16_to_cpu(rq_mad->mad_hdr.attr_id); attr_id 427 drivers/infiniband/ulp/srpt/ib_srpt.c switch (attr_id) { attr_id 34 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c static s32 fm10k_tlv_attr_put_null_string(u32 *msg, u16 attr_id, attr_id 66 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c attr[0] = len | attr_id; attr_id 112 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c s32 fm10k_tlv_attr_put_mac_vlan(u32 *msg, u16 attr_id, attr_id 125 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c attr[0] = len | attr_id; attr_id 172 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c s32 fm10k_tlv_attr_put_bool(u32 *msg, u16 attr_id) attr_id 179 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c msg[FM10K_TLV_DWORD_LEN(*msg)] = attr_id; attr_id 198 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c s32 fm10k_tlv_attr_put_value(u32 *msg, u16 attr_id, s64 value, u32 len) attr_id 218 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c attr[0] = len | attr_id; attr_id 270 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c s32 fm10k_tlv_attr_put_le_struct(u32 *msg, u16 attr_id, attr_id 289 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c attr[0] = len | attr_id; attr_id 340 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c static u32 *fm10k_tlv_attr_nest_start(u32 *msg, u16 attr_id) attr_id 350 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c attr[0] = attr_id; attr_id 401 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c u32 attr_id = *attr & FM10K_TLV_ID_MASK; attr_id 409 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c while (tlv_attr->id < attr_id) attr_id 413 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c if (tlv_attr->id != attr_id) attr_id 474 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c u32 i, attr_id, offset = 0; attr_id 504 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c attr_id = *attr & FM10K_TLV_ID_MASK; attr_id 506 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c if (attr_id >= FM10K_TLV_RESULTS_MAX) attr_id 515 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c results[attr_id] = attr; attr_id 96 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h #define fm10k_tlv_attr_put_u8(msg, attr_id, val) \ attr_id 97 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h fm10k_tlv_attr_put_value(msg, attr_id, val, 1) attr_id 98 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h #define fm10k_tlv_attr_put_u16(msg, attr_id, val) \ attr_id 99 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h fm10k_tlv_attr_put_value(msg, attr_id, val, 2) attr_id 100 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h #define fm10k_tlv_attr_put_u32(msg, attr_id, val) \ attr_id 101 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h fm10k_tlv_attr_put_value(msg, attr_id, val, 4) attr_id 102 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h #define fm10k_tlv_attr_put_u64(msg, attr_id, val) \ attr_id 103 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h fm10k_tlv_attr_put_value(msg, attr_id, val, 8) attr_id 104 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h #define fm10k_tlv_attr_put_s8(msg, attr_id, val) \ attr_id 105 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h fm10k_tlv_attr_put_value(msg, attr_id, val, 1) attr_id 106 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h #define fm10k_tlv_attr_put_s16(msg, attr_id, val) \ attr_id 107 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h fm10k_tlv_attr_put_value(msg, attr_id, val, 2) attr_id 108 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h #define fm10k_tlv_attr_put_s32(msg, attr_id, val) \ attr_id 109 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h fm10k_tlv_attr_put_value(msg, attr_id, val, 4) attr_id 110 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h #define fm10k_tlv_attr_put_s64(msg, attr_id, val) \ attr_id 111 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h fm10k_tlv_attr_put_value(msg, attr_id, val, 8) attr_id 923 drivers/net/ethernet/mellanox/mlx4/cmd.c if (smp->attr_id == IB_SMP_ATTR_PKEY_TABLE) { attr_id 945 drivers/net/ethernet/mellanox/mlx4/cmd.c if (smp->attr_id == IB_SMP_ATTR_PORT_INFO) { attr_id 962 drivers/net/ethernet/mellanox/mlx4/cmd.c if (smp->attr_id == IB_SMP_ATTR_GUID_INFO) { attr_id 992 drivers/net/ethernet/mellanox/mlx4/cmd.c if (smp->attr_id == IB_SMP_ATTR_NODE_INFO) { attr_id 1015 drivers/net/ethernet/mellanox/mlx4/cmd.c be16_to_cpu(smp->attr_id)); attr_id 2071 drivers/net/ethernet/mellanox/mlx4/port.c inmad->attr_id = cpu_to_be16(0xFF60); /* Module Info */ attr_id 1281 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c static bool mlx5e_rep_has_offload_stats(const struct net_device *dev, int attr_id) attr_id 1283 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c switch (attr_id) { attr_id 1301 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c static int mlx5e_rep_get_offload_stats(int attr_id, const struct net_device *dev, attr_id 1304 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c switch (attr_id) { attr_id 1045 drivers/net/ethernet/mellanox/mlxsw/spectrum.c static bool mlxsw_sp_port_has_offload_stats(const struct net_device *dev, int attr_id) attr_id 1047 drivers/net/ethernet/mellanox/mlxsw/spectrum.c switch (attr_id) { attr_id 1055 drivers/net/ethernet/mellanox/mlxsw/spectrum.c static int mlxsw_sp_port_get_offload_stats(int attr_id, const struct net_device *dev, attr_id 1058 drivers/net/ethernet/mellanox/mlxsw/spectrum.c switch (attr_id) { attr_id 112 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c nfp_repr_has_offload_stats(const struct net_device *dev, int attr_id) attr_id 114 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c switch (attr_id) { attr_id 155 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c nfp_repr_get_offload_stats(int attr_id, const struct net_device *dev, attr_id 158 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c switch (attr_id) { attr_id 1446 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c u32 filter_id, attr_id, mask, value; attr_id 1457 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c for (attr_id = 0; attr_id < ARRAY_SIZE(filter.attrs); attr_id 1458 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c attr_id++) { attr_id 1460 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c &filter.attrs[attr_id]; attr_id 406 drivers/staging/fsl-dpaa2/ethsw/ethsw.c int attr_id) attr_id 408 drivers/staging/fsl-dpaa2/ethsw/ethsw.c return (attr_id == IFLA_OFFLOAD_XSTATS_CPU_HIT); attr_id 411 drivers/staging/fsl-dpaa2/ethsw/ethsw.c static int port_get_offload_stats(int attr_id, attr_id 415 drivers/staging/fsl-dpaa2/ethsw/ethsw.c switch (attr_id) { attr_id 634 drivers/staging/rtl8188eu/core/rtw_ieee80211.c u16 attr_id = get_unaligned_be16(attr_ptr); attr_id 638 drivers/staging/rtl8188eu/core/rtw_ieee80211.c if (attr_id == target_attr_id) { attr_id 803 drivers/staging/rtl8723bs/core/rtw_ieee80211.c u16 attr_id = RTW_GET_BE16(attr_ptr); attr_id 808 drivers/staging/rtl8723bs/core/rtw_ieee80211.c if (attr_id == target_attr_id) { attr_id 47 fs/ext4/sysfs.c short attr_id; attr_id 140 fs/ext4/sysfs.c .attr_id = attr_##_id, \ attr_id 150 fs/ext4/sysfs.c .attr_id = attr_##_id, \ attr_id 166 fs/ext4/sysfs.c .attr_id = attr_##_id, \ attr_id 298 fs/ext4/sysfs.c switch (a->attr_id) { attr_id 350 fs/ext4/sysfs.c switch (a->attr_id) { attr_id 1017 include/linux/mlx4/device.h __be16 attr_id; attr_id 1280 include/linux/netdevice.h bool (*ndo_has_offload_stats)(const struct net_device *dev, int attr_id); attr_id 1281 include/linux/netdevice.h int (*ndo_get_offload_stats)(int attr_id, attr_id 172 include/rdma/ib_mad.h __be16 attr_id; attr_id 441 include/rdma/ib_mad.h __be16 attr_id; attr_id 54 include/rdma/ib_smi.h __be16 attr_id; attr_id 58 include/rdma/opa_smi.h __be16 attr_id; attr_id 36 include/trace/events/ib_mad.h __field(u16, attr_id) attr_id 80 include/trace/events/ib_mad.h __entry->attr_id = attr_id 81 include/trace/events/ib_mad.h ((struct ib_mad_hdr *)wr->send_buf.mad)->attr_id; attr_id 101 include/trace/events/ib_mad.h be64_to_cpu(__entry->tid), be16_to_cpu(__entry->attr_id), attr_id 201 include/trace/events/ib_mad.h __field(u16, attr_id) attr_id 222 include/trace/events/ib_mad.h __entry->attr_id = mad_hdr->attr_id; attr_id 245 include/trace/events/ib_mad.h be64_to_cpu(__entry->tid), be16_to_cpu(__entry->attr_id), attr_id 36 include/trace/events/ib_umad.h __field(u16, attr_id) attr_id 81 include/trace/events/ib_umad.h __entry->attr_id = mad_hdr->attr_id; attr_id 104 include/trace/events/ib_umad.h be64_to_cpu(__entry->tid), be16_to_cpu(__entry->attr_id), attr_id 55 include/uapi/rdma/rdma_user_ioctl_cmds.h __u16 attr_id; /* command specific type attribute */ attr_id 4710 net/core/rtnetlink.c static int rtnl_get_offload_stats_attr_size(int attr_id) attr_id 4712 net/core/rtnetlink.c switch (attr_id) { attr_id 4724 net/core/rtnetlink.c int attr_id, size; attr_id 4732 net/core/rtnetlink.c for (attr_id = IFLA_OFFLOAD_XSTATS_FIRST; attr_id 4733 net/core/rtnetlink.c attr_id <= IFLA_OFFLOAD_XSTATS_MAX; attr_id++) { attr_id 4734 net/core/rtnetlink.c if (attr_id < *prividx) attr_id 4737 net/core/rtnetlink.c size = rtnl_get_offload_stats_attr_size(attr_id); attr_id 4741 net/core/rtnetlink.c if (!dev->netdev_ops->ndo_has_offload_stats(dev, attr_id)) attr_id 4744 net/core/rtnetlink.c attr = nla_reserve_64bit(skb, attr_id, size, attr_id 4751 net/core/rtnetlink.c err = dev->netdev_ops->ndo_get_offload_stats(attr_id, dev, attr_id 4766 net/core/rtnetlink.c *prividx = attr_id; attr_id 4773 net/core/rtnetlink.c int attr_id; attr_id 4780 net/core/rtnetlink.c for (attr_id = IFLA_OFFLOAD_XSTATS_FIRST; attr_id 4781 net/core/rtnetlink.c attr_id <= IFLA_OFFLOAD_XSTATS_MAX; attr_id++) { attr_id 4782 net/core/rtnetlink.c if (!dev->netdev_ops->ndo_has_offload_stats(dev, attr_id)) attr_id 4784 net/core/rtnetlink.c size = rtnl_get_offload_stats_attr_size(attr_id); attr_id 61 samples/bpf/ibumad_kern.c u16 attr_id;