pattr 1330 drivers/block/mtip32xx/mtip32xx.c struct smart_attr *pattr; pattr 1355 drivers/block/mtip32xx/mtip32xx.c pattr = (struct smart_attr *)(port->smart_buf + 2); pattr 1356 drivers/block/mtip32xx/mtip32xx.c for (i = 0; i < 29; i++, pattr++) pattr 1357 drivers/block/mtip32xx/mtip32xx.c if (pattr->attr_id == id) { pattr 1358 drivers/block/mtip32xx/mtip32xx.c memcpy(attrib, pattr, sizeof(struct smart_attr)); pattr 808 drivers/infiniband/hw/mlx4/mad.c struct ib_port_attr pattr; pattr 864 drivers/infiniband/hw/mlx4/mad.c !ib_query_port(ibdev, port_num, &pattr)) pattr 865 drivers/infiniband/hw/mlx4/mad.c prev_lid = ib_lid_cpu16(pattr.lid); pattr 211 drivers/infiniband/hw/mthca/mthca_mad.c struct ib_port_attr pattr; pattr 259 drivers/infiniband/hw/mthca/mthca_mad.c !ib_query_port(ibdev, port_num, &pattr)) pattr 260 drivers/infiniband/hw/mthca/mthca_mad.c prev_lid = ib_lid_cpu16(pattr.lid); pattr 299 drivers/infiniband/hw/qib/qib_sysfs.c struct qib_port_attr *pattr = pattr 304 drivers/infiniband/hw/qib/qib_sysfs.c if (!pattr->show) pattr 307 drivers/infiniband/hw/qib/qib_sysfs.c return pattr->show(ppd, buf); pattr 313 drivers/infiniband/hw/qib/qib_sysfs.c struct qib_port_attr *pattr = pattr 318 drivers/infiniband/hw/qib/qib_sysfs.c if (!pattr->store) pattr 321 drivers/infiniband/hw/qib/qib_sysfs.c return pattr->store(ppd, buf, len); pattr 2335 drivers/net/ethernet/rocker/rocker_main.c const struct rocker_tlv *pattr; pattr 2356 drivers/net/ethernet/rocker/rocker_main.c pattr = stats_attrs[rocker_port_stats[i].type]; pattr 2357 drivers/net/ethernet/rocker/rocker_main.c if (!pattr) pattr 2360 drivers/net/ethernet/rocker/rocker_main.c data[i] = rocker_tlv_get_u64(pattr); pattr 77 drivers/scsi/bfa/bfad_bsg.c struct bfa_port_attr_s pattr; pattr 81 drivers/scsi/bfa/bfad_bsg.c bfa_fcport_get_attr(&bfad->bfa, &pattr); pattr 82 drivers/scsi/bfa/bfad_bsg.c iocmd->nwwn = pattr.nwwn; pattr 83 drivers/scsi/bfa/bfad_bsg.c iocmd->pwwn = pattr.pwwn; pattr 88 drivers/scsi/bfa/bfad_bsg.c iocmd->factorynwwn = pattr.factorynwwn; pattr 89 drivers/scsi/bfa/bfad_bsg.c iocmd->factorypwwn = pattr.factorypwwn; pattr 225 net/core/fib_rules.c static int nla_get_port_range(struct nlattr *pattr, pattr 228 net/core/fib_rules.c const struct fib_rule_port_range *pr = nla_data(pattr); pattr 1241 net/netfilter/nf_conntrack_proto_tcp.c struct nlattr *pattr = cda[CTA_PROTOINFO_TCP]; pattr 1247 net/netfilter/nf_conntrack_proto_tcp.c if (!pattr) pattr 1250 net/netfilter/nf_conntrack_proto_tcp.c err = nla_parse_nested_deprecated(tb, CTA_PROTOINFO_TCP_MAX, pattr, pattr 148 net/sched/act_pedit.c struct nlattr *pattr; pattr 164 net/sched/act_pedit.c pattr = tb[TCA_PEDIT_PARMS]; pattr 165 net/sched/act_pedit.c if (!pattr) pattr 166 net/sched/act_pedit.c pattr = tb[TCA_PEDIT_PARMS_EX]; pattr 167 net/sched/act_pedit.c if (!pattr) { pattr 172 net/sched/act_pedit.c parm = nla_data(pattr); pattr 178 net/sched/act_pedit.c if (nla_len(pattr) < sizeof(*parm) + ksize) { pattr 179 net/sched/act_pedit.c NL_SET_ERR_MSG_ATTR(extack, pattr, "Length of TCA_PEDIT_PARMS or TCA_PEDIT_PARMS_EX pedit attribute is invalid"); pattr 251 net/smc/smc_core.c ini->ib_dev->pattr[ini->ib_port - 1].active_mtu; pattr 175 net/smc/smc_ib.c return smcibdev->pattr[ibport - 1].state == IB_PORT_ACTIVE; pattr 186 net/smc/smc_ib.c for (i = 0; i < smcibdev->pattr[ibport - 1].gid_tbl_len; i++) { pattr 216 net/smc/smc_ib.c memset(&smcibdev->pattr[ibport - 1], 0, pattr 217 net/smc/smc_ib.c sizeof(smcibdev->pattr[ibport - 1])); pattr 219 net/smc/smc_ib.c &smcibdev->pattr[ibport - 1]); pattr 35 net/smc/smc_ib.h struct ib_port_attr pattr[SMC_MAX_PORTS]; /* ib dev. port attrs */