Home
last modified time | relevance | path

Searched full:sid (Results 1 – 25 of 307) 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/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->base + SUN8I_SID_RDKEY); in sun8i_sid_register_readout()
83 writel(0, sid->base + SUN8I_SID_PRCTL); in sun8i_sid_register_readout()
89 * On Allwinner H3, the value on the 0x200 offset of the SID controller seems
[all …]
/linux/security/selinux/
H A Dhooks.c220 crsec->osid = crsec->sid = SECINITSID_KERNEL; in cred_init_security()
231 return crsec->sid; in cred_sid()
264 u32 sid; in task_sid_obj() local
267 sid = cred_sid(__task_cred(task)); in task_sid_obj()
269 return sid; in task_sid_obj()
438 static int may_context_mount_sb_relabel(u32 sid, in may_context_mount_sb_relabel() argument
445 rc = avc_has_perm(crsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel()
450 rc = avc_has_perm(crsec->sid, sid, SECCLASS_FILESYSTE in may_context_mount_sb_relabel()
455 may_context_mount_inode_relabel(u32 sid,struct superblock_security_struct * sbsec,const struct cred * cred) may_context_mount_inode_relabel() argument
519 u32 sid; sb_check_xattr_support() local
989 u32 sid = oldsbsec->mntpoint_sid; selinux_sb_clone_mnt_opts() local
1075 show_sid(struct seq_file * m,u32 sid) show_sid() argument
1333 selinux_genfs_get_sid(struct dentry * dentry,u16 tclass,u16 flags,u32 * sid) selinux_genfs_get_sid() argument
1369 inode_doinit_use_xattr(struct inode * inode,struct dentry * dentry,u32 def_sid,u32 * sid) inode_doinit_use_xattr() argument
1434 u32 task_sid, sid = 0; inode_doinit_with_dentry() local
1647 u32 sid = cred_sid(cred); cred_has_capability() local
1684 u32 sid; inode_has_perm() local
1853 u32 sid, newsid; may_create() local
1897 u32 sid = current_sid(); may_link() local
1940 u32 sid = current_sid(); may_rename() local
1995 u32 sid = cred_sid(cred); superblock_has_perm() local
2107 u32 sid = cred_sid(to); selinux_binder_transfer_file() local
2143 u32 sid = current_sid(); selinux_ptrace_access_check() local
2271 u32 sid = 0; ptrace_parent_sid() local
2567 u32 osid, sid; selinux_bprm_committed_creds() local
2902 u32 sid = current_sid(); selinux_inode_alloc_security() local
3013 u32 sid = current_sid(); selinux_inode_init_security_anon() local
3128 u32 sid = current_sid(); selinux_inode_follow_link() local
3247 u32 sid = current_sid(); selinux_inode_permission() local
3376 u32 newsid, sid = current_sid(); selinux_inode_setxattr() local
3822 u32 sid = current_sid(); selinux_file_permission() local
3840 u32 sid = current_sid(); selinux_file_alloc_security() local
3994 u32 sid = cred_sid(cred); __file_map_prot_check() local
4032 u32 sid = current_sid(); selinux_mmap_addr() local
4104 u32 sid = cred_sid(cred); selinux_file_mprotect() local
4227 u32 sid = task_sid_obj(tsk); selinux_file_send_sigiotask() local
4284 u32 sid = current_sid(); selinux_task_alloc() local
4333 u32 sid = current_sid(); selinux_kernel_act_as() local
4357 u32 sid = current_sid(); selinux_kernel_create_files_as() local
4386 u32 sid = current_sid(); selinux_kernel_load_from_file() local
4599 u32 sid = task_sid_obj(p); selinux_task_to_inode() local
4610 u32 sid = current_sid(); selinux_userns_create() local
4829 selinux_skb_peerlbl_sid(struct sk_buff * skb,u16 family,u32 * sid) selinux_skb_peerlbl_sid() argument
4894 sock_skip_has_perm(u32 sid) sock_skip_has_perm() argument
4958 u32 sid = SECINITSID_KERNEL; selinux_socket_post_create() local
5022 u32 sid, node_perm; selinux_socket_bind() local
5166 u32 sid, perm; selinux_socket_connect_helper() local
5246 u32 sid; selinux_socket_accept() local
5868 selinux_secmark_relabel_packet(u32 sid) selinux_secmark_relabel_packet() argument
5900 u32 sid = current_sid(); selinux_tun_dev_create() local
5942 u32 sid = current_sid(); selinux_tun_dev_open() local
6019 u32 sid; selinux_ip_output() local
6318 u32 sid = current_sid(); ipc_has_perm() local
6343 u32 sid = current_sid(); selinux_msg_queue_alloc_security() local
6359 u32 sid = current_sid(); selinux_msg_queue_associate() local
6403 u32 sid = current_sid(); selinux_msg_queue_msgsnd() local
6448 u32 sid = task_sid_obj(target); selinux_msg_queue_msgrcv() local
6470 u32 sid = current_sid(); selinux_shm_alloc_security() local
6486 u32 sid = current_sid(); selinux_shm_associate() local
6548 u32 sid = current_sid(); selinux_sem_alloc_security() local
6564 u32 sid = current_sid(); selinux_sem_associate() local
6666 u32 sid; selinux_lsm_getattr() local
6721 u32 mysid = current_sid(), sid = 0, ptsid; selinux_lsm_setattr() local
7032 u32 perm, sid; selinux_key_permission() local
7090 u32 sid = current_sid(); selinux_watch_key() local
7102 u32 sid = 0; selinux_ib_pkey_access() local
7124 u32 sid = 0; selinux_ib_endport_manage_subnet() local
7156 u32 sid = current_sid(); selinux_bpf() local
7198 bpf_fd_pass(const struct file * file,u32 sid) bpf_fd_pass() argument
7225 u32 sid = current_sid(); selinux_bpf_map() local
7235 u32 sid = current_sid(); selinux_bpf_prog() local
7305 u32 sid = selinux_bpffs_creator_sid(attr->token_create.bpffs_fd); selinux_bpf_token_create() local
7385 u32 requested, sid = current_sid(); selinux_perf_event_open() local
7415 u32 sid = current_sid(); selinux_perf_event_read() local
7424 u32 sid = current_sid(); selinux_perf_event_write() local
7453 u32 sid = current_sid(); selinux_uring_sqpoll() local
7488 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 matches the cached value
103 u32 sid) in selinux_netlbl_sock_getattr() argument
112 (secattr->attr.secid == sid)) in selinux_netlbl_sock_getattr()
[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
28 # The NEXT-C-SID is provided as a "flavor" of the SRv6 End.X behavior
29 # which advances the current C-SID (i.e. the Locator-Node Function defined
32 # behavior will apply the End.X function selecting the next SID in 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
26 # The NEXT-C-SID is provided as a "flavor" of the SRv6 End behavior
27 # which advances the current C-SID (i.e. the Locator-Node Function defined
30 # will apply the End function selecting the next SID in the SID List.
[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/fs/smb/server/
H A Dsmbacl.c165 * This function is called for every ACE in the DACL whose SID matches
208 pntace->sid.revision = psid->revision; in fill_ace_for_sid()
209 pntace->sid.num_subauth = psid->num_subauth; in fill_ace_for_sid()
211 pntace->sid.authority[i] = psid->authority[i]; in fill_ace_for_sid()
213 pntace->sid.sub_auth[i] = psid->sub_auth[i]; in fill_ace_for_sid()
407 (offsetof(struct smb_ace, sid) + in parse_dacl()
438 acl_size = offsetof(struct smb_ace, sid) + in parse_dacl()
442 ppace[i]->sid.num_subauth == 0 || in parse_dacl()
443 ppace[i]->sid.num_subauth > SID_MAX_SUB_AUTHORITIES || in parse_dacl()
445 acl_size + sizeof(__le32) * ppace[i]->sid in parse_dacl()
596 struct smb_sid *sid; set_posix_acl_entries_dacl() local
765 const struct smb_sid *sid; set_mode_dacl() local
1070 smb_set_ace(struct smb_ace * ace,const struct smb_sid * sid,u8 type,u8 flags,__le32 access_req) smb_set_ace() argument
1082 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
1100 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
1404 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
[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()
1349 security_get_initial_sid_context(u32 sid) security_get_initial_sid_context() argument
1356 security_sid_to_context_core(u32 sid,char ** scontext,u32 * scontext_len,int force,int only_invalid) security_sid_to_context_core() argument
1438 security_sid_to_context(u32 sid,char ** scontext,u32 * scontext_len) security_sid_to_context() argument
1444 security_sid_to_context_force(u32 sid,char ** scontext,u32 * scontext_len) security_sid_to_context_force() argument
1464 security_sid_to_context_inval(u32 sid,char ** scontext,u32 * scontext_len) security_sid_to_context_inval() argument
1553 security_context_to_sid_core(const char * scontext,u32 scontext_len,u32 * sid,u32 def_sid,gfp_t gfp_flags,int force) security_context_to_sid_core() argument
1639 security_context_to_sid(const char * scontext,u32 scontext_len,u32 * sid,gfp_t gfp) security_context_to_sid() argument
1646 security_context_str_to_sid(const char * scontext,u32 * sid,gfp_t gfp) security_context_str_to_sid() argument
1672 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
1679 security_context_to_sid_force(const char * scontext,u32 scontext_len,u32 * sid) security_context_to_sid_force() argument
2421 u32 sid; ocontext_to_sid() local
2768 __security_genfs_sid(struct selinux_policy * policy,const char * fstype,const char * path,u16 orig_sclass,u32 * sid) __security_genfs_sid() argument
2828 security_genfs_sid(const char * fstype,const char * path,u16 orig_sclass,u32 * sid) security_genfs_sid() argument
2852 selinux_policy_genfs_sid(struct selinux_policy * policy,const char * fstype,const char * path,u16 orig_sclass,u32 * sid) selinux_policy_genfs_sid() argument
3103 security_sid_mls_copy(u32 sid,u32 mls_sid,u32 * new_sid) security_sid_mls_copy() argument
3718 security_netlbl_cache_add(struct netlbl_lsm_secattr * secattr,u32 sid) security_netlbl_cache_add() argument
3753 security_netlbl_secattr_to_sid(struct netlbl_lsm_secattr * secattr,u32 * sid) security_netlbl_secattr_to_sid() argument
3828 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()
41 while (snd_ctl_find_id(card, &sid)) { in get_available_index()
42 sid.index++; in get_available_index()
44 sid in get_available_index()
32 struct snd_ctl_elem_id sid; get_available_index() local
[all...]
/linux/drivers/net/wireless/realtek/rtw89/
H A Dcoex.h341 void _slot_set_le(struct rtw89_btc *btc, u8 sid, __le16 dura, __le32 tbl, __le16 type) in _slot_set_le() argument
344 btc->dm.slot.v1[sid].dur = dura; in _slot_set_le()
345 btc->dm.slot.v1[sid].cxtbl = tbl; in _slot_set_le()
346 btc->dm.slot.v1[sid].cxtype = type; in _slot_set_le()
348 btc->dm.slot.v7[sid].dur = dura; in _slot_set_le()
349 btc->dm.slot.v7[sid].cxtype = type; in _slot_set_le()
350 btc->dm.slot.v7[sid].cxtbl = tbl; in _slot_set_le()
355 void _slot_set(struct rtw89_btc *btc, u8 sid, u16 dura, u32 tbl, u16 type) in _slot_set() argument
357 _slot_set_le(btc, sid, cpu_to_le16(dura), cpu_to_le32(tbl), cpu_to_le16(type)); in _slot_set()
361 void _slot_set_dur(struct rtw89_btc *btc, u8 sid, u16 dura) in _slot_set_dur() argument
[all …]
/linux/drivers/iommu/
H A Dapple-dart.c148 #define DART_TCR(dart, sid) ((dart)->hw->tcr + ((sid) << 2)) argument
150 #define DART_TTBR(dart, sid, idx) ((dart)->hw->ttbr + \ argument
151 (((dart)->hw->ttbr_count * (sid)) << 2) + \
246 * @sid stream id bitmap
317 int sid; in apple_dart_hw_enable_translation() local
324 for_each_set_bit(sid, stream_map->sidmap, dart->num_streams) in apple_dart_hw_enable_translation()
325 writel(tcr, dart->regs + DART_TCR(dart, sid)); in apple_dart_hw_enable_translation()
331 int sid; in apple_dart_hw_disable_dma() local
333 for_each_set_bit(sid, stream_ma in apple_dart_hw_disable_dma()
341 int sid; apple_dart_hw_enable_bypass() local
353 int sid; apple_dart_hw_set_ttbr() local
366 int sid; apple_dart_hw_clear_ttbr() local
420 int sid; apple_dart_t8110_hw_tlb_command() local
806 int i, sid; apple_dart_of_xlate() local
854 int i, sid; apple_dart_release_group() local
893 int i, sid; apple_dart_device_group() local
1330 unsigned int sid, idx; apple_dart_suspend() local
1345 unsigned int sid, idx; apple_dart_resume() local
[all...]

12345678910>>...13