/linux/drivers/memory/tegra/ |
A D | tegra194.c | 18 .sid = { 28 .sid = { 38 .sid = { 48 .sid = { 58 .sid = { 68 .sid = { 78 .sid = { 88 .sid = { 98 .sid = { 108 .sid = { [all …]
|
A D | tegra186.c | 109 writel(sid, mc->regs + client->regs.sid.override); in tegra186_mc_client_sid_override() 156 .sid = { 166 .sid = { 176 .sid = { 186 .sid = { 196 .sid = { 206 .sid = { 216 .sid = { 226 .sid = { 236 .sid = { [all …]
|
/linux/include/trace/events/ |
A D | spmi.h | 17 TP_ARGS(opcode, sid, addr, len, buf), 21 __field ( u8, sid ) 29 __entry->sid = sid; 43 TP_ARGS(opcode, sid, addr, ret), 54 __entry->sid = sid; 66 TP_ARGS(opcode, sid, addr), 76 __entry->sid = sid; 100 __entry->sid = sid; 115 TP_ARGS(opcode, sid, ret), 125 __entry->sid = sid; [all …]
|
/linux/security/selinux/ |
A D | hooks.c | 538 sbsec->sid = sid; in sb_check_xattr_support() 1460 sid = isec->sid; in inode_doinit_with_dentry() 1512 sid = sbsec->sid; in inode_doinit_with_dentry() 1525 sid = sbsec->sid; in inode_doinit_with_dentry() 1585 isec->sid = sid; in inode_doinit_with_dentry() 1596 isec->sid = sid; in inode_doinit_with_dentry() 1831 sid = tsec->sid; in may_create() 2562 sid = tsec->sid; in selinux_bprm_committed_creds() 3708 fsec->sid = sid; in selinux_file_alloc_security() 4324 isec->sid = sid; in selinux_task_to_inode() [all …]
|
A D | ibpkey.c | 129 static int sel_ib_pkey_sid_slow(u64 subnet_prefix, u16 pkey_num, u32 *sid) in sel_ib_pkey_sid_slow() argument 139 *sid = pkey->psec.sid; in sel_ib_pkey_sid_slow() 145 sid); in sel_ib_pkey_sid_slow() 160 new->psec.sid = *sid; in sel_ib_pkey_sid_slow() 181 int sel_ib_pkey_sid(u64 subnet_prefix, u16 pkey_num, u32 *sid) in sel_ib_pkey_sid() argument 188 *sid = pkey->psec.sid; in sel_ib_pkey_sid() 194 return sel_ib_pkey_sid_slow(subnet_prefix, pkey_num, sid); in sel_ib_pkey_sid()
|
A D | netport.c | 137 static int sel_netport_sid_slow(u8 protocol, u16 pnum, u32 *sid) in sel_netport_sid_slow() argument 146 *sid = port->psec.sid; in sel_netport_sid_slow() 151 ret = security_port_sid(&selinux_state, protocol, pnum, sid); in sel_netport_sid_slow() 158 new->psec.sid = *sid; in sel_netport_sid_slow() 183 int sel_netport_sid(u8 protocol, u16 pnum, u32 *sid) in sel_netport_sid() argument 190 *sid = port->psec.sid; in sel_netport_sid() 196 return sel_netport_sid_slow(protocol, pnum, sid); in sel_netport_sid()
|
A D | netnode.c | 189 static int sel_netnode_sid_slow(void *addr, u16 family, u32 *sid) in sel_netnode_sid_slow() argument 198 *sid = node->nsec.sid; in sel_netnode_sid_slow() 207 addr, sizeof(struct in_addr), sid); in sel_netnode_sid_slow() 213 addr, sizeof(struct in6_addr), sid); in sel_netnode_sid_slow() 223 new->nsec.sid = *sid; in sel_netnode_sid_slow() 249 int sel_netnode_sid(void *addr, u16 family, u32 *sid) in sel_netnode_sid() argument 256 *sid = node->nsec.sid; in sel_netnode_sid() 262 return sel_netnode_sid_slow(addr, family, sid); in sel_netnode_sid()
|
A D | netif.c | 132 static int sel_netif_sid_slow(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid_slow() argument 152 *sid = netif->nsec.sid; in sel_netif_sid_slow() 156 ret = security_netif_sid(&selinux_state, dev->name, sid); in sel_netif_sid_slow() 163 new->nsec.sid = *sid; in sel_netif_sid_slow() 191 int sel_netif_sid(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid() argument 198 *sid = netif->nsec.sid; in sel_netif_sid() 204 return sel_netif_sid_slow(ns, ifindex, sid); in sel_netif_sid()
|
A D | xfrm.c | 107 tsec->sid, ctx->ctx_sid, in selinux_xfrm_alloc_user() 144 tsec->sid, ctx->ctx_sid, in selinux_xfrm_delete() 228 u32 *sid, int ckall) in selinux_xfrm_skb_sid_ingress() argument 246 *sid = SECSID_NULL; in selinux_xfrm_skb_sid_ingress() 254 *sid = sid_session; in selinux_xfrm_skb_sid_ingress() 265 *sid = SECSID_NULL; in selinux_xfrm_decode_session() 268 return selinux_xfrm_skb_sid_ingress(skb, sid, ckall); in selinux_xfrm_decode_session() 271 int selinux_xfrm_skb_sid(struct sk_buff *skb, u32 *sid) in selinux_xfrm_skb_sid() argument 275 rc = selinux_xfrm_skb_sid_ingress(skb, sid, 0); in selinux_xfrm_skb_sid() 276 if (rc == 0 && *sid == SECSID_NULL) in selinux_xfrm_skb_sid() [all …]
|
A D | netlabel.c | 45 u32 *sid) in selinux_netlbl_sidlookup_cached() argument 102 u32 sid) in selinux_netlbl_sock_getattr() argument 111 (secattr->attr.secid == sid)) in selinux_netlbl_sock_getattr() 192 u32 *sid) in selinux_netlbl_skbuff_getsid() argument 198 *sid = SECSID_NULL; in selinux_netlbl_skbuff_getsid() 206 &secattr, sid); in selinux_netlbl_skbuff_getsid() 208 *sid = SECSID_NULL; in selinux_netlbl_skbuff_getsid() 228 u32 sid) in selinux_netlbl_skbuff_setsid() argument 243 secattr = selinux_netlbl_sock_getattr(sk, sid); in selinux_netlbl_skbuff_setsid() 248 rc = security_netlbl_sid_to_secattr(&selinux_state, sid, in selinux_netlbl_skbuff_setsid() [all …]
|
/linux/drivers/nvmem/ |
A D | sunxi_sid.c | 43 struct sunxi_sid *sid = context; in sunxi_sid_read() local 45 memcpy_fromio(val, sid->base + sid->value_offset + offset, bytes); in sunxi_sid_read() 71 writel(0, sid->base + SUN8I_SID_PRCTL); in sun8i_sid_register_readout() 84 struct sunxi_sid *sid = context; in sun8i_sid_read_by_reg() local 118 struct sunxi_sid *sid; in sunxi_sid_probe() local 123 sid = devm_kzalloc(dev, sizeof(*sid), GFP_KERNEL); in sunxi_sid_probe() 124 if (!sid) in sunxi_sid_probe() 130 sid->value_offset = cfg->value_offset; in sunxi_sid_probe() 134 if (IS_ERR(sid->base)) in sunxi_sid_probe() 135 return PTR_ERR(sid->base); in sunxi_sid_probe() [all …]
|
/linux/security/selinux/include/ |
A D | objsec.h | 33 u32 sid; /* current SID */ member 50 u32 sid; /* SID of this object */ member 75 u32 sid; /* SID of message */ member 80 u32 sid; /* SID of IPC resource */ member 94 u32 sid; /* SID for this node */ member 99 u32 sid; /* SID for this node */ member 115 u32 sid; /* SID of this object */ member 129 u32 sid; /* SID of key */ member 139 u32 sid; /* SID of pkey */ member 143 u32 sid; /* SID of bpf obj creator */ member [all …]
|
/linux/Documentation/devicetree/bindings/nvmem/ |
A D | allwinner,sun4i-a10-sid.yaml | 19 - const: allwinner,sun4i-a10-sid 20 - const: allwinner,sun7i-a20-sid 21 - const: allwinner,sun8i-a83t-sid 22 - const: allwinner,sun8i-h3-sid 23 - const: allwinner,sun50i-a64-sid 25 - const: allwinner,sun50i-a100-sid 26 - const: allwinner,sun50i-a64-sid 27 - const: allwinner,sun50i-h5-sid 28 - const: allwinner,sun50i-h6-sid 42 compatible = "allwinner,sun4i-a10-sid"; [all …]
|
/linux/sound/core/ |
A D | ctljack.c | 32 struct snd_ctl_elem_id sid; in get_available_index() local 34 memset(&sid, 0, sizeof(sid)); in get_available_index() 36 sid.index = 0; in get_available_index() 37 sid.iface = SNDRV_CTL_ELEM_IFACE_CARD; in get_available_index() 38 strscpy(sid.name, name, sizeof(sid.name)); in get_available_index() 40 while (snd_ctl_find_id(card, &sid)) { in get_available_index() 41 sid.index++; in get_available_index() 43 sid.numid = 0; in get_available_index() 46 return sid.index; in get_available_index()
|
/linux/security/selinux/ss/ |
A D | sidtab.c | 31 #define sid_to_index(sid) (sid - (SECINITSID_NUM + 1)) argument 61 u32 sid = 0; in context_to_sid() local 68 sid = entry->sid; in context_to_sid() 73 return sid; in context_to_sid() 82 if (sid == 0 || sid > SECINITSID_NUM) in sidtab_set_initial() 105 isid->entry.sid = sid; in sidtab_set_initial() 234 return s->isids[sid - 1].set ? &s->isids[sid - 1].entry : NULL; in sidtab_lookup_initial() 240 if (sid != 0) { in sidtab_search_core() 265 u32 *sid) in sidtab_context_to_sid() argument 274 if (*sid) in sidtab_context_to_sid() [all …]
|
A D | sidtab.h | 21 u32 sid; member 107 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context); 108 struct sidtab_entry *sidtab_search_entry(struct sidtab *s, u32 sid); 109 struct sidtab_entry *sidtab_search_entry_force(struct sidtab *s, u32 sid); 111 static inline struct context *sidtab_search(struct sidtab *s, u32 sid) in sidtab_search() argument 113 struct sidtab_entry *entry = sidtab_search_entry(s, sid); in sidtab_search() 118 static inline struct context *sidtab_search_force(struct sidtab *s, u32 sid) in sidtab_search_force() argument 120 struct sidtab_entry *entry = sidtab_search_entry_force(s, sid); in sidtab_search_force() 132 int sidtab_context_to_sid(struct sidtab *s, struct context *context, u32 *sid);
|
/linux/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
A D | isys_stream2mmio_rmgr.c | 40 stream2mmio_sid_ID_t *sid) in ia_css_isys_stream2mmio_sid_rmgr_acquire() argument 48 assert(sid); in ia_css_isys_stream2mmio_sid_rmgr_acquire() 50 if ((stream2mmio < N_STREAM2MMIO_ID) && (sid)) { in ia_css_isys_stream2mmio_sid_rmgr_acquire() 58 *sid = i; in ia_css_isys_stream2mmio_sid_rmgr_acquire() 71 stream2mmio_sid_ID_t *sid) in ia_css_isys_stream2mmio_sid_rmgr_release() argument 77 assert(sid); in ia_css_isys_stream2mmio_sid_rmgr_release() 79 if ((stream2mmio < N_STREAM2MMIO_ID) && (sid)) { in ia_css_isys_stream2mmio_sid_rmgr_release() 82 if ((*sid < max_sid) && (cur_rsrc->num_active > 0)) { in ia_css_isys_stream2mmio_sid_rmgr_release() 83 if (bitop_getbit(cur_rsrc->active_table, *sid) == 1) { in ia_css_isys_stream2mmio_sid_rmgr_release() 84 bitop_clearbit(cur_rsrc->active_table, *sid); in ia_css_isys_stream2mmio_sid_rmgr_release()
|
/linux/net/sctp/ |
A D | stream_sched.c | 202 if (sid >= asoc->stream.outcnt) in sctp_sched_set_value() 205 if (!SCTP_SO(&asoc->stream, sid)->ext) { in sctp_sched_set_value() 208 ret = sctp_stream_init_ext(&asoc->stream, sid); in sctp_sched_set_value() 219 if (sid >= asoc->stream.outcnt) in sctp_sched_get_value() 222 if (!SCTP_SO(&asoc->stream, sid)->ext) in sctp_sched_get_value() 225 return asoc->outqueue.sched->get(&asoc->stream, sid, value); in sctp_sched_get_value() 233 __u16 sid; in sctp_sched_dequeue_done() local 239 sid = sctp_chunk_stream_no(ch); in sctp_sched_dequeue_done() 240 sout = SCTP_SO(&q->asoc->stream, sid); in sctp_sched_dequeue_done() 260 struct sctp_stream_out_ext *ext = SCTP_SO(stream, sid)->ext; in sctp_sched_init_sid() [all …]
|
A D | stream_sched_rr.c | 65 static int sctp_sched_rr_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_rr_set() argument 88 INIT_LIST_HEAD(&SCTP_SO(stream, sid)->ext->rr_list); in sctp_sched_rr_init_sid() 103 __u16 sid; in sctp_sched_rr_enqueue() local 106 sid = sctp_chunk_stream_no(ch); in sctp_sched_rr_enqueue() 108 sctp_sched_rr_sched(stream, SCTP_SO(stream, sid)->ext); in sctp_sched_rr_enqueue() 138 __u16 sid; in sctp_sched_rr_dequeue_done() local 141 sid = sctp_chunk_stream_no(ch); in sctp_sched_rr_dequeue_done() 142 soute = SCTP_SO(&q->asoc->stream, sid)->ext; in sctp_sched_rr_dequeue_done() 158 __u16 sid; in sctp_sched_rr_sched_all() local 160 sid = sctp_chunk_stream_no(ch); in sctp_sched_rr_sched_all() [all …]
|
A D | stream_sched_prio.c | 153 struct sctp_stream_out *sout = SCTP_SO(stream, sid); in sctp_sched_prio_set() 189 *value = SCTP_SO(stream, sid)->ext->prio_head->prio; in sctp_sched_prio_get() 204 return sctp_sched_prio_set(stream, sid, 0, gfp); in sctp_sched_prio_init_sid() 238 __u16 sid; in sctp_sched_prio_enqueue() local 241 sid = sctp_chunk_stream_no(ch); in sctp_sched_prio_enqueue() 279 __u16 sid; in sctp_sched_prio_dequeue_done() local 284 sid = sctp_chunk_stream_no(ch); in sctp_sched_prio_dequeue_done() 285 soute = SCTP_SO(&q->asoc->stream, sid)->ext; in sctp_sched_prio_dequeue_done() 302 __u16 sid; in sctp_sched_prio_sched_all() local 304 sid = sctp_chunk_stream_no(ch); in sctp_sched_prio_sched_all() [all …]
|
A D | stream_interleave.c | 53 __u16 sid; in sctp_chunk_assign_mid() local 90 __u16 sid, ssn; in sctp_validate_data() local 109 __u16 sid; in sctp_validate_idata() local 452 __u16 sid; in sctp_intl_order() local 455 sid = event->stream; in sctp_intl_order() 769 __u16 sid = 0; in sctp_intl_retrieve_first_uo() local 875 __u16 sid = 0; in sctp_intl_retrieve_first() local 1026 if (csid > sid) in sctp_intl_reap_ordered() 1029 if (csid < sid) in sctp_intl_reap_ordered() 1064 __u16 sid; in sctp_intl_abort_pd() local [all …]
|
/linux/fs/ksmbd/ |
A D | smbacl.c | 607 if (!sid) in set_posix_acl_entries_dacl() 626 kfree(sid); in set_posix_acl_entries_dacl() 631 if (ntace->sid.sub_auth[ntace->sid.num_subauth - 1] == in set_posix_acl_entries_dacl() 632 sid->sub_auth[sid->num_subauth - 1]) in set_posix_acl_entries_dacl() 661 kfree(sid); in set_posix_acl_entries_dacl() 674 if (!sid) in set_posix_acl_entries_dacl() 688 kfree(sid); in set_posix_acl_entries_dacl() 699 kfree(sid); in set_posix_acl_entries_dacl() 765 pace->sid.sub_auth[pace->sid.num_subauth++] = in set_mode_dacl() 981 smb_copy_sid(&ace->sid, sid); in smb_set_ace() [all …]
|
/linux/drivers/iommu/ |
A D | apple-dart.c | 75 #define DART_TCR(sid) (0x100 + 4 * (sid)) argument 80 #define DART_TTBR(sid, idx) (0x200 + 16 * (sid) + 4 * (idx)) argument 197 int sid; in apple_dart_hw_enable_translation() local 206 int sid; in apple_dart_hw_disable_dma() local 215 int sid; in apple_dart_hw_enable_bypass() local 226 int sid; in apple_dart_hw_set_ttbr() local 237 int sid; in apple_dart_hw_clear_ttbr() local 611 int i, sid; in apple_dart_of_xlate() local 615 sid = args->args[0]; in apple_dart_of_xlate() 654 int i, sid; in apple_dart_release_group() local [all …]
|
/linux/drivers/net/ppp/ |
A D | pppoe.c | 117 return sid != 0; in stage_session() 127 return a->sid == b->sid && ether_addr_equal(a->remote, b->remote); in cmp_2_addr() 132 return a->sid == sid && ether_addr_equal(a->remote, addr); in cmp_addr() 147 hash ^= (__force __u32)sid >> i; in hash_item() 162 int hash = hash_item(sid, addr); in __get_item() 200 int hash = hash_item(sid, addr); in __delete_item() 648 delete_item(pn, po->pppoe_pa.sid, in pppoe_connect() 699 delete_item(pn, po->pppoe_pa.sid, in pppoe_connect() 707 po->num = sp->sa_addr.pppoe.sid; in pppoe_connect() 858 hdr.sid = po->num; in pppoe_sendmsg() [all …]
|
/linux/drivers/firewire/ |
A D | core-topology.c | 49 q = *sid; in count_ports() 69 return sid + 1; in count_ports() 72 sid++; in count_ports() 73 q = *sid; in count_ports() 97 return (sid[index] >> shift) & 0x03; in get_port_type() 172 u32 *sid, int self_id_count) in build_tree() argument 185 end = sid + self_id_count; in build_tree() 191 while (sid < end) { in build_tree() 199 q = *sid; in build_tree() 238 switch (get_port_type(sid, i)) { in build_tree() [all …]
|