lid                37 arch/ia64/include/asm/smp.h 	} lid;
lid                39 arch/ia64/include/asm/smp.h 	lid.bits = ia64_getreg(_IA64_REG_CR_LID);
lid                40 arch/ia64/include/asm/smp.h 	return lid.f.id << 8 | lid.f.eid;
lid               194 arch/mips/include/asm/uasm.h 			int lid);
lid               300 arch/mips/include/asm/uasm.h void uasm_r_mips_pc16(struct uasm_reloc **rel, u32 *addr, int lid);
lid               309 arch/mips/include/asm/uasm.h void uasm_il_b(u32 **p, struct uasm_reloc **r, int lid);
lid               311 arch/mips/include/asm/uasm.h 		   unsigned int bit, int lid);
lid               313 arch/mips/include/asm/uasm.h 		   unsigned int bit, int lid);
lid               315 arch/mips/include/asm/uasm.h 		 unsigned int r2, int lid);
lid               316 arch/mips/include/asm/uasm.h void uasm_il_beqz(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);
lid               317 arch/mips/include/asm/uasm.h void uasm_il_beqzl(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);
lid               318 arch/mips/include/asm/uasm.h void uasm_il_bgezl(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);
lid               319 arch/mips/include/asm/uasm.h void uasm_il_bgez(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);
lid               320 arch/mips/include/asm/uasm.h void uasm_il_bltz(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);
lid               322 arch/mips/include/asm/uasm.h 		 unsigned int reg2, int lid);
lid               323 arch/mips/include/asm/uasm.h void uasm_il_bnez(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);
lid               652 arch/mips/mm/tlbex.c 				   unsigned int tmp, enum label_id lid,
lid               668 arch/mips/mm/tlbex.c 			uasm_il_b(p, r, lid);
lid               672 arch/mips/mm/tlbex.c 			uasm_il_b(p, r, lid);
lid               675 arch/mips/mm/tlbex.c 			uasm_il_b(p, r, lid);
lid               686 arch/mips/mm/tlbex.c 			uasm_il_b(p, r, lid);
lid               690 arch/mips/mm/tlbex.c 			uasm_il_b(p, r, lid);
lid               693 arch/mips/mm/tlbex.c 			uasm_il_b(p, r, lid);
lid               720 arch/mips/mm/tlbex.c 		  unsigned int pmd, int lid)
lid               724 arch/mips/mm/tlbex.c 		uasm_il_bbit1(p, r, tmp, ilog2(_PAGE_HUGE), lid);
lid               727 arch/mips/mm/tlbex.c 		uasm_il_bnez(p, r, tmp, lid);
lid              1758 arch/mips/mm/tlbex.c 		  int pte, int ptr, int scratch, enum label_id lid)
lid              1765 arch/mips/mm/tlbex.c 			uasm_il_bbit0(p, r, pte, ilog2(_PAGE_PRESENT), lid);
lid              1773 arch/mips/mm/tlbex.c 			uasm_il_beqz(p, r, t, lid);
lid              1786 arch/mips/mm/tlbex.c 		uasm_il_bnez(p, r, t, lid);
lid              1810 arch/mips/mm/tlbex.c 		   enum label_id lid)
lid              1823 arch/mips/mm/tlbex.c 	uasm_il_bnez(p, r, t, lid);
lid              1851 arch/mips/mm/tlbex.c 		     enum label_id lid)
lid              1854 arch/mips/mm/tlbex.c 		uasm_il_bbit0(p, r, pte, ilog2(_PAGE_WRITE), lid);
lid              1860 arch/mips/mm/tlbex.c 		uasm_il_beqz(p, r, t, lid);
lid               412 arch/mips/mm/uasm.c void uasm_build_label(struct uasm_label **lab, u32 *addr, int lid)
lid               415 arch/mips/mm/uasm.c 	(*lab)->lab = lid;
lid               490 arch/mips/mm/uasm.c void uasm_r_mips_pc16(struct uasm_reloc **rel, u32 *addr, int lid)
lid               494 arch/mips/mm/uasm.c 	(*rel)->lab = lid;
lid               559 arch/mips/mm/uasm.c 			   int lid)
lid               561 arch/mips/mm/uasm.c 	uasm_r_mips_pc16(r, *p, lid);
lid               566 arch/mips/mm/uasm.c void uasm_il_b(u32 **p, struct uasm_reloc **r, int lid)
lid               568 arch/mips/mm/uasm.c 	uasm_r_mips_pc16(r, *p, lid);
lid               574 arch/mips/mm/uasm.c 			  unsigned int r2, int lid)
lid               576 arch/mips/mm/uasm.c 	uasm_r_mips_pc16(r, *p, lid);
lid               582 arch/mips/mm/uasm.c 			   int lid)
lid               584 arch/mips/mm/uasm.c 	uasm_r_mips_pc16(r, *p, lid);
lid               590 arch/mips/mm/uasm.c 			    int lid)
lid               592 arch/mips/mm/uasm.c 	uasm_r_mips_pc16(r, *p, lid);
lid               598 arch/mips/mm/uasm.c 			  unsigned int reg2, int lid)
lid               600 arch/mips/mm/uasm.c 	uasm_r_mips_pc16(r, *p, lid);
lid               606 arch/mips/mm/uasm.c 			   int lid)
lid               608 arch/mips/mm/uasm.c 	uasm_r_mips_pc16(r, *p, lid);
lid               614 arch/mips/mm/uasm.c 			    int lid)
lid               616 arch/mips/mm/uasm.c 	uasm_r_mips_pc16(r, *p, lid);
lid               622 arch/mips/mm/uasm.c 			   int lid)
lid               624 arch/mips/mm/uasm.c 	uasm_r_mips_pc16(r, *p, lid);
lid               630 arch/mips/mm/uasm.c 			    unsigned int bit, int lid)
lid               632 arch/mips/mm/uasm.c 	uasm_r_mips_pc16(r, *p, lid);
lid               638 arch/mips/mm/uasm.c 			    unsigned int bit, int lid)
lid               640 arch/mips/mm/uasm.c 	uasm_r_mips_pc16(r, *p, lid);
lid               164 arch/x86/platform/olpc/olpc-xo1-sci.c ATTRIBUTE_GROUPS(lid);
lid               295 drivers/acpi/acpica/dbconvert.c 	ACPI_PLD_SET_LID(&dword, pld_info->lid);
lid               409 drivers/acpi/acpica/dbconvert.c 	acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Lid", pld_info->lid);
lid               490 drivers/acpi/acpica/utxface.c 	pld_info->lid = ACPI_PLD_GET_LID(&dword);
lid              1551 drivers/infiniband/core/cm.c 	u32 lid;
lid              1559 drivers/infiniband/core/cm.c 		lid = opa_get_lid_from_gid(&req_msg->primary_local_gid);
lid              1560 drivers/infiniband/core/cm.c 		sa_path_set_dlid(primary_path, lid);
lid              1562 drivers/infiniband/core/cm.c 		lid = opa_get_lid_from_gid(&req_msg->primary_remote_gid);
lid              1563 drivers/infiniband/core/cm.c 		sa_path_set_slid(primary_path, lid);
lid              1573 drivers/infiniband/core/cm.c 		lid = opa_get_lid_from_gid(&req_msg->alt_local_gid);
lid              1574 drivers/infiniband/core/cm.c 		sa_path_set_dlid(alt_path, lid);
lid              1576 drivers/infiniband/core/cm.c 		lid = opa_get_lid_from_gid(&req_msg->alt_remote_gid);
lid              1577 drivers/infiniband/core/cm.c 		sa_path_set_slid(alt_path, lid);
lid              3180 drivers/infiniband/core/cm.c 	u32 lid;
lid              3186 drivers/infiniband/core/cm.c 		lid = opa_get_lid_from_gid(&lap_msg->alt_local_gid);
lid              3187 drivers/infiniband/core/cm.c 		sa_path_set_dlid(path, lid);
lid              3189 drivers/infiniband/core/cm.c 		lid = opa_get_lid_from_gid(&lap_msg->alt_remote_gid);
lid              3190 drivers/infiniband/core/cm.c 		sa_path_set_slid(path, lid);
lid               309 drivers/infiniband/core/nldev.c 		if (nla_put_u32(msg, RDMA_NLDEV_ATTR_LID, attr.lid))
lid               717 drivers/infiniband/core/sa_query.c 	{ GUIDINFO_REC_FIELD(lid),
lid              1465 drivers/infiniband/core/sa_query.c 	if (port_attr.lid >= be16_to_cpu(IB_MULTICAST_LID_BASE))
lid               183 drivers/infiniband/core/sysfs.c 	return sprintf(buf, "0x%x\n", attr.lid);
lid               339 drivers/infiniband/core/sysfs.c static PORT_ATTR_RO(lid);
lid               253 drivers/infiniband/core/user_mad.c 		packet->mad.hdr.lid = ib_lid_be16(0xFFFF &
lid               256 drivers/infiniband/core/user_mad.c 		packet->mad.hdr.lid = ib_lid_be16(mad_recv_wc->wc->slid);
lid               442 drivers/infiniband/core/user_mad.c 	   return (hdr1->lid == hdr2->lid);
lid               534 drivers/infiniband/core/user_mad.c 	rdma_ah_set_dlid(&ah_attr, be16_to_cpu(packet->mad.hdr.lid));
lid               181 drivers/infiniband/core/uverbs.h 	u16 			lid;
lid              2502 drivers/infiniband/core/uverbs_cmd.c 		if (cmd.mlid == mcast->lid &&
lid              2514 drivers/infiniband/core/uverbs_cmd.c 	mcast->lid = cmd.mlid;
lid              2551 drivers/infiniband/core/uverbs_cmd.c 		if (cmd.mlid == mcast->lid &&
lid               180 drivers/infiniband/core/uverbs_main.c 		ib_detach_mcast(qp, &mcast->gid, mcast->lid);
lid               150 drivers/infiniband/core/uverbs_std_types_device.c 		resp->lid = OPA_TO_IB_UCAST_LID(attr->lid);
lid               153 drivers/infiniband/core/uverbs_std_types_device.c 		resp->lid = ib_lid_cpu16(attr->lid);
lid              2145 drivers/infiniband/core/verbs.c static bool is_valid_mcast_lid(struct ib_qp *qp, u16 lid)
lid              2179 drivers/infiniband/core/verbs.c 	return !(lid < be16_to_cpu(IB_MULTICAST_LID_BASE) ||
lid              2180 drivers/infiniband/core/verbs.c 		 lid == be16_to_cpu(IB_LID_PERMISSIVE));
lid              2183 drivers/infiniband/core/verbs.c int ib_attach_mcast(struct ib_qp *qp, union ib_gid *gid, u16 lid)
lid              2191 drivers/infiniband/core/verbs.c 	    qp->qp_type != IB_QPT_UD || !is_valid_mcast_lid(qp, lid))
lid              2194 drivers/infiniband/core/verbs.c 	ret = qp->device->ops.attach_mcast(qp, gid, lid);
lid              2201 drivers/infiniband/core/verbs.c int ib_detach_mcast(struct ib_qp *qp, union ib_gid *gid, u16 lid)
lid              2209 drivers/infiniband/core/verbs.c 	    qp->qp_type != IB_QPT_UD || !is_valid_mcast_lid(qp, lid))
lid              2212 drivers/infiniband/core/verbs.c 	ret = qp->device->ops.detach_mcast(qp, gid, lid);
lid               240 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	port_attr->lid = 0;
lid              10137 drivers/infiniband/hw/hfi1/chip.c 	u32 lid;
lid              10143 drivers/infiniband/hw/hfi1/chip.c 	lid = (ppd->lid >= be16_to_cpu(IB_MULTICAST_LID_BASE)) ? 0 : ppd->lid;
lid              10146 drivers/infiniband/hw/hfi1/chip.c 	c1 |= ((lid & DCC_CFG_PORT_CONFIG1_TARGET_DLID_MASK)
lid              10157 drivers/infiniband/hw/hfi1/chip.c 	       (((lid & mask) & SEND_CTXT_CHECK_SLID_VALUE_MASK) <<
lid              10167 drivers/infiniband/hw/hfi1/chip.c 	sdma_update_lmc(dd, mask, lid);
lid               185 drivers/infiniband/hw/hfi1/driver.c 			if (ppd->lid && ppd->linkup) {
lid               473 drivers/infiniband/hw/hfi1/driver.c 			ppd->lid;
lid              1256 drivers/infiniband/hw/hfi1/driver.c int hfi1_set_lid(struct hfi1_pportdata *ppd, u32 lid, u8 lmc)
lid              1260 drivers/infiniband/hw/hfi1/driver.c 	ppd->lid = lid;
lid              1264 drivers/infiniband/hw/hfi1/driver.c 	dd_dev_info(dd, "port %u: got a lid: 0x%x\n", ppd->port, lid);
lid              1430 drivers/infiniband/hw/hfi1/driver.c 		if ((packet->dlid & ~((1 << ppd->lmc) - 1)) != ppd->lid)
lid               836 drivers/infiniband/hw/hfi1/hfi.h 	u32 lid;
lid              1807 drivers/infiniband/hw/hfi1/hfi.h int hfi1_set_lid(struct hfi1_pportdata *ppd, u32 lid, u8 lmc);
lid              2325 drivers/infiniband/hw/hfi1/hfi.h 	      (ppd->lid >= be16_to_cpu(IB_MULTICAST_LID_BASE))) &&
lid              2344 drivers/infiniband/hw/hfi1/hfi.h static inline bool hfi1_check_mcast(u32 lid)
lid              2346 drivers/infiniband/hw/hfi1/hfi.h 	return ((lid >= opa_get_mcast_base(OPA_MCAST_NR)) &&
lid              2347 drivers/infiniband/hw/hfi1/hfi.h 		(lid != be32_to_cpu(OPA_LID_PERMISSIVE)));
lid              2350 drivers/infiniband/hw/hfi1/hfi.h #define opa_get_lid(lid, format)	\
lid              2351 drivers/infiniband/hw/hfi1/hfi.h 	__opa_get_lid(lid, OPA_PORT_PACKET_FORMAT_##format)
lid              2354 drivers/infiniband/hw/hfi1/hfi.h static inline u32 __opa_get_lid(u32 lid, u8 format)
lid              2356 drivers/infiniband/hw/hfi1/hfi.h 	bool is_mcast = hfi1_check_mcast(lid);
lid              2362 drivers/infiniband/hw/hfi1/hfi.h 			return (lid - opa_get_mcast_base(OPA_MCAST_NR) +
lid              2364 drivers/infiniband/hw/hfi1/hfi.h 		return lid & 0xFFFFF;
lid              2367 drivers/infiniband/hw/hfi1/hfi.h 			return (lid - opa_get_mcast_base(OPA_MCAST_NR) +
lid              2369 drivers/infiniband/hw/hfi1/hfi.h 		return lid & 0xFFFFFF;
lid              2372 drivers/infiniband/hw/hfi1/hfi.h 			return (lid -
lid              2376 drivers/infiniband/hw/hfi1/hfi.h 			return lid & 0xFFFF;
lid              2378 drivers/infiniband/hw/hfi1/hfi.h 		return lid;
lid              2383 drivers/infiniband/hw/hfi1/hfi.h static inline bool hfi1_is_16B_mcast(u32 lid)
lid              2385 drivers/infiniband/hw/hfi1/hfi.h 	return ((lid >=
lid              2387 drivers/infiniband/hw/hfi1/hfi.h 		(lid != opa_get_lid(be32_to_cpu(OPA_LID_PERMISSIVE), 16B)));
lid              2416 drivers/infiniband/hw/hfi1/hfi.h static inline u8 hfi1_get_packet_type(u32 lid)
lid              2419 drivers/infiniband/hw/hfi1/hfi.h 	if (lid >= opa_get_mcast_base(OPA_MCAST_NR))
lid              2423 drivers/infiniband/hw/hfi1/hfi.h 	if (lid >= opa_get_lid(opa_get_mcast_base(OPA_MCAST_NR), 9B))
lid              2429 drivers/infiniband/hw/hfi1/hfi.h static inline bool hfi1_get_hdr_type(u32 lid, struct rdma_ah_attr *attr)
lid              2449 drivers/infiniband/hw/hfi1/hfi.h 	return hfi1_get_packet_type(lid);
lid               371 drivers/infiniband/hw/hfi1/mad.c 	memcpy(smp->route.lid.data, &trap->data, trap->len);
lid               431 drivers/infiniband/hw/hfi1/mad.c static struct trap_node *create_trap_node(u8 type, __be16 trap_num, u32 lid)
lid               443 drivers/infiniband/hw/hfi1/mad.c 	trap->data.issuer_lid = cpu_to_be32(lid);
lid               455 drivers/infiniband/hw/hfi1/mad.c 	u32 lid = ppd_from_ibp(ibp)->lid;
lid               461 drivers/infiniband/hw/hfi1/mad.c 				lid);
lid               484 drivers/infiniband/hw/hfi1/mad.c 	u32 lid = ppd_from_ibp(ibp)->lid;
lid               487 drivers/infiniband/hw/hfi1/mad.c 				lid);
lid               492 drivers/infiniband/hw/hfi1/mad.c 	trap->data.ntc_256.lid = trap->data.issuer_lid;
lid               524 drivers/infiniband/hw/hfi1/mad.c 	u32 lid = ppd_from_ibp(ibp)->lid;
lid               528 drivers/infiniband/hw/hfi1/mad.c 				lid);
lid               532 drivers/infiniband/hw/hfi1/mad.c 	trap->data.ntc_144.lid = trap->data.issuer_lid;
lid               546 drivers/infiniband/hw/hfi1/mad.c 	u32 lid = ppd_from_ibp(ibp)->lid;
lid               549 drivers/infiniband/hw/hfi1/mad.c 				lid);
lid               554 drivers/infiniband/hw/hfi1/mad.c 	trap->data.ntc_145.lid = trap->data.issuer_lid;
lid               566 drivers/infiniband/hw/hfi1/mad.c 	u32 lid = ppd_from_ibp(ibp)->lid;
lid               570 drivers/infiniband/hw/hfi1/mad.c 				lid);
lid               574 drivers/infiniband/hw/hfi1/mad.c 	trap->data.ntc_144.lid = trap->data.issuer_lid;
lid               830 drivers/infiniband/hw/hfi1/mad.c 	pi->lid = cpu_to_be32(ppd->lid);
lid              1363 drivers/infiniband/hw/hfi1/mad.c 	u32 lid;
lid              1380 drivers/infiniband/hw/hfi1/mad.c 	lid = be32_to_cpu(pi->lid);
lid              1381 drivers/infiniband/hw/hfi1/mad.c 	if (lid & 0xFF000000) {
lid              1382 drivers/infiniband/hw/hfi1/mad.c 		pr_warn("OPA_PortInfo lid out of range: %X\n", lid);
lid              1416 drivers/infiniband/hw/hfi1/mad.c 	if ((lid == 0 && ls_old > IB_PORT_INIT) ||
lid              1417 drivers/infiniband/hw/hfi1/mad.c 	     (hfi1_is_16B_mcast(lid))) {
lid              1420 drivers/infiniband/hw/hfi1/mad.c 			lid);
lid              1421 drivers/infiniband/hw/hfi1/mad.c 	} else if (ppd->lid != lid ||
lid              1423 drivers/infiniband/hw/hfi1/mad.c 		if (ppd->lid != lid)
lid              1427 drivers/infiniband/hw/hfi1/mad.c 		hfi1_set_lid(ppd, lid, pi->mkeyprotect_lmc & OPA_PI_MASK_LMC);
lid              1436 drivers/infiniband/hw/hfi1/mad.c 				be64_to_cpu(OPA_MAKE_ID(lid));
lid              4408 drivers/infiniband/hw/hfi1/mad.c 	return (in_wc->slid == ppd->lid);
lid               106 drivers/infiniband/hw/hfi1/mad.h 			__be32	lid;
lid               110 drivers/infiniband/hw/hfi1/mad.h 			__be32	lid;		/* where violation happened */
lid               115 drivers/infiniband/hw/hfi1/mad.h 			__be32	lid;		/* LID where change occurred */
lid               124 drivers/infiniband/hw/hfi1/mad.h 			__be32	lid;		/* lid where sys guid changed */
lid               128 drivers/infiniband/hw/hfi1/mad.h 			__be32	lid;
lid               164 drivers/infiniband/hw/hfi1/mad.h 			__be32	lid;
lid               275 drivers/infiniband/hw/hfi1/qp.c 	priv->hdr_type = hfi1_get_hdr_type(ppd->lid, &qp->remote_ah_attr);
lid              1300 drivers/infiniband/hw/hfi1/rc.c 			 ppd->lid | rdma_ah_get_path_bits(&qp->remote_ah_attr));
lid              1354 drivers/infiniband/hw/hfi1/rc.c 	hfi1_make_16b_hdr(hdr, ppd->lid |
lid               331 drivers/infiniband/hw/hfi1/ruc.c 	if (!ppd->lid)
lid               334 drivers/infiniband/hw/hfi1/ruc.c 		slid = ppd->lid |
lid               411 drivers/infiniband/hw/hfi1/ruc.c 			 ppd_from_ibp(ibp)->lid |
lid               552 drivers/infiniband/hw/hfi1/ruc.c 				  ps.ppd->lid)) {
lid               562 drivers/infiniband/hw/hfi1/ruc.c 				  ps.ppd->lid)) {
lid              3181 drivers/infiniband/hw/hfi1/sdma.c void sdma_update_lmc(struct hfi1_devdata *dd, u64 mask, u32 lid)
lid              3189 drivers/infiniband/hw/hfi1/sdma.c 		(((lid & mask) & SD(CHECK_SLID_VALUE_MASK)) <<
lid              1091 drivers/infiniband/hw/hfi1/sdma.h void sdma_update_lmc(struct hfi1_devdata *dd, u64 mask, u32 lid);
lid              2849 drivers/infiniband/hw/hfi1/tid_rdma.c 	u16 lid  = be16_to_cpu(hdr->lrh[1]);
lid              2873 drivers/infiniband/hw/hfi1/tid_rdma.c 	if (lid >= be16_to_cpu(IB_MULTICAST_LID_BASE))
lid              3279 drivers/infiniband/hw/hfi1/tid_rdma.c 				ppd->lid)
lid               117 drivers/infiniband/hw/hfi1/ud.c 		slid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) &
lid               249 drivers/infiniband/hw/hfi1/ud.c 	wc.slid = (ppd->lid | (rdma_ah_get_path_bits(ah_attr) &
lid               355 drivers/infiniband/hw/hfi1/ud.c 		u16 lid = (u16)ppd->lid;
lid               357 drivers/infiniband/hw/hfi1/ud.c 		if (lid) {
lid               358 drivers/infiniband/hw/hfi1/ud.c 			lid |= rdma_ah_get_path_bits(ah_attr) &
lid               360 drivers/infiniband/hw/hfi1/ud.c 			slid = lid;
lid               445 drivers/infiniband/hw/hfi1/ud.c 	if (!ppd->lid)
lid               448 drivers/infiniband/hw/hfi1/ud.c 		slid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) &
lid               484 drivers/infiniband/hw/hfi1/ud.c 	u32 lid;
lid               519 drivers/infiniband/hw/hfi1/ud.c 	priv->hdr_type = hfi1_get_hdr_type(ppd->lid, ah_attr);
lid               522 drivers/infiniband/hw/hfi1/ud.c 		lid = rdma_ah_get_dlid(ah_attr) & ~((1 << ppd->lmc) - 1);
lid               524 drivers/infiniband/hw/hfi1/ud.c 			     ((lid == ppd->lid) ||
lid               525 drivers/infiniband/hw/hfi1/ud.c 			      ((lid == be32_to_cpu(OPA_LID_PERMISSIVE)) &&
lid              1416 drivers/infiniband/hw/hfi1/verbs.c 	u32 lid = ppd->lid;
lid              1419 drivers/infiniband/hw/hfi1/verbs.c 	props->lid = lid ? lid : 0;
lid               100 drivers/infiniband/hw/i40iw/i40iw_verbs.c 	props->lid = 1;
lid               324 drivers/infiniband/hw/mlx4/alias_GUID.c 		 be16_to_cpu(guid_rec->lid), cb_ctx->port,
lid               531 drivers/infiniband/hw/mlx4/alias_GUID.c 	guid_info_rec.lid = ib_lid_be16(attr.lid);
lid               189 drivers/infiniband/hw/mlx4/mad.c static void update_sm_ah(struct mlx4_ib_dev *dev, u8 port_num, u16 lid, u8 sl)
lid               200 drivers/infiniband/hw/mlx4/mad.c 	rdma_ah_set_dlid(&ah_attr, lid);
lid               224 drivers/infiniband/hw/mlx4/mad.c 	u16 lid;
lid               239 drivers/infiniband/hw/mlx4/mad.c 			lid = be16_to_cpu(pinfo->lid);
lid               248 drivers/infiniband/hw/mlx4/mad.c 			if (prev_lid != lid)
lid               865 drivers/infiniband/hw/mlx4/mad.c 		prev_lid = ib_lid_cpu16(pattr.lid);
lid              1202 drivers/infiniband/hw/mlx4/mad.c 			u16 lid = be16_to_cpu(eqe->event.port_mgmt_change.params.port_info.mstr_sm_lid);
lid              1204 drivers/infiniband/hw/mlx4/mad.c 			update_sm_ah(dev, port, lid, sl);
lid               684 drivers/infiniband/hw/mlx4/main.c 	props->lid		= be16_to_cpup((__be16 *) (out_mad->data + 16));
lid              1856 drivers/infiniband/hw/mlx4/main.c static int mlx4_ib_mcg_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
lid              1934 drivers/infiniband/hw/mlx4/main.c static int mlx4_ib_mcg_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
lid               561 drivers/infiniband/hw/mlx5/mad.c 	props->lid		= be16_to_cpup((__be16 *)(out_mad->data + 16));
lid              1319 drivers/infiniband/hw/mlx5/main.c 	props->lid		= rep->lid;
lid              4340 drivers/infiniband/hw/mlx5/main.c static int mlx5_ib_mcg_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
lid              4363 drivers/infiniband/hw/mlx5/main.c static int mlx5_ib_mcg_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
lid               576 drivers/infiniband/hw/mthca/mthca_dev.h int mthca_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
lid               577 drivers/infiniband/hw/mthca/mthca_dev.h int mthca_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
lid                76 drivers/infiniband/hw/mthca/mthca_mad.c 			 u8 port_num, u16 lid, u8 sl)
lid                87 drivers/infiniband/hw/mthca/mthca_mad.c 	rdma_ah_set_dlid(&ah_attr, lid);
lid               120 drivers/infiniband/hw/mthca/mthca_mad.c 			u16 lid = be16_to_cpu(pinfo->lid);
lid               135 drivers/infiniband/hw/mthca/mthca_mad.c 			if (prev_lid != lid) {
lid               260 drivers/infiniband/hw/mthca/mthca_mad.c 		prev_lid = ib_lid_cpu16(pattr.lid);
lid               120 drivers/infiniband/hw/mthca/mthca_mcg.c int mthca_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
lid               214 drivers/infiniband/hw/mthca/mthca_mcg.c int mthca_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
lid               162 drivers/infiniband/hw/mthca/mthca_provider.c 	props->lid               = be16_to_cpup((__be16 *) (out_mad->data + 16));
lid               173 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	props->lid = 0;
lid               232 drivers/infiniband/hw/qedr/verbs.c 	attr->lid = 0;
lid               616 drivers/infiniband/hw/qib/qib.h 	u16 lid;
lid               106 drivers/infiniband/hw/qib/qib_driver.c 			if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT |
lid               137 drivers/infiniband/hw/qib/qib_driver.c 			if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT |
lid               308 drivers/infiniband/hw/qib/qib_driver.c 		u16 lid  = be16_to_cpu(hdr->lrh[1]);
lid               319 drivers/infiniband/hw/qib/qib_driver.c 		if (lid < be16_to_cpu(IB_MULTICAST_LID_BASE)) {
lid               320 drivers/infiniband/hw/qib/qib_driver.c 			lid &= ~((1 << ppd->lmc) - 1);
lid               321 drivers/infiniband/hw/qib/qib_driver.c 			if (unlikely(lid != ppd->lid))
lid               637 drivers/infiniband/hw/qib/qib_driver.c int qib_set_lid(struct qib_pportdata *ppd, u32 lid, u8 lmc)
lid               641 drivers/infiniband/hw/qib/qib_driver.c 	ppd->lid = lid;
lid               645 drivers/infiniband/hw/qib/qib_driver.c 			 lid | (~((1U << lmc) - 1)) << 16);
lid               648 drivers/infiniband/hw/qib/qib_driver.c 		    dd->unit, ppd->port, lid);
lid              1346 drivers/infiniband/hw/qib/qib_file_ops.c 	return dd && (dd->flags & QIB_PRESENT) && dd->kregbase && ppd->lid &&
lid               152 drivers/infiniband/hw/qib/qib_mad.c 	data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);
lid               176 drivers/infiniband/hw/qib/qib_mad.c 	data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);
lid               179 drivers/infiniband/hw/qib/qib_mad.c 	data.details.ntc_256.lid = data.issuer_lid;
lid               217 drivers/infiniband/hw/qib/qib_mad.c 	data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);
lid               220 drivers/infiniband/hw/qib/qib_mad.c 	data.details.ntc_144.lid = data.issuer_lid;
lid               237 drivers/infiniband/hw/qib/qib_mad.c 	data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);
lid               240 drivers/infiniband/hw/qib/qib_mad.c 	data.details.ntc_145.lid = data.issuer_lid;
lid               257 drivers/infiniband/hw/qib/qib_mad.c 	data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);
lid               260 drivers/infiniband/hw/qib/qib_mad.c 	data.details.ntc_144.lid = data.issuer_lid;
lid               498 drivers/infiniband/hw/qib/qib_mad.c 	pip->lid = cpu_to_be16(ppd->lid);
lid               663 drivers/infiniband/hw/qib/qib_mad.c 	u16 lid, smlid;
lid               694 drivers/infiniband/hw/qib/qib_mad.c 	lid = be16_to_cpu(pip->lid);
lid               696 drivers/infiniband/hw/qib/qib_mad.c 	if (lid == 0 || lid >= be16_to_cpu(IB_MULTICAST_LID_BASE))
lid               698 drivers/infiniband/hw/qib/qib_mad.c 	else if (ppd->lid != lid || ppd->lmc != (pip->mkeyprot_resv_lmc & 7)) {
lid               699 drivers/infiniband/hw/qib/qib_mad.c 		if (ppd->lid != lid)
lid               703 drivers/infiniband/hw/qib/qib_mad.c 		qib_set_lid(ppd, lid, pip->mkeyprot_resv_lmc & 7);
lid               650 drivers/infiniband/hw/qib/qib_rc.c 	hdr.lrh[3] = cpu_to_be16(ppd->lid |
lid               234 drivers/infiniband/hw/qib/qib_ruc.c 		cpu_to_be16(ppd_from_ibp(ibp)->lid |
lid               274 drivers/infiniband/hw/qib/qib_ruc.c 	     ~((1 << ppd->lmc) - 1)) == ppd->lid) {
lid                90 drivers/infiniband/hw/qib/qib_ud.c 		u16 lid;
lid                95 drivers/infiniband/hw/qib/qib_ud.c 			lid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) &
lid               100 drivers/infiniband/hw/qib/qib_ud.c 				     cpu_to_be16(lid),
lid               208 drivers/infiniband/hw/qib/qib_ud.c 	wc.slid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) &
lid               242 drivers/infiniband/hw/qib/qib_ud.c 	u16 lid;
lid               283 drivers/infiniband/hw/qib/qib_ud.c 		lid = rdma_ah_get_dlid(ah_attr) & ~((1 << ppd->lmc) - 1);
lid               284 drivers/infiniband/hw/qib/qib_ud.c 		if (unlikely(lid == ppd->lid)) {
lid               354 drivers/infiniband/hw/qib/qib_ud.c 	lid = ppd->lid;
lid               355 drivers/infiniband/hw/qib/qib_ud.c 	if (lid) {
lid               356 drivers/infiniband/hw/qib/qib_ud.c 		lid |= rdma_ah_get_path_bits(ah_attr) &
lid               358 drivers/infiniband/hw/qib/qib_ud.c 		priv->s_hdr->lrh[3] = cpu_to_be16(lid);
lid               284 drivers/infiniband/hw/qib/qib_verbs.c 	u16 lid;
lid               291 drivers/infiniband/hw/qib/qib_verbs.c 	lid = be16_to_cpu(hdr->lrh[1]);
lid               292 drivers/infiniband/hw/qib/qib_verbs.c 	if (lid < be16_to_cpu(IB_MULTICAST_LID_BASE)) {
lid               293 drivers/infiniband/hw/qib/qib_verbs.c 		lid &= ~((1 << ppd->lmc) - 1);
lid               294 drivers/infiniband/hw/qib/qib_verbs.c 		if (unlikely(lid != ppd->lid))
lid               328 drivers/infiniband/hw/qib/qib_verbs.c 		mcast = rvt_mcast_find(&ibp->rvp, &hdr->u.l.grh.dgid, lid);
lid              1199 drivers/infiniband/hw/qib/qib_verbs.c 	u16 lid = ppd->lid;
lid              1202 drivers/infiniband/hw/qib/qib_verbs.c 	props->lid = lid ? lid : be16_to_cpu(IB_LID_PERMISSIVE);
lid               352 drivers/infiniband/hw/usnic/usnic_ib_verbs.c 	props->lid = 0;
lid               163 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->lid = resp->attrs.lid;
lid               171 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h 	u16			lid;
lid               107 drivers/infiniband/sw/rdmavt/mcast.c static struct rvt_mcast *rvt_mcast_alloc(union ib_gid *mgid, u16 lid)
lid               116 drivers/infiniband/sw/rdmavt/mcast.c 	mcast->mcast_addr.lid = lid;
lid               149 drivers/infiniband/sw/rdmavt/mcast.c 				 u16 lid)
lid               171 drivers/infiniband/sw/rdmavt/mcast.c 			if (mcast->mcast_addr.lid == lid) {
lid               221 drivers/infiniband/sw/rdmavt/mcast.c 		if (tmcast->mcast_addr.lid != mcast->mcast_addr.lid) {
lid               280 drivers/infiniband/sw/rdmavt/mcast.c int rvt_attach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
lid               296 drivers/infiniband/sw/rdmavt/mcast.c 	mcast = rvt_mcast_alloc(gid, lid);
lid               343 drivers/infiniband/sw/rdmavt/mcast.c int rvt_detach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
lid               376 drivers/infiniband/sw/rdmavt/mcast.c 			if (mcast->mcast_addr.lid != lid) {
lid                54 drivers/infiniband/sw/rdmavt/mcast.h int rvt_attach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
lid                55 drivers/infiniband/sw/rdmavt/mcast.h int rvt_detach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
lid               135 drivers/infiniband/sw/rxe/rxe.c 	port->attr.lid			= RXE_PORT_LID;
lid               586 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	priv->local_lid = port_attr.lid;
lid               328 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h 			     struct __opa_veswport_trap *data, u32 lid);
lid               728 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c 			     struct __opa_veswport_trap *data, u32 lid)
lid               828 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c 	trap_mad->notice.issuer_lid = cpu_to_be32(lid);
lid               154 drivers/infiniband/ulp/srpt/ib_srpt.c 			sport->lid = 0;
lid               172 drivers/infiniband/ulp/srpt/ib_srpt.c 			if (!sport->lid && !sport->sm_lid)
lid               572 drivers/infiniband/ulp/srpt/ib_srpt.c 	sport->lid = port_attr.lid;
lid               393 drivers/infiniband/ulp/srpt/ib_srpt.h 	u32			lid;
lid               127 drivers/net/ethernet/marvell/octeontx2/af/npc.h 	u8 lid;
lid               216 drivers/net/ethernet/marvell/octeontx2/af/npc.h 	u64 lid            : 3;
lid               238 drivers/net/ethernet/marvell/octeontx2/af/npc.h 	u64 lid            : 3;
lid              2044 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 			field->lid = NPC_LID_LC;
lid              2053 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 			field->lid = NPC_LID_LC;
lid              2064 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 			field->lid = NPC_LID_LD;
lid               646 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c #define SET_KEX_LD(intf, lid, ltype, ld, cfg)	\
lid               648 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 		NPC_AF_INTFX_LIDX_LTX_LDX_CFG(intf, lid, ltype, ld), cfg)
lid               661 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	int lid, ltype;
lid               671 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	for (lid = 0; lid < lid_count; lid++) {
lid               673 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 			SET_KEX_LD(NIX_INTF_RX, lid, ltype, 0, 0ULL);
lid               674 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 			SET_KEX_LD(NIX_INTF_RX, lid, ltype, 1, 0ULL);
lid               675 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 			SET_KEX_LD(NIX_INTF_TX, lid, ltype, 0, 0ULL);
lid               676 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 			SET_KEX_LD(NIX_INTF_TX, lid, ltype, 1, 0ULL);
lid               738 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	int lid, lt, ld, fl;
lid               749 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	for (lid = 0; lid < NPC_MAX_LID; lid++) {
lid               752 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 				SET_KEX_LD(NIX_INTF_RX, lid, lt, ld,
lid               754 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 					   [lid][lt][ld]);
lid               756 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 				SET_KEX_LD(NIX_INTF_TX, lid, lt, ld,
lid               758 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 					   [lid][lt][ld]);
lid               865 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	action0.capture_lid = kpuaction->lid;
lid              2150 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c #define GET_KEX_LD(intf, lid, lt, ld)	\
lid              2152 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 		NPC_AF_INTFX_LIDX_LTX_LDX_CFG(intf, lid, lt, ld))
lid              2161 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	int lid, lt, ld, fl;
lid              2165 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	for (lid = 0; lid < NPC_MAX_LID; lid++) {
lid              2168 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 				rsp->intf_lid_lt_ld[NIX_INTF_RX][lid][lt][ld] =
lid              2169 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 					GET_KEX_LD(NIX_INTF_RX, lid, lt, ld);
lid              2170 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 				rsp->intf_lid_lt_ld[NIX_INTF_TX][lid][lt][ld] =
lid              2171 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 					GET_KEX_LD(NIX_INTF_TX, lid, lt, ld);
lid               890 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h 	u64 lid			:3;
lid               902 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h 	u64 lid			:3;
lid               585 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c 			      union ib_gid *gid, u16 lid, int set_qkey,
lid               609 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c 			      union ib_gid *gid, u16 lid)
lid               717 drivers/net/ethernet/mellanox/mlx5/core/vport.c 	rep->lid = MLX5_GET_PR(hca_vport_context, ctx, lid);
lid              1079 drivers/net/ethernet/mellanox/mlx5/core/vport.c 	MLX5_SET(hca_vport_context, ctx, lid, req->lid);
lid              2166 drivers/net/ethernet/pensando/ionic/ionic_lif.c 		       union ionic_lif_identity *lid)
lid              2172 drivers/net/ethernet/pensando/ionic/ionic_lif.c 	sz = min(sizeof(*lid), sizeof(idev->dev_cmd_regs->data));
lid              2177 drivers/net/ethernet/pensando/ionic/ionic_lif.c 	memcpy_fromio(lid, &idev->dev_cmd_regs->data, sz);
lid              2183 drivers/net/ethernet/pensando/ionic/ionic_lif.c 		le64_to_cpu(lid->capabilities));
lid              2186 drivers/net/ethernet/pensando/ionic/ionic_lif.c 		le32_to_cpu(lid->eth.max_ucast_filters));
lid              2188 drivers/net/ethernet/pensando/ionic/ionic_lif.c 		le32_to_cpu(lid->eth.max_mcast_filters));
lid              2190 drivers/net/ethernet/pensando/ionic/ionic_lif.c 		le64_to_cpu(lid->eth.config.features));
lid              2192 drivers/net/ethernet/pensando/ionic/ionic_lif.c 		le32_to_cpu(lid->eth.config.queue_count[IONIC_QTYPE_ADMINQ]));
lid              2194 drivers/net/ethernet/pensando/ionic/ionic_lif.c 		le32_to_cpu(lid->eth.config.queue_count[IONIC_QTYPE_NOTIFYQ]));
lid              2196 drivers/net/ethernet/pensando/ionic/ionic_lif.c 		le32_to_cpu(lid->eth.config.queue_count[IONIC_QTYPE_RXQ]));
lid              2198 drivers/net/ethernet/pensando/ionic/ionic_lif.c 		le32_to_cpu(lid->eth.config.queue_count[IONIC_QTYPE_TXQ]));
lid              2199 drivers/net/ethernet/pensando/ionic/ionic_lif.c 	dev_dbg(ionic->dev, "eth.config.name %s\n", lid->eth.config.name);
lid              2200 drivers/net/ethernet/pensando/ionic/ionic_lif.c 	dev_dbg(ionic->dev, "eth.config.mac %pM\n", lid->eth.config.mac);
lid              2202 drivers/net/ethernet/pensando/ionic/ionic_lif.c 		le32_to_cpu(lid->eth.config.mtu));
lid              3336 drivers/net/ethernet/qlogic/qed/qed_debug.c 	u32 i, lid, total_size, offset = 0;
lid              3357 drivers/net/ethernet/qlogic/qed/qed_debug.c 	for (lid = 0; lid < num_lids; lid++) {
lid              3360 drivers/net/ethernet/qlogic/qed/qed_debug.c 			       p_ptt, storm->cm_ctx_wr_addr, (i << 9) | lid);
lid              2707 drivers/nvme/host/core.c 	c.get_log_page.lid = log_page;
lid               824 drivers/nvme/target/admin-cmd.c 		switch (cmd->get_log_page.lid) {
lid               348 drivers/nvme/target/discovery.c 		switch (cmd->get_log_page.lid) {
lid               354 drivers/nvme/target/discovery.c 			       cmd->get_log_page.lid);
lid               356 drivers/nvme/target/discovery.c 				offsetof(struct nvme_get_log_page_command, lid);
lid                58 drivers/pinctrl/tegra/pinctrl-tegra194.c #define TEGRA_PIN_FUNCTION(lid)			\
lid                60 drivers/pinctrl/tegra/pinctrl-tegra194.c 		.name = #lid,			\
lid               311 drivers/platform/x86/fujitsu-laptop.c static DEVICE_ATTR_RO(lid);
lid              1751 drivers/scsi/ipr.h 	struct ipr_software_inq_lid_info lid[1];
lid              1939 drivers/scsi/qla2xxx/qla_init.c 	u16 lid;
lid              2041 drivers/scsi/qla2xxx/qla_init.c 		lid = ea->iop[1] & 0xffff;
lid              2044 drivers/scsi/qla2xxx/qla_init.c 		    ea->fcport->d_id, lid, &conflict_fcport);
lid              2058 drivers/scsi/qla2xxx/qla_init.c 			    ea->fcport->d_id.b24, lid);
lid              2063 drivers/scsi/qla2xxx/qla_init.c 			    ea->fcport->d_id.b24, lid);
lid              2066 drivers/scsi/qla2xxx/qla_init.c 			set_bit(lid, vha->hw->loop_id_map);
lid              2067 drivers/scsi/qla2xxx/qla_init.c 			ea->fcport->loop_id = lid;
lid              5947 drivers/scsi/qla2xxx/qla_init.c 	int lid = NPH_MGMT_SERVER - vha->vp_idx;
lid              5958 drivers/scsi/qla2xxx/qla_init.c 	for (; lid > 0; lid--) {
lid              5959 drivers/scsi/qla2xxx/qla_init.c 		if (!test_bit(lid, vha->hw->loop_id_map)) {
lid              5960 drivers/scsi/qla2xxx/qla_init.c 			set_bit(lid, vha->hw->loop_id_map);
lid              5961 drivers/scsi/qla2xxx/qla_init.c 			loop_id = lid;
lid               595 fs/jfs/jfs_imap.c 	lid_t lid;
lid               669 fs/jfs/jfs_imap.c 	if (S_ISDIR(ip->i_mode) && (lid = jfs_ip->xtlid)) {
lid               678 fs/jfs/jfs_imap.c 		tlck = lid_to_tlock(lid);
lid               703 fs/jfs/jfs_imap.c 	if ((lid = jfs_ip->blid) == 0)
lid               707 fs/jfs/jfs_imap.c 	tlck = lid_to_tlock(lid);
lid               468 fs/jfs/jfs_logmgr.h 	lid_t lid;		/* lock id */
lid               178 fs/jfs/jfs_metapage.c 		mp->lid = 0;
lid                15 fs/jfs/jfs_metapage.h 	lid_t lid;
lid               182 fs/jfs/jfs_txnmgr.c 	lid_t lid;
lid               189 fs/jfs/jfs_txnmgr.c 	while (!(lid = TxAnchor.freelock))
lid               191 fs/jfs/jfs_txnmgr.c 	TxAnchor.freelock = TxLock[lid].next;
lid               192 fs/jfs/jfs_txnmgr.c 	HIGHWATERMARK(stattx.maxlid, lid);
lid               199 fs/jfs/jfs_txnmgr.c 	return lid;
lid               202 fs/jfs/jfs_txnmgr.c static void txLockFree(lid_t lid)
lid               204 fs/jfs/jfs_txnmgr.c 	TxLock[lid].tid = 0;
lid               205 fs/jfs/jfs_txnmgr.c 	TxLock[lid].next = TxAnchor.freelock;
lid               206 fs/jfs/jfs_txnmgr.c 	TxAnchor.freelock = lid;
lid               582 fs/jfs/jfs_txnmgr.c 	lid_t lid;
lid               599 fs/jfs/jfs_txnmgr.c 		lid = jfs_ip->xtlid;
lid               601 fs/jfs/jfs_txnmgr.c 		lid = mp->lid;
lid               604 fs/jfs/jfs_txnmgr.c 	if (lid == 0)
lid               607 fs/jfs/jfs_txnmgr.c 	jfs_info("txLock: tid:%d ip:0x%p mp:0x%p lid:%d", tid, ip, mp, lid);
lid               610 fs/jfs/jfs_txnmgr.c 	tlck = lid_to_tlock(lid);
lid               641 fs/jfs/jfs_txnmgr.c 		if (jfs_ip->atlhead == lid) {
lid               642 fs/jfs/jfs_txnmgr.c 			if (jfs_ip->atltail == lid) {
lid               654 fs/jfs/jfs_txnmgr.c 			     lid_to_tlock(last)->next != lid;
lid               659 fs/jfs/jfs_txnmgr.c 			if (jfs_ip->atltail == lid)
lid               666 fs/jfs/jfs_txnmgr.c 			lid_to_tlock(tblk->last)->next = lid;
lid               668 fs/jfs/jfs_txnmgr.c 			tblk->next = lid;
lid               670 fs/jfs/jfs_txnmgr.c 		tblk->last = lid;
lid               681 fs/jfs/jfs_txnmgr.c 	lid = txLockAlloc();
lid               682 fs/jfs/jfs_txnmgr.c 	tlck = lid_to_tlock(lid);
lid               723 fs/jfs/jfs_txnmgr.c 		jfs_ip->xtlid = lid;
lid               725 fs/jfs/jfs_txnmgr.c 		mp->lid = lid;
lid               734 fs/jfs/jfs_txnmgr.c 			lid_to_tlock(tblk->last)->next = lid;
lid               736 fs/jfs/jfs_txnmgr.c 			tblk->next = lid;
lid               738 fs/jfs/jfs_txnmgr.c 		tblk->last = lid;
lid               745 fs/jfs/jfs_txnmgr.c 		jfs_ip->atlhead = lid;
lid               748 fs/jfs/jfs_txnmgr.c 			jfs_ip->atltail = lid;
lid               838 fs/jfs/jfs_txnmgr.c 		 tid, xtid, lid);
lid               841 fs/jfs/jfs_txnmgr.c 	if (xtid && (tlck->mp == mp) && (mp->lid == lid))
lid               845 fs/jfs/jfs_txnmgr.c 	jfs_info("txLock: awakened     tid = %d, lid = %d", tid, lid);
lid               866 fs/jfs/jfs_txnmgr.c 	lid_t lid;
lid               871 fs/jfs/jfs_txnmgr.c 	for (lid = tblk->next; lid; lid = tlck->next) {
lid               872 fs/jfs/jfs_txnmgr.c 		tlck = lid_to_tlock(lid);
lid               876 fs/jfs/jfs_txnmgr.c 			mp->lid = 0;
lid               899 fs/jfs/jfs_txnmgr.c 	lid_t lid, next, llid, k;
lid               911 fs/jfs/jfs_txnmgr.c 	for (lid = tblk->next; lid; lid = next) {
lid               912 fs/jfs/jfs_txnmgr.c 		tlck = lid_to_tlock(lid);
lid               915 fs/jfs/jfs_txnmgr.c 		jfs_info("unlocking lid = %d, tlck = 0x%p", lid, tlck);
lid               957 fs/jfs/jfs_txnmgr.c 		txLockFree(lid);
lid               985 fs/jfs/jfs_txnmgr.c 	lid_t lid;
lid               995 fs/jfs/jfs_txnmgr.c 	lid = txLockAlloc();
lid               996 fs/jfs/jfs_txnmgr.c 	tlck = lid_to_tlock(lid);
lid              1019 fs/jfs/jfs_txnmgr.c 			lid_to_tlock(tblk->last)->next = lid;
lid              1021 fs/jfs/jfs_txnmgr.c 			tblk->next = lid;
lid              1023 fs/jfs/jfs_txnmgr.c 		tblk->last = lid;
lid              1030 fs/jfs/jfs_txnmgr.c 		jfs_ip->atlhead = lid;
lid              1033 fs/jfs/jfs_txnmgr.c 			jfs_ip->atltail = lid;
lid              1057 fs/jfs/jfs_txnmgr.c 	lid_t lid;
lid              1064 fs/jfs/jfs_txnmgr.c 	lid = txLockAlloc();
lid              1065 fs/jfs/jfs_txnmgr.c 	tlck = lid_to_tlock(lid);
lid              1080 fs/jfs/jfs_txnmgr.c 	tlock->next = lid;
lid              1372 fs/jfs/jfs_txnmgr.c 	lid_t lid;
lid              1379 fs/jfs/jfs_txnmgr.c 	for (lid = tblk->next; lid; lid = tlck->next) {
lid              1380 fs/jfs/jfs_txnmgr.c 		tlck = lid_to_tlock(lid);
lid              1560 fs/jfs/jfs_txnmgr.c 		mp->lid = 0;
lid              2212 fs/jfs/jfs_txnmgr.c 	lid_t lid, next;
lid              2221 fs/jfs/jfs_txnmgr.c 	lid = tlck->next;
lid              2223 fs/jfs/jfs_txnmgr.c 	while (lid) {
lid              2224 fs/jfs/jfs_txnmgr.c 		tlck = lid_to_tlock(lid);
lid              2227 fs/jfs/jfs_txnmgr.c 		tblk->next = lid;
lid              2228 fs/jfs/jfs_txnmgr.c 		lid = next;
lid              2235 fs/jfs/jfs_txnmgr.c 	for (lid = tblk->next; lid; lid = next) {
lid              2236 fs/jfs/jfs_txnmgr.c 		tlck = lid_to_tlock(lid);
lid              2281 fs/jfs/jfs_txnmgr.c 	lid_t lid;
lid              2306 fs/jfs/jfs_txnmgr.c 	for (lid = tblk->next; lid; lid = tlck->next) {
lid              2307 fs/jfs/jfs_txnmgr.c 		tlck = lid_to_tlock(lid);
lid              2369 fs/jfs/jfs_txnmgr.c 				ASSERT(mp->lid == lid);
lid              2370 fs/jfs/jfs_txnmgr.c 				tlck->mp->lid = 0;
lid              2583 fs/jfs/jfs_txnmgr.c 	lid_t xlid = 0, lid;
lid              2591 fs/jfs/jfs_txnmgr.c 	while ((lid = xtlck->next) != 0) {
lid              2592 fs/jfs/jfs_txnmgr.c 		tlck = lid_to_tlock(lid);
lid              2595 fs/jfs/jfs_txnmgr.c 			txLockFree(lid);
lid              2598 fs/jfs/jfs_txnmgr.c 			xlid = lid;
lid              2627 fs/jfs/jfs_txnmgr.c 	lid_t lid, next;
lid              2635 fs/jfs/jfs_txnmgr.c 	for (lid = tblk->next; lid; lid = next) {
lid              2636 fs/jfs/jfs_txnmgr.c 		tlck = lid_to_tlock(lid);
lid              2642 fs/jfs/jfs_txnmgr.c 			mp->lid = 0;
lid              2657 fs/jfs/jfs_txnmgr.c 		txLockFree(lid);
lid                15 fs/jfs/jfs_txnmgr.h #define lid_to_tlock(lid) (&TxLock[lid])
lid              3445 fs/jfs/jfs_xtree.c 			if (mp->lid)
lid              3446 fs/jfs/jfs_xtree.c 				lid_to_tlock(mp->lid)->flag |= tlckFREELOCK;
lid              3532 fs/jfs/jfs_xtree.c 	if (log && mp->lid && (tblk->last != mp->lid) &&
lid              3533 fs/jfs/jfs_xtree.c 	    lid_to_tlock(mp->lid)->tid) {
lid              3534 fs/jfs/jfs_xtree.c 		lid_t lid = mp->lid;
lid              3537 fs/jfs/jfs_xtree.c 		tlck = lid_to_tlock(lid);
lid              3539 fs/jfs/jfs_xtree.c 		if (tblk->next == lid)
lid              3543 fs/jfs/jfs_xtree.c 			     prev->next != lid;
lid              3549 fs/jfs/jfs_xtree.c 		lid_to_tlock(tblk->last)->next = lid;
lid              3551 fs/jfs/jfs_xtree.c 		tblk->last = lid;
lid              3603 fs/jfs/jfs_xtree.c 				if (mp->lid)
lid              3604 fs/jfs/jfs_xtree.c 					lid_to_tlock(mp->lid)->flag |=
lid                87 include/acpi/acbuffer.h 	u8 lid;
lid               799 include/linux/mlx5/driver.h 	u16			lid;
lid              3326 include/linux/mlx5/mlx5_ifc.h 	u8         lid[0x10];
lid              1016 include/linux/nvme.h 	__u8			lid;
lid               414 include/rdma/ib_mad.h 			__be16	lid;		/* where violation happened */
lid               420 include/rdma/ib_mad.h 			__be16	lid;		/* LID where change occurred */
lid               430 include/rdma/ib_mad.h 			__be16	lid;		/* lid where sys guid changed */
lid               437 include/rdma/ib_mad.h 			__be16	lid;
lid               424 include/rdma/ib_sa.h 	__be16	lid;
lid                89 include/rdma/ib_smi.h 	__be16 lid;
lid               656 include/rdma/ib_verbs.h 	u32			lid;
lid              2426 include/rdma/ib_verbs.h 	int (*attach_mcast)(struct ib_qp *qp, union ib_gid *gid, u16 lid);
lid              2427 include/rdma/ib_verbs.h 	int (*detach_mcast)(struct ib_qp *qp, union ib_gid *gid, u16 lid);
lid              4222 include/rdma/ib_verbs.h int ib_attach_mcast(struct ib_qp *qp, union ib_gid *gid, u16 lid);
lid              4230 include/rdma/ib_verbs.h int ib_detach_mcast(struct ib_qp *qp, union ib_gid *gid, u16 lid);
lid              4552 include/rdma/ib_verbs.h static inline u16 ib_lid_cpu16(u32 lid)
lid              4554 include/rdma/ib_verbs.h 	WARN_ON_ONCE(lid & 0xFFFF0000);
lid              4555 include/rdma/ib_verbs.h 	return (u16)lid;
lid              4563 include/rdma/ib_verbs.h static inline __be16 ib_lid_be16(u32 lid)
lid              4565 include/rdma/ib_verbs.h 	WARN_ON_ONCE(lid & 0xFFFF0000);
lid              4566 include/rdma/ib_verbs.h 	return cpu_to_be16((u16)lid);
lid               289 include/rdma/opa_port_info.h 	__be32 lid;
lid                65 include/rdma/opa_smi.h 		} lid;
lid               132 include/rdma/opa_smi.h 	return smp->route.lid.data;
lid               140 include/rdma/opa_smi.h 	return sizeof(smp->route.lid.data);
lid               148 include/rdma/opa_smi.h 	return sizeof(*smp) - sizeof(smp->route.lid.data);
lid               572 include/rdma/rdma_vt.h 				 u16 lid);
lid               511 include/rdma/rdmavt_qp.h 	u16 lid;
lid                35 include/trace/events/ib_umad.h 		__field(u16, lid)
lid                63 include/trace/events/ib_umad.h 		__entry->lid = umad_hdr->lid;
lid                95 include/trace/events/ib_umad.h 		be32_to_cpu(__entry->qkey), be16_to_cpu(__entry->lid),
lid                81 include/uapi/rdma/ib_user_mad.h 	__be16	lid;
lid               125 include/uapi/rdma/ib_user_mad.h 	__be16	lid;
lid               291 include/uapi/rdma/ib_user_verbs.h 	__u16 lid;
lid                60 samples/bpf/ibumad_kern.c 	u16 lid;