/Linux-v6.6/include/dt-bindings/iio/ |
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-v6.6/drivers/memory/tegra/ |
D | tegra194.c | 16 .sid = TEGRA194_SID_PASSTHROUGH, 18 .sid = { 26 .sid = TEGRA194_SID_MIU, 28 .sid = { 36 .sid = TEGRA194_SID_MIU, 38 .sid = { 46 .sid = TEGRA194_SID_HDA, 48 .sid = { 56 .sid = TEGRA194_SID_HOST1X, 58 .sid = { [all …]
|
D | tegra186.c | 74 unsigned int sid) in tegra186_mc_client_sid_override() argument 78 value = readl(mc->regs + client->regs.sid.security); in tegra186_mc_client_sid_override() 97 writel(value, mc->regs + client->regs.sid.security); in tegra186_mc_client_sid_override() 100 value = readl(mc->regs + client->regs.sid.override); in tegra186_mc_client_sid_override() 103 if (old != sid) { in tegra186_mc_client_sid_override() 104 dev_dbg(mc->dev, "overriding SID %x for %s with %x\n", old, in tegra186_mc_client_sid_override() 105 client->name, sid); in tegra186_mc_client_sid_override() 106 writel(sid, mc->regs + client->regs.sid.override); in tegra186_mc_client_sid_override() 125 u32 sid = fwspec->ids[0] & MC_SID_STREAMID_OVERRIDE_MASK; in tegra186_mc_probe_device() local 127 tegra186_mc_client_sid_override(mc, client, sid); in tegra186_mc_probe_device() [all …]
|
D | tegra234.c | 25 .sid = TEGRA234_SID_HDA, 27 .sid = { 37 .sid = TEGRA234_SID_NVENC, 39 .sid = { 49 .sid = TEGRA234_SID_PCIE6, 51 .sid = { 61 .sid = TEGRA234_SID_PCIE6, 63 .sid = { 73 .sid = TEGRA234_SID_PCIE7, 75 .sid = { [all …]
|
/Linux-v6.6/security/selinux/include/ |
D | objsec.h | 32 u32 osid; /* SID prior to last execve */ 33 u32 sid; /* current SID */ member 34 u32 exec_sid; /* exec SID */ 35 u32 create_sid; /* fscreate SID */ 36 u32 keycreate_sid; /* keycreate SID */ 37 u32 sockcreate_sid; /* fscreate SID */ 49 u32 task_sid; /* SID of creating task */ 50 u32 sid; /* SID of this object */ member 57 u32 sid; /* SID of open file description */ member 58 u32 fown_sid; /* SID of file owner (for SIGIO) */ [all …]
|
/Linux-v6.6/include/trace/events/ |
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-v6.6/drivers/nvmem/ |
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-v6.6/security/selinux/ |
D | hooks.c | 215 tsec->osid = tsec->sid = SECINITSID_KERNEL; in cred_init_security() 226 return tsec->sid; in cred_sid() 259 u32 sid; in task_sid_obj() local 262 sid = cred_sid(__task_cred(task)); in task_sid_obj() 264 return sid; in task_sid_obj() 422 static int may_context_mount_sb_relabel(u32 sid, in may_context_mount_sb_relabel() argument 429 rc = avc_has_perm(tsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel() 434 rc = avc_has_perm(tsec->sid, sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel() 439 static int may_context_mount_inode_relabel(u32 sid, in may_context_mount_inode_relabel() argument 445 rc = avc_has_perm(tsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_inode_relabel() [all …]
|
D | ibpkey.c | 118 * sel_ib_pkey_sid_slow - Lookup the SID of a pkey using the policy 121 * @sid: pkey SID 124 * This function determines the SID of a pkey by querying the security 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() 149 /* If this memory allocation fails still return 0. The SID in sel_ib_pkey_sid_slow() 160 new->psec.sid = *sid; in sel_ib_pkey_sid_slow() 169 * sel_ib_pkey_sid - Lookup the SID of a PKEY 172 * @sid: pkey SID [all …]
|
D | netport.c | 126 * sel_netport_sid_slow - Lookup the SID of a network address using the policy 129 * @sid: port SID 132 * This function determines the SID of a network port by querying the security 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(protocol, pnum, sid); in sel_netport_sid_slow() 158 new->psec.sid = *sid; in sel_netport_sid_slow() 171 * sel_netport_sid - Lookup the SID of a network port 174 * @sid: port SID 177 * This function determines the SID of a network port using the fastest method [all …]
|
D | netif.c | 6 * maintain a table associating each interface with a SID. 120 * sel_netif_sid_slow - Lookup the SID of a network interface using the policy 123 * @sid: interface SID 126 * This function determines the SID of a network interface by querying the 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(dev->name, sid); in sel_netif_sid_slow() 163 new->nsec.sid = *sid; in sel_netif_sid_slow() 178 * sel_netif_sid - Lookup the SID of a network interface 181 * @sid: interface SID [all …]
|
D | netnode.c | 178 * sel_netnode_sid_slow - Lookup the SID of a network address using the policy 181 * @sid: node SID 184 * This function determines the SID of a network address by querying the 190 static int sel_netnode_sid_slow(void *addr, u16 family, u32 *sid) in sel_netnode_sid_slow() argument 199 *sid = node->nsec.sid; in sel_netnode_sid_slow() 208 addr, sizeof(struct in_addr), sid); in sel_netnode_sid_slow() 214 addr, sizeof(struct in6_addr), sid); in sel_netnode_sid_slow() 224 new->nsec.sid = *sid; in sel_netnode_sid_slow() 237 * sel_netnode_sid - Lookup the SID of a network address 240 * @sid: node SID [all …]
|
/Linux-v6.6/tools/testing/selftests/net/ |
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 …]
|
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-v6.6/Documentation/devicetree/bindings/nvmem/ |
D | allwinner,sun4i-a10-sid.yaml | 4 $id: http://devicetree.org/schemas/nvmem/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,sun20i-d1-sid 24 - const: allwinner,sun50i-a64-sid 26 - const: allwinner,sun50i-a100-sid 27 - const: allwinner,sun50i-a64-sid 28 - const: allwinner,sun50i-h5-sid [all …]
|
/Linux-v6.6/net/sctp/ |
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 [all …]
|
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 [all …]
|
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 = sctp_chunk_stream_no(ch); in sctp_sched_rr_dequeue_done() [all …]
|
/Linux-v6.6/include/uapi/linux/netfilter_ipv6/ |
D | ip6t_srh.h | 70 * @ psid_addr: Address of previous SID in SRH SID list 71 * @ nsid_addr: Address of NEXT SID in SRH SID list 72 * @ lsid_addr: Address of LAST SID in SRH SID list 73 * @ psid_msk: Mask of previous SID in SRH SID list 74 * @ nsid_msk: Mask of next SID in SRH SID list 75 * @ lsid_msk: MAsk of last SID in SRH SID list
|
/Linux-v6.6/sound/core/ |
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-v6.6/security/selinux/ss/ |
D | sidtab.c | 3 * Implementation of the SID table type. 32 #define sid_to_index(sid) ((sid) - (SECINITSID_NUM + 1)) argument 62 u32 sid = 0; in context_to_sid() local 69 sid = entry->sid; in context_to_sid() 74 return sid; in context_to_sid() 77 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context) in sidtab_set_initial() argument 83 if (sid == 0 || sid > SECINITSID_NUM) in sidtab_set_initial() 86 isid = &s->isids[sid - 1]; in sidtab_set_initial() 106 isid->entry.sid = sid; in sidtab_set_initial() 233 static struct sidtab_entry *sidtab_lookup_initial(struct sidtab *s, u32 sid) in sidtab_lookup_initial() argument [all …]
|
D | services.c | 784 pr_err("SELinux: %s: unrecognized SID %d\n", in security_compute_validatetrans() 792 pr_err("SELinux: %s: unrecognized SID %d\n", in security_compute_validatetrans() 800 pr_err("SELinux: %s: unrecognized SID %d\n", in security_compute_validatetrans() 873 pr_err("SELinux: %s: unrecognized SID %u\n", in security_bounded_transition() 881 pr_err("SELinux: %s: unrecognized SID %u\n", in security_bounded_transition() 1033 pr_err("SELinux: %s: unrecognized SID %d\n", in security_compute_xperms_decision() 1040 pr_err("SELinux: %s: unrecognized SID %d\n", in security_compute_xperms_decision() 1093 * SID pair (@ssid, @tsid) for the permissions in @tclass. 1119 pr_err("SELinux: %s: unrecognized SID %d\n", in security_compute_av() 1130 pr_err("SELinux: %s: unrecognized SID %d\n", in security_compute_av() [all …]
|
D | sidtab.h | 4 * of security context structures indexed by SID value. 21 u32 sid; member 92 /* SID -> context string cache */ 98 /* index == SID - 1 (no entry for SECSID_NULL) */ 101 /* Hash table for fast reverse context-to-sid lookups. */ 106 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context); 107 struct sidtab_entry *sidtab_search_entry(struct sidtab *s, u32 sid); 108 struct sidtab_entry *sidtab_search_entry_force(struct sidtab *s, u32 sid); 110 static inline struct context *sidtab_search(struct sidtab *s, u32 sid) in sidtab_search() argument 112 struct sidtab_entry *entry = sidtab_search_entry(s, sid); in sidtab_search() [all …]
|
/Linux-v6.6/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
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-v6.6/fs/smb/server/ |
D | smbacl.c | 165 * 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() 428 acl_size = offsetof(struct smb_ace, sid) + in parse_dacl() 432 ppace[i]->sid.num_subauth > SID_MAX_SUB_AUTHORITIES || in parse_dacl() 434 acl_size + sizeof(__le32) * ppace[i]->sid.num_subauth) || in parse_dacl() 436 acl_size + sizeof(__le32) * ppace[i]->sid.num_subauth)) in parse_dacl() 443 if (!(compare_sids(&ppace[i]->sid, &sid_unix_NFS_mode))) { in parse_dacl() [all …]
|