sid               632 arch/ia64/include/asm/pal.h 	u64		sid		: 5,	/* Structure identification */
sid               158 arch/m68k/coldfire/pci.c 	int sid;
sid               160 arch/m68k/coldfire/pci.c 	sid = mcf_host_slot2sid[slot];
sid               161 arch/m68k/coldfire/pci.c 	if (sid)
sid               162 arch/m68k/coldfire/pci.c 		return mcf_host_irq[sid];
sid                16 arch/parisc/include/asm/tlbflush.h int __flush_tlb_range(unsigned long sid,
sid               487 arch/parisc/kernel/cache.c int __flush_tlb_range(unsigned long sid, unsigned long start,
sid               503 arch/parisc/kernel/cache.c 		mtsp(sid, 1);
sid               294 arch/parisc/kernel/signal.c 		unsigned long sid;
sid               295 arch/parisc/kernel/signal.c 		asm ("mfsp %%sr3,%0" : "=r" (sid));
sid               297 arch/parisc/kernel/signal.c 		       sid, frame->tramp);
sid                72 arch/powerpc/kvm/e500.c 	unsigned long sid;
sid                75 arch/powerpc/kvm/e500.c 	sid = __this_cpu_inc_return(pcpu_last_used_sid);
sid                76 arch/powerpc/kvm/e500.c 	if (sid < NUM_TIDS) {
sid                77 arch/powerpc/kvm/e500.c 		__this_cpu_write(pcpu_sids.entry[sid], entry);
sid                78 arch/powerpc/kvm/e500.c 		entry->val = sid;
sid                79 arch/powerpc/kvm/e500.c 		entry->pentry = this_cpu_ptr(&pcpu_sids.entry[sid]);
sid                80 arch/powerpc/kvm/e500.c 		ret = sid;
sid                90 arch/powerpc/kvm/e500.c 	WARN_ON(sid > NUM_TIDS);
sid               190 arch/powerpc/kvm/e500.c 	int sid;
sid               196 arch/powerpc/kvm/e500.c 	sid = local_sid_lookup(&idt->id[as][gid][pr]);
sid               198 arch/powerpc/kvm/e500.c 	while (sid <= 0) {
sid               200 arch/powerpc/kvm/e500.c 		sid = local_sid_setup_one(&idt->id[as][gid][pr]);
sid               201 arch/powerpc/kvm/e500.c 		if (sid <= 0) {
sid               211 arch/powerpc/kvm/e500.c 	return sid;
sid                72 arch/powerpc/platforms/52xx/mpc52xx_pci.c 	u32	sid;		/* PCI + 0x2C */
sid               192 arch/powerpc/sysdev/fsl_rmu.c 	u16 sid;
sid               323 arch/powerpc/sysdev/fsl_rmu.c 			dmsg->sid, dmsg->tid, dmsg->info);
sid               339 arch/powerpc/sysdev/fsl_rmu.c 						dbell->dev_id, dmsg->sid,
sid               351 arch/powerpc/sysdev/fsl_rmu.c 				dmsg->sid, dmsg->tid,
sid                25 arch/s390/include/uapi/asm/chsc.h 	struct subchannel_id sid;
sid                39 arch/sparc/include/asm/vio.h 	u32		sid;
sid               229 arch/sparc/kernel/sun4d_smp.c #define IGEN_MESSAGE(bcast, devid, sid, levels) \
sid               230 arch/sparc/kernel/sun4d_smp.c 	(((bcast) << 31) | ((devid) << 23) | ((sid) << 15) | (levels))
sid                37 arch/sparc/kernel/viohs.c 	tag->sid = vio_send_sid(vio);
sid               166 arch/sparc/kernel/viohs.c 	       pkt->type, pkt->stype, pkt->stype_env, pkt->sid);
sid               272 arch/sparc/kernel/viohs.c 	vio->_peer_sid = pkt->tag.sid;
sid               689 arch/sparc/kernel/viohs.c 	u32 sid;
sid               705 arch/sparc/kernel/viohs.c 		sid = vio->_peer_sid;
sid               709 arch/sparc/kernel/viohs.c 		sid = vio->_local_sid;
sid               713 arch/sparc/kernel/viohs.c 	if (sid == tp->sid)
sid               716 arch/sparc/kernel/viohs.c 	       tp->sid, vio->_peer_sid, vio->_local_sid);
sid               428 arch/x86/kernel/apic/x2apic_uv_x.c 	int bytes, i, sid, lsid = -1, indx = 0, lindx = -1;
sid               455 arch/x86/kernel/apic/x2apic_uv_x.c 		sid = gre->sockid - _min_socket;
sid               456 arch/x86/kernel/apic/x2apic_uv_x.c 		if (lsid < sid) {
sid               462 arch/x86/kernel/apic/x2apic_uv_x.c 			lsid = sid;
sid               467 arch/x86/kernel/apic/x2apic_uv_x.c 		if (lsid == sid && !ram_limit) {
sid               213 drivers/block/sunvdc.c 	       pkt->type, pkt->stype, pkt->stype_env, pkt->sid);
sid               231 drivers/block/sunvdc.c 	pkt.tag.sid = vio_send_sid(vio);
sid               396 drivers/block/sunvdc.c 		       msgbuf.tag.sid);
sid               430 drivers/block/sunvdc.c 			.sid		= vio_send_sid(&port->vio),
sid               168 drivers/connector/cn_proc.c 	ev->event_data.sid.process_pid = task->pid;
sid               169 drivers/connector/cn_proc.c 	ev->event_data.sid.process_tgid = task->tgid;
sid                40 drivers/firewire/core-topology.c static u32 *count_ports(u32 *sid, int *total_port_count, int *child_port_count)
sid                49 drivers/firewire/core-topology.c 	q = *sid;
sid                68 drivers/firewire/core-topology.c 				return sid + 1;
sid                71 drivers/firewire/core-topology.c 			sid++;
sid                72 drivers/firewire/core-topology.c 			q = *sid;
sid                90 drivers/firewire/core-topology.c static int get_port_type(u32 *sid, int port_index)
sid                96 drivers/firewire/core-topology.c 	return (sid[index] >> shift) & 0x03;
sid                99 drivers/firewire/core-topology.c static struct fw_node *fw_node_create(u32 sid, int port_count, int color)
sid               108 drivers/firewire/core-topology.c 	node->node_id = LOCAL_BUS | SELF_ID_PHY_ID(sid);
sid               109 drivers/firewire/core-topology.c 	node->link_on = SELF_ID_LINK_ON(sid);
sid               110 drivers/firewire/core-topology.c 	node->phy_speed = SELF_ID_PHY_SPEED(sid);
sid               111 drivers/firewire/core-topology.c 	node->initiated_reset = SELF_ID_PHY_INITIATOR(sid);
sid               171 drivers/firewire/core-topology.c 				  u32 *sid, int self_id_count)
sid               184 drivers/firewire/core-topology.c 	end = sid + self_id_count;
sid               187 drivers/firewire/core-topology.c 	gap_count = SELF_ID_GAP_COUNT(*sid);
sid               190 drivers/firewire/core-topology.c 	while (sid < end) {
sid               191 drivers/firewire/core-topology.c 		next_sid = count_ports(sid, &port_count, &child_port_count);
sid               198 drivers/firewire/core-topology.c 		q = *sid;
sid               237 drivers/firewire/core-topology.c 			switch (get_port_type(sid, i)) {
sid               296 drivers/firewire/core-topology.c 		sid = next_sid;
sid               222 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h    SVGA3dSurfaceId sid;
sid               953 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h    SVGA3dSurfaceId sid;
sid              1013 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h    SVGA3dSurfaceId sid;
sid              1061 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h    SVGA3dSurfaceId sid;
sid               542 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c 	cmd->body.target.sid = ((rebind) ? bi->res->id : SVGA3D_INVALID_ID);
sid               644 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c 		cmd->body.sid = bi->res->id;
sid               648 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c 		cmd->body.sid = SVGA3D_INVALID_ID;
sid               845 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c 			so_buffer->sid = biso->bi.res->id;
sid               849 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c 			so_buffer->sid = SVGA3D_INVALID_ID;
sid               950 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c 			vbs->sid = SVGA3D_INVALID_ID;
sid               954 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c 			vbs->sid = biv->bi.res->id;
sid              1151 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c 		cmd->body.sid = bi->res->id;
sid              1155 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c 		cmd->body.sid = SVGA3D_INVALID_ID;
sid              1095 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h 		    uint32_t sid, int32_t destX, int32_t destY,
sid               893 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 				&cmd->body.target.sid, &res);
sid               926 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 				&cmd->body.src.sid, NULL);
sid               932 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 				 &cmd->body.dest.sid, NULL);
sid               983 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 				&cmd->body.src.sid, NULL);
sid               989 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 				 &cmd->body.dest.sid, NULL);
sid              1001 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 				 &cmd->body.srcImage.sid, NULL);
sid              1013 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 				 &cmd->body.sid, NULL);
sid              1554 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 				&cmd->body.host.sid, NULL);
sid              1780 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 				     user_surface_converter, &cmd->body.sid,
sid              1800 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 				 &cmd->body.image.sid, NULL);
sid              1819 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 				 &cmd->body.sid, NULL);
sid              1838 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 				 &cmd->body.image.sid, NULL);
sid              1858 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 				 &cmd->body.sid, NULL);
sid              1878 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 				 &cmd->body.image.sid, NULL);
sid              1898 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 				 &cmd->body.sid, NULL);
sid              2130 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 				&cmd->body.sid, &res);
sid              2277 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 					&cmd->buf[i].sid, &res);
sid              2318 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 				&cmd->body.sid, &res);
sid              2420 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 		uint32 sid;
sid              2431 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 	if (unlikely(cmd->sid == SVGA3D_INVALID_ID)) {
sid              2437 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 				&cmd->sid, &srf);
sid              2488 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 					&cmd->targets[i].sid, &res);
sid              2551 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 			SVGA3dSurfaceId sid;
sid              2555 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 	BUILD_BUG_ON(offsetof(typeof(*cmd), r_body.sid) !=
sid              2556 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 		     offsetof(typeof(*cmd), sid));
sid              2557 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 	BUILD_BUG_ON(offsetof(typeof(*cmd), i_body.sid) !=
sid              2558 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 		     offsetof(typeof(*cmd), sid));
sid              2559 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 	BUILD_BUG_ON(offsetof(typeof(*cmd), u_body.sid) !=
sid              2560 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 		     offsetof(typeof(*cmd), sid));
sid              2566 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 				 &cmd->sid, NULL);
sid              2796 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 				 &cmd->body.surface.sid, NULL);
sid               304 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c 	ret = vmw_user_resource_lookup_handle(dev_priv, tfile, arg->sid,
sid               312 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c 			      vfb, surface, arg->sid,
sid              1735 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 				   uint32_t sid,
sid              1750 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 		    uint32_t sid,
sid              1765 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 					      sid, destX, destY, clips,
sid              2621 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 		cmd->body.image.sid = res->id;
sid                60 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c 	u32 sid;
sid               600 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c 	blit->body.srcImage.sid = vfbs->surface->res.id;
sid              1055 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c 	cmd->body.srcImage.sid = sdirty->sid;
sid              1161 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c 	sdirty.sid = srf->id;
sid               102 drivers/gpu/drm/vmwgfx/vmwgfx_so.c 	uint32 sid;
sid               183 drivers/gpu/drm/vmwgfx/vmwgfx_so.c 	cmd->body.sid = view->srf->id;
sid               573 drivers/gpu/drm/vmwgfx/vmwgfx_so.c 	BUILD_BUG_ON(offsetof(struct vmw_view_define, sid) !=
sid               574 drivers/gpu/drm/vmwgfx/vmwgfx_so.c 		     offsetof(SVGA3dCmdDXDefineShaderResourceView, sid));
sid               575 drivers/gpu/drm/vmwgfx/vmwgfx_so.c 	BUILD_BUG_ON(offsetof(struct vmw_view_define, sid) !=
sid               576 drivers/gpu/drm/vmwgfx/vmwgfx_so.c 		     offsetof(SVGA3dCmdDXDefineRenderTargetView, sid));
sid               577 drivers/gpu/drm/vmwgfx/vmwgfx_so.c 	BUILD_BUG_ON(offsetof(struct vmw_view_define, sid) !=
sid               578 drivers/gpu/drm/vmwgfx/vmwgfx_so.c 		     offsetof(SVGA3dCmdDXDefineDepthStencilView, sid));
sid                75 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 		u32 sid;
sid               230 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 	image.sid = res ? res->id : SVGA3D_INVALID_ID;
sid               510 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 	cmd->body.host.sid = stdu->display_srf->res.id;
sid               755 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 	if (sdirty->sid != stdu->display_srf->res.id) {
sid               802 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 	if (sdirty->sid != stdu->display_srf->res.id) {
sid               807 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 		cmd->body.src.sid = sdirty->sid;
sid               808 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 		cmd->body.dest.sid = stdu->display_srf->res.id;
sid               889 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 	sdirty.sid = srf->id;
sid              1215 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 	cmd_dma->body.host.sid = stdu->display_srf->res.id;
sid              1328 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 		cmd_img->body.image.sid = stdu->display_srf->res.id;
sid              1457 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 		cmd_update->body.image.sid = vfbs->surface->res.id;
sid              1489 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 	cmd_copy->body.src.sid = vfbs->surface->res.id;
sid              1490 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 	cmd_copy->body.dest.sid = stdu->display_srf->res.id;
sid               220 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 	cmd->body.sid = id;
sid               243 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 	cmd->body.sid = srf->res.id;
sid               299 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 		body->host.sid = srf->res.id;
sid               689 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 	return ttm_ref_object_base_unref(tfile, arg->sid, TTM_REF_USAGE);
sid               881 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 	rep->sid = user_srf->prime.base.handle;
sid               992 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 	ret = vmw_surface_handle_reference(dev_priv, file_priv, req->sid,
sid              1088 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 		cmd3->body.sid = srf->res.id;
sid              1103 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 		cmd2->body.sid = srf->res.id;
sid              1116 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 		cmd->body.sid = srf->res.id;
sid              1164 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 	cmd1->body.sid = res->id;
sid              1170 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 		cmd2->body.sid = res->id;
sid              1213 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 		cmd1->body.sid = res->id;
sid              1219 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 		cmd2->body.sid = res->id;
sid              1225 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 	cmd3->body.sid = res->id;
sid              1269 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 	cmd->body.sid = res->id;
sid              1709 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 	ret = vmw_surface_handle_reference(dev_priv, file_priv, req->sid,
sid               107 drivers/gpu/host1x/hw/channel_hw.c 	u32 sid = 0x7f;
sid               111 drivers/gpu/host1x/hw/channel_hw.c 		sid = spec->ids[0] & 0xffff;
sid               114 drivers/gpu/host1x/hw/channel_hw.c 	host1x_ch_writel(channel, sid, HOST1X_CHANNEL_SMMU_STREAMID);
sid               506 drivers/hwmon/ibmpowernv.c static void populate_sensor(struct sensor_data *sdata, int od, int hd, int sid,
sid               517 drivers/hwmon/ibmpowernv.c 	sdata->id = sid;
sid              3245 drivers/infiniband/core/cma.c 	u64 sid, mask;
sid              3260 drivers/infiniband/core/cma.c 		sid = be64_to_cpu(sib->sib_sid);
sid              3262 drivers/infiniband/core/cma.c 		sib->sib_sid = cpu_to_be64((sid & mask) | (u64) ntohs(port));
sid              3465 drivers/infiniband/core/cma.c 	u64 sid_ps, mask, sid;
sid              3469 drivers/infiniband/core/cma.c 	sid = be64_to_cpu(sib->sib_sid) & mask;
sid              3471 drivers/infiniband/core/cma.c 	if ((id_priv->id.ps == RDMA_PS_IB) && (sid == (RDMA_IB_IP_PS_IB & mask))) {
sid              3475 drivers/infiniband/core/cma.c 		   (sid == (RDMA_IB_IP_PS_TCP & mask))) {
sid              3479 drivers/infiniband/core/cma.c 		   (sid == (RDMA_IB_IP_PS_UDP & mask))) {
sid               653 drivers/input/mouse/elantech.c 	int id, sid;
sid               659 drivers/input/mouse/elantech.c 	sid = ((packet[3] & 0xe0) >> 5) - 1;
sid               677 drivers/input/mouse/elantech.c 	if (sid >= 0) {
sid               678 drivers/input/mouse/elantech.c 		etd->mt[sid].x += delta_x2 * weight;
sid               679 drivers/input/mouse/elantech.c 		etd->mt[sid].y -= delta_y2 * weight;
sid               680 drivers/input/mouse/elantech.c 		input_mt_slot(dev, sid);
sid               681 drivers/input/mouse/elantech.c 		input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[sid].x);
sid               682 drivers/input/mouse/elantech.c 		input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[sid].y);
sid               436 drivers/iommu/arm-smmu-v3.c 			u32			sid;
sid               444 drivers/iommu/arm-smmu-v3.c 			u32			sid;
sid               467 drivers/iommu/arm-smmu-v3.c 			u32			sid;
sid               476 drivers/iommu/arm-smmu-v3.c 			u32			sid;
sid               846 drivers/iommu/arm-smmu-v3.c 		cmd[0] |= FIELD_PREP(CMDQ_PREFETCH_0_SID, ent->prefetch.sid);
sid               851 drivers/iommu/arm-smmu-v3.c 		cmd[0] |= FIELD_PREP(CMDQ_CFGI_0_SID, ent->cfgi.sid);
sid               879 drivers/iommu/arm-smmu-v3.c 		cmd[0] |= FIELD_PREP(CMDQ_ATC_0_SID, ent->atc.sid);
sid               886 drivers/iommu/arm-smmu-v3.c 		cmd[0] |= FIELD_PREP(CMDQ_PRI_0_SID, ent->pri.sid);
sid              1505 drivers/iommu/arm-smmu-v3.c static void arm_smmu_sync_ste_for_sid(struct arm_smmu_device *smmu, u32 sid)
sid              1510 drivers/iommu/arm-smmu-v3.c 			.sid	= sid,
sid              1519 drivers/iommu/arm-smmu-v3.c static void arm_smmu_write_strtab_ent(struct arm_smmu_master *master, u32 sid,
sid              1547 drivers/iommu/arm-smmu-v3.c 			.sid	= sid,
sid              1605 drivers/iommu/arm-smmu-v3.c 			arm_smmu_sync_ste_for_sid(smmu, sid);
sid              1645 drivers/iommu/arm-smmu-v3.c 	arm_smmu_sync_ste_for_sid(smmu, sid);
sid              1648 drivers/iommu/arm-smmu-v3.c 	arm_smmu_sync_ste_for_sid(smmu, sid);
sid              1665 drivers/iommu/arm-smmu-v3.c static int arm_smmu_init_l2_strtab(struct arm_smmu_device *smmu, u32 sid)
sid              1670 drivers/iommu/arm-smmu-v3.c 	struct arm_smmu_strtab_l1_desc *desc = &cfg->l1_desc[sid >> STRTAB_SPLIT];
sid              1676 drivers/iommu/arm-smmu-v3.c 	strtab = &cfg->strtab[(sid >> STRTAB_SPLIT) * STRTAB_L1_DESC_DWORDS];
sid              1684 drivers/iommu/arm-smmu-v3.c 			sid);
sid              1729 drivers/iommu/arm-smmu-v3.c 	u32 sid, ssid;
sid              1733 drivers/iommu/arm-smmu-v3.c 	sid = FIELD_GET(PRIQ_0_SID, evt[0]);
sid              1742 drivers/iommu/arm-smmu-v3.c 		 sid, ssid, grpid, last ? "L" : "",
sid              1754 drivers/iommu/arm-smmu-v3.c 				.sid	= sid,
sid              1914 drivers/iommu/arm-smmu-v3.c 		cmd->atc.sid = master->sids[i];
sid              2274 drivers/iommu/arm-smmu-v3.c static __le64 *arm_smmu_get_step_for_sid(struct arm_smmu_device *smmu, u32 sid)
sid              2284 drivers/iommu/arm-smmu-v3.c 		idx = (sid >> STRTAB_SPLIT) * STRTAB_L1_DESC_DWORDS;
sid              2286 drivers/iommu/arm-smmu-v3.c 		idx = (sid & ((1 << STRTAB_SPLIT) - 1)) * STRTAB_STE_DWORDS;
sid              2290 drivers/iommu/arm-smmu-v3.c 		step = &cfg->strtab[sid * STRTAB_STE_DWORDS];
sid              2302 drivers/iommu/arm-smmu-v3.c 		u32 sid = master->sids[i];
sid              2303 drivers/iommu/arm-smmu-v3.c 		__le64 *step = arm_smmu_get_step_for_sid(smmu, sid);
sid              2307 drivers/iommu/arm-smmu-v3.c 			if (master->sids[j] == sid)
sid              2312 drivers/iommu/arm-smmu-v3.c 		arm_smmu_write_strtab_ent(master, sid, step);
sid              2517 drivers/iommu/arm-smmu-v3.c static bool arm_smmu_sid_in_range(struct arm_smmu_device *smmu, u32 sid)
sid              2524 drivers/iommu/arm-smmu-v3.c 	return sid < limit;
sid              2564 drivers/iommu/arm-smmu-v3.c 		u32 sid = master->sids[i];
sid              2566 drivers/iommu/arm-smmu-v3.c 		if (!arm_smmu_sid_in_range(smmu, sid))
sid              2571 drivers/iommu/arm-smmu-v3.c 			ret = arm_smmu_init_l2_strtab(smmu, sid);
sid              1019 drivers/iommu/arm-smmu.c 		u16 sid = FIELD_GET(SMR_ID, fwspec->ids[i]);
sid              1027 drivers/iommu/arm-smmu.c 		ret = arm_smmu_find_sme(smmu, sid, mask);
sid              1033 drivers/iommu/arm-smmu.c 			smrs[idx].id = sid;
sid              1338 drivers/iommu/arm-smmu.c 		u16 sid = FIELD_GET(SMR_ID, fwspec->ids[i]);
sid              1341 drivers/iommu/arm-smmu.c 		if (sid & ~smmu->streamid_mask) {
sid              1343 drivers/iommu/arm-smmu.c 				sid, smmu->streamid_mask);
sid              1320 drivers/iommu/dmar.c void qi_flush_context(struct intel_iommu *iommu, u16 did, u16 sid, u8 fm,
sid              1325 drivers/iommu/dmar.c 	desc.qw0 = QI_CC_FM(fm) | QI_CC_SID(sid) | QI_CC_DID(did)
sid              1358 drivers/iommu/dmar.c void qi_flush_dev_iotlb(struct intel_iommu *iommu, u16 sid, u16 pfsid,
sid              1372 drivers/iommu/dmar.c 	desc.qw0 = QI_DEV_IOTLB_SID(sid) | QI_DEV_IOTLB_QDEP(qdep) |
sid               320 drivers/iommu/intel-iommu-debugfs.c 			   idx, PCI_BUS_NUM(ri_entry->sid),
sid               321 drivers/iommu/intel-iommu-debugfs.c 			   PCI_SLOT(ri_entry->sid), PCI_FUNC(ri_entry->sid),
sid               344 drivers/iommu/intel-iommu-debugfs.c 			   idx, PCI_BUS_NUM(pi_entry->sid),
sid               345 drivers/iommu/intel-iommu-debugfs.c 			   PCI_SLOT(pi_entry->sid), PCI_FUNC(pi_entry->sid),
sid              1466 drivers/iommu/intel-iommu.c 	u16 sid, qdep;
sid              1478 drivers/iommu/intel-iommu.c 		sid = info->bus << 8 | info->devfn;
sid              1480 drivers/iommu/intel-iommu.c 		qi_flush_dev_iotlb(info->iommu, sid, info->pfsid,
sid               431 drivers/iommu/intel-pasid.c 	u16 sid, qdep, pfsid;
sid               437 drivers/iommu/intel-pasid.c 	sid = info->bus << 8 | info->devfn;
sid               441 drivers/iommu/intel-pasid.c 	qi_flush_dev_iotlb(iommu, sid, pfsid, qdep, 0, 64 - VTD_PAGE_SHIFT);
sid               130 drivers/iommu/intel-svm.c 				QI_DEV_EIOTLB_SID(sdev->sid) |
sid               292 drivers/iommu/intel-svm.c 	sdev->sid = PCI_DEVID(info->bus, info->devfn);
sid               616 drivers/iommu/intel-svm.c 			if (sdev->sid == req->rid)
sid               288 drivers/iommu/intel_irq_remapping.c 			 unsigned int sq, unsigned int sid)
sid               294 drivers/iommu/intel_irq_remapping.c 	irte->sid = sid;
sid               312 drivers/iommu/intel_irq_remapping.c 	u16 sid = 0;
sid               320 drivers/iommu/intel_irq_remapping.c 			sid = (ir_ioapic[i].bus << 8) | ir_ioapic[i].devfn;
sid               326 drivers/iommu/intel_irq_remapping.c 	if (sid == 0) {
sid               331 drivers/iommu/intel_irq_remapping.c 	set_irte_sid(irte, SVT_VERIFY_SID_SQ, SQ_ALL_16, sid);
sid               339 drivers/iommu/intel_irq_remapping.c 	u16 sid = 0;
sid               347 drivers/iommu/intel_irq_remapping.c 			sid = (ir_hpet[i].bus << 8) | ir_hpet[i].devfn;
sid               353 drivers/iommu/intel_irq_remapping.c 	if (sid == 0) {
sid               363 drivers/iommu/intel_irq_remapping.c 	set_irte_sid(irte, SVT_VERIFY_SID_SQ, SQ_13_IGNORE_3, sid);
sid              1278 drivers/iommu/intel_irq_remapping.c 			irte->sid, irte->sq, irte->svt);
sid               617 drivers/iommu/msm_iommu.c 	int sid;
sid               626 drivers/iommu/msm_iommu.c 	for (sid = 0; sid < master->num_mids; sid++)
sid               627 drivers/iommu/msm_iommu.c 		if (master->mids[sid] == spec->args[0]) {
sid               629 drivers/iommu/msm_iommu.c 				 sid);
sid                50 drivers/media/usb/pvrusb2/pvrusb2-audio.c 		unsigned int sid = hdw->hdw_desc->signal_routing_scheme;
sid                54 drivers/media/usb/pvrusb2/pvrusb2-audio.c 		sp = (sid < ARRAY_SIZE(routing_schemes)) ?
sid                55 drivers/media/usb/pvrusb2/pvrusb2-audio.c 			routing_schemes[sid] : NULL;
sid                64 drivers/media/usb/pvrusb2/pvrusb2-audio.c 				   sid, hdw->input_val);
sid                51 drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.c 		unsigned int sid = hdw->hdw_desc->signal_routing_scheme;
sid                55 drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.c 		sp = (sid < ARRAY_SIZE(routing_schemes)) ?
sid                56 drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.c 			routing_schemes[sid] : NULL;
sid                62 drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.c 				   sid, hdw->input_val);
sid               142 drivers/media/usb/pvrusb2/pvrusb2-cx2584x-v4l.c 		unsigned int sid = hdw->hdw_desc->signal_routing_scheme;
sid               144 drivers/media/usb/pvrusb2/pvrusb2-cx2584x-v4l.c 		sp = (sid < ARRAY_SIZE(routing_schemes)) ?
sid               145 drivers/media/usb/pvrusb2/pvrusb2-cx2584x-v4l.c 			routing_schemes[sid] : NULL;
sid               151 drivers/media/usb/pvrusb2/pvrusb2-cx2584x-v4l.c 				   sid, hdw->input_val);
sid                68 drivers/media/usb/pvrusb2/pvrusb2-video-v4l.c 		unsigned int sid = hdw->hdw_desc->signal_routing_scheme;
sid                74 drivers/media/usb/pvrusb2/pvrusb2-video-v4l.c 		sp = (sid < ARRAY_SIZE(routing_schemes)) ?
sid                75 drivers/media/usb/pvrusb2/pvrusb2-video-v4l.c 			routing_schemes[sid] : NULL;
sid                81 drivers/media/usb/pvrusb2/pvrusb2-video-v4l.c 				   sid, hdw->input_val);
sid               566 drivers/media/usb/ttusb-dec/ttusb_dec.c 	u8 sid;
sid               568 drivers/media/usb/ttusb-dec/ttusb_dec.c 	sid = packet[1];
sid               573 drivers/media/usb/ttusb-dec/ttusb_dec.c 		if (finfo->stream_id == sid) {
sid                20 drivers/memory/tegra/tegra186.c 	unsigned int sid;
sid                30 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_PASSTHROUGH,
sid                37 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_AFI,
sid                44 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_HDA,
sid                51 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_HOST1X,
sid                58 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_NVENC,
sid                65 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_SATA,
sid                72 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_PASSTHROUGH,
sid                79 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_NVENC,
sid                86 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_AFI,
sid                93 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_HDA,
sid               100 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_PASSTHROUGH,
sid               107 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_SATA,
sid               114 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_ISP,
sid               121 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_ISP,
sid               128 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_ISP,
sid               135 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_XUSB_HOST,
sid               142 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_XUSB_HOST,
sid               149 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_XUSB_DEV,
sid               156 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_XUSB_DEV,
sid               163 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_TSEC,
sid               170 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_TSEC,
sid               177 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_GPU,
sid               184 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_GPU,
sid               191 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_SDMMC1,
sid               198 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_SDMMC2,
sid               205 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_SDMMC3,
sid               212 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_SDMMC4,
sid               219 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_SDMMC1,
sid               226 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_SDMMC2,
sid               233 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_SDMMC3,
sid               240 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_SDMMC4,
sid               247 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_VIC,
sid               254 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_VIC,
sid               261 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_VI,
sid               268 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_NVDEC,
sid               275 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_NVDEC,
sid               282 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_APE,
sid               289 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_APE,
sid               296 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_NVJPG,
sid               303 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_NVJPG,
sid               310 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_SE,
sid               317 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_SE,
sid               324 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_ETR,
sid               331 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_ETR,
sid               338 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_TSECB,
sid               345 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_TSECB,
sid               352 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_GPU,
sid               359 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_GPU,
sid               366 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_GPCDMA_0,
sid               373 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_GPCDMA_0,
sid               380 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_EQOS,
sid               387 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_EQOS,
sid               394 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_UFSHC,
sid               401 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_UFSHC,
sid               408 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_NVDISPLAY,
sid               415 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_BPMP,
sid               422 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_BPMP,
sid               429 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_BPMP,
sid               436 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_BPMP,
sid               443 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_AON,
sid               450 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_AON,
sid               457 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_AON,
sid               464 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_AON,
sid               471 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_SCE,
sid               478 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_SCE,
sid               485 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_SCE,
sid               492 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_SCE,
sid               499 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_APE,
sid               506 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_APE,
sid               513 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_NVDISPLAY,
sid               520 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_VIC,
sid               527 drivers/memory/tegra/tegra186.c 		.sid = TEGRA186_SID_NVDEC,
sid               563 drivers/memory/tegra/tegra186.c 		dev_dbg(&pdev->dev, "setting SID %u for %s\n", client->sid,
sid               565 drivers/memory/tegra/tegra186.c 		writel(client->sid, mc->regs + client->regs.override);
sid               145 drivers/mfd/twl-core.c 	unsigned char sid;	/* Slave ID */
sid               413 drivers/mfd/twl-core.c 	int sid;
sid               425 drivers/mfd/twl-core.c 	sid = twl_priv->twl_map[mod_no].sid;
sid               426 drivers/mfd/twl-core.c 	twl = &twl_priv->twl_modules[sid];
sid               601 drivers/mfd/twl-core.c 	int			status, sid;
sid               607 drivers/mfd/twl-core.c 	sid = twl_priv->twl_map[mod_no].sid;
sid               608 drivers/mfd/twl-core.c 	twl = &twl_priv->twl_modules[sid];
sid               174 drivers/misc/fastrpc.c 	int sid;
sid               288 drivers/misc/fastrpc.c 	if (fl->sctx && fl->sctx->sid)
sid               289 drivers/misc/fastrpc.c 		buf->phys += ((u64)fl->sctx->sid << 32);
sid               630 drivers/misc/fastrpc.c 	map->phys += ((u64)fl->sctx->sid << 32);
sid              1345 drivers/misc/fastrpc.c 	if (of_property_read_u32(dev->of_node, "reg", &sess->sid))
sid              1378 drivers/misc/fastrpc.c 		if (cctx->session[i].sid == sess->sid) {
sid               358 drivers/net/can/spi/mcp251x.c 	u32 sid, eid, exide, rtr;
sid               363 drivers/net/can/spi/mcp251x.c 		sid = (frame->can_id & CAN_EFF_MASK) >> 18;
sid               365 drivers/net/can/spi/mcp251x.c 		sid = frame->can_id & CAN_SFF_MASK; /* Standard ID */
sid               370 drivers/net/can/spi/mcp251x.c 	buf[TXBSIDH_OFF] = sid >> SIDH_SHIFT;
sid               371 drivers/net/can/spi/mcp251x.c 	buf[TXBSIDL_OFF] = ((sid & SIDL_SID_MASK) << SIDL_SID_SHIFT) |
sid                91 drivers/net/can/usb/mcba_usb.c 	__be16 sid;
sid               316 drivers/net/can/usb/mcba_usb.c 	u16 sid;
sid               335 drivers/net/can/usb/mcba_usb.c 		sid = MCBA_SIDL_EXID_MASK;
sid               337 drivers/net/can/usb/mcba_usb.c 		sid |= (cf->can_id & 0x1ffc0000) >> 13;
sid               339 drivers/net/can/usb/mcba_usb.c 		sid |= (cf->can_id & 0x30000) >> 16;
sid               340 drivers/net/can/usb/mcba_usb.c 		put_unaligned_be16(sid, &usb_msg.sid);
sid               349 drivers/net/can/usb/mcba_usb.c 				   &usb_msg.sid);
sid               424 drivers/net/can/usb/mcba_usb.c 	u16 sid;
sid               430 drivers/net/can/usb/mcba_usb.c 	sid = get_unaligned_be16(&msg->sid);
sid               432 drivers/net/can/usb/mcba_usb.c 	if (sid & MCBA_SIDL_EXID_MASK) {
sid               439 drivers/net/can/usb/mcba_usb.c 		cf->can_id |= (sid & 0xffe0) << 13;
sid               441 drivers/net/can/usb/mcba_usb.c 		cf->can_id |= (sid & 3) << 16;
sid               448 drivers/net/can/usb/mcba_usb.c 		cf->can_id = (sid & 0xffe0) >> 5;
sid               148 drivers/net/dsa/mv88e6xxx/chip.h 	u8	sid;
sid                54 drivers/net/dsa/mv88e6xxx/global1_vtu.c 	entry->sid = val & MV88E6352_G1_VTU_SID_MASK;
sid                62 drivers/net/dsa/mv88e6xxx/global1_vtu.c 	u16 val = entry->sid & MV88E6352_G1_VTU_SID_MASK;
sid               267 drivers/net/dsa/mv88e6xxx/global1_vtu.c 	stu.sid = vtu->sid - 1;
sid               273 drivers/net/dsa/mv88e6xxx/global1_vtu.c 	if (stu.sid != vtu->sid || !stu.valid)
sid              1233 drivers/net/ethernet/intel/ice/ice_flex_pipe.c static void ice_fill_tbl(struct ice_hw *hw, enum ice_block block_id, u32 sid)
sid              1256 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 	sect = ice_pkg_enum_section(hw->seg, &state, sid);
sid              1259 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		switch (sid) {
sid              1347 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		sect = ice_pkg_enum_section(NULL, &state, sid);
sid              1366 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		ice_fill_tbl(hw, blk_id, hw->blk[blk_id].xlt1.sid);
sid              1367 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		ice_fill_tbl(hw, blk_id, hw->blk[blk_id].xlt2.sid);
sid              1368 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		ice_fill_tbl(hw, blk_id, hw->blk[blk_id].prof.sid);
sid              1369 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		ice_fill_tbl(hw, blk_id, hw->blk[blk_id].prof_redir.sid);
sid              1370 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		ice_fill_tbl(hw, blk_id, hw->blk[blk_id].es.sid);
sid              1462 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		xlt1->sid = ice_blk_sids[i][ICE_SID_XLT1_OFF];
sid              1483 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		xlt2->sid = ice_blk_sids[i][ICE_SID_XLT2_OFF];
sid              1506 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		prof->sid = ice_blk_sids[i][ICE_SID_PR_OFF];
sid              1516 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		prof_redir->sid = ice_blk_sids[i][ICE_SID_PR_REDIR_OFF];
sid              1526 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		es->sid = ice_blk_sids[i][ICE_SID_ES_OFF];
sid               252 drivers/net/ethernet/intel/ice/ice_flex_type.h 	u32 sid;
sid               304 drivers/net/ethernet/intel/ice/ice_flex_type.h 	u32 sid;
sid               328 drivers/net/ethernet/intel/ice/ice_flex_type.h 	u32 sid;
sid               350 drivers/net/ethernet/intel/ice/ice_flex_type.h 	u32 sid;
sid               359 drivers/net/ethernet/intel/ice/ice_flex_type.h 	u32 sid;
sid               207 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	u32 mcr_cur, mcr_new, sid, i;
sid               323 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		sid = (MTK_HAS_CAPS(eth->soc->caps, MTK_SHARED_SGMII)) ?
sid               328 drivers/net/ethernet/mediatek/mtk_eth_soc.c 			err = mtk_sgmii_setup_mode_force(eth->sgmii, sid,
sid               331 drivers/net/ethernet/mediatek/mtk_eth_soc.c 			err = mtk_sgmii_setup_mode_an(eth->sgmii, sid);
sid               114 drivers/net/ethernet/mediatek/mtk_sgmii.c 	unsigned int val, sid;
sid               117 drivers/net/ethernet/mediatek/mtk_sgmii.c 	sid = (MTK_HAS_CAPS(eth->soc->caps, MTK_SHARED_SGMII)) ?
sid               120 drivers/net/ethernet/mediatek/mtk_sgmii.c 	if (!ss->regmap[sid])
sid               123 drivers/net/ethernet/mediatek/mtk_sgmii.c 	regmap_read(ss->regmap[sid], SGMSYS_PCS_CONTROL_1, &val);
sid               125 drivers/net/ethernet/mediatek/mtk_sgmii.c 	regmap_write(ss->regmap[sid], SGMSYS_PCS_CONTROL_1, val);
sid                58 drivers/net/ethernet/sun/sunvnet_common.c 	       pkt->type, pkt->stype, pkt->stype_env, pkt->sid);
sid                84 drivers/net/ethernet/sun/sunvnet_common.c 	pkt.tag.sid = vio_send_sid(vio);
sid               147 drivers/net/ethernet/sun/sunvnet_common.c 	pkt->tag.sid = vio_send_sid(vio);
sid               477 drivers/net/ethernet/sun/sunvnet_common.c 			.sid		= vio_send_sid(&port->vio),
sid               751 drivers/net/ethernet/sun/sunvnet_common.c 		       pkt->tag.sid);
sid               867 drivers/net/ethernet/sun/sunvnet_common.c 			       msgbuf.tag.sid);
sid               947 drivers/net/ethernet/sun/sunvnet_common.c 			.sid		= vio_send_sid(&port->vio),
sid              1614 drivers/net/ethernet/sun/sunvnet_common.c 	info.tag.sid = vio_send_sid(&port->vio);
sid               115 drivers/net/ppp/pppoe.c static inline bool stage_session(__be16 sid)
sid               117 drivers/net/ppp/pppoe.c 	return sid != 0;
sid               129 drivers/net/ppp/pppoe.c 	return a->sid == b->sid && ether_addr_equal(a->remote, b->remote);
sid               132 drivers/net/ppp/pppoe.c static inline int cmp_addr(struct pppoe_addr *a, __be16 sid, char *addr)
sid               134 drivers/net/ppp/pppoe.c 	return a->sid == sid && ether_addr_equal(a->remote, addr);
sid               141 drivers/net/ppp/pppoe.c static int hash_item(__be16 sid, unsigned char *addr)
sid               149 drivers/net/ppp/pppoe.c 		hash ^= (__force __u32)sid >> i;
sid               161 drivers/net/ppp/pppoe.c static struct pppox_sock *__get_item(struct pppoe_net *pn, __be16 sid,
sid               164 drivers/net/ppp/pppoe.c 	int hash = hash_item(sid, addr);
sid               169 drivers/net/ppp/pppoe.c 		if (cmp_addr(&ret->pppoe_pa, sid, addr) &&
sid               181 drivers/net/ppp/pppoe.c 	int hash = hash_item(po->pppoe_pa.sid, po->pppoe_pa.remote);
sid               199 drivers/net/ppp/pppoe.c static void __delete_item(struct pppoe_net *pn, __be16 sid,
sid               202 drivers/net/ppp/pppoe.c 	int hash = hash_item(sid, addr);
sid               209 drivers/net/ppp/pppoe.c 		if (cmp_addr(&ret->pppoe_pa, sid, addr) &&
sid               225 drivers/net/ppp/pppoe.c static inline struct pppox_sock *get_item(struct pppoe_net *pn, __be16 sid,
sid               231 drivers/net/ppp/pppoe.c 	po = __get_item(pn, sid, addr, ifindex);
sid               253 drivers/net/ppp/pppoe.c 		pppox_sock = get_item(pn, sp->sa_addr.pppoe.sid,
sid               260 drivers/net/ppp/pppoe.c static inline void delete_item(struct pppoe_net *pn, __be16 sid,
sid               264 drivers/net/ppp/pppoe.c 	__delete_item(pn, sid, addr, ifindex);
sid               449 drivers/net/ppp/pppoe.c 	po = get_item(pn, ph->sid, eth_hdr(skb)->h_source, dev->ifindex);
sid               506 drivers/net/ppp/pppoe.c 	po = get_item(pn, ph->sid, eth_hdr(skb)->h_source, dev->ifindex);
sid               598 drivers/net/ppp/pppoe.c 	delete_item(pn, po->pppoe_pa.sid, po->pppoe_pa.remote,
sid               635 drivers/net/ppp/pppoe.c 	     stage_session(sp->sa_addr.pppoe.sid))
sid               641 drivers/net/ppp/pppoe.c 	     !stage_session(sp->sa_addr.pppoe.sid))
sid               647 drivers/net/ppp/pppoe.c 	if (stage_session(po->pppoe_pa.sid)) {
sid               650 drivers/net/ppp/pppoe.c 		delete_item(pn, po->pppoe_pa.sid,
sid               668 drivers/net/ppp/pppoe.c 	if (stage_session(sp->sa_addr.pppoe.sid)) {
sid               701 drivers/net/ppp/pppoe.c 			delete_item(pn, po->pppoe_pa.sid,
sid               709 drivers/net/ppp/pppoe.c 	po->num = sp->sa_addr.pppoe.sid;
sid               860 drivers/net/ppp/pppoe.c 	hdr.sid = po->num;
sid               948 drivers/net/ppp/pppoe.c 	ph->sid	= po->num;
sid              1027 drivers/net/ppp/pppoe.c 		po->pppoe_pa.sid, po->pppoe_pa.remote, dev_name);
sid              1074 drivers/net/ppp/pppoe.c 		int hash = hash_item(po->pppoe_pa.sid, po->pppoe_pa.remote);
sid               226 drivers/net/rionet.c static void rionet_dbell_event(struct rio_mport *mport, void *dev_id, u16 sid, u16 tid,
sid               236 drivers/net/rionet.c 		       DRV_NAME, sid, tid, info);
sid               238 drivers/net/rionet.c 		if (!nets[netid].active[sid]) {
sid               241 drivers/net/rionet.c 				if (peer->rdev->destid == sid) {
sid               242 drivers/net/rionet.c 					nets[netid].active[sid] = peer->rdev;
sid               248 drivers/net/rionet.c 			rio_mport_send_doorbell(mport, sid,
sid               253 drivers/net/rionet.c 		if (nets[netid].active[sid]) {
sid               254 drivers/net/rionet.c 			nets[netid].active[sid] = NULL;
sid               563 drivers/net/wireless/rayctl.h     UCHAR sid[2];
sid                43 drivers/nvmem/sunxi_sid.c 	struct sunxi_sid *sid = context;
sid                45 drivers/nvmem/sunxi_sid.c 	memcpy_fromio(val, sid->base + sid->value_offset + offset, bytes);
sid                50 drivers/nvmem/sunxi_sid.c static int sun8i_sid_register_readout(const struct sunxi_sid *sid,
sid                61 drivers/nvmem/sunxi_sid.c 	writel(reg_val, sid->base + SUN8I_SID_PRCTL);
sid                63 drivers/nvmem/sunxi_sid.c 	ret = readl_poll_timeout(sid->base + SUN8I_SID_PRCTL, reg_val,
sid                69 drivers/nvmem/sunxi_sid.c 		*out = readl(sid->base + SUN8I_SID_RDKEY);
sid                71 drivers/nvmem/sunxi_sid.c 	writel(0, sid->base + SUN8I_SID_PRCTL);
sid                84 drivers/nvmem/sunxi_sid.c 	struct sunxi_sid *sid = context;
sid                90 drivers/nvmem/sunxi_sid.c 		ret = sun8i_sid_register_readout(sid, offset, val);
sid               103 drivers/nvmem/sunxi_sid.c 	ret = sun8i_sid_register_readout(sid, offset, &word);
sid               118 drivers/nvmem/sunxi_sid.c 	struct sunxi_sid *sid;
sid               123 drivers/nvmem/sunxi_sid.c 	sid = devm_kzalloc(dev, sizeof(*sid), GFP_KERNEL);
sid               124 drivers/nvmem/sunxi_sid.c 	if (!sid)
sid               130 drivers/nvmem/sunxi_sid.c 	sid->value_offset = cfg->value_offset;
sid               133 drivers/nvmem/sunxi_sid.c 	sid->base = devm_ioremap_resource(dev, res);
sid               134 drivers/nvmem/sunxi_sid.c 	if (IS_ERR(sid->base))
sid               135 drivers/nvmem/sunxi_sid.c 		return PTR_ERR(sid->base);
sid               149 drivers/nvmem/sunxi_sid.c 	nvmem_cfg->priv = sid;
sid               163 drivers/nvmem/sunxi_sid.c 	nvmem_cfg->reg_read(sid, 0, randomness, size);
sid               556 drivers/parisc/ccio-dma.c ccio_io_pdir_entry(u64 *pdir_ptr, space_t sid, unsigned long vba,
sid               563 drivers/parisc/ccio-dma.c 	BUG_ON(sid != KERNEL_SPACE);
sid               566 drivers/parisc/sba_iommu.c sba_io_pdir_entry(u64 *pdir_ptr, space_t sid, unsigned long vba,
sid               251 drivers/perf/arm_smmuv3_pmu.c 				      int idx, u32 span, u32 sid)
sid               258 drivers/perf/arm_smmuv3_pmu.c 	smmu_pmu_set_smr(smmu_pmu, idx, sid);
sid               277 drivers/perf/arm_smmuv3_pmu.c 	u32 span, sid;
sid               283 drivers/perf/arm_smmuv3_pmu.c 	sid = filter_en ? get_filter_stream_id(event) :
sid               288 drivers/perf/arm_smmuv3_pmu.c 		smmu_pmu_set_event_filter(event, idx, span, sid);
sid               296 drivers/perf/arm_smmuv3_pmu.c 		smmu_pmu_set_event_filter(event, 0, span, sid);
sid              1266 drivers/s390/cio/chsc.c 		struct subchannel_id sid;
sid              1281 drivers/s390/cio/chsc.c 	siosl_area->sid = schid;
sid               255 drivers/s390/cio/chsc_sch.c 		chsc_area->header.sid = sch->schid;
sid               583 drivers/scsi/advansys.c #define ASC_EEP_SET_CHIP_ID(cfg, sid) \
sid               584 drivers/scsi/advansys.c    ((cfg)->id_speed = ((cfg)->id_speed & 0xf0) | ((sid) & ASC_MAX_TID))
sid               299 drivers/scsi/bnx2fc/bnx2fc.h 	u32 sid;
sid                67 drivers/scsi/bnx2fc/bnx2fc_els.c 	u32 sid = 0;
sid                76 drivers/scsi/bnx2fc/bnx2fc_els.c 	sid = tgt->sid;
sid                93 drivers/scsi/bnx2fc/bnx2fc_els.c 	hton24(rrq.rrq_s_id, sid);
sid               588 drivers/scsi/bnx2fc/bnx2fc_els.c 	u32 sid = tgt->sid;
sid               606 drivers/scsi/bnx2fc/bnx2fc_els.c 	hton24(rec.rec_s_id, sid);
sid               686 drivers/scsi/bnx2fc/bnx2fc_els.c 	u32 did, sid;
sid               757 drivers/scsi/bnx2fc/bnx2fc_els.c 	sid = tgt->sid;
sid               760 drivers/scsi/bnx2fc/bnx2fc_els.c 		__fc_fill_fc_hdr(fc_hdr, FC_RCTL_ELS4_REQ, did, sid,
sid               764 drivers/scsi/bnx2fc/bnx2fc_els.c 		__fc_fill_fc_hdr(fc_hdr, FC_RCTL_ELS_REQ, did, sid,
sid               254 drivers/scsi/bnx2fc/bnx2fc_hwi.c 	tgt->sid = port_id;
sid               393 drivers/scsi/bnx2fc/bnx2fc_hwi.c 	if (port_id != tgt->sid) {
sid               395 drivers/scsi/bnx2fc/bnx2fc_hwi.c 				"sid = 0x%x\n", port_id, tgt->sid);
sid               396 drivers/scsi/bnx2fc/bnx2fc_hwi.c 		port_id = tgt->sid;
sid               459 drivers/scsi/bnx2fc/bnx2fc_hwi.c 	port_id = tgt->sid;
sid               679 drivers/scsi/bnx2fc/bnx2fc_io.c 	u32 sid, did;
sid               750 drivers/scsi/bnx2fc/bnx2fc_io.c 	sid = tgt->sid;
sid               752 drivers/scsi/bnx2fc/bnx2fc_io.c 	__fc_fill_fc_hdr(fc_hdr, FC_RCTL_DD_UNSOL_CMD, did, sid,
sid               835 drivers/scsi/bnx2fc/bnx2fc_io.c 	u32 sid, did;
sid               888 drivers/scsi/bnx2fc/bnx2fc_io.c 	sid = tgt->sid;
sid               891 drivers/scsi/bnx2fc/bnx2fc_io.c 	__fc_fill_fc_hdr(fc_hdr, FC_RCTL_BA_ABTS, did, sid,
sid              1682 drivers/scsi/csiostor/csio_lnode.c 		      uint32_t immd_len, uint8_t sub_op, uint32_t sid,
sid              1703 drivers/scsi/csiostor/csio_lnode.c 	port_id = htonl(sid);
sid              2748 drivers/scsi/fnic/fnic_scsi.c void fnic_exch_mgr_reset(struct fc_lport *lp, u32 sid, u32 did)
sid              2753 drivers/scsi/fnic/fnic_scsi.c 	if (sid)
sid              2772 drivers/scsi/fnic/fnic_scsi.c 	fc_exch_mgr_reset(lp, sid, did);
sid               657 drivers/scsi/libfc/fc_exch.c 	if (ep->sid) {
sid               664 drivers/scsi/libfc/fc_exch.c 			fc_fill_fc_hdr(fp, FC_RCTL_BA_ABTS, ep->did, ep->sid,
sid              1004 drivers/scsi/libfc/fc_exch.c 		ep->sid = ntoh24(fh->fh_d_id);
sid              1207 drivers/scsi/libfc/fc_exch.c 		ep->sid = resp_id;
sid              1210 drivers/scsi/libfc/fc_exch.c 		ep->sid = orig_id;
sid              1261 drivers/scsi/libfc/fc_exch.c 	fc_fill_fc_hdr(fp, rctl, ep->did, ep->sid, fh_type, f_ctl, 0);
sid              1588 drivers/scsi/libfc/fc_exch.c 	if (ep->sid != 0 && ep->sid != ntoh24(fh->fh_d_id)) {
sid              1920 drivers/scsi/libfc/fc_exch.c 			       u32 sid, u32 did)
sid              1929 drivers/scsi/libfc/fc_exch.c 		    (sid == 0 || sid == ep->sid) &&
sid              1963 drivers/scsi/libfc/fc_exch.c void fc_exch_mgr_reset(struct fc_lport *lport, u32 sid, u32 did)
sid              1972 drivers/scsi/libfc/fc_exch.c 					   sid, did);
sid              2009 drivers/scsi/libfc/fc_exch.c 	u32 sid;
sid              2017 drivers/scsi/libfc/fc_exch.c 	sid = ntoh24(rp->rec_s_id);
sid              2022 drivers/scsi/libfc/fc_exch.c 	if (sid == fc_host_port_id(lport->host))
sid              2029 drivers/scsi/libfc/fc_exch.c 			     sid, rxid, oxid);
sid              2036 drivers/scsi/libfc/fc_exch.c 			     sid, rxid, oxid);
sid              2040 drivers/scsi/libfc/fc_exch.c 		    sid, rxid, oxid);
sid              2041 drivers/scsi/libfc/fc_exch.c 	if (ep->oid != sid || oxid != ep->oxid)
sid              2057 drivers/scsi/libfc/fc_exch.c 	if (ep->sid == ep->oid)
sid              2060 drivers/scsi/libfc/fc_exch.c 		hton24(acc->reca_rfid, ep->sid);
sid              2243 drivers/scsi/libfc/fc_exch.c 	hton24(rrq->rrq_s_id, ep->sid);
sid              2249 drivers/scsi/libfc/fc_exch.c 		did = ep->sid;
sid              2282 drivers/scsi/libfc/fc_exch.c 	u32 sid;
sid              2295 drivers/scsi/libfc/fc_exch.c 	sid = ntoh24(rp->rrq_s_id);		/* subject source */
sid              2296 drivers/scsi/libfc/fc_exch.c 	xid = fc_host_port_id(lport->host) == sid ?
sid              2304 drivers/scsi/libfc/fc_exch.c 		    sid, xid, ntohs(rp->rrq_rx_id), ntohs(rp->rrq_ox_id));
sid              2311 drivers/scsi/libfc/fc_exch.c 	if (ep->sid != sid)
sid               718 drivers/scsi/libfc/fc_fcp.c 		fc_fill_fc_hdr(fp, FC_RCTL_DD_SOL_DATA, ep->did, ep->sid,
sid              1024 drivers/scsi/libfc/fc_fcp.c 					       ep->did, ep->sid,
sid               857 drivers/scsi/libfc/fc_rport.c 	u32 sid;
sid               859 drivers/scsi/libfc/fc_rport.c 	sid = fc_frame_sid(fp);
sid               861 drivers/scsi/libfc/fc_rport.c 	FC_RPORT_ID_DBG(lport, sid, "Received FLOGI request\n");
sid               876 drivers/scsi/libfc/fc_rport.c 	rdata = fc_rport_lookup(lport, sid);
sid              1842 drivers/scsi/libfc/fc_rport.c 	u32 sid;
sid              1846 drivers/scsi/libfc/fc_rport.c 	sid = fc_frame_sid(fp);
sid              1848 drivers/scsi/libfc/fc_rport.c 	FC_RPORT_ID_DBG(lport, sid, "Received PLOGI request\n");
sid              1852 drivers/scsi/libfc/fc_rport.c 		FC_RPORT_ID_DBG(lport, sid, "Received PLOGI too short\n");
sid              1860 drivers/scsi/libfc/fc_rport.c 	rdata = fc_rport_create(lport, sid);
sid              2148 drivers/scsi/libfc/fc_rport.c 	u32 sid;
sid              2154 drivers/scsi/libfc/fc_rport.c 	sid = fc_frame_sid(fp);
sid              2156 drivers/scsi/libfc/fc_rport.c 	rdata = fc_rport_lookup(lport, sid);
sid              2166 drivers/scsi/libfc/fc_rport.c 		FC_RPORT_ID_DBG(lport, sid,
sid              1179 drivers/scsi/lpfc/lpfc_bsg.c 	uint32_t sid;
sid              1182 drivers/scsi/lpfc/lpfc_bsg.c 	sid = sli4_sid_from_fc_hdr(fc_hdr_ptr);
sid              1193 drivers/scsi/lpfc/lpfc_bsg.c 		if (phba->ct_ctx[ctx_idx].SID != sid)
sid              2845 drivers/scsi/lpfc/lpfc_hw.h 	uint32_t sid:24;
sid              2852 drivers/scsi/lpfc/lpfc_hw.h 	uint32_t sid:24;
sid               898 drivers/scsi/lpfc/lpfc_mbox.c 	mb->un.varRegVpi.sid = vport->fc_myDID;
sid               247 drivers/scsi/lpfc/lpfc_nvmet.c lpfc_nvmet_get_ctx_for_oxid(struct lpfc_hba *phba, u16 oxid, u32 sid)
sid               255 drivers/scsi/lpfc/lpfc_nvmet.c 		if (ctxp->oxid != oxid || ctxp->sid != sid)
sid               377 drivers/scsi/lpfc/lpfc_nvmet.c 	uint32_t size, oxid, sid;
sid               429 drivers/scsi/lpfc/lpfc_nvmet.c 		sid = sli4_sid_from_fc_hdr(fc_hdr);
sid               438 drivers/scsi/lpfc/lpfc_nvmet.c 		ctxp->sid = sid;
sid               481 drivers/scsi/lpfc/lpfc_nvmet.c 			lpfc_nvmet_unsol_fcp_issue_abort(phba, ctxp, sid, oxid);
sid               883 drivers/scsi/lpfc/lpfc_nvmet.c 						ctxp->sid, ctxp->oxid);
sid               925 drivers/scsi/lpfc/lpfc_nvmet.c 	lpfc_nvmet_unsol_ls_issue_abort(phba, ctxp, ctxp->sid, ctxp->oxid);
sid              1105 drivers/scsi/lpfc/lpfc_nvmet.c 		lpfc_nvmet_unsol_fcp_issue_abort(phba, ctxp, ctxp->sid,
sid              1118 drivers/scsi/lpfc/lpfc_nvmet.c 		lpfc_nvmet_unsol_fcp_issue_abort(phba, ctxp, ctxp->sid,
sid              1121 drivers/scsi/lpfc/lpfc_nvmet.c 		lpfc_nvmet_sol_fcp_issue_abort(phba, ctxp, ctxp->sid,
sid              1622 drivers/scsi/lpfc/lpfc_nvmet.c 		ndlp = lpfc_findnode_did(phba->pport, ctxp->sid);
sid              1681 drivers/scsi/lpfc/lpfc_nvmet.c 	uint32_t sid;
sid              1685 drivers/scsi/lpfc/lpfc_nvmet.c 	sid = sli4_sid_from_fc_hdr(fc_hdr);
sid              1693 drivers/scsi/lpfc/lpfc_nvmet.c 		if (ctxp->oxid != oxid || ctxp->sid != sid)
sid              1740 drivers/scsi/lpfc/lpfc_nvmet.c 			if (oxid_tmp != oxid || sid_tmp != sid)
sid              1746 drivers/scsi/lpfc/lpfc_nvmet.c 					oxid, sid);
sid              1766 drivers/scsi/lpfc/lpfc_nvmet.c 	ctxp = lpfc_nvmet_get_ctx_for_oxid(phba, oxid, sid);
sid              1793 drivers/scsi/lpfc/lpfc_nvmet.c 		lpfc_nvmet_sol_fcp_issue_abort(phba, ctxp, ctxp->sid,
sid              1959 drivers/scsi/lpfc/lpfc_nvmet.c 	uint32_t size, oxid, sid, rc;
sid              1969 drivers/scsi/lpfc/lpfc_nvmet.c 		sid = 0;
sid              1977 drivers/scsi/lpfc/lpfc_nvmet.c 	sid = sli4_sid_from_fc_hdr(fc_hdr);
sid              1988 drivers/scsi/lpfc/lpfc_nvmet.c 				 oxid, size, sid);
sid              1995 drivers/scsi/lpfc/lpfc_nvmet.c 	ctxp->sid = sid;
sid              2003 drivers/scsi/lpfc/lpfc_nvmet.c 			 oxid, size, sid);
sid              2025 drivers/scsi/lpfc/lpfc_nvmet.c 			 oxid, size, sid);
sid              2036 drivers/scsi/lpfc/lpfc_nvmet.c 	lpfc_nvmet_unsol_ls_issue_abort(phba, ctxp, sid, oxid);
sid              2060 drivers/scsi/lpfc/lpfc_nvmet.c 		lpfc_nvmet_unsol_fcp_issue_abort(phba, ctxp, ctxp->sid,
sid              2109 drivers/scsi/lpfc/lpfc_nvmet.c 				 ctxp->oxid, ctxp->size, ctxp->sid);
sid              2137 drivers/scsi/lpfc/lpfc_nvmet.c 			 ctxp->oxid, ctxp->size, ctxp->sid);
sid              2141 drivers/scsi/lpfc/lpfc_nvmet.c 	lpfc_nvmet_unsol_fcp_issue_abort(phba, ctxp, ctxp->sid, ctxp->oxid);
sid              2240 drivers/scsi/lpfc/lpfc_nvmet.c 	uint32_t size, oxid, sid, qno;
sid              2317 drivers/scsi/lpfc/lpfc_nvmet.c 	sid = sli4_sid_from_fc_hdr(fc_hdr);
sid              2334 drivers/scsi/lpfc/lpfc_nvmet.c 	ctxp->sid = sid;
sid              2378 drivers/scsi/lpfc/lpfc_nvmet.c 		lpfc_nvmet_unsol_fcp_issue_abort(phba, ctxp, sid, oxid);
sid              2477 drivers/scsi/lpfc/lpfc_nvmet.c 				ctxp->sid, ctxp->oxid, ctxp->state);
sid              2487 drivers/scsi/lpfc/lpfc_nvmet.c 				ctxp->sid, ctxp->oxid, ctxp->state);
sid              2491 drivers/scsi/lpfc/lpfc_nvmet.c 	ndlp = lpfc_findnode_did(phba->pport, ctxp->sid);
sid              2498 drivers/scsi/lpfc/lpfc_nvmet.c 				ctxp->sid, ctxp->oxid, ctxp->state);
sid              2608 drivers/scsi/lpfc/lpfc_nvmet.c 				ctxp->sid, ctxp->oxid, ctxp->state);
sid              2612 drivers/scsi/lpfc/lpfc_nvmet.c 	ndlp = lpfc_findnode_did(phba->pport, ctxp->sid);
sid              2619 drivers/scsi/lpfc/lpfc_nvmet.c 				ctxp->sid, ctxp->oxid, ctxp->state);
sid              2627 drivers/scsi/lpfc/lpfc_nvmet.c 				ctxp->sid, ctxp->oxid, ctxp->state,
sid              2641 drivers/scsi/lpfc/lpfc_nvmet.c 					ctxp->sid, ctxp->oxid, ctxp->state);
sid              3143 drivers/scsi/lpfc/lpfc_nvmet.c 			     uint32_t sid, uint16_t xri)
sid              3152 drivers/scsi/lpfc/lpfc_nvmet.c 			sid, xri, ctxp->wqeq->sli4_xritag);
sid              3156 drivers/scsi/lpfc/lpfc_nvmet.c 	ndlp = lpfc_findnode_did(phba->pport, sid);
sid              3238 drivers/scsi/lpfc/lpfc_nvmet.c 			       uint32_t sid, uint16_t xri)
sid              3253 drivers/scsi/lpfc/lpfc_nvmet.c 	ndlp = lpfc_findnode_did(phba->pport, sid);
sid              3291 drivers/scsi/lpfc/lpfc_nvmet.c 			ctxp->sid, ctxp->oxid, ctxp->wqeq->sli4_xritag);
sid              3392 drivers/scsi/lpfc/lpfc_nvmet.c 				 uint32_t sid, uint16_t xri)
sid              3415 drivers/scsi/lpfc/lpfc_nvmet.c 	rc = lpfc_nvmet_unsol_issue_abort(phba, ctxp, sid, xri);
sid              3457 drivers/scsi/lpfc/lpfc_nvmet.c 				uint32_t sid, uint16_t xri)
sid              3491 drivers/scsi/lpfc/lpfc_nvmet.c 	if (lpfc_nvmet_unsol_issue_abort(phba, ctxp, sid, xri) == 0) {
sid               118 drivers/scsi/lpfc/lpfc_nvmet.h 	uint32_t sid;
sid              17518 drivers/scsi/lpfc/lpfc_sli.c 	uint32_t sid, fctl;
sid              17525 drivers/scsi/lpfc/lpfc_sli.c 	sid = sli4_sid_from_fc_hdr(fc_hdr);
sid              17529 drivers/scsi/lpfc/lpfc_sli.c 	ndlp = lpfc_findnode_did(vport, sid);
sid              17531 drivers/scsi/lpfc/lpfc_sli.c 		ndlp = lpfc_nlp_init(vport, sid);
sid              17535 drivers/scsi/lpfc/lpfc_sli.c 					 "oxid:x%x SID:x%x\n", oxid, sid);
sid              17546 drivers/scsi/lpfc/lpfc_sli.c 					 "for oxid:x%x SID:x%x\n", oxid, sid);
sid              17761 drivers/scsi/lpfc/lpfc_sli.c 	uint32_t sid;
sid              17770 drivers/scsi/lpfc/lpfc_sli.c 	sid = sli4_sid_from_fc_hdr(fc_hdr);
sid              17807 drivers/scsi/lpfc/lpfc_sli.c 		first_iocbq->iocb.un.rcvels.remoteID = sid;
sid              17865 drivers/scsi/lpfc/lpfc_sli.c 			iocbq->iocb.un.rcvels.remoteID = sid;
sid               226 drivers/scsi/qedf/qedf.h 	u32 sid;
sid                21 drivers/scsi/qedf/qedf_els.c 	uint32_t did, sid;
sid               108 drivers/scsi/qedf/qedf_els.c 	sid = fcport->sid;
sid               110 drivers/scsi/qedf/qedf_els.c 	__fc_fill_fc_hdr(fc_hdr, FC_RCTL_ELS_REQ, did, sid,
sid               226 drivers/scsi/qedf/qedf_els.c 	uint32_t sid;
sid               273 drivers/scsi/qedf/qedf_els.c 	sid = fcport->sid;
sid               292 drivers/scsi/qedf/qedf_els.c 	hton24(rrq.rrq_s_id, sid);
sid               984 drivers/scsi/qedf/qedf_els.c 	uint32_t sid;
sid              1011 drivers/scsi/qedf/qedf_els.c 	sid = fcport->sid;
sid              1027 drivers/scsi/qedf/qedf_els.c 	hton24(rec.rec_s_id, sid);
sid              1292 drivers/scsi/qedf/qedf_main.c 	fcport->sid = port_id;
sid              3201 drivers/scsi/qla4xxx/ql4_os.c 			  cls_session->sid, cls_conn->cid));
sid              3230 drivers/scsi/qla4xxx/ql4_os.c 			  cls_sess->sid, cls_conn->cid));
sid              5103 drivers/scsi/qla4xxx/ql4_os.c 			   cls_session->sid);
sid              1619 drivers/scsi/scsi_transport_iscsi.c 	return sess->sid;
sid              1625 drivers/scsi/scsi_transport_iscsi.c static struct iscsi_cls_session *iscsi_session_lookup(uint32_t sid)
sid              1632 drivers/scsi/scsi_transport_iscsi.c 		if (sess->sid == sid) {
sid              1644 drivers/scsi/scsi_transport_iscsi.c static struct iscsi_cls_conn *iscsi_conn_lookup(uint32_t sid, uint32_t cid)
sid              1651 drivers/scsi/scsi_transport_iscsi.c 		if ((conn->cid == cid) && (iscsi_conn_get_sid(conn) == sid)) {
sid              2076 drivers/scsi/scsi_transport_iscsi.c 	session->sid = atomic_add_return(1, &iscsi_session_nr);
sid              2091 drivers/scsi/scsi_transport_iscsi.c 	dev_set_name(&session->dev, "session%u", session->sid);
sid              2259 drivers/scsi/scsi_transport_iscsi.c 	dev_set_name(&conn->dev, "connection%d:%u", session->sid, cid);
sid              2368 drivers/scsi/scsi_transport_iscsi.c 	ev->r.recv_req.sid = iscsi_conn_get_sid(conn);
sid              2437 drivers/scsi/scsi_transport_iscsi.c 	ev->r.connerror.sid = iscsi_conn_get_sid(conn);
sid              2472 drivers/scsi/scsi_transport_iscsi.c 	ev->r.conn_login.sid = iscsi_conn_get_sid(conn);
sid              2578 drivers/scsi/scsi_transport_iscsi.c 	conn = iscsi_conn_lookup(ev->u.get_stats.sid, ev->u.get_stats.cid);
sid              2600 drivers/scsi/scsi_transport_iscsi.c 		evstat->u.get_stats.sid =
sid              2601 drivers/scsi/scsi_transport_iscsi.c 			ev->u.get_stats.sid;
sid              2659 drivers/scsi/scsi_transport_iscsi.c 		ev->r.d_session.sid = session->sid;
sid              2663 drivers/scsi/scsi_transport_iscsi.c 		ev->r.c_session_ret.sid = session->sid;
sid              2667 drivers/scsi/scsi_transport_iscsi.c 		ev->r.unbind_session.sid = session->sid;
sid              2711 drivers/scsi/scsi_transport_iscsi.c 	ev->r.c_session_ret.sid = session->sid;
sid              2723 drivers/scsi/scsi_transport_iscsi.c 	session = iscsi_session_lookup(ev->u.c_conn.sid);
sid              2726 drivers/scsi/scsi_transport_iscsi.c 		       ev->u.c_conn.sid);
sid              2737 drivers/scsi/scsi_transport_iscsi.c 	ev->r.c_conn_ret.sid = session->sid;
sid              2749 drivers/scsi/scsi_transport_iscsi.c 	conn = iscsi_conn_lookup(ev->u.d_conn.sid, ev->u.d_conn.cid);
sid              2768 drivers/scsi/scsi_transport_iscsi.c 	session = iscsi_session_lookup(ev->u.set_param.sid);
sid              2769 drivers/scsi/scsi_transport_iscsi.c 	conn = iscsi_conn_lookup(ev->u.set_param.sid, ev->u.set_param.cid);
sid              2952 drivers/scsi/scsi_transport_iscsi.c static int iscsi_session_has_conns(int sid)
sid              2960 drivers/scsi/scsi_transport_iscsi.c 		if (iscsi_conn_get_sid(conn) == sid) {
sid              3409 drivers/scsi/scsi_transport_iscsi.c 	session = iscsi_session_lookup(ev->u.logout_flashnode_sid.sid);
sid              3412 drivers/scsi/scsi_transport_iscsi.c 		       __func__, ev->u.logout_flashnode_sid.sid);
sid              3546 drivers/scsi/scsi_transport_iscsi.c 		session = iscsi_session_lookup(ev->u.d_session.sid);
sid              3549 drivers/scsi/scsi_transport_iscsi.c 		else if (iscsi_session_has_conns(ev->u.d_session.sid))
sid              3555 drivers/scsi/scsi_transport_iscsi.c 		session = iscsi_session_lookup(ev->u.d_session.sid);
sid              3569 drivers/scsi/scsi_transport_iscsi.c 		session = iscsi_session_lookup(ev->u.b_conn.sid);
sid              3570 drivers/scsi/scsi_transport_iscsi.c 		conn = iscsi_conn_lookup(ev->u.b_conn.sid, ev->u.b_conn.cid);
sid              3602 drivers/scsi/scsi_transport_iscsi.c 		conn = iscsi_conn_lookup(ev->u.start_conn.sid, ev->u.start_conn.cid);
sid              3609 drivers/scsi/scsi_transport_iscsi.c 		conn = iscsi_conn_lookup(ev->u.stop_conn.sid, ev->u.stop_conn.cid);
sid              3616 drivers/scsi/scsi_transport_iscsi.c 		conn = iscsi_conn_lookup(ev->u.send_pdu.sid, ev->u.send_pdu.cid);
sid                37 drivers/soc/qcom/llcc-sdm845.c #define SCT_ENTRY(uid, sid, mc, p, fs, bway, rway, cmod, ptw, dca, rp, a) \
sid                40 drivers/soc/qcom/llcc-sdm845.c 		.slice_id = sid,		\
sid               106 drivers/soc/qcom/llcc-slice.c static int llcc_update_act_ctrl(u32 sid,
sid               117 drivers/soc/qcom/llcc-slice.c 	act_ctrl_reg = LLCC_TRP_ACT_CTRLn(sid);
sid               118 drivers/soc/qcom/llcc-slice.c 	status_reg = LLCC_TRP_STATUSn(sid);
sid               188 drivers/spmi/spmi-pmic-arb.c 	int (*offset)(struct spmi_pmic_arb *pmic_arb, u8 sid, u16 addr,
sid               190 drivers/spmi/spmi-pmic-arb.c 	u32 (*fmt_cmd)(u8 opc, u8 sid, u16 addr, u8 bc);
sid               191 drivers/spmi/spmi-pmic-arb.c 	int (*non_data_cmd)(struct spmi_controller *ctrl, u8 opc, u8 sid);
sid               243 drivers/spmi/spmi-pmic-arb.c 				  void __iomem *base, u8 sid, u16 addr,
sid               252 drivers/spmi/spmi-pmic-arb.c 	rc = pmic_arb->ver_ops->offset(pmic_arb, sid, addr, ch_type);
sid               292 drivers/spmi/spmi-pmic-arb.c pmic_arb_non_data_cmd_v1(struct spmi_controller *ctrl, u8 opc, u8 sid)
sid               300 drivers/spmi/spmi-pmic-arb.c 	rc = pmic_arb->ver_ops->offset(pmic_arb, sid, 0, PMIC_ARB_CHANNEL_RW);
sid               305 drivers/spmi/spmi-pmic-arb.c 	cmd = ((opc | 0x40) << 27) | ((sid & 0xf) << 20);
sid               309 drivers/spmi/spmi-pmic-arb.c 	rc = pmic_arb_wait_for_done(ctrl, pmic_arb->wr_base, sid, 0,
sid               317 drivers/spmi/spmi-pmic-arb.c pmic_arb_non_data_cmd_v2(struct spmi_controller *ctrl, u8 opc, u8 sid)
sid               323 drivers/spmi/spmi-pmic-arb.c static int pmic_arb_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid)
sid               327 drivers/spmi/spmi-pmic-arb.c 	dev_dbg(&ctrl->dev, "cmd op:0x%x sid:%d\n", opc, sid);
sid               333 drivers/spmi/spmi-pmic-arb.c 	return pmic_arb->ver_ops->non_data_cmd(ctrl, opc, sid);
sid               336 drivers/spmi/spmi-pmic-arb.c static int pmic_arb_read_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid,
sid               346 drivers/spmi/spmi-pmic-arb.c 	rc = pmic_arb->ver_ops->offset(pmic_arb, sid, addr,
sid               368 drivers/spmi/spmi-pmic-arb.c 	cmd = pmic_arb->ver_ops->fmt_cmd(opc, sid, addr, bc);
sid               372 drivers/spmi/spmi-pmic-arb.c 	rc = pmic_arb_wait_for_done(ctrl, pmic_arb->rd_base, sid, addr,
sid               389 drivers/spmi/spmi-pmic-arb.c static int pmic_arb_write_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid,
sid               399 drivers/spmi/spmi-pmic-arb.c 	rc = pmic_arb->ver_ops->offset(pmic_arb, sid, addr,
sid               423 drivers/spmi/spmi-pmic-arb.c 	cmd = pmic_arb->ver_ops->fmt_cmd(opc, sid, addr, bc);
sid               435 drivers/spmi/spmi-pmic-arb.c 	rc = pmic_arb_wait_for_done(ctrl, pmic_arb->wr_base, sid, addr,
sid               464 drivers/spmi/spmi-pmic-arb.c 	u8 sid = hwirq_to_sid(d->hwirq);
sid               467 drivers/spmi/spmi-pmic-arb.c 	if (pmic_arb_write_cmd(pmic_arb->spmic, SPMI_CMD_EXT_WRITEL, sid,
sid               476 drivers/spmi/spmi-pmic-arb.c 	u8 sid = hwirq_to_sid(d->hwirq);
sid               479 drivers/spmi/spmi-pmic-arb.c 	if (pmic_arb_read_cmd(pmic_arb->spmic, SPMI_CMD_EXT_READL, sid,
sid               488 drivers/spmi/spmi-pmic-arb.c 	u8 sid = ppid >> 8;
sid               494 drivers/spmi/spmi-pmic-arb.c 	if (pmic_arb_write_cmd(pmic_arb->spmic, SPMI_CMD_EXT_WRITEL, sid,
sid               499 drivers/spmi/spmi-pmic-arb.c 	if (pmic_arb_write_cmd(pmic_arb->spmic, SPMI_CMD_EXT_WRITEL, sid,
sid               510 drivers/spmi/spmi-pmic-arb.c 	u8 sid = (pmic_arb->apid_data[apid].ppid >> 8) & 0xF;
sid               518 drivers/spmi/spmi-pmic-arb.c 					spec_to_hwirq(sid, per, id, apid));
sid               667 drivers/spmi/spmi-pmic-arb.c 	u16 sid = hwirq_to_sid(d->hwirq);
sid               672 drivers/spmi/spmi-pmic-arb.c 			sid, periph, irq, pmic_arb->ee,
sid               826 drivers/spmi/spmi-pmic-arb.c static int pmic_arb_offset_v1(struct spmi_pmic_arb *pmic_arb, u8 sid, u16 addr,
sid               954 drivers/spmi/spmi-pmic-arb.c static int pmic_arb_offset_v2(struct spmi_pmic_arb *pmic_arb, u8 sid, u16 addr,
sid               961 drivers/spmi/spmi-pmic-arb.c 	ppid = sid << 8 | ((addr >> 8) & 0xFF);
sid               974 drivers/spmi/spmi-pmic-arb.c static int pmic_arb_offset_v5(struct spmi_pmic_arb *pmic_arb, u8 sid, u16 addr,
sid               980 drivers/spmi/spmi-pmic-arb.c 	u16 ppid = (sid << 8) | (addr >> 8);
sid               999 drivers/spmi/spmi-pmic-arb.c static u32 pmic_arb_fmt_cmd_v1(u8 opc, u8 sid, u16 addr, u8 bc)
sid              1001 drivers/spmi/spmi-pmic-arb.c 	return (opc << 27) | ((sid & 0xf) << 20) | (addr << 4) | (bc & 0x7);
sid              1004 drivers/spmi/spmi-pmic-arb.c static u32 pmic_arb_fmt_cmd_v2(u8 opc, u8 sid, u16 addr, u8 bc)
sid                92 drivers/spmi/spmi.c spmi_cmd(struct spmi_controller *ctrl, u8 opcode, u8 sid)
sid                99 drivers/spmi/spmi.c 	ret = ctrl->cmd(ctrl, opcode, sid);
sid               100 drivers/spmi/spmi.c 	trace_spmi_cmd(opcode, sid, ret);
sid               105 drivers/spmi/spmi.c 				u8 sid, u16 addr, u8 *buf, size_t len)
sid               112 drivers/spmi/spmi.c 	trace_spmi_read_begin(opcode, sid, addr);
sid               113 drivers/spmi/spmi.c 	ret = ctrl->read_cmd(ctrl, opcode, sid, addr, buf, len);
sid               114 drivers/spmi/spmi.c 	trace_spmi_read_end(opcode, sid, addr, ret, len, buf);
sid               119 drivers/spmi/spmi.c 				 u8 sid, u16 addr, const u8 *buf, size_t len)
sid               126 drivers/spmi/spmi.c 	trace_spmi_write_begin(opcode, sid, addr, len, buf);
sid               127 drivers/spmi/spmi.c 	ret = ctrl->write_cmd(ctrl, opcode, sid, addr, buf, len);
sid               128 drivers/spmi/spmi.c 	trace_spmi_write_end(opcode, sid, addr, ret);
sid              2333 drivers/target/iscsi/iscsi_target.c 		" for SID: %u.\n", conn->cid, conn->sess->sid);
sid              4112 drivers/target/iscsi/iscsi_target.c 		" %u\n", conn->cid, sess->sid);
sid               523 drivers/target/iscsi/iscsi_target_configfs.c 			      sess->sid, sess->isid, sess->tsih);
sid               764 drivers/target/iscsi/iscsi_target_erl0.c 			" iSCSI session.\n", sess->sid);
sid               789 drivers/target/iscsi/iscsi_target_erl0.c 		" SID: %u\n", sess->sess_ops->DefaultTime2Retain, sess->sid);
sid               818 drivers/target/iscsi/iscsi_target_erl0.c 			sess->sid);
sid               886 drivers/target/iscsi/iscsi_target_erl0.c 			" %u\n", sess->sid);
sid                96 drivers/target/iscsi/iscsi_target_erl2.c 		" SID: %u\n", sess->conn_recovery_count, sess->sid);
sid               179 drivers/target/iscsi/iscsi_target_erl2.c 		" SID: %u\n", sess->conn_recovery_count, sess->sid);
sid               254 drivers/target/iscsi/iscsi_target_erl2.c 			cr->cid, sess->sid);
sid               258 drivers/target/iscsi/iscsi_target_erl2.c 			" %hu on SID: %u\n", cr->cid, sess->sid);
sid               188 drivers/target/iscsi/iscsi_target_login.c 		"Discovery" : "Normal", sess->sid,
sid               770 drivers/target/iscsi/iscsi_target_login.c 	sess->sid = tpg->sid++;
sid               771 drivers/target/iscsi/iscsi_target_login.c 	if (!sess->sid)
sid               772 drivers/target/iscsi/iscsi_target_login.c 		sess->sid = tpg->sid++;
sid               189 drivers/target/iscsi/iscsi_target_tmr.c 			" %hu on SID: %u\n", cr->cid, sess->sid);
sid                72 drivers/target/iscsi/iscsi_target_tpg.c 	tpg->sid = 1; /* First Assigned LIO Session ID */
sid               103 drivers/target/iscsi/iscsi_target_tpg.c 	if (tpg->sid == 1)
sid              1222 drivers/target/iscsi/iscsi_target_util.c 		" SID: %u]-----------------------------\n", sess->sid);
sid                59 drivers/target/tcm_fc/tfc_cmd.c 			caller, cmd, ep->sid, ep->did, ep->oxid, ep->rxid,
sid               150 drivers/target/tcm_fc/tfc_cmd.c 	fc_fill_fc_hdr(fp, FC_RCTL_DD_CMD_STATUS, ep->did, ep->sid, FC_TYPE_FCP,
sid               203 drivers/target/tcm_fc/tfc_cmd.c 	fc_fill_fc_hdr(fp, FC_RCTL_DD_DATA_DESC, ep->did, ep->sid, FC_TYPE_FCP,
sid               162 drivers/target/tcm_fc/tfc_io.c 		fc_fill_fc_hdr(fp, FC_RCTL_DD_SOL_DATA, ep->did, ep->sid,
sid               481 drivers/target/tcm_fc/tfc_sess.c 	u32 sid = fc_frame_sid(fp);
sid               483 drivers/target/tcm_fc/tfc_sess.c 	TFC_SESS_DBG(lport, "recv sid %x\n", sid);
sid               485 drivers/target/tcm_fc/tfc_sess.c 	sess = ft_sess_get(lport, sid);
sid               487 drivers/target/tcm_fc/tfc_sess.c 		TFC_SESS_DBG(lport, "sid %x sess lookup failed\n", sid);
sid               421 drivers/tty/tty_jobctrl.c 	struct pid *sid = NULL;
sid               427 drivers/tty/tty_jobctrl.c 		sid = task_session(p);
sid               429 drivers/tty/tty_jobctrl.c 	return sid;
sid               344 drivers/tty/vcc.c 		       pkt.tag.stype_env, pkt.tag.sid);
sid               353 drivers/tty/vcc.c 			       pkt.tag.stype_env, pkt.tag.sid);
sid               507 drivers/tty/vcc.c 	pkt.tag.sid = ctl;
sid               876 drivers/tty/vcc.c 		       pkt->tag.stype, pkt->tag.stype_env, pkt->tag.sid);
sid               407 drivers/usb/gadget/legacy/g_ffs.c 		int sid = USB_GADGET_FIRST_AVAIL_IDX + i;
sid               409 drivers/usb/gadget/legacy/g_ffs.c 		c->c.label			= gfs_strings[sid].s;
sid               410 drivers/usb/gadget/legacy/g_ffs.c 		c->c.iConfiguration		= gfs_strings[sid].id;
sid               380 drivers/video/fbdev/hpfb.c 	unsigned int sid;
sid               407 drivers/video/fbdev/hpfb.c 	if (!err && (i == DIO_ID_FBUFFER) && topcat_sid_ok(sid = DIO_SECID(INTFBVADDR))) {
sid               410 drivers/video/fbdev/hpfb.c 		printk(KERN_INFO "Internal Topcat found (secondary id %02x)\n", sid);
sid              1415 drivers/video/fbdev/matrox/matroxfb_base.c 	unsigned short vendor, device, rev, svid, sid;
sid              2032 drivers/video/fbdev/matrox/matroxfb_base.c 	u_int16_t sid;
sid              2039 drivers/video/fbdev/matrox/matroxfb_base.c 	sid = pdev->subsystem_device;
sid              2043 drivers/video/fbdev/matrox/matroxfb_base.c 			if ((b->svid != svid) || (b->sid != sid)) continue;
sid               654 fs/cifs/cifsacl.c 	pntace->sid.revision = psid->revision;
sid               655 fs/cifs/cifsacl.c 	pntace->sid.num_subauth = psid->num_subauth;
sid               657 fs/cifs/cifsacl.c 		pntace->sid.authority[i] = psid->authority[i];
sid               659 fs/cifs/cifsacl.c 		pntace->sid.sub_auth[i] = psid->sub_auth[i];
sid               685 fs/cifs/cifsacl.c 	num_subauth = pace->sid.num_subauth;
sid               689 fs/cifs/cifsacl.c 			 pace->sid.revision, pace->sid.num_subauth, pace->type,
sid               693 fs/cifs/cifsacl.c 				 i, le32_to_cpu(pace->sid.sub_auth[i]));
sid               760 fs/cifs/cifsacl.c 			    (compare_sids(&(ppace[i]->sid),
sid               769 fs/cifs/cifsacl.c 					le32_to_cpu(ppace[i]->sid.sub_auth[2]);
sid               771 fs/cifs/cifsacl.c 			} else if (compare_sids(&(ppace[i]->sid), pownersid) == 0)
sid               776 fs/cifs/cifsacl.c 			else if (compare_sids(&(ppace[i]->sid), pgrpsid) == 0)
sid               781 fs/cifs/cifsacl.c 			else if (compare_sids(&(ppace[i]->sid), &sid_everyone) == 0)
sid               786 fs/cifs/cifsacl.c 			else if (compare_sids(&(ppace[i]->sid), &sid_authusers) == 0)
sid               825 fs/cifs/cifsacl.c 		pntace->sid.num_subauth = 3;
sid               826 fs/cifs/cifsacl.c 		pntace->sid.revision = 1;
sid               828 fs/cifs/cifsacl.c 			pntace->sid.authority[i] =
sid               830 fs/cifs/cifsacl.c 		pntace->sid.sub_auth[0] = sid_unix_NFS_mode.sub_auth[0];
sid               831 fs/cifs/cifsacl.c 		pntace->sid.sub_auth[1] = sid_unix_NFS_mode.sub_auth[1];
sid               832 fs/cifs/cifsacl.c 		pntace->sid.sub_auth[2] = cpu_to_le32(nmode & 07777);
sid               129 fs/cifs/cifsacl.h 	struct cifs_sid sid; /* ie UUID of user or group who gets these perms */
sid              1566 fs/cifs/cifspdu.h 	char	sid[1];  /* variable size? */
sid               349 fs/nfs/callback_xdr.c 				 struct nfs4_sessionid *sid)
sid               357 fs/nfs/callback_xdr.c 	memcpy(sid->data, p, NFS4_MAX_SESSIONID_LEN);
sid               718 fs/nfs/callback_xdr.c 				 const struct nfs4_sessionid *sid)
sid               726 fs/nfs/callback_xdr.c 	memcpy(p, sid, NFS4_MAX_SESSIONID_LEN);
sid               819 fs/nfs/nfs4client.c 			   struct nfs4_sessionid *sid, u32 minorversion)
sid               834 fs/nfs/nfs4client.c 		    sid->data, NFS4_MAX_SESSIONID_LEN) != 0)
sid               849 fs/nfs/nfs4client.c 			   struct nfs4_sessionid *sid, u32 minorversion)
sid              5642 fs/nfs/nfs4xdr.c static int decode_sessionid(struct xdr_stream *xdr, struct nfs4_sessionid *sid)
sid              5644 fs/nfs/nfs4xdr.c 	return decode_opaque_fixed(xdr, sid->data, NFS4_MAX_SESSIONID_LEN);
sid               134 fs/nfsd/nfs4callback.c static void encode_stateid4(struct xdr_stream *xdr, const stateid_t *sid)
sid               139 fs/nfsd/nfs4callback.c 	*p++ = cpu_to_be32(sid->si_generation);
sid               140 fs/nfsd/nfs4callback.c 	xdr_encode_opaque_fixed(p, &sid->si_opaque, NFS4_STATEID_OTHER_SIZE);
sid               342 fs/nfsd/nfs4proc.c 	struct nfsd4_sessionid *sid =
sid               345 fs/nfsd/nfs4proc.c 	clid->cl_boot = sid->clientid.cl_boot;
sid               346 fs/nfsd/nfs4proc.c 	clid->cl_id = sid->clientid.cl_id;
sid              1474 fs/nfsd/nfs4state.c 	struct nfsd4_sessionid *sid = (struct nfsd4_sessionid *)sessionid;
sid              1476 fs/nfsd/nfs4state.c 	return sid->sequence % SESSION_HASH_SIZE;
sid              1520 fs/nfsd/nfs4state.c 	struct nfsd4_sessionid *sid;
sid              1522 fs/nfsd/nfs4state.c 	sid = (struct nfsd4_sessionid *)ses->se_sessionid.data;
sid              1523 fs/nfsd/nfs4state.c 	sid->clientid = clp->cl_clientid;
sid              1524 fs/nfsd/nfs4state.c 	sid->sequence = current_sessionid++;
sid              1525 fs/nfsd/nfs4state.c 	sid->reserved = 0;
sid              3440 fs/nfsd/nfs4state.c static bool nfsd4_compound_in_session(struct nfsd4_compound_state *cstate, struct nfs4_sessionid *sid)
sid              3444 fs/nfsd/nfs4state.c 	return !memcmp(sid, &cstate->session->se_sessionid, sizeof(*sid));
sid               503 fs/nfsd/nfs4xdr.c nfsd4_decode_stateid(struct nfsd4_compoundargs *argp, stateid_t *sid)
sid               508 fs/nfsd/nfs4xdr.c 	sid->si_generation = be32_to_cpup(p++);
sid               509 fs/nfsd/nfs4xdr.c 	COPYMEM(&sid->si_opaque, sizeof(stateid_opaque_t));
sid              3155 fs/nfsd/nfs4xdr.c nfsd4_encode_stateid(struct xdr_stream *xdr, stateid_t *sid)
sid              3162 fs/nfsd/nfs4xdr.c 	*p++ = cpu_to_be32(sid->si_generation);
sid              3163 fs/nfsd/nfs4xdr.c 	p = xdr_encode_opaque_fixed(p, &sid->si_opaque,
sid              1574 fs/ntfs/layout.h /*  8*/	SID sid;		/* The SID associated with the ACE. */
sid              1599 fs/ntfs/layout.h /* 44*/	SID sid;		/* The SID associated with the ACE. */
sid              1852 fs/ntfs/layout.h /* 20*/	SECURITY_DESCRIPTOR_RELATIVE sid; /* The self-relative security
sid              2140 fs/ntfs/layout.h 	SID sid;		/* The SID of the user/object associated with
sid              2255 fs/ntfs/layout.h 		SID sid;		/* $O index in FILE_Extend/$Quota:
sid                53 fs/ntfs/quota.c 	if (ictx->data_len < offsetof(QUOTA_CONTROL_ENTRY, sid)) {
sid               438 fs/proc/array.c 	pid_t ppid = 0, pgid = -1, sid = -1;
sid               514 fs/proc/array.c 		sid = task_session_nr_ns(task, ns);
sid               545 fs/proc/array.c 	seq_put_decimal_ll(m, " ", sid);
sid               237 include/linux/dmar.h 			__u64	sid		: 16,  /* 64 - 79  */
sid               262 include/linux/dmar.h 	dst->sid	= src->sid;
sid               334 include/linux/intel-iommu.h #define QI_CC_SID(sid)		(((u64)sid) << 32)
sid               338 include/linux/intel-iommu.h #define QI_DEV_IOTLB_SID(sid)	((u64)((sid) & 0xffff) << 32)
sid               364 include/linux/intel-iommu.h #define QI_DEV_EIOTLB_SID(sid)	((u64)((sid) & 0xffff) << 16)
sid               424 include/linux/intel-iommu.h 	void (*flush_context)(struct intel_iommu *iommu, u16 did, u16 sid,
sid               644 include/linux/intel-iommu.h extern void qi_flush_context(struct intel_iommu *iommu, u16 did, u16 sid,
sid               648 include/linux/intel-iommu.h extern void qi_flush_dev_iotlb(struct intel_iommu *iommu, u16 sid, u16 pfsid,
sid               677 include/linux/intel-iommu.h 	u16 sid, qdep;
sid               547 include/linux/mfd/tps80031.h static inline int tps80031_write(struct device *dev, int sid,
sid               552 include/linux/mfd/tps80031.h 	return regmap_write(tps80031->regmap[sid], reg, val);
sid               555 include/linux/mfd/tps80031.h static inline int tps80031_writes(struct device *dev, int sid, int reg,
sid               560 include/linux/mfd/tps80031.h 	return regmap_bulk_write(tps80031->regmap[sid], reg, val, len);
sid               563 include/linux/mfd/tps80031.h static inline int tps80031_read(struct device *dev, int sid,
sid               570 include/linux/mfd/tps80031.h 	ret = regmap_read(tps80031->regmap[sid], reg, &ival);
sid               580 include/linux/mfd/tps80031.h static inline int tps80031_reads(struct device *dev, int sid,
sid               585 include/linux/mfd/tps80031.h 	return regmap_bulk_read(tps80031->regmap[sid], reg, val, len);
sid               588 include/linux/mfd/tps80031.h static inline int tps80031_set_bits(struct device *dev, int sid,
sid               593 include/linux/mfd/tps80031.h 	return regmap_update_bits(tps80031->regmap[sid], reg,
sid               597 include/linux/mfd/tps80031.h static inline int tps80031_clr_bits(struct device *dev, int sid,
sid               602 include/linux/mfd/tps80031.h 	return regmap_update_bits(tps80031->regmap[sid], reg, bit_mask, 0);
sid               605 include/linux/mfd/tps80031.h static inline int tps80031_update(struct device *dev, int sid,
sid               610 include/linux/mfd/tps80031.h 	return regmap_update_bits(tps80031->regmap[sid], reg, mask, val);
sid                83 include/linux/spmi.h 	int	(*cmd)(struct spmi_controller *ctrl, u8 opcode, u8 sid);
sid                85 include/linux/spmi.h 			    u8 sid, u16 addr, u8 *buf, size_t len);
sid                87 include/linux/spmi.h 			     u8 sid, u16 addr, const u8 *buf, size_t len);
sid              1665 include/net/bluetooth/hci.h 	__u8      sid;
sid              2196 include/net/bluetooth/hci.h 	__u8	 sid;
sid                21 include/net/sctp/stream_sched.h 	int (*set)(struct sctp_stream *stream, __u16 sid, __u16 value,
sid                23 include/net/sctp/stream_sched.h 	int (*get)(struct sctp_stream *stream, __u16 sid, __u16 *value);
sid                28 include/net/sctp/stream_sched.h 	int (*init_sid)(struct sctp_stream *stream, __u16 sid, gfp_t gfp);
sid                47 include/net/sctp/stream_sched.h int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid,
sid                49 include/net/sctp/stream_sched.h int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid,
sid                54 include/net/sctp/stream_sched.h int sctp_sched_init_sid(struct sctp_stream *stream, __u16 sid, gfp_t gfp);
sid               385 include/net/sctp/structs.h int sctp_stream_init_ext(struct sctp_stream *stream, __u16 sid);
sid               391 include/net/sctp/structs.h #define sctp_ssn_peek(stream, type, sid) \
sid               392 include/net/sctp/structs.h 	(sctp_stream_##type((stream), (sid))->ssn)
sid               395 include/net/sctp/structs.h #define sctp_ssn_next(stream, type, sid) \
sid               396 include/net/sctp/structs.h 	(sctp_stream_##type((stream), (sid))->ssn++)
sid               399 include/net/sctp/structs.h #define sctp_ssn_skip(stream, type, sid, ssn) \
sid               400 include/net/sctp/structs.h 	(sctp_stream_##type((stream), (sid))->ssn = ssn + 1)
sid               403 include/net/sctp/structs.h #define sctp_mid_peek(stream, type, sid) \
sid               404 include/net/sctp/structs.h 	(sctp_stream_##type((stream), (sid))->mid)
sid               407 include/net/sctp/structs.h #define sctp_mid_next(stream, type, sid) \
sid               408 include/net/sctp/structs.h 	(sctp_stream_##type((stream), (sid))->mid++)
sid               411 include/net/sctp/structs.h #define sctp_mid_skip(stream, type, sid, mid) \
sid               412 include/net/sctp/structs.h 	(sctp_stream_##type((stream), (sid))->mid = mid + 1)
sid               415 include/net/sctp/structs.h #define sctp_mid_uo_peek(stream, type, sid) \
sid               416 include/net/sctp/structs.h 	(sctp_stream_##type((stream), (sid))->mid_uo)
sid               419 include/net/sctp/structs.h #define sctp_mid_uo_next(stream, type, sid) \
sid               420 include/net/sctp/structs.h 	(sctp_stream_##type((stream), (sid))->mid_uo++)
sid              1468 include/net/sctp/structs.h 	__u16 sid)
sid              1470 include/net/sctp/structs.h 	return genradix_ptr(&stream->out, sid);
sid              1475 include/net/sctp/structs.h 	__u16 sid)
sid              1477 include/net/sctp/structs.h 	return genradix_ptr(&stream->in, sid);
sid               110 include/net/sctp/ulpevent.h 	__u32 indication, __u32 sid, __u32 seq,
sid                62 include/net/sctp/ulpqueue.h void sctp_ulpq_skip(struct sctp_ulpq *ulpq, __u16 sid, __u16 ssn);
sid                44 include/scsi/fc_encode.h 				    u32 did, u32 sid, enum fc_fh_type type,
sid                50 include/scsi/fc_encode.h 	hton24(fh->fh_s_id, sid);
sid                62 include/scsi/fc_encode.h 				  u32 did, u32 sid, enum fc_fh_type type,
sid                68 include/scsi/fc_encode.h 	__fc_fill_fc_hdr(fh, r_ctl, did, sid, type, f_ctl, parm_offset);
sid               111 include/scsi/iscsi_if.h 			uint32_t	sid;
sid               114 include/scsi/iscsi_if.h 			uint32_t	sid;
sid               118 include/scsi/iscsi_if.h 			uint32_t	sid;
sid               124 include/scsi/iscsi_if.h 			uint32_t	sid;
sid               128 include/scsi/iscsi_if.h 			uint32_t	sid;
sid               134 include/scsi/iscsi_if.h 			uint32_t	sid;
sid               140 include/scsi/iscsi_if.h 			uint32_t	sid;
sid               144 include/scsi/iscsi_if.h 			uint32_t	sid;
sid               150 include/scsi/iscsi_if.h 			uint32_t	sid;
sid               233 include/scsi/iscsi_if.h 			uint32_t	sid;
sid               243 include/scsi/iscsi_if.h 			uint32_t	sid;
sid               247 include/scsi/iscsi_if.h 			uint32_t	sid;
sid               251 include/scsi/iscsi_if.h 			uint32_t	sid;
sid               255 include/scsi/iscsi_if.h 			uint32_t	sid;
sid               260 include/scsi/iscsi_if.h 			uint32_t        sid;
sid               265 include/scsi/iscsi_if.h 			uint32_t	sid;
sid               271 include/scsi/iscsi_if.h 			uint32_t	sid;
sid               441 include/scsi/libfc.h 	u32		    sid;
sid               243 include/scsi/scsi_transport_iscsi.h 	int sid;				/* session id */
sid               658 include/target/iscsi/iscsi_target_core.h 	u32			sid;
sid               834 include/target/iscsi/iscsi_target_core.h 	u32			sid;
sid                16 include/trace/events/spmi.h 	TP_PROTO(u8 opcode, u8 sid, u16 addr, u8 len, const u8 *buf),
sid                17 include/trace/events/spmi.h 	TP_ARGS(opcode, sid, addr, len, buf),
sid                21 include/trace/events/spmi.h 		__field		( u8,         sid       )
sid                29 include/trace/events/spmi.h 		__entry->sid    = sid;
sid                36 include/trace/events/spmi.h 		  (int)__entry->opcode, (int)__entry->sid,
sid                42 include/trace/events/spmi.h 	TP_PROTO(u8 opcode, u8 sid, u16 addr, int ret),
sid                43 include/trace/events/spmi.h 	TP_ARGS(opcode, sid, addr, ret),
sid                47 include/trace/events/spmi.h 		__field		( u8,         sid       )
sid                54 include/trace/events/spmi.h 		__entry->sid    = sid;
sid                60 include/trace/events/spmi.h 		  (int)__entry->opcode, (int)__entry->sid,
sid                65 include/trace/events/spmi.h 	TP_PROTO(u8 opcode, u8 sid, u16 addr),
sid                66 include/trace/events/spmi.h 	TP_ARGS(opcode, sid, addr),
sid                70 include/trace/events/spmi.h 		__field		( u8,         sid       )
sid                76 include/trace/events/spmi.h 		__entry->sid    = sid;
sid                81 include/trace/events/spmi.h 		  (int)__entry->opcode, (int)__entry->sid,
sid                86 include/trace/events/spmi.h 	TP_PROTO(u8 opcode, u8 sid, u16 addr, int ret, u8 len, const u8 *buf),
sid                87 include/trace/events/spmi.h 	TP_ARGS(opcode, sid, addr, ret, len, buf),
sid                91 include/trace/events/spmi.h 		__field		( u8,         sid       )
sid               100 include/trace/events/spmi.h 		__entry->sid    = sid;
sid               108 include/trace/events/spmi.h 		  (int)__entry->opcode, (int)__entry->sid,
sid               114 include/trace/events/spmi.h 	TP_PROTO(u8 opcode, u8 sid, int ret),
sid               115 include/trace/events/spmi.h 	TP_ARGS(opcode, sid, ret),
sid               119 include/trace/events/spmi.h 		__field		( u8,         sid       )
sid               125 include/trace/events/spmi.h 		__entry->sid    = sid;
sid               130 include/trace/events/spmi.h 		  (int)__entry->sid, ret)
sid               211 include/uapi/drm/vmwgfx_drm.h 	__s32 sid;
sid               759 include/uapi/drm/vmwgfx_drm.h 	__u32 sid;
sid               101 include/uapi/linux/cn_proc.h 		} sid;
sid                44 include/uapi/linux/if_pppox.h 	sid_t         sid;                    /* Session identifier */
sid               151 include/uapi/linux/if_pppox.h 	__be16 sid;
sid                15 include/uapi/linux/netfilter/xt_l2tp.h 	__u32 sid;			/* session id */
sid              2067 kernel/audit.c 	u32 sid;
sid              2069 kernel/audit.c 	security_task_getsecid(current, &sid);
sid              2070 kernel/audit.c 	if (!sid)
sid              2073 kernel/audit.c 	error = security_secid_to_secctx(sid, &ctx, &len);
sid              1334 kernel/auditfilter.c 			u32 sid;
sid              1364 kernel/auditfilter.c 					security_task_getsecid(current, &sid);
sid              1365 kernel/auditfilter.c 					result = security_audit_rule_match(sid,
sid               447 kernel/auditsc.c 	u32 sid;
sid               643 kernel/auditsc.c 					security_task_getsecid(tsk, &sid);
sid               646 kernel/auditsc.c 				result = security_audit_rule_match(sid, f->type,
sid               957 kernel/auditsc.c 				 u32 sid, char *comm)
sid               971 kernel/auditsc.c 	if (sid) {
sid               972 kernel/auditsc.c 		if (security_secid_to_secctx(sid, &ctx, &len)) {
sid              3389 kernel/events/core.c 	struct sched_in_data *sid = data;
sid              3397 kernel/events/core.c 	if (group_can_go_on(event, sid->cpuctx, sid->can_add_hw)) {
sid              3398 kernel/events/core.c 		if (!group_sched_in(event, sid->cpuctx, sid->ctx))
sid              3399 kernel/events/core.c 			list_add_tail(&event->active_list, &sid->ctx->pinned_active);
sid              3414 kernel/events/core.c 	struct sched_in_data *sid = data;
sid              3422 kernel/events/core.c 	if (group_can_go_on(event, sid->cpuctx, sid->can_add_hw)) {
sid              3423 kernel/events/core.c 		int ret = group_sched_in(event, sid->cpuctx, sid->ctx);
sid              3425 kernel/events/core.c 			sid->can_add_hw = 0;
sid              3426 kernel/events/core.c 			sid->ctx->rotate_necessary = 1;
sid              3429 kernel/events/core.c 		list_add_tail(&event->active_list, &sid->ctx->flexible_active);
sid              3439 kernel/events/core.c 	struct sched_in_data sid = {
sid              3447 kernel/events/core.c 			   pinned_sched_in, &sid);
sid              3454 kernel/events/core.c 	struct sched_in_data sid = {
sid              3462 kernel/events/core.c 			   flexible_sched_in, &sid);
sid               830 kernel/signal.c 	struct pid *sid;
sid               847 kernel/signal.c 			sid = task_session(t);
sid               852 kernel/signal.c 			if (!sid || sid == task_session(current))
sid              1122 kernel/sys.c   	struct pid *sid;
sid              1127 kernel/sys.c   		sid = task_session(current);
sid              1133 kernel/sys.c   		sid = task_session(p);
sid              1134 kernel/sys.c   		if (!sid)
sid              1141 kernel/sys.c   	retval = pid_vnr(sid);
sid              1161 kernel/sys.c   	struct pid *sid = task_pid(group_leader);
sid              1162 kernel/sys.c   	pid_t session = pid_vnr(sid);
sid              1173 kernel/sys.c   	if (pid_task(sid, PIDTYPE_PGID))
sid              1177 kernel/sys.c   	set_special_pids(sid);
sid                39 net/netfilter/xt_l2tp.c 	u32 sid;
sid                65 net/netfilter/xt_l2tp.c 	    (info->sid != data->sid))
sid               119 net/netfilter/xt_l2tp.c 			data.sid = ntohl(lh->val32);
sid               127 net/netfilter/xt_l2tp.c 		data.sid = (u32) ntohs(lh->val16[1]);
sid               161 net/netfilter/xt_l2tp.c 		data.sid = ntohl(lh->val32);
sid               248 net/netfilter/xt_l2tp.c 			    (info->sid > 0xffff)) {
sid               250 net/netfilter/xt_l2tp.c 						    info->sid);
sid              1065 net/sctp/outqueue.c 		__u32 sid = ntohs(chunk->subh.data_hdr->stream);
sid              1066 net/sctp/outqueue.c 		__u8 stream_state = SCTP_SO(&ctx->asoc->stream, sid)->state;
sid              1539 net/sctp/sm_make_chunk.c 	__u16 ssn, sid;
sid              1545 net/sctp/sm_make_chunk.c 	sid = ntohs(chunk->subh.data_hdr->stream);
sid              1557 net/sctp/sm_make_chunk.c 				ssn = sctp_ssn_next(stream, out, sid);
sid              1559 net/sctp/sm_make_chunk.c 				ssn = sctp_ssn_peek(stream, out, sid);
sid                41 net/sctp/stream.c 		__u16 sid = sctp_chunk_stream_no(ch);
sid                43 net/sctp/stream.c 		if (sid < outcnt)
sid               157 net/sctp/stream.c int sctp_stream_init_ext(struct sctp_stream *stream, __u16 sid)
sid               165 net/sctp/stream.c 	SCTP_SO(stream, sid)->ext = soute;
sid               167 net/sctp/stream.c 	ret = sctp_sched_init_sid(stream, sid, GFP_KERNEL);
sid               169 net/sctp/stream.c 		kfree(SCTP_SO(stream, sid)->ext);
sid               170 net/sctp/stream.c 		SCTP_SO(stream, sid)->ext = NULL;
sid               249 net/sctp/stream.c 		__u16 sid = ntohs(str_list[i]);
sid               251 net/sctp/stream.c 		if (SCTP_SO(stream, sid)->ext &&
sid               252 net/sctp/stream.c 		    !list_empty(&SCTP_SO(stream, sid)->ext->outq))
sid                53 net/sctp/stream_interleave.c 	__u16 sid;
sid                58 net/sctp/stream_interleave.c 	sid = sctp_chunk_stream_no(chunk);
sid                76 net/sctp/stream_interleave.c 				sctp_mid_uo_next(stream, out, sid) :
sid                77 net/sctp/stream_interleave.c 				sctp_mid_uo_peek(stream, out, sid);
sid                80 net/sctp/stream_interleave.c 				sctp_mid_next(stream, out, sid) :
sid                81 net/sctp/stream_interleave.c 				sctp_mid_peek(stream, out, sid);
sid                90 net/sctp/stream_interleave.c 	__u16 sid, ssn;
sid                99 net/sctp/stream_interleave.c 	sid = sctp_chunk_stream_no(chunk);
sid               102 net/sctp/stream_interleave.c 	return !SSN_lt(ssn, sctp_ssn_peek(stream, in, sid));
sid               109 net/sctp/stream_interleave.c 	__u16 sid;
sid               118 net/sctp/stream_interleave.c 	sid = sctp_chunk_stream_no(chunk);
sid               121 net/sctp/stream_interleave.c 	return !MID_lt(mid, sctp_mid_peek(stream, in, sid));
sid               425 net/sctp/stream_interleave.c 	__u16 sid = event->stream;
sid               433 net/sctp/stream_interleave.c 		if (cevent->stream > sid)
sid               436 net/sctp/stream_interleave.c 		if (cevent->stream < sid)
sid               439 net/sctp/stream_interleave.c 		if (cevent->mid != sctp_mid_peek(stream, in, sid))
sid               442 net/sctp/stream_interleave.c 		sctp_mid_next(stream, in, sid);
sid               454 net/sctp/stream_interleave.c 	__u16 sid;
sid               457 net/sctp/stream_interleave.c 	sid = event->stream;
sid               459 net/sctp/stream_interleave.c 	if (event->mid != sctp_mid_peek(stream, in, sid)) {
sid               464 net/sctp/stream_interleave.c 	sctp_mid_next(stream, in, sid);
sid               772 net/sctp/stream_interleave.c 	__u16 sid = 0;
sid               789 net/sctp/stream_interleave.c 			sid = cevent->stream;
sid               795 net/sctp/stream_interleave.c 			if (cevent->stream == sid &&
sid               878 net/sctp/stream_interleave.c 	__u16 sid = 0;
sid               896 net/sctp/stream_interleave.c 				sid = cevent->stream;
sid               902 net/sctp/stream_interleave.c 			if (cevent->stream == sid &&
sid               989 net/sctp/stream_interleave.c static void sctp_intl_stream_abort_pd(struct sctp_ulpq *ulpq, __u16 sid,
sid              1000 net/sctp/stream_interleave.c 				      sid, mid, flags, gfp);
sid              1013 net/sctp/stream_interleave.c static void sctp_intl_reap_ordered(struct sctp_ulpq *ulpq, __u16 sid)
sid              1029 net/sctp/stream_interleave.c 		if (csid > sid)
sid              1032 net/sctp/stream_interleave.c 		if (csid < sid)
sid              1050 net/sctp/stream_interleave.c 		if (csid == sid && cmid == sctp_mid_peek(stream, in, csid)) {
sid              1067 net/sctp/stream_interleave.c 	__u16 sid;
sid              1069 net/sctp/stream_interleave.c 	for (sid = 0; sid < stream->incnt; sid++) {
sid              1070 net/sctp/stream_interleave.c 		struct sctp_stream_in *sin = SCTP_SI(stream, sid);
sid              1077 net/sctp/stream_interleave.c 			sctp_intl_stream_abort_pd(ulpq, sid, mid, 0x1, gfp);
sid              1084 net/sctp/stream_interleave.c 			sctp_intl_stream_abort_pd(ulpq, sid, mid, 0, gfp);
sid              1085 net/sctp/stream_interleave.c 			sctp_mid_skip(stream, in, sid, mid);
sid              1087 net/sctp/stream_interleave.c 			sctp_intl_reap_ordered(ulpq, sid);
sid              1133 net/sctp/stream_interleave.c 			__be16 sid = chunk->subh.idata_hdr->stream;
sid              1142 net/sctp/stream_interleave.c 						     sid, flags);
sid              1143 net/sctp/stream_interleave.c 			ftsn_skip_arr[skip_pos].stream = sid;
sid              1261 net/sctp/stream_interleave.c static void sctp_intl_skip(struct sctp_ulpq *ulpq, __u16 sid, __u32 mid,
sid              1264 net/sctp/stream_interleave.c 	struct sctp_stream_in *sin = sctp_stream_in(&ulpq->asoc->stream, sid);
sid              1270 net/sctp/stream_interleave.c 			sctp_intl_stream_abort_pd(ulpq, sid, mid, 0x1,
sid              1276 net/sctp/stream_interleave.c 	if (MID_lt(mid, sctp_mid_peek(stream, in, sid)))
sid              1281 net/sctp/stream_interleave.c 		sctp_intl_stream_abort_pd(ulpq, sid, mid, 0x0, GFP_ATOMIC);
sid              1284 net/sctp/stream_interleave.c 	sctp_mid_skip(stream, in, sid, mid);
sid              1286 net/sctp/stream_interleave.c 	sctp_intl_reap_ordered(ulpq, sid);
sid                25 net/sctp/stream_sched.c static int sctp_sched_fcfs_set(struct sctp_stream *stream, __u16 sid,
sid                31 net/sctp/stream_sched.c static int sctp_sched_fcfs_get(struct sctp_stream *stream, __u16 sid,
sid                43 net/sctp/stream_sched.c static int sctp_sched_fcfs_init_sid(struct sctp_stream *stream, __u16 sid,
sid               199 net/sctp/stream_sched.c int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid,
sid               202 net/sctp/stream_sched.c 	if (sid >= asoc->stream.outcnt)
sid               205 net/sctp/stream_sched.c 	if (!SCTP_SO(&asoc->stream, sid)->ext) {
sid               208 net/sctp/stream_sched.c 		ret = sctp_stream_init_ext(&asoc->stream, sid);
sid               213 net/sctp/stream_sched.c 	return asoc->outqueue.sched->set(&asoc->stream, sid, value, gfp);
sid               216 net/sctp/stream_sched.c int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid,
sid               219 net/sctp/stream_sched.c 	if (sid >= asoc->stream.outcnt)
sid               222 net/sctp/stream_sched.c 	if (!SCTP_SO(&asoc->stream, sid)->ext)
sid               225 net/sctp/stream_sched.c 	return asoc->outqueue.sched->get(&asoc->stream, sid, value);
sid               233 net/sctp/stream_sched.c 		__u16 sid;
sid               239 net/sctp/stream_sched.c 		sid = sctp_chunk_stream_no(ch);
sid               240 net/sctp/stream_sched.c 		sout = SCTP_SO(&q->asoc->stream, sid);
sid               257 net/sctp/stream_sched.c int sctp_sched_init_sid(struct sctp_stream *stream, __u16 sid, gfp_t gfp)
sid               260 net/sctp/stream_sched.c 	struct sctp_stream_out_ext *ext = SCTP_SO(stream, sid)->ext;
sid               263 net/sctp/stream_sched.c 	return sched->init_sid(stream, sid, gfp);
sid               150 net/sctp/stream_sched_prio.c static int sctp_sched_prio_set(struct sctp_stream *stream, __u16 sid,
sid               153 net/sctp/stream_sched_prio.c 	struct sctp_stream_out *sout = SCTP_SO(stream, sid);
sid               186 net/sctp/stream_sched_prio.c static int sctp_sched_prio_get(struct sctp_stream *stream, __u16 sid,
sid               189 net/sctp/stream_sched_prio.c 	*value = SCTP_SO(stream, sid)->ext->prio_head->prio;
sid               200 net/sctp/stream_sched_prio.c static int sctp_sched_prio_init_sid(struct sctp_stream *stream, __u16 sid,
sid               203 net/sctp/stream_sched_prio.c 	INIT_LIST_HEAD(&SCTP_SO(stream, sid)->ext->prio_list);
sid               204 net/sctp/stream_sched_prio.c 	return sctp_sched_prio_set(stream, sid, 0, gfp);
sid               238 net/sctp/stream_sched_prio.c 	__u16 sid;
sid               241 net/sctp/stream_sched_prio.c 	sid = sctp_chunk_stream_no(ch);
sid               243 net/sctp/stream_sched_prio.c 	sctp_sched_prio_sched(stream, SCTP_SO(stream, sid)->ext);
sid               279 net/sctp/stream_sched_prio.c 	__u16 sid;
sid               284 net/sctp/stream_sched_prio.c 	sid = sctp_chunk_stream_no(ch);
sid               285 net/sctp/stream_sched_prio.c 	soute = SCTP_SO(&q->asoc->stream, sid)->ext;
sid               302 net/sctp/stream_sched_prio.c 		__u16 sid;
sid               304 net/sctp/stream_sched_prio.c 		sid = sctp_chunk_stream_no(ch);
sid               305 net/sctp/stream_sched_prio.c 		sout = SCTP_SO(stream, sid);
sid                65 net/sctp/stream_sched_rr.c static int sctp_sched_rr_set(struct sctp_stream *stream, __u16 sid,
sid                71 net/sctp/stream_sched_rr.c static int sctp_sched_rr_get(struct sctp_stream *stream, __u16 sid,
sid                85 net/sctp/stream_sched_rr.c static int sctp_sched_rr_init_sid(struct sctp_stream *stream, __u16 sid,
sid                88 net/sctp/stream_sched_rr.c 	INIT_LIST_HEAD(&SCTP_SO(stream, sid)->ext->rr_list);
sid               103 net/sctp/stream_sched_rr.c 	__u16 sid;
sid               106 net/sctp/stream_sched_rr.c 	sid = sctp_chunk_stream_no(ch);
sid               108 net/sctp/stream_sched_rr.c 	sctp_sched_rr_sched(stream, SCTP_SO(stream, sid)->ext);
sid               138 net/sctp/stream_sched_rr.c 	__u16 sid;
sid               141 net/sctp/stream_sched_rr.c 	sid = sctp_chunk_stream_no(ch);
sid               142 net/sctp/stream_sched_rr.c 	soute = SCTP_SO(&q->asoc->stream, sid)->ext;
sid               158 net/sctp/stream_sched_rr.c 		__u16 sid;
sid               160 net/sctp/stream_sched_rr.c 		sid = sctp_chunk_stream_no(ch);
sid               161 net/sctp/stream_sched_rr.c 		soute = SCTP_SO(stream, sid)->ext;
sid               715 net/sctp/ulpevent.c 					__u32 indication, __u32 sid, __u32 seq,
sid               738 net/sctp/ulpevent.c 	pd->pdapi_stream = sid;
sid               753 net/sctp/ulpqueue.c 	__u16 sid, csid, cssn;
sid               755 net/sctp/ulpqueue.c 	sid = event->stream;
sid               767 net/sctp/ulpqueue.c 		if (csid > sid)
sid               771 net/sctp/ulpqueue.c 		if (csid < sid)
sid               774 net/sctp/ulpqueue.c 		if (cssn != sctp_ssn_peek(stream, in, sid))
sid               778 net/sctp/ulpqueue.c 		sctp_ssn_next(stream, in, sid);
sid               793 net/sctp/ulpqueue.c 	__u16 sid, csid;
sid               802 net/sctp/ulpqueue.c 	sid = event->stream;
sid               808 net/sctp/ulpqueue.c 	if (sid > csid) {
sid               813 net/sctp/ulpqueue.c 	if ((sid == csid) && SSN_lt(cssn, ssn)) {
sid               826 net/sctp/ulpqueue.c 		if (csid > sid)
sid               828 net/sctp/ulpqueue.c 		if (csid == sid && SSN_lt(ssn, cssn))
sid               840 net/sctp/ulpqueue.c 	__u16 sid, ssn;
sid               848 net/sctp/ulpqueue.c 	sid = event->stream;
sid               853 net/sctp/ulpqueue.c 	if (ssn != sctp_ssn_peek(stream, in, sid)) {
sid               862 net/sctp/ulpqueue.c 	sctp_ssn_next(stream, in, sid);
sid               875 net/sctp/ulpqueue.c static void sctp_ulpq_reap_ordered(struct sctp_ulpq *ulpq, __u16 sid)
sid               896 net/sctp/ulpqueue.c 		if (csid > sid)
sid               900 net/sctp/ulpqueue.c 		if (csid < sid)
sid               924 net/sctp/ulpqueue.c 		if (csid == sid && cssn == sctp_ssn_peek(stream, in, csid)) {
sid               945 net/sctp/ulpqueue.c void sctp_ulpq_skip(struct sctp_ulpq *ulpq, __u16 sid, __u16 ssn)
sid               953 net/sctp/ulpqueue.c 	if (SSN_lt(ssn, sctp_ssn_peek(stream, in, sid)))
sid               957 net/sctp/ulpqueue.c 	sctp_ssn_skip(stream, in, sid, ssn);
sid               962 net/sctp/ulpqueue.c 	sctp_ulpq_reap_ordered(ulpq, sid);
sid               225 security/apparmor/audit.c int aa_audit_rule_match(u32 sid, u32 field, u32 op, void *vrule)
sid               231 security/apparmor/audit.c 	label = aa_secid_to_label(sid);
sid               191 security/apparmor/include/audit.h int aa_audit_rule_match(u32 sid, u32 field, u32 op, void *vrule);
sid               214 security/selinux/hooks.c 	tsec->osid = tsec->sid = SECINITSID_KERNEL;
sid               225 security/selinux/hooks.c 	return tsec->sid;
sid               233 security/selinux/hooks.c 	u32 sid;
sid               236 security/selinux/hooks.c 	sid = cred_sid(__task_cred(task));
sid               238 security/selinux/hooks.c 	return sid;
sid               246 security/selinux/hooks.c 	u32 sid = current_sid();
sid               251 security/selinux/hooks.c 	isec->sid = SECINITSID_UNLABELED;
sid               253 security/selinux/hooks.c 	isec->task_sid = sid;
sid               360 security/selinux/hooks.c 	u32 sid = current_sid();
sid               362 security/selinux/hooks.c 	fsec->sid = sid;
sid               363 security/selinux/hooks.c 	fsec->fown_sid = sid;
sid               380 security/selinux/hooks.c 	sbsec->sid = SECINITSID_UNLABELED;
sid               459 security/selinux/hooks.c static int may_context_mount_sb_relabel(u32 sid,
sid               467 security/selinux/hooks.c 			  tsec->sid, sbsec->sid, SECCLASS_FILESYSTEM,
sid               473 security/selinux/hooks.c 			  tsec->sid, sid, SECCLASS_FILESYSTEM,
sid               478 security/selinux/hooks.c static int may_context_mount_inode_relabel(u32 sid,
sid               485 security/selinux/hooks.c 			  tsec->sid, sbsec->sid, SECCLASS_FILESYSTEM,
sid               491 security/selinux/hooks.c 			  sid, sbsec->sid, SECCLASS_FILESYSTEM,
sid               631 security/selinux/hooks.c static int parse_sid(struct super_block *sb, const char *s, u32 *sid)
sid               634 security/selinux/hooks.c 					     sid, GFP_KERNEL);
sid               708 security/selinux/hooks.c 			if (bad_option(sbsec, FSCONTEXT_MNT, sbsec->sid,
sid               726 security/selinux/hooks.c 			if (bad_option(sbsec, ROOTCONTEXT_MNT, root_isec->sid,
sid               809 security/selinux/hooks.c 		sbsec->sid = fscontext_sid;
sid               828 security/selinux/hooks.c 			sbsec->sid = context_sid;
sid               848 security/selinux/hooks.c 		root_isec->sid = rootcontext_sid;
sid               894 security/selinux/hooks.c 	if ((oldflags & FSCONTEXT_MNT) && old->sid != new->sid)
sid               903 security/selinux/hooks.c 		if (oldroot->sid != newroot->sid)
sid               955 security/selinux/hooks.c 	newsbsec->sid = oldsbsec->sid;
sid               972 security/selinux/hooks.c 		u32 sid = oldsbsec->mntpoint_sid;
sid               975 security/selinux/hooks.c 			newsbsec->sid = sid;
sid               978 security/selinux/hooks.c 			newisec->sid = sid;
sid               980 security/selinux/hooks.c 		newsbsec->mntpoint_sid = sid;
sid               986 security/selinux/hooks.c 		newisec->sid = oldisec->sid;
sid              1076 security/selinux/hooks.c static int show_sid(struct seq_file *m, u32 sid)
sid              1082 security/selinux/hooks.c 	rc = security_sid_to_context(&selinux_state, sid,
sid              1112 security/selinux/hooks.c 		rc = show_sid(m, sbsec->sid);
sid              1135 security/selinux/hooks.c 		rc = show_sid(m, isec->sid);
sid              1334 security/selinux/hooks.c 				 u32 *sid)
sid              1358 security/selinux/hooks.c 					path, tclass, sid);
sid              1361 security/selinux/hooks.c 			*sid = SECINITSID_UNLABELED;
sid              1370 security/selinux/hooks.c 				  u32 def_sid, u32 *sid)
sid              1408 security/selinux/hooks.c 		*sid = def_sid;
sid              1412 security/selinux/hooks.c 	rc = security_context_to_sid_default(&selinux_state, context, rc, sid,
sid              1435 security/selinux/hooks.c 	u32 task_sid, sid = 0;
sid              1464 security/selinux/hooks.c 	sid = isec->sid;
sid              1473 security/selinux/hooks.c 			sid = sbsec->def_sid;
sid              1506 security/selinux/hooks.c 					    &sid);
sid              1512 security/selinux/hooks.c 		sid = task_sid;
sid              1516 security/selinux/hooks.c 		sid = sbsec->sid;
sid              1519 security/selinux/hooks.c 		rc = security_transition_sid(&selinux_state, task_sid, sid,
sid              1520 security/selinux/hooks.c 					     sclass, NULL, &sid);
sid              1525 security/selinux/hooks.c 		sid = sbsec->mntpoint_sid;
sid              1529 security/selinux/hooks.c 		sid = sbsec->sid;
sid              1559 security/selinux/hooks.c 						   sbsec->flags, &sid);
sid              1568 security/selinux/hooks.c 							    sid, &sid);
sid              1582 security/selinux/hooks.c 		if (!sid || rc) {
sid              1588 security/selinux/hooks.c 		isec->sid = sid;
sid              1634 security/selinux/hooks.c 	u32 sid = cred_sid(cred);
sid              1655 security/selinux/hooks.c 				  sid, sid, sclass, av, 0, &avd);
sid              1658 security/selinux/hooks.c 				    sid, sid, sclass, av, &avd, rc, &ad, 0);
sid              1674 security/selinux/hooks.c 	u32 sid;
sid              1681 security/selinux/hooks.c 	sid = cred_sid(cred);
sid              1685 security/selinux/hooks.c 			    sid, isec->sid, isec->sclass, perms, adp);
sid              1733 security/selinux/hooks.c static int bpf_fd_pass(struct file *file, u32 sid);
sid              1751 security/selinux/hooks.c 	u32 sid = cred_sid(cred);
sid              1757 security/selinux/hooks.c 	if (sid != fsec->sid) {
sid              1759 security/selinux/hooks.c 				  sid, fsec->sid,
sid              1801 security/selinux/hooks.c 		return security_transition_sid(&selinux_state, tsec->sid,
sid              1802 security/selinux/hooks.c 					       dsec->sid, tclass,
sid              1817 security/selinux/hooks.c 	u32 sid, newsid;
sid              1824 security/selinux/hooks.c 	sid = tsec->sid;
sid              1830 security/selinux/hooks.c 			  sid, dsec->sid, SECCLASS_DIR,
sid              1842 security/selinux/hooks.c 			  sid, newsid, tclass, FILE__CREATE, &ad);
sid              1847 security/selinux/hooks.c 			    newsid, sbsec->sid,
sid              1864 security/selinux/hooks.c 	u32 sid = current_sid();
sid              1877 security/selinux/hooks.c 			  sid, dsec->sid, SECCLASS_DIR, av, &ad);
sid              1898 security/selinux/hooks.c 			  sid, isec->sid, isec->sclass, av, &ad);
sid              1909 security/selinux/hooks.c 	u32 sid = current_sid();
sid              1923 security/selinux/hooks.c 			  sid, old_dsec->sid, SECCLASS_DIR,
sid              1928 security/selinux/hooks.c 			  sid, old_isec->sid,
sid              1934 security/selinux/hooks.c 				  sid, old_isec->sid,
sid              1945 security/selinux/hooks.c 			  sid, new_dsec->sid, SECCLASS_DIR, av, &ad);
sid              1952 security/selinux/hooks.c 				  sid, new_isec->sid,
sid              1969 security/selinux/hooks.c 	u32 sid = cred_sid(cred);
sid              1973 security/selinux/hooks.c 			    sid, sbsec->sid, SECCLASS_FILESYSTEM, perms, ad);
sid              2091 security/selinux/hooks.c 	u32 sid = task_sid(to);
sid              2101 security/selinux/hooks.c 	if (sid != fsec->sid) {
sid              2103 security/selinux/hooks.c 				  sid, fsec->sid,
sid              2112 security/selinux/hooks.c 	rc = bpf_fd_pass(file, sid);
sid              2122 security/selinux/hooks.c 			    sid, isec->sid, isec->sclass, file_to_av(file),
sid              2129 security/selinux/hooks.c 	u32 sid = current_sid();
sid              2134 security/selinux/hooks.c 				    sid, csid, SECCLASS_FILE, FILE__READ, NULL);
sid              2137 security/selinux/hooks.c 			    sid, csid, SECCLASS_PROCESS, PROCESS__PTRACE, NULL);
sid              2263 security/selinux/hooks.c 	u32 sid = 0;
sid              2269 security/selinux/hooks.c 		sid = task_sid(tracer);
sid              2272 security/selinux/hooks.c 	return sid;
sid              2287 security/selinux/hooks.c 	if (new_tsec->sid == old_tsec->sid)
sid              2303 security/selinux/hooks.c 				  old_tsec->sid, new_tsec->sid,
sid              2314 security/selinux/hooks.c 	rc = security_bounded_transition(&selinux_state, old_tsec->sid,
sid              2315 security/selinux/hooks.c 					 new_tsec->sid);
sid              2348 security/selinux/hooks.c 	new_tsec->sid = old_tsec->sid;
sid              2349 security/selinux/hooks.c 	new_tsec->osid = old_tsec->sid;
sid              2357 security/selinux/hooks.c 		new_tsec->sid = old_tsec->exec_sid;
sid              2367 security/selinux/hooks.c 		rc = security_transition_sid(&selinux_state, old_tsec->sid,
sid              2368 security/selinux/hooks.c 					     isec->sid, SECCLASS_PROCESS, NULL,
sid              2369 security/selinux/hooks.c 					     &new_tsec->sid);
sid              2379 security/selinux/hooks.c 			new_tsec->sid = old_tsec->sid;
sid              2385 security/selinux/hooks.c 	if (new_tsec->sid == old_tsec->sid) {
sid              2387 security/selinux/hooks.c 				  old_tsec->sid, isec->sid,
sid              2394 security/selinux/hooks.c 				  old_tsec->sid, new_tsec->sid,
sid              2400 security/selinux/hooks.c 				  new_tsec->sid, isec->sid,
sid              2408 security/selinux/hooks.c 					  old_tsec->sid, new_tsec->sid,
sid              2421 security/selinux/hooks.c 						  ptsid, new_tsec->sid,
sid              2436 security/selinux/hooks.c 				  old_tsec->sid, new_tsec->sid,
sid              2509 security/selinux/hooks.c 	if (new_tsec->sid == new_tsec->osid)
sid              2529 security/selinux/hooks.c 			  new_tsec->osid, new_tsec->sid, SECCLASS_PROCESS,
sid              2553 security/selinux/hooks.c 	u32 osid, sid;
sid              2557 security/selinux/hooks.c 	sid = tsec->sid;
sid              2559 security/selinux/hooks.c 	if (sid == osid)
sid              2570 security/selinux/hooks.c 			  osid, sid, SECCLASS_PROCESS, PROCESS__SIGINH, NULL);
sid              2686 security/selinux/hooks.c 	u32 sid;
sid              2696 security/selinux/hooks.c 		rc = parse_sid(sb, opts->fscontext, &sid);
sid              2699 security/selinux/hooks.c 		if (bad_option(sbsec, FSCONTEXT_MNT, sbsec->sid, sid))
sid              2703 security/selinux/hooks.c 		rc = parse_sid(sb, opts->context, &sid);
sid              2706 security/selinux/hooks.c 		if (bad_option(sbsec, CONTEXT_MNT, sbsec->mntpoint_sid, sid))
sid              2712 security/selinux/hooks.c 		rc = parse_sid(sb, opts->rootcontext, &sid);
sid              2715 security/selinux/hooks.c 		if (bad_option(sbsec, ROOTCONTEXT_MNT, root_isec->sid, sid))
sid              2719 security/selinux/hooks.c 		rc = parse_sid(sb, opts->defcontext, &sid);
sid              2722 security/selinux/hooks.c 		if (bad_option(sbsec, DEFCONTEXT_MNT, sbsec->def_sid, sid))
sid              2932 security/selinux/hooks.c 		isec->sid = newsid;
sid              3008 security/selinux/hooks.c 	u32 sid;
sid              3014 security/selinux/hooks.c 	sid = cred_sid(cred);
sid              3020 security/selinux/hooks.c 				  sid, isec->sid, isec->sclass, FILE__READ, &ad,
sid              3036 security/selinux/hooks.c 			    current_sid(), isec->sid, isec->sclass, perms,
sid              3050 security/selinux/hooks.c 	u32 sid;
sid              3069 security/selinux/hooks.c 	sid = cred_sid(cred);
sid              3075 security/selinux/hooks.c 				  sid, isec->sid, isec->sclass, perms,
sid              3146 security/selinux/hooks.c 	u32 newsid, sid = current_sid();
sid              3171 security/selinux/hooks.c 			  sid, isec->sid, isec->sclass,
sid              3210 security/selinux/hooks.c 			  sid, newsid, isec->sclass,
sid              3215 security/selinux/hooks.c 	rc = security_validate_transition(&selinux_state, isec->sid, newsid,
sid              3216 security/selinux/hooks.c 					  sid, isec->sclass);
sid              3222 security/selinux/hooks.c 			    sbsec->sid,
sid              3254 security/selinux/hooks.c 	isec->sid = newsid;
sid              3363 security/selinux/hooks.c 						      isec->sid, &context,
sid              3366 security/selinux/hooks.c 		error = security_sid_to_context(&selinux_state, isec->sid,
sid              3404 security/selinux/hooks.c 	isec->sid = newsid;
sid              3421 security/selinux/hooks.c 	*secid = isec->sid;
sid              3426 security/selinux/hooks.c 	u32 sid;
sid              3438 security/selinux/hooks.c 	selinux_inode_getsecid(d_inode(src), &sid);
sid              3439 security/selinux/hooks.c 	tsec->create_sid = sid;
sid              3501 security/selinux/hooks.c 		rc = security_transition_sid(&selinux_state, tsec->sid,
sid              3540 security/selinux/hooks.c 	u32 sid = current_sid();
sid              3547 security/selinux/hooks.c 	if (sid == fsec->sid && fsec->isid == isec->sid &&
sid              3582 security/selinux/hooks.c 	if (ssid != fsec->sid) {
sid              3584 security/selinux/hooks.c 				  ssid, fsec->sid,
sid              3597 security/selinux/hooks.c 				    ssid, isec->sid, isec->sclass,
sid              3655 security/selinux/hooks.c 	u32 sid = cred_sid(cred);
sid              3667 security/selinux/hooks.c 				  sid, sid, SECCLASS_PROCESS,
sid              3696 security/selinux/hooks.c 		u32 sid = current_sid();
sid              3698 security/selinux/hooks.c 				  sid, sid, SECCLASS_MEMPROTECT,
sid              3732 security/selinux/hooks.c 	u32 sid = cred_sid(cred);
sid              3743 security/selinux/hooks.c 					  sid, sid, SECCLASS_PROCESS,
sid              3750 security/selinux/hooks.c 					  sid, sid, SECCLASS_PROCESS,
sid              3828 security/selinux/hooks.c 	u32 sid = task_sid(tsk);
sid              3843 security/selinux/hooks.c 			    fsec->fown_sid, sid,
sid              3868 security/selinux/hooks.c 	fsec->isid = isec->sid;
sid              3886 security/selinux/hooks.c 	u32 sid = current_sid();
sid              3889 security/selinux/hooks.c 			    sid, sid, SECCLASS_PROCESS, PROCESS__FORK, NULL);
sid              3928 security/selinux/hooks.c 	u32 sid = current_sid();
sid              3932 security/selinux/hooks.c 			   sid, secid,
sid              3937 security/selinux/hooks.c 		tsec->sid = secid;
sid              3953 security/selinux/hooks.c 	u32 sid = current_sid();
sid              3957 security/selinux/hooks.c 			   sid, isec->sid,
sid              3963 security/selinux/hooks.c 		tsec->create_sid = isec->sid;
sid              3984 security/selinux/hooks.c 	u32 sid = current_sid();
sid              3990 security/selinux/hooks.c 				    sid, sid, SECCLASS_SYSTEM,
sid              3999 security/selinux/hooks.c 	if (sid != fsec->sid) {
sid              4001 security/selinux/hooks.c 				  sid, fsec->sid, SECCLASS_FD, FD__USE, &ad);
sid              4008 security/selinux/hooks.c 			    sid, isec->sid, SECCLASS_SYSTEM,
sid              4165 security/selinux/hooks.c 	u32 sid = task_sid(p);
sid              4169 security/selinux/hooks.c 	isec->sid = sid;
sid              4415 security/selinux/hooks.c static int selinux_skb_peerlbl_sid(struct sk_buff *skb, u16 family, u32 *sid)
sid              4430 security/selinux/hooks.c 					   nlbl_type, xfrm_sid, sid);
sid              4476 security/selinux/hooks.c 	return security_transition_sid(&selinux_state, tsec->sid, tsec->sid,
sid              4486 security/selinux/hooks.c 	if (sksec->sid == SECINITSID_KERNEL)
sid              4494 security/selinux/hooks.c 			    current_sid(), sksec->sid, sksec->sclass, perms,
sid              4515 security/selinux/hooks.c 			    tsec->sid, newsid, secclass, SOCKET__CREATE, NULL);
sid              4525 security/selinux/hooks.c 	u32 sid = SECINITSID_KERNEL;
sid              4529 security/selinux/hooks.c 		err = socket_sockcreate_sid(tsec, sclass, &sid);
sid              4535 security/selinux/hooks.c 	isec->sid = sid;
sid              4541 security/selinux/hooks.c 		sksec->sid = sid;
sid              4558 security/selinux/hooks.c 	sksec_a->peer_sid = sksec_b->sid;
sid              4559 security/selinux/hooks.c 	sksec_b->peer_sid = sksec_a->sid;
sid              4589 security/selinux/hooks.c 		u32 sid, node_perm;
sid              4641 security/selinux/hooks.c 						      snum, &sid);
sid              4645 security/selinux/hooks.c 						   sksec->sid, sid,
sid              4675 security/selinux/hooks.c 		err = sel_netnode_sid(addrp, family_sa, &sid);
sid              4685 security/selinux/hooks.c 				   sksec->sid, sid,
sid              4733 security/selinux/hooks.c 		u32 sid, perm;
sid              4763 security/selinux/hooks.c 		err = sel_netport_sid(sk->sk_protocol, snum, &sid);
sid              4784 security/selinux/hooks.c 				   sksec->sid, sid, sksec->sclass, perm, &ad);
sid              4817 security/selinux/hooks.c 	u32 sid;
sid              4826 security/selinux/hooks.c 	sid = isec->sid;
sid              4831 security/selinux/hooks.c 	newisec->sid = sid;
sid              4897 security/selinux/hooks.c 			   sksec_sock->sid, sksec_other->sid,
sid              4904 security/selinux/hooks.c 	sksec_new->peer_sid = sksec_sock->sid;
sid              4905 security/selinux/hooks.c 	err = security_sid_mls_copy(&selinux_state, sksec_other->sid,
sid              4906 security/selinux/hooks.c 				    sksec_sock->sid, &sksec_new->sid);
sid              4911 security/selinux/hooks.c 	sksec_sock->peer_sid = sksec_new->sid;
sid              4929 security/selinux/hooks.c 			    ssec->sid, osec->sid, osec->sclass, SOCKET__SENDTO,
sid              4963 security/selinux/hooks.c 	u32 sk_sid = sksec->sid;
sid              4987 security/selinux/hooks.c 	err = selinux_xfrm_sock_rcv_skb(sksec->sid, skb, &ad);
sid              4997 security/selinux/hooks.c 	u32 sk_sid = sksec->sid;
sid              5116 security/selinux/hooks.c 		peer_secid = isec->sid;
sid              5136 security/selinux/hooks.c 	sksec->sid = SECINITSID_UNLABELED;
sid              5158 security/selinux/hooks.c 	newsksec->sid = sksec->sid;
sid              5172 security/selinux/hooks.c 		*secid = sksec->sid;
sid              5184 security/selinux/hooks.c 		isec->sid = sksec->sid;
sid              5250 security/selinux/hooks.c 	err = selinux_conn_sid(sksec->sid, peer_sid, &conn_sid);
sid              5355 security/selinux/hooks.c 	newsksec->sid = ep->secid;
sid              5373 security/selinux/hooks.c 	err = selinux_conn_sid(sksec->sid, peersid, &connsid);
sid              5387 security/selinux/hooks.c 	newsksec->sid = req->secid;
sid              5411 security/selinux/hooks.c static int selinux_secmark_relabel_packet(u32 sid)
sid              5417 security/selinux/hooks.c 	tsid = __tsec->sid;
sid              5420 security/selinux/hooks.c 			    tsid, sid, SECCLASS_PACKET, PACKET__RELABELTO,
sid              5447 security/selinux/hooks.c 	tunsec->sid = current_sid();
sid              5460 security/selinux/hooks.c 	u32 sid = current_sid();
sid              5470 security/selinux/hooks.c 			    sid, sid, SECCLASS_TUN_SOCKET, TUN_SOCKET__CREATE,
sid              5479 security/selinux/hooks.c 			    current_sid(), tunsec->sid, SECCLASS_TUN_SOCKET,
sid              5495 security/selinux/hooks.c 	sksec->sid = tunsec->sid;
sid              5504 security/selinux/hooks.c 	u32 sid = current_sid();
sid              5508 security/selinux/hooks.c 			   sid, tunsec->sid, SECCLASS_TUN_SOCKET,
sid              5513 security/selinux/hooks.c 			   sid, sid, SECCLASS_TUN_SOCKET,
sid              5517 security/selinux/hooks.c 	tunsec->sid = sid;
sid              5660 security/selinux/hooks.c 	u32 sid;
sid              5689 security/selinux/hooks.c 		sid = sksec->sid;
sid              5691 security/selinux/hooks.c 		sid = SECINITSID_KERNEL;
sid              5692 security/selinux/hooks.c 	if (selinux_netlbl_skbuff_setsid(skb, family, sid) != 0)
sid              5738 security/selinux/hooks.c 				 sksec->sid, skb->secmark,
sid              5742 security/selinux/hooks.c 	if (selinux_xfrm_postroute_last(sksec->sid, skb, &ad, proto))
sid              5842 security/selinux/hooks.c 		if (selinux_conn_sid(sksec->sid, skb_sid, &peer_sid))
sid              5849 security/selinux/hooks.c 		peer_sid = sksec->sid;
sid              5914 security/selinux/hooks.c 	isec->sid = current_sid();
sid              5922 security/selinux/hooks.c 	msec->sid = SECINITSID_UNLABELED;
sid              5932 security/selinux/hooks.c 	u32 sid = current_sid();
sid              5940 security/selinux/hooks.c 			    sid, isec->sid, isec->sclass, perms, &ad);
sid              5953 security/selinux/hooks.c 	u32 sid = current_sid();
sid              5963 security/selinux/hooks.c 			  sid, isec->sid, SECCLASS_MSGQ,
sid              5972 security/selinux/hooks.c 	u32 sid = current_sid();
sid              5980 security/selinux/hooks.c 			    sid, isec->sid, SECCLASS_MSGQ,
sid              6020 security/selinux/hooks.c 	u32 sid = current_sid();
sid              6029 security/selinux/hooks.c 	if (msec->sid == SECINITSID_UNLABELED) {
sid              6034 security/selinux/hooks.c 		rc = security_transition_sid(&selinux_state, sid, isec->sid,
sid              6035 security/selinux/hooks.c 					     SECCLASS_MSG, NULL, &msec->sid);
sid              6045 security/selinux/hooks.c 			  sid, isec->sid, SECCLASS_MSGQ,
sid              6050 security/selinux/hooks.c 				  sid, msec->sid, SECCLASS_MSG,
sid              6055 security/selinux/hooks.c 				  msec->sid, isec->sid, SECCLASS_MSGQ,
sid              6068 security/selinux/hooks.c 	u32 sid = task_sid(target);
sid              6078 security/selinux/hooks.c 			  sid, isec->sid,
sid              6082 security/selinux/hooks.c 				  sid, msec->sid,
sid              6092 security/selinux/hooks.c 	u32 sid = current_sid();
sid              6102 security/selinux/hooks.c 			  sid, isec->sid, SECCLASS_SHM,
sid              6111 security/selinux/hooks.c 	u32 sid = current_sid();
sid              6119 security/selinux/hooks.c 			    sid, isec->sid, SECCLASS_SHM,
sid              6177 security/selinux/hooks.c 	u32 sid = current_sid();
sid              6187 security/selinux/hooks.c 			  sid, isec->sid, SECCLASS_SEM,
sid              6196 security/selinux/hooks.c 	u32 sid = current_sid();
sid              6204 security/selinux/hooks.c 			    sid, isec->sid, SECCLASS_SEM,
sid              6285 security/selinux/hooks.c 	*secid = isec->sid;
sid              6298 security/selinux/hooks.c 	u32 sid;
sid              6307 security/selinux/hooks.c 				     current_sid(), __tsec->sid,
sid              6314 security/selinux/hooks.c 		sid = __tsec->sid;
sid              6316 security/selinux/hooks.c 		sid = __tsec->osid;
sid              6318 security/selinux/hooks.c 		sid = __tsec->exec_sid;
sid              6320 security/selinux/hooks.c 		sid = __tsec->create_sid;
sid              6322 security/selinux/hooks.c 		sid = __tsec->keycreate_sid;
sid              6324 security/selinux/hooks.c 		sid = __tsec->sockcreate_sid;
sid              6331 security/selinux/hooks.c 	if (!sid)
sid              6334 security/selinux/hooks.c 	error = security_sid_to_context(&selinux_state, sid, value, &len);
sid              6348 security/selinux/hooks.c 	u32 mysid = current_sid(), sid = 0, ptsid;
sid              6387 security/selinux/hooks.c 						&sid, GFP_KERNEL);
sid              6410 security/selinux/hooks.c 						      value, size, &sid);
sid              6428 security/selinux/hooks.c 		tsec->exec_sid = sid;
sid              6430 security/selinux/hooks.c 		tsec->create_sid = sid;
sid              6432 security/selinux/hooks.c 		if (sid) {
sid              6433 security/selinux/hooks.c 			error = avc_has_perm(&selinux_state, mysid, sid,
sid              6438 security/selinux/hooks.c 		tsec->keycreate_sid = sid;
sid              6440 security/selinux/hooks.c 		tsec->sockcreate_sid = sid;
sid              6443 security/selinux/hooks.c 		if (sid == 0)
sid              6450 security/selinux/hooks.c 							    tsec->sid, sid);
sid              6457 security/selinux/hooks.c 				     tsec->sid, sid, SECCLASS_PROCESS,
sid              6467 security/selinux/hooks.c 					     ptsid, sid, SECCLASS_PROCESS,
sid              6473 security/selinux/hooks.c 		tsec->sid = sid;
sid              6561 security/selinux/hooks.c 		ksec->sid = tsec->keycreate_sid;
sid              6563 security/selinux/hooks.c 		ksec->sid = tsec->sid;
sid              6583 security/selinux/hooks.c 	u32 sid;
sid              6591 security/selinux/hooks.c 	sid = cred_sid(cred);
sid              6597 security/selinux/hooks.c 			    sid, ksec->sid, SECCLASS_KEY, perm, NULL);
sid              6607 security/selinux/hooks.c 	rc = security_sid_to_context(&selinux_state, ksec->sid,
sid              6621 security/selinux/hooks.c 	u32 sid = 0;
sid              6625 security/selinux/hooks.c 	err = sel_ib_pkey_sid(subnet_prefix, pkey_val, &sid);
sid              6634 security/selinux/hooks.c 			    sec->sid, sid,
sid              6644 security/selinux/hooks.c 	u32 sid = 0;
sid              6649 security/selinux/hooks.c 				      &sid);
sid              6659 security/selinux/hooks.c 			    sec->sid, sid,
sid              6671 security/selinux/hooks.c 	sec->sid = current_sid();
sid              6687 security/selinux/hooks.c 	u32 sid = current_sid();
sid              6693 security/selinux/hooks.c 				   sid, sid, SECCLASS_BPF, BPF__MAP_CREATE,
sid              6698 security/selinux/hooks.c 				   sid, sid, SECCLASS_BPF, BPF__PROG_LOAD,
sid              6728 security/selinux/hooks.c static int bpf_fd_pass(struct file *file, u32 sid)
sid              6739 security/selinux/hooks.c 				   sid, bpfsec->sid, SECCLASS_BPF,
sid              6747 security/selinux/hooks.c 				   sid, bpfsec->sid, SECCLASS_BPF,
sid              6757 security/selinux/hooks.c 	u32 sid = current_sid();
sid              6762 security/selinux/hooks.c 			    sid, bpfsec->sid, SECCLASS_BPF,
sid              6768 security/selinux/hooks.c 	u32 sid = current_sid();
sid              6773 security/selinux/hooks.c 			    sid, bpfsec->sid, SECCLASS_BPF,
sid              6785 security/selinux/hooks.c 	bpfsec->sid = current_sid();
sid              6807 security/selinux/hooks.c 	bpfsec->sid = current_sid();
sid               130 security/selinux/ibpkey.c static int sel_ib_pkey_sid_slow(u64 subnet_prefix, u16 pkey_num, u32 *sid)
sid               140 security/selinux/ibpkey.c 		*sid = pkey->psec.sid;
sid               146 security/selinux/ibpkey.c 				   sid);
sid               159 security/selinux/ibpkey.c 	new->psec.sid = *sid;
sid               180 security/selinux/ibpkey.c int sel_ib_pkey_sid(u64 subnet_prefix, u16 pkey_num, u32 *sid)
sid               187 security/selinux/ibpkey.c 		*sid = pkey->psec.sid;
sid               193 security/selinux/ibpkey.c 	return sel_ib_pkey_sid_slow(subnet_prefix, pkey_num, sid);
sid                47 security/selinux/include/audit.h int selinux_audit_rule_match(u32 sid, u32 field, u32 op, void *rule);
sid                19 security/selinux/include/ibpkey.h int sel_ib_pkey_sid(u64 subnet_prefix, u16 pkey, u32 *sid);
sid                21 security/selinux/include/netif.h int sel_netif_sid(struct net *ns, int ifindex, u32 *sid);
sid                38 security/selinux/include/netlabel.h 				 u32 *sid);
sid                41 security/selinux/include/netlabel.h 				 u32 sid);
sid                88 security/selinux/include/netlabel.h 					       u32 *sid)
sid                91 security/selinux/include/netlabel.h 	*sid = SECSID_NULL;
sid                96 security/selinux/include/netlabel.h 					       u32 sid)
sid                22 security/selinux/include/netnode.h int sel_netnode_sid(void *addr, u16 family, u32 *sid);
sid                21 security/selinux/include/netport.h int sel_netport_sid(u8 protocol, u16 pnum, u32 *sid);
sid                33 security/selinux/include/objsec.h 	u32 sid;		/* current SID */
sid                50 security/selinux/include/objsec.h 	u32 sid;		/* SID of this object */
sid                57 security/selinux/include/objsec.h 	u32 sid;		/* SID of open file description */
sid                65 security/selinux/include/objsec.h 	u32 sid;			/* SID of file system superblock */
sid                76 security/selinux/include/objsec.h 	u32 sid;	/* SID of message */
sid                81 security/selinux/include/objsec.h 	u32 sid;	/* SID of IPC resource */
sid                87 security/selinux/include/objsec.h 	u32 sid;			/* SID for this interface */
sid                95 security/selinux/include/objsec.h 	u32 sid;			/* SID for this node */
sid               100 security/selinux/include/objsec.h 	u32 sid;			/* SID for this node */
sid               116 security/selinux/include/objsec.h 	u32 sid;			/* SID of this object */
sid               126 security/selinux/include/objsec.h 	u32 sid;			/* SID for the tun device sockets */
sid               130 security/selinux/include/objsec.h 	u32 sid;	/* SID of key */
sid               134 security/selinux/include/objsec.h 	u32 sid;        /* SID of the queue pair or MAD agent */
sid               140 security/selinux/include/objsec.h 	u32	sid;	/* SID of pkey */
sid               144 security/selinux/include/objsec.h 	u32 sid;  /*SID of bpf obj creater*/
sid               185 security/selinux/include/objsec.h 	return tsec->sid;
sid               253 security/selinux/include/security.h int security_sid_to_context(struct selinux_state *state, u32 sid,
sid               257 security/selinux/include/security.h 				  u32 sid, char **scontext, u32 *scontext_len);
sid               260 security/selinux/include/security.h 				  u32 sid, char **scontext, u32 *scontext_len);
sid               275 security/selinux/include/security.h 				  u32 *sid);
sid               309 security/selinux/include/security.h 			  u32 sid, u32 mls_sid, u32 *new_sid);
sid               336 security/selinux/include/security.h 		       u32 *sid);
sid               341 security/selinux/include/security.h 				   u32 *sid);
sid               344 security/selinux/include/security.h 				   u32 sid,
sid               349 security/selinux/include/security.h 					    u32 *sid)
sid               355 security/selinux/include/security.h 					 u32 sid,
sid               362 security/selinux/include/security.h const char *security_get_initial_sid_context(u32 sid);
sid                43 security/selinux/include/xfrm.h int selinux_xfrm_decode_session(struct sk_buff *skb, u32 *sid, int ckall);
sid                44 security/selinux/include/xfrm.h int selinux_xfrm_skb_sid(struct sk_buff *skb, u32 *sid);
sid                74 security/selinux/include/xfrm.h static inline int selinux_xfrm_decode_session(struct sk_buff *skb, u32 *sid,
sid                77 security/selinux/include/xfrm.h 	*sid = SECSID_NULL;
sid                85 security/selinux/include/xfrm.h static inline int selinux_xfrm_skb_sid(struct sk_buff *skb, u32 *sid)
sid                87 security/selinux/include/xfrm.h 	*sid = SECSID_NULL;
sid               133 security/selinux/netif.c static int sel_netif_sid_slow(struct net *ns, int ifindex, u32 *sid)
sid               153 security/selinux/netif.c 		*sid = netif->nsec.sid;
sid               157 security/selinux/netif.c 	ret = security_netif_sid(&selinux_state, dev->name, sid);
sid               164 security/selinux/netif.c 		new->nsec.sid = *sid;
sid               192 security/selinux/netif.c int sel_netif_sid(struct net *ns, int ifindex, u32 *sid)
sid               199 security/selinux/netif.c 		*sid = netif->nsec.sid;
sid               205 security/selinux/netif.c 	return sel_netif_sid_slow(ns, ifindex, sid);
sid                44 security/selinux/netlabel.c 					   u32 *sid)
sid                48 security/selinux/netlabel.c 	rc = security_netlbl_secattr_to_sid(&selinux_state, secattr, sid);
sid                79 security/selinux/netlabel.c 	rc = security_netlbl_sid_to_secattr(&selinux_state, sksec->sid,
sid               101 security/selinux/netlabel.c 							u32 sid)
sid               110 security/selinux/netlabel.c 	    (secattr->attr.secid == sid))
sid               191 security/selinux/netlabel.c 				 u32 *sid)
sid               197 security/selinux/netlabel.c 		*sid = SECSID_NULL;
sid               205 security/selinux/netlabel.c 						     &secattr, sid);
sid               207 security/selinux/netlabel.c 		*sid = SECSID_NULL;
sid               227 security/selinux/netlabel.c 				 u32 sid)
sid               242 security/selinux/netlabel.c 		secattr = selinux_netlbl_sock_getattr(sk, sid);
sid               247 security/selinux/netlabel.c 		rc = security_netlbl_sid_to_secattr(&selinux_state, sid,
sid               464 security/selinux/netlabel.c 			  sksec->sid, nlbl_sid, sksec->sclass, perm, ad);
sid               190 security/selinux/netnode.c static int sel_netnode_sid_slow(void *addr, u16 family, u32 *sid)
sid               199 security/selinux/netnode.c 		*sid = node->nsec.sid;
sid               208 security/selinux/netnode.c 					addr, sizeof(struct in_addr), sid);
sid               214 security/selinux/netnode.c 					addr, sizeof(struct in6_addr), sid);
sid               224 security/selinux/netnode.c 		new->nsec.sid = *sid;
sid               250 security/selinux/netnode.c int sel_netnode_sid(void *addr, u16 family, u32 *sid)
sid               257 security/selinux/netnode.c 		*sid = node->nsec.sid;
sid               263 security/selinux/netnode.c 	return sel_netnode_sid_slow(addr, family, sid);
sid               138 security/selinux/netport.c static int sel_netport_sid_slow(u8 protocol, u16 pnum, u32 *sid)
sid               147 security/selinux/netport.c 		*sid = port->psec.sid;
sid               152 security/selinux/netport.c 	ret = security_port_sid(&selinux_state, protocol, pnum, sid);
sid               159 security/selinux/netport.c 		new->psec.sid = *sid;
sid               184 security/selinux/netport.c int sel_netport_sid(u8 protocol, u16 pnum, u32 *sid)
sid               191 security/selinux/netport.c 		*sid = port->psec.sid;
sid               197 security/selinux/netport.c 	return sel_netport_sid_slow(protocol, pnum, sid);
sid               597 security/selinux/selinuxfs.c 	u32 sid, len;
sid               606 security/selinux/selinuxfs.c 	length = security_context_to_sid(state, buf, size, &sid, GFP_KERNEL);
sid               610 security/selinux/selinuxfs.c 	length = security_sid_to_context(state, sid, &canon, &len);
sid              1033 security/selinux/selinuxfs.c 	u32 sid, *sids = NULL;
sid              1060 security/selinux/selinuxfs.c 	length = security_context_str_to_sid(state, con, &sid, GFP_KERNEL);
sid              1064 security/selinux/selinuxfs.c 	length = security_get_user_sids(state, sid, user, &sids, &nsids);
sid              1337 security/selinux/selinuxfs.c 	u32 sid;
sid              1382 security/selinux/selinuxfs.c 					 SECCLASS_FILE, &sid);
sid              1386 security/selinux/selinuxfs.c 			sid = SECINITSID_SECURITY;
sid              1389 security/selinux/selinuxfs.c 		isec->sid = sid;
sid              1611 security/selinux/selinuxfs.c 	u32 sid, len;
sid              1614 security/selinux/selinuxfs.c 	sid = file_inode(file)->i_ino&SEL_INO_MASK;
sid              1615 security/selinux/selinuxfs.c 	ret = security_sid_to_context(fsi->state, sid, &con, &len);
sid              1956 security/selinux/selinuxfs.c 	isec->sid = SECINITSID_DEVNULL;
sid               870 security/selinux/ss/policydb.c 		if (c->sid[0] == SECSID_NULL || c->sid[0] > SECINITSID_NUM) {
sid               877 security/selinux/ss/policydb.c 		rc = sidtab_set_initial(s, c->sid[0], &c->context[0]);
sid              2102 security/selinux/ss/policydb.c 				c->sid[0] = le32_to_cpu(buf[0]);
sid              3095 security/selinux/ss/policydb.c 				buf[0] = cpu_to_le32(c->sid[0]);
sid               201 security/selinux/ss/policydb.h 	u32 sid[2];	/* SID(s) */
sid              1260 security/selinux/ss/services.c const char *security_get_initial_sid_context(u32 sid)
sid              1262 security/selinux/ss/services.c 	if (unlikely(sid > SECINITSID_NUM))
sid              1264 security/selinux/ss/services.c 	return initial_sid_to_string[sid];
sid              1268 security/selinux/ss/services.c 					u32 sid, char **scontext,
sid              1282 security/selinux/ss/services.c 		if (sid <= SECINITSID_NUM) {
sid              1285 security/selinux/ss/services.c 			*scontext_len = strlen(initial_sid_to_string[sid]) + 1;
sid              1288 security/selinux/ss/services.c 			scontextp = kmemdup(initial_sid_to_string[sid],
sid              1298 security/selinux/ss/services.c 		       "load_policy on unknown SID %d\n", __func__, sid);
sid              1306 security/selinux/ss/services.c 		context = sidtab_search_force(sidtab, sid);
sid              1308 security/selinux/ss/services.c 		context = sidtab_search(sidtab, sid);
sid              1311 security/selinux/ss/services.c 			__func__, sid);
sid              1338 security/selinux/ss/services.c 			    u32 sid, char **scontext, u32 *scontext_len)
sid              1340 security/selinux/ss/services.c 	return security_sid_to_context_core(state, sid, scontext,
sid              1344 security/selinux/ss/services.c int security_sid_to_context_force(struct selinux_state *state, u32 sid,
sid              1347 security/selinux/ss/services.c 	return security_sid_to_context_core(state, sid, scontext,
sid              1364 security/selinux/ss/services.c int security_sid_to_context_inval(struct selinux_state *state, u32 sid,
sid              1367 security/selinux/ss/services.c 	return security_sid_to_context_core(state, sid, scontext,
sid              1454 security/selinux/ss/services.c 					u32 *sid, u32 def_sid, gfp_t gfp_flags,
sid              1477 security/selinux/ss/services.c 				*sid = i;
sid              1481 security/selinux/ss/services.c 		*sid = SECINITSID_KERNEL;
sid              1484 security/selinux/ss/services.c 	*sid = SECSID_NULL;
sid              1504 security/selinux/ss/services.c 	rc = sidtab_context_to_sid(sidtab, &context, sid);
sid              1527 security/selinux/ss/services.c 			    const char *scontext, u32 scontext_len, u32 *sid,
sid              1531 security/selinux/ss/services.c 					    sid, SECSID_NULL, gfp, 0);
sid              1535 security/selinux/ss/services.c 				const char *scontext, u32 *sid, gfp_t gfp)
sid              1538 security/selinux/ss/services.c 				       sid, gfp);
sid              1561 security/selinux/ss/services.c 				    u32 *sid, u32 def_sid, gfp_t gfp_flags)
sid              1564 security/selinux/ss/services.c 					    sid, def_sid, gfp_flags, 1);
sid              1569 security/selinux/ss/services.c 				  u32 *sid)
sid              1572 security/selinux/ss/services.c 					    sid, SECSID_NULL, GFP_KERNEL, 1);
sid              2016 security/selinux/ss/services.c 		while (oc && oc->sid[0] != SECINITSID_UNLABELED)
sid              2282 security/selinux/ss/services.c 		if (!c->sid[0]) {
sid              2285 security/selinux/ss/services.c 						   &c->sid[0]);
sid              2289 security/selinux/ss/services.c 		*out_sid = c->sid[0];
sid              2329 security/selinux/ss/services.c 		if (!c->sid[0]) {
sid              2332 security/selinux/ss/services.c 						   &c->sid[0]);
sid              2336 security/selinux/ss/services.c 		*out_sid = c->sid[0];
sid              2376 security/selinux/ss/services.c 		if (!c->sid[0]) {
sid              2379 security/selinux/ss/services.c 						   &c->sid[0]);
sid              2383 security/selinux/ss/services.c 		*out_sid = c->sid[0];
sid              2418 security/selinux/ss/services.c 		if (!c->sid[0] || !c->sid[1]) {
sid              2421 security/selinux/ss/services.c 						  &c->sid[0]);
sid              2426 security/selinux/ss/services.c 						   &c->sid[1]);
sid              2430 security/selinux/ss/services.c 		*if_sid = c->sid[0];
sid              2514 security/selinux/ss/services.c 		if (!c->sid[0]) {
sid              2517 security/selinux/ss/services.c 						   &c->sid[0]);
sid              2521 security/selinux/ss/services.c 		*out_sid = c->sid[0];
sid              2557 security/selinux/ss/services.c 	u32 *mysids = NULL, *mysids2, sid;
sid              2604 security/selinux/ss/services.c 			rc = sidtab_context_to_sid(sidtab, &usercon, &sid);
sid              2608 security/selinux/ss/services.c 				mysids[mynel++] = sid;
sid              2618 security/selinux/ss/services.c 				mysids[mynel++] = sid;
sid              2672 security/selinux/ss/services.c 				       u32 *sid)
sid              2686 security/selinux/ss/services.c 	*sid = SECINITSID_UNLABELED;
sid              2709 security/selinux/ss/services.c 	if (!c->sid[0]) {
sid              2710 security/selinux/ss/services.c 		rc = sidtab_context_to_sid(sidtab, &c->context[0], &c->sid[0]);
sid              2715 security/selinux/ss/services.c 	*sid = c->sid[0];
sid              2735 security/selinux/ss/services.c 		       u32 *sid)
sid              2740 security/selinux/ss/services.c 	retval = __security_genfs_sid(state, fstype, path, orig_sclass, sid);
sid              2772 security/selinux/ss/services.c 		if (!c->sid[0]) {
sid              2774 security/selinux/ss/services.c 						   &c->sid[0]);
sid              2778 security/selinux/ss/services.c 		sbsec->sid = c->sid[0];
sid              2781 security/selinux/ss/services.c 					  &sbsec->sid);
sid              2964 security/selinux/ss/services.c 			  u32 sid, u32 mls_sid, u32 *new_sid)
sid              2977 security/selinux/ss/services.c 		*new_sid = sid;
sid              2986 security/selinux/ss/services.c 	context1 = sidtab_search(sidtab, sid);
sid              2989 security/selinux/ss/services.c 			__func__, sid);
sid              3404 security/selinux/ss/services.c int selinux_audit_rule_match(u32 sid, u32 field, u32 op, void *vrule)
sid              3424 security/selinux/ss/services.c 	ctxt = sidtab_search(state->ss->sidtab, sid);
sid              3427 security/selinux/ss/services.c 			  sid);
sid              3548 security/selinux/ss/services.c 				      u32 sid)
sid              3561 security/selinux/ss/services.c 	*sid_cache = sid;
sid              3584 security/selinux/ss/services.c 				   u32 *sid)
sid              3593 security/selinux/ss/services.c 		*sid = SECSID_NULL;
sid              3600 security/selinux/ss/services.c 		*sid = *(u32 *)secattr->cache->data;
sid              3602 security/selinux/ss/services.c 		*sid = secattr->attr.secid;
sid              3623 security/selinux/ss/services.c 		rc = sidtab_context_to_sid(sidtab, &ctx_new, sid);
sid              3627 security/selinux/ss/services.c 		security_netlbl_cache_add(secattr, *sid);
sid              3631 security/selinux/ss/services.c 		*sid = SECSID_NULL;
sid              3653 security/selinux/ss/services.c 				   u32 sid, struct netlbl_lsm_secattr *secattr)
sid              3665 security/selinux/ss/services.c 	ctx = sidtab_search(state->ss->sidtab, sid);
sid              3675 security/selinux/ss/services.c 	secattr->attr.secid = sid;
sid                40 security/selinux/ss/sidtab.c int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context)
sid                45 security/selinux/ss/sidtab.c 	if (sid == 0 || sid > SECINITSID_NUM)
sid                48 security/selinux/ss/sidtab.c 	entry = &s->isids[sid - 1];
sid               142 security/selinux/ss/sidtab.c static struct context *sidtab_lookup_initial(struct sidtab *s, u32 sid)
sid               144 security/selinux/ss/sidtab.c 	return s->isids[sid - 1].set ? &s->isids[sid - 1].context : NULL;
sid               147 security/selinux/ss/sidtab.c static struct context *sidtab_search_core(struct sidtab *s, u32 sid, int force)
sid               151 security/selinux/ss/sidtab.c 	if (sid != 0) {
sid               152 security/selinux/ss/sidtab.c 		if (sid > SECINITSID_NUM)
sid               153 security/selinux/ss/sidtab.c 			context = sidtab_lookup(s, sid - (SECINITSID_NUM + 1));
sid               155 security/selinux/ss/sidtab.c 			context = sidtab_lookup_initial(s, sid);
sid               163 security/selinux/ss/sidtab.c struct context *sidtab_search(struct sidtab *s, u32 sid)
sid               165 security/selinux/ss/sidtab.c 	return sidtab_search_core(s, sid, 0);
sid               168 security/selinux/ss/sidtab.c struct context *sidtab_search_force(struct sidtab *s, u32 sid)
sid               170 security/selinux/ss/sidtab.c 	return sidtab_search_core(s, sid, 1);
sid               338 security/selinux/ss/sidtab.c int sidtab_context_to_sid(struct sidtab *s, struct context *context, u32 *sid)
sid               347 security/selinux/ss/sidtab.c 			*sid = i + 1;
sid               352 security/selinux/ss/sidtab.c 	rc = sidtab_reverse_lookup(s, context, sid);
sid               355 security/selinux/ss/sidtab.c 	*sid += SECINITSID_NUM + 1;
sid                94 security/selinux/ss/sidtab.h int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context);
sid                95 security/selinux/ss/sidtab.h struct context *sidtab_search(struct sidtab *s, u32 sid);
sid                96 security/selinux/ss/sidtab.h struct context *sidtab_search_force(struct sidtab *s, u32 sid);
sid               100 security/selinux/ss/sidtab.h int sidtab_context_to_sid(struct sidtab *s, struct context *context, u32 *sid);
sid               107 security/selinux/xfrm.c 			  tsec->sid, ctx->ctx_sid,
sid               144 security/selinux/xfrm.c 			    tsec->sid, ctx->ctx_sid,
sid               227 security/selinux/xfrm.c 					u32 *sid, int ckall)
sid               245 security/selinux/xfrm.c 					*sid = SECSID_NULL;
sid               253 security/selinux/xfrm.c 	*sid = sid_session;
sid               261 security/selinux/xfrm.c int selinux_xfrm_decode_session(struct sk_buff *skb, u32 *sid, int ckall)
sid               264 security/selinux/xfrm.c 		*sid = SECSID_NULL;
sid               267 security/selinux/xfrm.c 	return selinux_xfrm_skb_sid_ingress(skb, sid, ckall);
sid               270 security/selinux/xfrm.c int selinux_xfrm_skb_sid(struct sk_buff *skb, u32 *sid)
sid               274 security/selinux/xfrm.c 	rc = selinux_xfrm_skb_sid_ingress(skb, sid, 0);
sid               275 security/selinux/xfrm.c 	if (rc == 0 && *sid == SECSID_NULL)
sid               276 security/selinux/xfrm.c 		*sid = selinux_xfrm_skb_sid_egress(skb);
sid                32 sound/core/ctljack.c 	struct snd_ctl_elem_id sid;
sid                34 sound/core/ctljack.c 	memset(&sid, 0, sizeof(sid));
sid                36 sound/core/ctljack.c 	sid.index = 0;
sid                37 sound/core/ctljack.c 	sid.iface = SNDRV_CTL_ELEM_IFACE_CARD;
sid                38 sound/core/ctljack.c 	strlcpy(sid.name, name, sizeof(sid.name));
sid                40 sound/core/ctljack.c 	while (snd_ctl_find_id(card, &sid)) {
sid                41 sound/core/ctljack.c 		sid.index++;
sid                43 sound/core/ctljack.c 		sid.numid = 0;
sid                46 sound/core/ctljack.c 	return sid.index;
sid              2609 sound/pci/ac97/ac97_codec.c 	struct snd_ctl_elem_id sid;
sid              2610 sound/pci/ac97/ac97_codec.c 	memset(&sid, 0, sizeof(sid));
sid              2611 sound/pci/ac97/ac97_codec.c 	set_ctl_name(sid.name, name, suffix);
sid              2612 sound/pci/ac97/ac97_codec.c 	sid.iface = SNDRV_CTL_ELEM_IFACE_MIXER;
sid              2613 sound/pci/ac97/ac97_codec.c 	return snd_ctl_find_id(ac97->bus->card, &sid);
sid                42 sound/pci/ac97/ac97_patch.c 	struct snd_ctl_elem_id sid;
sid                44 sound/pci/ac97/ac97_patch.c 	memset(&sid, 0, sizeof(sid));
sid                45 sound/pci/ac97/ac97_patch.c 	strcpy(sid.name, name);
sid                46 sound/pci/ac97/ac97_patch.c 	sid.iface = SNDRV_CTL_ELEM_IFACE_MIXER;
sid                47 sound/pci/ac97/ac97_patch.c 	kctl = snd_ctl_find_id(ac97->bus->card, &sid);
sid               711 sound/pci/ca0106/ca0106_mixer.c 	struct snd_ctl_elem_id sid;
sid               712 sound/pci/ca0106/ca0106_mixer.c 	memset(&sid, 0, sizeof(sid));
sid               714 sound/pci/ca0106/ca0106_mixer.c 	strcpy(sid.name, name);
sid               715 sound/pci/ca0106/ca0106_mixer.c 	sid.iface = SNDRV_CTL_ELEM_IFACE_MIXER;
sid               716 sound/pci/ca0106/ca0106_mixer.c 	return snd_ctl_find_id(card, &sid);
sid              1758 sound/pci/emu10k1/emumixer.c 	struct snd_ctl_elem_id sid;
sid              1759 sound/pci/emu10k1/emumixer.c 	memset(&sid, 0, sizeof(sid));
sid              1760 sound/pci/emu10k1/emumixer.c 	strcpy(sid.name, name);
sid              1761 sound/pci/emu10k1/emumixer.c 	sid.iface = SNDRV_CTL_ELEM_IFACE_MIXER;
sid              1762 sound/pci/emu10k1/emumixer.c 	return snd_ctl_find_id(card, &sid);
sid               414 sound/pci/ice1712/juli.c 	struct snd_ctl_elem_id sid = {0};
sid               416 sound/pci/ice1712/juli.c 	strlcpy(sid.name, name, sizeof(sid.name));
sid               417 sound/pci/ice1712/juli.c 	sid.iface = SNDRV_CTL_ELEM_IFACE_MIXER;
sid               418 sound/pci/ice1712/juli.c 	return snd_ctl_find_id(card, &sid);
sid               772 sound/pci/ice1712/quartet.c 	struct snd_ctl_elem_id sid = {0};
sid               774 sound/pci/ice1712/quartet.c 	strlcpy(sid.name, name, sizeof(sid.name));
sid               775 sound/pci/ice1712/quartet.c 	sid.iface = SNDRV_CTL_ELEM_IFACE_MIXER;
sid               776 sound/pci/ice1712/quartet.c 	return snd_ctl_find_id(card, &sid);
sid              2003 sound/pci/via82xx.c 		struct snd_ctl_elem_id sid;
sid              2004 sound/pci/via82xx.c 		memset(&sid, 0, sizeof(sid));
sid              2005 sound/pci/via82xx.c 		strcpy(sid.name, "PCM Playback Volume");
sid              2006 sound/pci/via82xx.c 		sid.iface = SNDRV_CTL_ELEM_IFACE_MIXER;
sid              2007 sound/pci/via82xx.c 		if (! snd_ctl_find_id(chip->card, &sid)) {
sid                72 sound/soc/qcom/qdsp6/q6asm-dai.c 	long long int sid;
sid               407 sound/soc/qcom/qdsp6/q6asm-dai.c 	if (pdata->sid < 0)
sid               410 sound/soc/qcom/qdsp6/q6asm-dai.c 		prtd->phys = substream->dma_buffer.addr | (pdata->sid << 32);
sid               588 sound/soc/qcom/qdsp6/q6asm-dai.c 	if (pdata->sid < 0)
sid               591 sound/soc/qcom/qdsp6/q6asm-dai.c 		prtd->phys = prtd->dma_buffer.addr | (pdata->sid << 32);
sid               921 sound/soc/qcom/qdsp6/q6asm-dai.c 		pdata->sid = -1;
sid               923 sound/soc/qcom/qdsp6/q6asm-dai.c 		pdata->sid = args.args[0] & SID_MASK_DEFAULT;
sid               674 sound/soc/qcom/qdsp6/q6asm.c 	uint32_t sid = 0;
sid               682 sound/soc/qcom/qdsp6/q6asm.c 	sid = (hdr->token >> 8) & 0x0F;
sid               683 sound/soc/qcom/qdsp6/q6asm.c 	ac = q6asm_get_audio_client(q6asm, sid);
sid               244 tools/perf/builtin-stat.c 	struct perf_sample_id *sid = SID(counter, cpu, thread);
sid               246 tools/perf/builtin-stat.c 	return perf_event__synthesize_stat(NULL, cpu, thread, sid->id, count,
sid               189 tools/perf/lib/evlist.c 	struct perf_sample_id *sid = SID(evsel, cpu, thread);
sid               191 tools/perf/lib/evlist.c 	sid->id = id;
sid               192 tools/perf/lib/evlist.c 	sid->evsel = evsel;
sid               193 tools/perf/lib/evlist.c 	hash = hash_64(sid->id, PERF_EVLIST__HLIST_BITS);
sid               194 tools/perf/lib/evlist.c 	hlist_add_head(&sid->node, &evlist->heads[hash]);
sid               430 tools/perf/util/evlist.c 	struct perf_sample_id *sid = SID(evsel, cpu, thread);
sid               431 tools/perf/util/evlist.c 	sid->idx = idx;
sid               433 tools/perf/util/evlist.c 		sid->cpu = evlist->core.cpus->map[cpu];
sid               435 tools/perf/util/evlist.c 		sid->cpu = -1;
sid               437 tools/perf/util/evlist.c 		sid->tid = perf_thread_map__pid(evlist->core.threads, thread);
sid               439 tools/perf/util/evlist.c 		sid->tid = -1;
sid               445 tools/perf/util/evlist.c 	struct perf_sample_id *sid;
sid               451 tools/perf/util/evlist.c 	hlist_for_each_entry(sid, head, node)
sid               452 tools/perf/util/evlist.c 		if (sid->id == id)
sid               453 tools/perf/util/evlist.c 			return sid;
sid               460 tools/perf/util/evlist.c 	struct perf_sample_id *sid;
sid               465 tools/perf/util/evlist.c 	sid = perf_evlist__id2sid(evlist, id);
sid               466 tools/perf/util/evlist.c 	if (sid)
sid               467 tools/perf/util/evlist.c 		return container_of(sid->evsel, struct evsel, core);
sid               478 tools/perf/util/evlist.c 	struct perf_sample_id *sid;
sid               483 tools/perf/util/evlist.c 	sid = perf_evlist__id2sid(evlist, id);
sid               484 tools/perf/util/evlist.c 	if (sid)
sid               485 tools/perf/util/evlist.c 		return container_of(sid->evsel, struct evsel, core);
sid               516 tools/perf/util/evlist.c 	struct perf_sample_id *sid;
sid               537 tools/perf/util/evlist.c 	hlist_for_each_entry(sid, head, node) {
sid               538 tools/perf/util/evlist.c 		if (sid->id == id)
sid               539 tools/perf/util/evlist.c 			return container_of(sid->evsel, struct evsel, core);
sid              1325 tools/perf/util/session.c 	struct perf_sample_id *sid = perf_evlist__id2sid(evlist, v->id);
sid              1328 tools/perf/util/session.c 	if (sid) {
sid              1330 tools/perf/util/session.c 		sample->period = v->value - sid->period;
sid              1331 tools/perf/util/session.c 		sid->period    = v->value;
sid              1334 tools/perf/util/session.c 	if (!sid || sid->evsel == NULL) {
sid              1346 tools/perf/util/session.c 	evsel = container_of(sid->evsel, struct evsel, core);
sid              2415 tools/perf/util/session.c 		struct perf_sample_id *sid;
sid              2424 tools/perf/util/session.c 		sid = perf_evlist__id2sid(evlist, e->id);
sid              2425 tools/perf/util/session.c 		if (!sid)
sid              2427 tools/perf/util/session.c 		sid->idx = e->idx;
sid              2428 tools/perf/util/session.c 		sid->cpu = e->cpu;
sid              2429 tools/perf/util/session.c 		sid->tid = e->tid;
sid              1433 tools/perf/util/synthetic-events.c 			struct perf_sample_id *sid;
sid              1447 tools/perf/util/synthetic-events.c 			sid = perf_evlist__id2sid(evlist, e->id);
sid              1448 tools/perf/util/synthetic-events.c 			if (!sid) {
sid              1453 tools/perf/util/synthetic-events.c 			e->idx = sid->idx;
sid              1454 tools/perf/util/synthetic-events.c 			e->cpu = sid->cpu;
sid              1455 tools/perf/util/synthetic-events.c 			e->tid = sid->tid;
sid               184 tools/testing/radix-tree/idr-test.c 	int sid = 0;
sid               193 tools/testing/radix-tree/idr-test.c 	ptr = idr_get_next(idr, &sid);
sid               196 tools/testing/radix-tree/idr-test.c 		BUG_ON(sid != 0);
sid               199 tools/testing/radix-tree/idr-test.c 		BUG_ON(sid != id);
sid               347 tools/thermal/tmon/tmon.c 	pid_t	sid, pid = fork();
sid               361 tools/thermal/tmon/tmon.c 	sid = setsid();
sid               362 tools/thermal/tmon/tmon.c 	if (sid < 0)