| /linux/include/dt-bindings/iio/ |
| H A D | qcom,spmi-adc7-pm8350.h | 12 #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 D | tegra186.c | 34 * 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.override); in tegra186_mc_client_sid_override() 118 if (old != sid) { in tegra186_mc_client_sid_override() [all …]
|
| /linux/security/selinux/include/ |
| H A D | objsec.h | 34 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 D | spmi.h | 16 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 D | sunxi_sid.c | 19 /* 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/Documentation/devicetree/bindings/nvmem/ |
| H A D | allwinner,sun4i-a10-sid.yaml | 4 $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/tools/testing/selftests/net/ |
| H A D | srv6_end_x_next_csid_l3vpn_test.sh | 7 # 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 D | srv6_end_next_csid_l3vpn_test.sh | 6 # 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/security/selinux/ |
| H A D | hooks.c | 222 crsec->osid = crsec->sid = SECINITSID_KERNEL; in cred_init_security() 233 return crsec->sid; in cred_sid() 266 u32 sid; in task_sid_obj() local 269 sid = cred_sid(__task_cred(task)); in task_sid_obj() 271 return sid; in task_sid_obj() 440 static int may_context_mount_sb_relabel(u32 sid, in may_context_mount_sb_relabel() argument 447 rc = avc_has_perm(crsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel() 452 rc = avc_has_perm(crsec->sid, sid, SECCLASS_FILESYSTE in may_context_mount_sb_relabel() 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 991 u32 sid = oldsbsec->mntpoint_sid; selinux_sb_clone_mnt_opts() local 1077 show_sid(struct seq_file * m,u32 sid) show_sid() argument 1335 selinux_genfs_get_sid(struct dentry * dentry,u16 tclass,u16 flags,u32 * sid) selinux_genfs_get_sid() argument 1371 inode_doinit_use_xattr(struct inode * inode,struct dentry * dentry,u32 def_sid,u32 * sid) inode_doinit_use_xattr() argument 1436 u32 task_sid, sid = 0; inode_doinit_with_dentry() local 1649 u32 sid = cred_sid(cred); cred_has_capability() local 1682 inode_sid_has_perm(u32 sid,struct inode * inode,u32 perms,struct common_audit_data * adp) inode_sid_has_perm() argument 1861 u32 sid, newsid; may_create() local 1905 u32 sid = current_sid(); may_link() local 1948 u32 sid = current_sid(); may_rename() local 2003 u32 sid = cred_sid(cred); superblock_has_perm() local 2115 u32 sid = cred_sid(to); selinux_binder_transfer_file() local 2151 u32 sid = current_sid(); selinux_ptrace_access_check() local 2279 u32 sid = 0; ptrace_parent_sid() local 2575 u32 osid, sid; selinux_bprm_committed_creds() local 2910 u32 sid = current_sid(); selinux_inode_alloc_security() local 3021 u32 sid = current_sid(); selinux_inode_init_security_anon() local 3136 u32 sid = current_sid(); selinux_inode_follow_link() local 3255 u32 sid = current_sid(); selinux_inode_permission() local 3384 u32 newsid, sid = current_sid(); selinux_inode_setxattr() local 3826 u32 sid = current_sid(); selinux_file_permission() local 3844 u32 sid = current_sid(); selinux_file_alloc_security() local 4102 u32 sid = current_sid(); __file_map_prot_check() local 4138 u32 sid = current_sid(); selinux_mmap_addr() local 4214 u32 sid = cred_sid(cred); selinux_file_mprotect() local 4346 u32 sid = task_sid_obj(tsk); selinux_file_send_sigiotask() local 4403 u32 sid = current_sid(); selinux_task_alloc() local 4452 u32 sid = current_sid(); selinux_kernel_act_as() local 4476 u32 sid = current_sid(); selinux_kernel_create_files_as() local 4505 u32 sid = current_sid(); selinux_kernel_load_from_file() local 4718 u32 sid = task_sid_obj(p); selinux_task_to_inode() local 4729 u32 sid = current_sid(); selinux_userns_create() local 4948 selinux_skb_peerlbl_sid(struct sk_buff * skb,u16 family,u32 * sid) selinux_skb_peerlbl_sid() argument 5013 sock_skip_has_perm(u32 sid) sock_skip_has_perm() argument 5077 u32 sid = SECINITSID_KERNEL; selinux_socket_post_create() local 5140 u32 sid, node_perm; __selinux_socket_bind() local 5288 u32 sid, perm; selinux_socket_connect_helper() local 5368 u32 sid; selinux_socket_accept() local 6005 selinux_secmark_relabel_packet(u32 sid) selinux_secmark_relabel_packet() argument 6037 u32 sid = current_sid(); selinux_tun_dev_create() local 6079 u32 sid = current_sid(); selinux_tun_dev_open() local 6156 u32 sid; selinux_ip_output() local 6460 u32 sid = current_sid(); ipc_has_perm() local 6485 u32 sid = current_sid(); selinux_msg_queue_alloc_security() local 6501 u32 sid = current_sid(); selinux_msg_queue_associate() local 6545 u32 sid = current_sid(); selinux_msg_queue_msgsnd() local 6590 u32 sid = task_sid_obj(target); selinux_msg_queue_msgrcv() local 6612 u32 sid = current_sid(); selinux_shm_alloc_security() local 6628 u32 sid = current_sid(); selinux_shm_associate() local 6690 u32 sid = current_sid(); selinux_sem_alloc_security() local 6706 u32 sid = current_sid(); selinux_sem_associate() local 6808 u32 sid; selinux_lsm_getattr() local 6863 u32 mysid = current_sid(), sid = 0, ptsid; selinux_lsm_setattr() local 7174 u32 perm, sid; selinux_key_permission() local 7232 u32 sid = current_sid(); selinux_watch_key() local 7244 u32 sid = 0; selinux_ib_pkey_access() local 7266 u32 sid = 0; selinux_ib_endport_manage_subnet() local 7298 u32 sid = current_sid(); selinux_bpf() local 7340 bpf_fd_pass(const struct file * file,u32 sid) bpf_fd_pass() argument 7367 u32 sid = current_sid(); selinux_bpf_map() local 7377 u32 sid = current_sid(); selinux_bpf_prog() local 7511 u32 requested, sid = current_sid(); selinux_perf_event_open() local 7541 u32 sid = current_sid(); selinux_perf_event_read() local 7550 u32 sid = current_sid(); selinux_perf_event_write() local 7579 u32 sid = current_sid(); selinux_uring_sqpoll() local 7614 u32 sid = current_sid(); selinux_uring_allowed() local [all...] |
| H A D | ibpkey.c | 119 * 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 D | netport.c | 121 * 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 D | netif.c | 6 * 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 D | netnode.c | 179 * 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 D | netlabel.c | 31 * 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/fs/smb/server/ |
| H A D | smbacl.c | 168 * This function is called for every ACE in the DACL whose SID matches 211 pntace->sid.revision = psid->revision; in fill_ace_for_sid() 212 pntace->sid.num_subauth = psid->num_subauth; in fill_ace_for_sid() 214 pntace->sid.authority[i] = psid->authority[i]; in fill_ace_for_sid() 216 pntace->sid.sub_auth[i] = psid->sub_auth[i]; in fill_ace_for_sid() 428 (offsetof(struct smb_ace, sid) + in parse_dacl() 461 acl_size = offsetof(struct smb_ace, sid) + in parse_dacl() 465 ppace[i]->sid.num_subauth == 0 || in parse_dacl() 466 ppace[i]->sid.num_subauth > SID_MAX_SUB_AUTHORITIES || in parse_dacl() 468 acl_size + sizeof(__le32) * ppace[i]->sid.num_subauth) || in parse_dacl() [all …]
|
| /linux/net/sctp/ |
| H A D | stream_sched_fc.c | 27 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 D | stream_sched.c | 25 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 D | stream_sched_prio.c | 163 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 D | stream_sched_rr.c | 65 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 D | stream_interleave.c | 53 __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 D | services.c | 794 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 %d\n", in security_compute_av() [all …]
|
| H A D | sidtab.c | 3 * 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 D | sidtab.h | 4 * 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 D | ctljack.c | 33 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/spmi/ |
| H A D | spmi-pmic-arb.c | 246 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, addr, status, offset); in pmic_arb_check_chnl_status_v8p5() [all …]
|