Home
last modified time | relevance | path

Searched full:sid (Results 1 – 25 of 304) sorted by relevance

12345678910>>...13

/linux/include/dt-bindings/iio/
H A Dqcom,spmi-adc7-pm8350.h12 #define PM8350_ADC7_REF_GND(sid) ((sid) << 8 | ADC7_REF_GND) argument
13 #define PM8350_ADC7_1P25VREF(sid) ((sid) << 8 | ADC7_1P25VREF) argument
14 #define PM8350_ADC7_VREF_VADC(sid) ((sid) << 8 | ADC7_VREF_VADC) argument
15 #define PM8350_ADC7_DIE_TEMP(sid) ((sid) << 8 | ADC7_DIE_TEMP) argument
17 #define PM8350_ADC7_AMUX_THM1(sid) ((sid) << 8 | ADC7_AMUX_THM1) argument
18 #define PM8350_ADC7_AMUX_THM2(sid) ((sid) << 8 | ADC7_AMUX_THM2) argument
19 #define PM8350_ADC7_AMUX_THM3(sid) ((sid) << 8 | ADC7_AMUX_THM3) argument
20 #define PM8350_ADC7_AMUX_THM4(sid) ((sid) << 8 | ADC7_AMUX_THM4) argument
21 #define PM8350_ADC7_AMUX_THM5(sid) ((sid) << 8 | ADC7_AMUX_THM5) argument
22 #define PM8350_ADC7_GPIO1(sid) ((sid) << 8 | ADC7_GPIO1) argument
[all …]
/linux/drivers/memory/tegra/
H A Dtegra186.c34 * From Tegra264, the SID region is not present in MC node and BROADCAST is first. in tegra186_mc_probe()
36 * Check if the SID region is present in DT then map BROADCAST. Otherwise, consider in tegra186_mc_probe()
38 * mapping the region twice when SID is not present and keep backward compatibility. in tegra186_mc_probe()
40 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "sid"); in tegra186_mc_probe()
86 unsigned int sid) in tegra186_mc_client_sid_override() argument
90 if (client->regs.sid.security == 0 && client->regs.sid.override == 0) in tegra186_mc_client_sid_override()
93 value = readl(mc->regs + client->regs.sid.security); in tegra186_mc_client_sid_override()
112 writel(value, mc->regs + client->regs.sid.security); in tegra186_mc_client_sid_override()
115 value = readl(mc->regs + client->regs.sid in tegra186_mc_client_sid_override()
131 u32 sid; tegra186_mc_probe_device() local
[all...]
/linux/security/selinux/include/
H A Dobjsec.h34 u32 isid; /* inode SID */
39 u32 osid; /* SID prior to last execve */
40 u32 sid; /* current SID */ member
41 u32 exec_sid; /* exec SID */
42 u32 create_sid; /* fscreate SID */
43 u32 keycreate_sid; /* keycreate SID */
44 u32 sockcreate_sid; /* fscreate SID */
50 u32 sid; /* current SID for cached entries */ member
59 u32 sid) in task_avdcache_permnoaudit() argument
62 sid == tsec->avdcache.sid && in task_avdcache_permnoaudit()
[all …]
/linux/include/trace/events/
H A Dspmi.h16 TP_PROTO(u8 opcode, u8 sid, u16 addr, u8 len, const u8 *buf),
17 TP_ARGS(opcode, sid, addr, len, buf),
21 __field ( u8, sid )
29 __entry->sid = sid;
35 TP_printk("opc=%d sid=%02d addr=0x%04x len=%d buf=0x[%*phD]",
36 (int)__entry->opcode, (int)__entry->sid,
42 TP_PROTO(u8 opcode, u8 sid, u16 addr, int ret),
43 TP_ARGS(opcode, sid, addr, ret),
47 __field ( u8, sid )
54 __entry->sid = sid;
[all …]
/linux/drivers/nvmem/
H A Dsunxi_sid.c19 /* Registers and special values for doing register-based SID readout on H3 */
42 struct sunxi_sid *sid = context; in sunxi_sid_read() local
46 __ioread32_copy(val, sid->base + sid->value_offset + offset, bytes / 4); in sunxi_sid_read()
56 word = readl_relaxed(sid->base + sid->value_offset + offset); in sunxi_sid_read()
62 static int sun8i_sid_register_readout(const struct sunxi_sid *sid, in sun8i_sid_register_readout() argument
73 writel(reg_val, sid->base + SUN8I_SID_PRCTL); in sun8i_sid_register_readout()
75 ret = readl_poll_timeout(sid->base + SUN8I_SID_PRCTL, reg_val, in sun8i_sid_register_readout()
81 *out = readl(sid in sun8i_sid_register_readout()
96 struct sunxi_sid *sid = context; sun8i_sid_read_by_reg() local
129 struct sunxi_sid *sid; sunxi_sid_probe() local
[all...]
/linux/tools/testing/selftests/net/
H A Dsrv6_end_x_next_csid_l3vpn_test.sh7 # This script is designed for testing the support of NEXT-C-SID flavor for SRv6
9 # A basic knowledge of SRv6 architecture [1] and of the compressed SID approach
15 # the NEXT-C-SID flavor. The key components for such VPNs are:
21 # variant of SRv6 End behavior. It advances the active SID in the SID
24 # iii) The NEXT-C-SID mechanism [2] offers the possibility of encoding several
25 # SRv6 segments within a single 128-bit SID address, referred to as a
26 # Compressed SID (C-SID) container. In this way, the length of the SID
[all...]
H A Dsrv6_end_next_csid_l3vpn_test.sh6 # This script is designed for testing the support of NEXT-C-SID flavor for SRv6
8 # A basic knowledge of SRv6 architecture [1] and of the compressed SID approach
14 # the NEXT-C-SID flavor. The key components for such VPNs are:
19 # ii) The SRv6 End behavior [1] advances the active SID in the SID List
22 # iii) The NEXT-C-SID mechanism [2] offers the possibility of encoding several
23 # SRv6 segments within a single 128-bit SID address, referred to as a
24 # Compressed SID (C-SID) container. In this way, the length of the SID
[all...]
/linux/Documentation/devicetree/bindings/nvmem/
H A Dallwinner,sun4i-a10-sid.yaml4 $id: http://devicetree.org/schemas/nvmem/allwinner,sun4i-a10-sid.yaml#
20 - const: allwinner,sun4i-a10-sid
21 - const: allwinner,sun7i-a20-sid
22 - const: allwinner,sun8i-a83t-sid
23 - const: allwinner,sun8i-h3-sid
24 - const: allwinner,sun20i-d1-sid
25 - const: allwinner,sun50i-a64-sid
28 - allwinner,sun50i-a100-sid
29 - allwinner,sun50i-h616-sid
30 - allwinner,sun55i-a523-sid
[all …]
/linux/security/selinux/
H A Dhooks.c222 crsec->osid = crsec->sid = SECINITSID_KERNEL; in cred_init_security()
233 return crsec->sid; in cred_sid()
268 u32 sid; in task_sid_obj()
271 sid = cred_sid(__task_cred(task)); in task_sid_obj()
273 return sid;
442 static int may_context_mount_sb_relabel(u32 sid, in may_context_mount_sb_relabel()
449 rc = avc_has_perm(crsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel()
454 rc = avc_has_perm(crsec->sid, sid, SECCLASS_FILESYSTE in may_context_mount_sb_relabel()
266 u32 sid; task_sid_obj() local
440 may_context_mount_sb_relabel(u32 sid,struct superblock_security_struct * sbsec,const struct cred * cred) may_context_mount_sb_relabel() argument
457 may_context_mount_inode_relabel(u32 sid,struct superblock_security_struct * sbsec,const struct cred * cred) may_context_mount_inode_relabel() argument
521 u32 sid; sb_check_xattr_support() local
998 u32 sid = oldsbsec->mntpoint_sid; selinux_sb_clone_mnt_opts() local
1084 show_sid(struct seq_file * m,u32 sid) show_sid() argument
1342 selinux_genfs_get_sid(struct dentry * dentry,u16 tclass,u16 flags,u32 * sid) selinux_genfs_get_sid() argument
1378 inode_doinit_use_xattr(struct inode * inode,struct dentry * dentry,u32 def_sid,u32 * sid) inode_doinit_use_xattr() argument
1443 u32 task_sid, sid = 0; inode_doinit_with_dentry() local
1656 u32 sid = cred_sid(cred); cred_has_capability() local
1689 inode_sid_has_perm(u32 sid,struct inode * inode,u32 perms,struct common_audit_data * adp) inode_sid_has_perm() argument
1868 u32 sid, newsid; may_create() local
1912 u32 sid = current_sid(); may_link() local
1955 u32 sid = current_sid(); may_rename() local
2010 u32 sid = cred_sid(cred); superblock_has_perm() local
2122 u32 sid = cred_sid(to); selinux_binder_transfer_file() local
2158 u32 sid = current_sid(); selinux_ptrace_access_check() local
2286 u32 sid = 0; ptrace_parent_sid() local
2582 u32 osid, sid; selinux_bprm_committed_creds() local
2917 u32 sid = current_sid(); selinux_inode_alloc_security() local
3028 u32 sid = current_sid(); selinux_inode_init_security_anon() local
3143 u32 sid = current_sid(); selinux_inode_follow_link() local
3262 u32 sid = current_sid(); selinux_inode_permission() local
3391 u32 newsid, sid = current_sid(); selinux_inode_setxattr() local
3833 u32 sid = current_sid(); selinux_file_permission() local
3851 u32 sid = current_sid(); selinux_file_alloc_security() local
4109 u32 sid = current_sid(); __file_map_prot_check() local
4145 u32 sid = current_sid(); selinux_mmap_addr() local
4221 u32 sid = cred_sid(cred); selinux_file_mprotect() local
4353 u32 sid = task_sid_obj(tsk); selinux_file_send_sigiotask() local
4410 u32 sid = current_sid(); selinux_task_alloc() local
4459 u32 sid = current_sid(); selinux_kernel_act_as() local
4483 u32 sid = current_sid(); selinux_kernel_create_files_as() local
4512 u32 sid = current_sid(); selinux_kernel_load_from_file() local
4725 u32 sid = task_sid_obj(p); selinux_task_to_inode() local
4736 u32 sid = current_sid(); selinux_userns_create() local
4955 selinux_skb_peerlbl_sid(struct sk_buff * skb,u16 family,u32 * sid) selinux_skb_peerlbl_sid() argument
5020 sock_skip_has_perm(u32 sid) sock_skip_has_perm() argument
5084 u32 sid = SECINITSID_KERNEL; selinux_socket_post_create() local
5147 u32 sid, node_perm; __selinux_socket_bind() local
5295 u32 sid, perm; selinux_socket_connect_helper() local
5375 u32 sid; selinux_socket_accept() local
6012 selinux_secmark_relabel_packet(u32 sid) selinux_secmark_relabel_packet() argument
6044 u32 sid = current_sid(); selinux_tun_dev_create() local
6086 u32 sid = current_sid(); selinux_tun_dev_open() local
6163 u32 sid; selinux_ip_output() local
6467 u32 sid = current_sid(); ipc_has_perm() local
6492 u32 sid = current_sid(); selinux_msg_queue_alloc_security() local
6508 u32 sid = current_sid(); selinux_msg_queue_associate() local
6552 u32 sid = current_sid(); selinux_msg_queue_msgsnd() local
6597 u32 sid = task_sid_obj(target); selinux_msg_queue_msgrcv() local
6619 u32 sid = current_sid(); selinux_shm_alloc_security() local
6635 u32 sid = current_sid(); selinux_shm_associate() local
6697 u32 sid = current_sid(); selinux_sem_alloc_security() local
6713 u32 sid = current_sid(); selinux_sem_associate() local
6815 u32 sid; selinux_lsm_getattr() local
6870 u32 mysid = current_sid(), sid = 0, ptsid; selinux_lsm_setattr() local
7181 u32 perm, sid; selinux_key_permission() local
7239 u32 sid = current_sid(); selinux_watch_key() local
7251 u32 sid = 0; selinux_ib_pkey_access() local
7273 u32 sid = 0; selinux_ib_endport_manage_subnet() local
7305 u32 sid = current_sid(); selinux_bpf() local
7347 bpf_fd_pass(const struct file * file,u32 sid) bpf_fd_pass() argument
7374 u32 sid = current_sid(); selinux_bpf_map() local
7384 u32 sid = current_sid(); selinux_bpf_prog() local
7518 u32 requested, sid = current_sid(); selinux_perf_event_open() local
7548 u32 sid = current_sid(); selinux_perf_event_read() local
7557 u32 sid = current_sid(); selinux_perf_event_write() local
7586 u32 sid = current_sid(); selinux_uring_sqpoll() local
7621 u32 sid = current_sid(); selinux_uring_allowed() local
[all...]
H A Dibpkey.c119 * sel_ib_pkey_sid_slow - Lookup the SID of a pkey using the policy
122 * @sid: pkey SID
125 * This function determines the SID of a pkey by querying the security
130 static int sel_ib_pkey_sid_slow(u64 subnet_prefix, u16 pkey_num, u32 *sid) in sel_ib_pkey_sid_slow() argument
140 *sid = pkey->psec.sid; in sel_ib_pkey_sid_slow()
146 sid); in sel_ib_pkey_sid_slow()
152 /* If this memory allocation fails still return 0. The SID in sel_ib_pkey_sid_slow()
160 new->psec.sid in sel_ib_pkey_sid_slow()
181 sel_ib_pkey_sid(u64 subnet_prefix,u16 pkey_num,u32 * sid) sel_ib_pkey_sid() argument
[all...]
H A Dnetport.c121 * sel_netport_sid_slow - Lookup the SID of a network address using the policy
124 * @sid: port SID
127 * This function determines the SID of a network port by querying the security
132 static int sel_netport_sid_slow(u8 protocol, u16 pnum, u32 *sid) in sel_netport_sid_slow() argument
141 *sid = port->psec.sid; in sel_netport_sid_slow()
146 ret = security_port_sid(protocol, pnum, sid); in sel_netport_sid_slow()
150 /* If this memory allocation fails still return 0. The SID in sel_netport_sid_slow()
157 new->psec.sid = *sid; in sel_netport_sid_slow()
170 * sel_netport_sid - Lookup the SID of a network port
173 * @sid: port SID
[all …]
H A Dnetif.c6 * maintain a table associating each interface with a SID.
121 * sel_netif_sid_slow - Lookup the SID of a network interface using the policy
124 * @sid: interface SID
127 * This function determines the SID of a network interface by querying the
133 static int sel_netif_sid_slow(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid_slow() argument
153 *sid = netif->nsec.sid; in sel_netif_sid_slow()
157 ret = security_netif_sid(dev->name, sid); in sel_netif_sid_slow()
161 /* If this memory allocation fails still return 0. The SID in sel_netif_sid_slow()
168 new->nsec.sid = *sid; in sel_netif_sid_slow()
183 * sel_netif_sid - Lookup the SID of a network interface
[all …]
H A Dnetnode.c179 * sel_netnode_sid_slow - Lookup the SID of a network address using the policy
182 * @sid: node SID
185 * This function determines the SID of a network address by querying the
191 static int sel_netnode_sid_slow(const void *addr, u16 family, u32 *sid) in sel_netnode_sid_slow() argument
200 *sid = node->nsec.sid; in sel_netnode_sid_slow()
205 /* If this memory allocation fails still return 0. The SID in sel_netnode_sid_slow()
212 addr, sizeof(struct in_addr), sid); in sel_netnode_sid_slow()
218 addr, sizeof(struct in6_addr), sid); in sel_netnode_sid_slow()
228 new->nsec.sid = *sid; in sel_netnode_sid_slow()
241 * sel_netnode_sid - Lookup the SID of a network address
[all …]
H A Dnetlabel.c31 * selinux_netlbl_sidlookup_cached - Cache a SID lookup
35 * @sid: the SID
38 * Query the SELinux security server to lookup the correct SID for the given
46 u32 *sid) in selinux_netlbl_sidlookup_cached() argument
50 rc = security_netlbl_secattr_to_sid(secattr, sid); in selinux_netlbl_sidlookup_cached()
82 rc = security_netlbl_sid_to_secattr(sksec->sid, secattr); in selinux_netlbl_sock_genattr()
95 * @sid: the SID
97 * Query the socket's cached secattr and if the SID matche
103 selinux_netlbl_sock_getattr(const struct sock * sk,u32 sid) selinux_netlbl_sock_getattr() argument
197 selinux_netlbl_skbuff_getsid(struct sk_buff * skb,u16 family,u32 * type,u32 * sid) selinux_netlbl_skbuff_getsid() argument
234 selinux_netlbl_skbuff_setsid(struct sk_buff * skb,u16 family,u32 sid) selinux_netlbl_skbuff_setsid() argument
[all...]
/linux/fs/smb/server/
H A Dsmbacl.c170 * This function is called for every ACE in the DACL whose SID matches
213 pntace->sid.revision = psid->revision; in fill_ace_for_sid()
214 pntace->sid.num_subauth = psid->num_subauth; in fill_ace_for_sid()
216 pntace->sid.authority[i] = psid->authority[i]; in fill_ace_for_sid()
218 pntace->sid.sub_auth[i] = psid->sub_auth[i]; in fill_ace_for_sid()
430 (offsetof(struct smb_ace, sid) + in parse_dacl()
463 acl_size = offsetof(struct smb_ace, sid) + in parse_dacl()
467 ppace[i]->sid.num_subauth == 0 || in parse_dacl()
468 ppace[i]->sid.num_subauth > SID_MAX_SUB_AUTHORITIES || in parse_dacl()
470 acl_size + sizeof(__le32) * ppace[i]->sid in parse_dacl()
629 struct smb_sid *sid; set_posix_acl_entries_dacl() local
819 const struct smb_sid *sid; set_mode_dacl() local
1126 smb_set_ace(struct smb_ace * ace,const struct smb_sid * sid,u8 type,u8 flags,__le32 access_req) smb_set_ace() argument
1138 smb_append_inherited_ace(struct smb_ace ** ace,int * nt_size,u16 * ace_cnt,const struct smb_sid * sid,u8 type,u8 flags,__le32 access_req) smb_append_inherited_ace() argument
1156 smb_validate_ntsd_sid(struct smb_ntsd * pntsd,size_t pntsd_size,unsigned int sid_offset,struct smb_sid ** sid,size_t * sid_size) smb_validate_ntsd_sid() argument
1461 struct smb_sid sid; smb_check_perm_dacl() local
[all...]
/linux/net/sctp/
H A Dstream_sched_fc.c27 static int sctp_sched_wfq_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_wfq_set() argument
30 struct sctp_stream_out_ext *soute = SCTP_SO(stream, sid)->ext; in sctp_sched_wfq_set()
39 static int sctp_sched_wfq_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_wfq_get() argument
42 struct sctp_stream_out_ext *soute = SCTP_SO(stream, sid)->ext; in sctp_sched_wfq_get()
48 static int sctp_sched_fc_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_fc_set() argument
54 static int sctp_sched_fc_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_fc_get() argument
67 static int sctp_sched_fc_init_sid(struct sctp_stream *stream, __u16 sid, in sctp_sched_fc_init_sid() argument
70 struct sctp_stream_out_ext *soute = SCTP_SO(stream, sid)->ext; in sctp_sched_fc_init_sid()
79 static void sctp_sched_fc_free_sid(struct sctp_stream *stream, __u16 sid) in sctp_sched_fc_free_sid() argument
103 __u16 sid; in sctp_sched_fc_enqueue() local
137 __u16 sid, i; sctp_sched_fc_dequeue_done() local
176 __u16 sid = sctp_chunk_stream_no(ch); sctp_sched_fc_sched_all() local
[all...]
H A Dstream_sched.c25 static int sctp_sched_fcfs_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_fcfs_set() argument
31 static int sctp_sched_fcfs_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_fcfs_get() argument
43 static int sctp_sched_fcfs_init_sid(struct sctp_stream *stream, __u16 sid, in sctp_sched_fcfs_init_sid() argument
49 static void sctp_sched_fcfs_free_sid(struct sctp_stream *stream, __u16 sid) in sctp_sched_fcfs_free_sid() argument
206 int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_set_value() argument
209 if (sid >= asoc->stream.outcnt) in sctp_sched_set_value()
212 if (!SCTP_SO(&asoc->stream, sid)->ext) { in sctp_sched_set_value()
215 ret = sctp_stream_init_ext(&asoc->stream, sid); in sctp_sched_set_value()
220 return asoc->outqueue.sched->set(&asoc->stream, sid, value, gfp); in sctp_sched_set_value()
223 int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_get_value() argument
240 __u16 sid; sctp_sched_dequeue_done() local
264 sctp_sched_init_sid(struct sctp_stream * stream,__u16 sid,gfp_t gfp) sctp_sched_init_sid() argument
[all...]
H A Dstream_sched_prio.c163 static int sctp_sched_prio_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_prio_set() argument
166 struct sctp_stream_out *sout = SCTP_SO(stream, sid); in sctp_sched_prio_set()
188 static int sctp_sched_prio_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_prio_get() argument
191 *value = SCTP_SO(stream, sid)->ext->prio_head->prio; in sctp_sched_prio_get()
202 static int sctp_sched_prio_init_sid(struct sctp_stream *stream, __u16 sid, in sctp_sched_prio_init_sid() argument
205 INIT_LIST_HEAD(&SCTP_SO(stream, sid)->ext->prio_list); in sctp_sched_prio_init_sid()
206 return sctp_sched_prio_set(stream, sid, 0, gfp); in sctp_sched_prio_init_sid()
209 static void sctp_sched_prio_free_sid(struct sctp_stream *stream, __u16 sid) in sctp_sched_prio_free_sid() argument
211 sctp_sched_prio_head_put(SCTP_SO(stream, sid)->ext->prio_head); in sctp_sched_prio_free_sid()
212 SCTP_SO(stream, sid)->ext->prio_head = NULL; in sctp_sched_prio_free_sid()
[all …]
H A Dstream_sched_rr.c65 static int sctp_sched_rr_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_rr_set() argument
71 static int sctp_sched_rr_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_rr_get() argument
85 static int sctp_sched_rr_init_sid(struct sctp_stream *stream, __u16 sid, in sctp_sched_rr_init_sid() argument
88 INIT_LIST_HEAD(&SCTP_SO(stream, sid)->ext->rr_list); in sctp_sched_rr_init_sid()
93 static void sctp_sched_rr_free_sid(struct sctp_stream *stream, __u16 sid) in sctp_sched_rr_free_sid() argument
102 __u16 sid; in sctp_sched_rr_enqueue() local
105 sid = sctp_chunk_stream_no(ch); in sctp_sched_rr_enqueue()
107 sctp_sched_rr_sched(stream, SCTP_SO(stream, sid)->ext); in sctp_sched_rr_enqueue()
137 __u16 sid; in sctp_sched_rr_dequeue_done() local
140 sid in sctp_sched_rr_dequeue_done()
157 __u16 sid; sctp_sched_rr_sched_all() local
[all...]
H A Dstream_interleave.c53 __u16 sid; in sctp_chunk_assign_mid() local
58 sid = sctp_chunk_stream_no(chunk); in sctp_chunk_assign_mid()
76 sctp_mid_uo_next(stream, out, sid) : in sctp_chunk_assign_mid()
77 sctp_mid_uo_peek(stream, out, sid); in sctp_chunk_assign_mid()
80 sctp_mid_next(stream, out, sid) : in sctp_chunk_assign_mid()
81 sctp_mid_peek(stream, out, sid); in sctp_chunk_assign_mid()
90 __u16 sid, ssn; in sctp_validate_data() local
99 sid = sctp_chunk_stream_no(chunk); in sctp_validate_data()
102 return !SSN_lt(ssn, sctp_ssn_peek(stream, in, sid)); in sctp_validate_data()
109 __u16 sid; in sctp_validate_idata() local
423 __u16 sid = event->stream; sctp_intl_retrieve_ordered() local
452 __u16 sid; sctp_intl_order() local
763 __u16 sid = 0; sctp_intl_retrieve_first_uo() local
869 __u16 sid = 0; sctp_intl_retrieve_first() local
978 sctp_intl_stream_abort_pd(struct sctp_ulpq * ulpq,__u16 sid,__u32 mid,__u16 flags,gfp_t gfp) sctp_intl_stream_abort_pd() argument
1002 sctp_intl_reap_ordered(struct sctp_ulpq * ulpq,__u16 sid) sctp_intl_reap_ordered() argument
1056 __u16 sid; sctp_intl_abort_pd() local
1122 __be16 sid = chunk->subh.idata_hdr->stream; sctp_generate_iftsn() local
1251 sctp_intl_skip(struct sctp_ulpq * ulpq,__u16 sid,__u32 mid,__u8 flags) sctp_intl_skip() argument
[all...]
/linux/security/selinux/ss/
H A Dservices.c794 pr_err("SELinux: %s: unrecognized SID %d\n", in security_compute_validatetrans()
802 pr_err("SELinux: %s: unrecognized SID %d\n", in security_compute_validatetrans()
810 pr_err("SELinux: %s: unrecognized SID %d\n", in security_compute_validatetrans()
883 pr_err("SELinux: %s: unrecognized SID %u\n", in security_bounded_transition()
891 pr_err("SELinux: %s: unrecognized SID %u\n", in security_bounded_transition()
1062 pr_err("SELinux: %s: unrecognized SID %d\n", in security_compute_xperms_decision()
1069 pr_err("SELinux: %s: unrecognized SID %d\n", in security_compute_xperms_decision()
1122 * SID pair (@ssid, @tsid) for the permissions in @tclass.
1148 pr_err("SELinux: %s: unrecognized SID %d\n", in security_compute_av()
1167 pr_err("SELinux: %s: unrecognized SID in security_compute_av()
1350 security_get_initial_sid_context(u32 sid) security_get_initial_sid_context() argument
1357 security_sid_to_context_core(u32 sid,char ** scontext,u32 * scontext_len,bool force,bool only_invalid) security_sid_to_context_core() argument
1439 security_sid_to_context(u32 sid,char ** scontext,u32 * scontext_len) security_sid_to_context() argument
1445 security_sid_to_context_force(u32 sid,char ** scontext,u32 * scontext_len) security_sid_to_context_force() argument
1465 security_sid_to_context_inval(u32 sid,char ** scontext,u32 * scontext_len) security_sid_to_context_inval() argument
1554 security_context_to_sid_core(const char * scontext,u32 scontext_len,u32 * sid,u32 def_sid,gfp_t gfp_flags,bool force) security_context_to_sid_core() argument
1640 security_context_to_sid(const char * scontext,u32 scontext_len,u32 * sid,gfp_t gfp) security_context_to_sid() argument
1647 security_context_str_to_sid(const char * scontext,u32 * sid,gfp_t gfp) security_context_str_to_sid() argument
1673 security_context_to_sid_default(const char * scontext,u32 scontext_len,u32 * sid,u32 def_sid,gfp_t gfp_flags) security_context_to_sid_default() argument
1680 security_context_to_sid_force(const char * scontext,u32 scontext_len,u32 * sid) security_context_to_sid_force() argument
2424 u32 sid; ocontext_to_sid() local
2771 __security_genfs_sid(struct selinux_policy * policy,const char * fstype,const char * path,u16 orig_sclass,u32 * sid) __security_genfs_sid() argument
2831 security_genfs_sid(const char * fstype,const char * path,u16 orig_sclass,u32 * sid) security_genfs_sid() argument
2855 selinux_policy_genfs_sid(struct selinux_policy * policy,const char * fstype,const char * path,u16 orig_sclass,u32 * sid) selinux_policy_genfs_sid() argument
3106 security_sid_mls_copy(u32 sid,u32 mls_sid,u32 * new_sid) security_sid_mls_copy() argument
3735 security_netlbl_cache_add(struct netlbl_lsm_secattr * secattr,u32 sid) security_netlbl_cache_add() argument
3770 security_netlbl_secattr_to_sid(struct netlbl_lsm_secattr * secattr,u32 * sid) security_netlbl_secattr_to_sid() argument
3845 security_netlbl_sid_to_secattr(u32 sid,struct netlbl_lsm_secattr * secattr) security_netlbl_sid_to_secattr() argument
[all...]
H A Dsidtab.c3 * Implementation of the SID table type.
33 #define sid_to_index(sid) ((sid) - (SECINITSID_NUM + 1)) argument
63 u32 sid = 0; in context_to_sid() local
70 sid = entry->sid; in context_to_sid()
75 return sid; in context_to_sid()
78 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context) in sidtab_set_initial() argument
84 if (sid == 0 || sid > SECINITSID_NUM) in sidtab_set_initial()
87 isid = &s->isids[sid - 1]; in sidtab_set_initial()
107 isid->entry.sid = sid; in sidtab_set_initial()
236 static struct sidtab_entry *sidtab_lookup_initial(struct sidtab *s, u32 sid) in sidtab_lookup_initial() argument
[all …]
H A Dsidtab.h4 * of security context structures indexed by SID value.
22 u32 sid; member
94 /* SID -> context string cache */
100 /* index == SID - 1 (no entry for SECSID_NULL) */
103 /* Hash table for fast reverse context-to-sid lookups. */
108 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context);
109 struct sidtab_entry *sidtab_search_entry(struct sidtab *s, u32 sid);
110 struct sidtab_entry *sidtab_search_entry_force(struct sidtab *s, u32 sid);
112 static inline struct context *sidtab_search(struct sidtab *s, u32 sid) in sidtab_search() argument
114 struct sidtab_entry *entry = sidtab_search_entry(s, sid); in sidtab_search()
[all …]
/linux/sound/core/
H A Dctljack.c33 struct snd_ctl_elem_id sid; in get_available_index()
35 memset(&sid, 0, sizeof(sid)); in get_available_index()
37 sid.index = 0; in get_available_index()
38 sid.iface = SNDRV_CTL_ELEM_IFACE_CARD; in get_available_index()
39 strscpy(sid.name, name, sizeof(sid.name)); in get_available_index()
42 while (snd_ctl_find_id(card, &sid)) { in get_available_index()
43 sid.index++; in get_available_index()
45 sid in get_available_index()
32 struct snd_ctl_elem_id sid; get_available_index() local
[all...]
/linux/drivers/spmi/
H A Dspmi-pmic-arb.c246 int (*offset)(struct spmi_pmic_arb_bus *bus, u8 sid, u16 addr,
248 u32 (*fmt_cmd)(u8 opc, u8 sid, u16 addr, u8 bc);
249 int (*non_data_cmd)(struct spmi_controller *ctrl, u8 opc, u8 sid);
259 u8 sid, u16 addr, u32 offset);
306 u32 status, u8 sid, u16 addr, in pmic_arb_check_chnl_status_v1() argument
315 __func__, sid, addr, status, offset); in pmic_arb_check_chnl_status_v1()
322 __func__, sid, addr, status); in pmic_arb_check_chnl_status_v1()
328 __func__, sid, addr, status); in pmic_arb_check_chnl_status_v1()
336 u32 status, u8 sid, u16 addr, in pmic_arb_check_chnl_status_v8p5() argument
345 __func__, sid, add in pmic_arb_check_chnl_status_v8p5()
384 pmic_arb_wait_for_done(struct spmi_controller * ctrl,void __iomem * base,u8 sid,u16 addr,enum pmic_arb_channel ch_type) pmic_arb_wait_for_done() argument
417 pmic_arb_non_data_cmd_v1(struct spmi_controller * ctrl,u8 opc,u8 sid) pmic_arb_non_data_cmd_v1() argument
443 pmic_arb_non_data_cmd_v2(struct spmi_controller * ctrl,u8 opc,u8 sid) pmic_arb_non_data_cmd_v2() argument
449 pmic_arb_cmd(struct spmi_controller * ctrl,u8 opc,u8 sid) pmic_arb_cmd() argument
462 pmic_arb_fmt_read_cmd(struct spmi_pmic_arb_bus * bus,u8 opc,u8 sid,u16 addr,size_t len,u32 * cmd,u32 * offset) pmic_arb_fmt_read_cmd() argument
497 pmic_arb_read_cmd_unlocked(struct spmi_controller * ctrl,u32 cmd,u32 offset,u8 sid,u16 addr,u8 * buf,size_t len) pmic_arb_read_cmd_unlocked() argument
520 pmic_arb_read_cmd(struct spmi_controller * ctrl,u8 opc,u8 sid,u16 addr,u8 * buf,size_t len) pmic_arb_read_cmd() argument
541 pmic_arb_fmt_write_cmd(struct spmi_pmic_arb_bus * bus,u8 opc,u8 sid,u16 addr,size_t len,u32 * cmd,u32 * offset) pmic_arb_fmt_write_cmd() argument
578 pmic_arb_write_cmd_unlocked(struct spmi_controller * ctrl,u32 cmd,u32 offset,u8 sid,u16 addr,const u8 * buf,size_t len) pmic_arb_write_cmd_unlocked() argument
598 pmic_arb_write_cmd(struct spmi_controller * ctrl,u8 opc,u8 sid,u16 addr,const u8 * buf,size_t len) pmic_arb_write_cmd() argument
619 pmic_arb_masked_write(struct spmi_controller * ctrl,u8 sid,u16 addr,const u8 * buf,const u8 * mask,size_t len) pmic_arb_masked_write() argument
677 u8 sid = hwirq_to_sid(d->hwirq); qpnpint_spmi_write() local
689 u8 sid = hwirq_to_sid(d->hwirq); qpnpint_spmi_read() local
703 u8 sid = hwirq_to_sid(d->hwirq); qpnpint_spmi_masked_write() local
719 u8 sid = ppid >> 8; cleanup_irq() local
734 u8 sid = (bus->apid_data[apid].ppid >> 8) & 0x1F; periph_interrupt() local
944 u16 sid = hwirq_to_sid(d->hwirq); qpnpint_irq_domain_activate() local
1158 pmic_arb_offset_v1(struct spmi_pmic_arb_bus * bus,u8 sid,u16 addr,enum pmic_arb_channel ch_type) pmic_arb_offset_v1() argument
1344 pmic_arb_offset_v2(struct spmi_pmic_arb_bus * bus,u8 sid,u16 addr,enum pmic_arb_channel ch_type) pmic_arb_offset_v2() argument
1400 pmic_arb_offset_v5(struct spmi_pmic_arb_bus * bus,u8 sid,u16 addr,enum pmic_arb_channel ch_type) pmic_arb_offset_v5() argument
1500 pmic_arb_offset_v7(struct spmi_pmic_arb_bus * bus,u8 sid,u16 addr,enum pmic_arb_channel ch_type) pmic_arb_offset_v7() argument
1596 pmic_arb_offset_v8(struct spmi_pmic_arb_bus * bus,u8 sid,u16 addr,enum pmic_arb_channel ch_type) pmic_arb_offset_v8() argument
1627 pmic_arb_fmt_cmd_v1(u8 opc,u8 sid,u16 addr,u8 bc) pmic_arb_fmt_cmd_v1() argument
1632 pmic_arb_fmt_cmd_v2(u8 opc,u8 sid,u16 addr,u8 bc) pmic_arb_fmt_cmd_v2() argument
[all...]

12345678910>>...13