/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/security/selinux/include/ |
H A D | objsec.h | 34 u32 sid; /* current SID */ member 51 u32 sid; /* SID of this object */ member 58 u32 sid; /* SID of open file description */ member 65 u32 sid; /* SID of file system superblock */ member 76 u32 sid; /* SID of message */ member 81 u32 sid; /* SID of IPC resource */ member 87 u32 sid; /* SID for this interface */ member 95 u32 sid; /* SID for this node */ member 100 u32 sid; /* SID for this node */ member 116 u32 sid; /* SID of this object */ member [all …]
|
H A D | xfrm.h | 76 static inline int selinux_xfrm_decode_session(struct sk_buff *skb, u32 *sid, in selinux_xfrm_decode_session() 87 static inline int selinux_xfrm_skb_sid(struct sk_buff *skb, u32 *sid) in selinux_xfrm_skb_sid()
|
/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() 39 static int sctp_sched_wfq_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_wfq_get() 48 static int sctp_sched_fc_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_fc_set() 54 static int sctp_sched_fc_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_fc_get() 67 static int sctp_sched_fc_init_sid(struct sctp_stream *stream, __u16 sid, 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() 103 __u16 sid; in sctp_sched_fc_enqueue() local 137 __u16 sid, i; in sctp_sched_fc_dequeue_done() local 176 __u16 sid = sctp_chunk_stream_no(ch); in sctp_sched_fc_sched_all() local
|
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() 71 static int sctp_sched_rr_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_rr_get() 85 static int sctp_sched_rr_init_sid(struct sctp_stream *stream, __u16 sid, 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() 102 __u16 sid; in sctp_sched_rr_enqueue() local 137 __u16 sid; in sctp_sched_rr_dequeue_done() local 157 __u16 sid; in sctp_sched_rr_sched_all() local
|
H A D | stream_sched.c | 25 static int sctp_sched_fcfs_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_fcfs_set() 31 static int sctp_sched_fcfs_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_fcfs_get() 43 static int sctp_sched_fcfs_init_sid(struct sctp_stream *stream, __u16 sid, in sctp_sched_fcfs_init_sid() 49 static void sctp_sched_fcfs_free_sid(struct sctp_stream *stream, __u16 sid) in sctp_sched_fcfs_free_sid() 206 int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_set_value() 223 int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_get_value() 240 __u16 sid; in sctp_sched_dequeue_done() local 264 int sctp_sched_init_sid(struct sctp_stream *stream, __u16 sid, gfp_t gfp) in sctp_sched_init_sid()
|
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() 188 static int sctp_sched_prio_get(struct sctp_stream *stream, __u16 sid, 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() 209 static void sctp_sched_prio_free_sid(struct sctp_stream *stream, __u16 sid) in sctp_sched_prio_free_sid() 220 __u16 sid; in sctp_sched_prio_enqueue() local 261 __u16 sid; in sctp_sched_prio_dequeue_done() local 284 __u16 sid; in sctp_sched_prio_sched_all() local
|
H A D | stream_interleave.c | 53 __u16 sid; in sctp_chunk_assign_mid() local 90 __u16 sid, ssn; in sctp_validate_data() local 109 __u16 sid; in sctp_validate_idata() local 423 __u16 sid = event->stream; in sctp_intl_retrieve_ordered() local 452 __u16 sid; in sctp_intl_order() local 763 __u16 sid = 0; in sctp_intl_retrieve_first_uo() local 869 __u16 sid = 0; in sctp_intl_retrieve_first() local 978 static void sctp_intl_stream_abort_pd(struct sctp_ulpq *ulpq, __u16 sid, in sctp_intl_stream_abort_pd() 1002 static void sctp_intl_reap_ordered(struct sctp_ulpq *ulpq, __u16 sid) in sctp_intl_reap_ordered() 1056 __u16 sid; in sctp_intl_abort_pd() local [all …]
|
H A D | ulpqueue.c | 746 __u16 sid, csid, cssn; in sctp_ulpq_retrieve_ordered() local 786 __u16 sid, csid; in sctp_ulpq_store_ordered() local 833 __u16 sid, ssn; in sctp_ulpq_order() local 868 static void sctp_ulpq_reap_ordered(struct sctp_ulpq *ulpq, __u16 sid) in sctp_ulpq_reap_ordered() 938 void sctp_ulpq_skip(struct sctp_ulpq *ulpq, __u16 sid, __u16 ssn) in sctp_ulpq_skip()
|
/linux/security/selinux/ss/ |
H A D | sidtab.c | 33 #define sid_to_index(sid) ((sid) - (SECINITSID_NUM + 1)) argument 63 u32 sid = 0; in context_to_sid() local 78 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context) in sidtab_set_initial() 236 static struct sidtab_entry *sidtab_lookup_initial(struct sidtab *s, u32 sid) in sidtab_lookup_initial() 241 static struct sidtab_entry *sidtab_search_core(struct sidtab *s, u32 sid, in sidtab_search_core() 258 struct sidtab_entry *sidtab_search_entry(struct sidtab *s, u32 sid) in sidtab_search_entry() 263 struct sidtab_entry *sidtab_search_entry_force(struct sidtab *s, u32 sid) in sidtab_search_entry_force() 268 int sidtab_context_to_sid(struct sidtab *s, struct context *context, u32 *sid) in sidtab_context_to_sid()
|
H A D | services.c | 1310 const char *security_get_initial_sid_context(u32 sid) in security_get_initial_sid_context() 1317 static int security_sid_to_context_core(u32 sid, char **scontext, in security_sid_to_context_core() 1399 int security_sid_to_context(u32 sid, char **scontext, u32 *scontext_len) in security_sid_to_context() 1405 int security_sid_to_context_force(u32 sid, in security_sid_to_context_force() 1425 int security_sid_to_context_inval(u32 sid, in security_sid_to_context_inval() 1514 u32 *sid, u32 def_sid, gfp_t gfp_flags, in security_context_to_sid_core() 1600 int security_context_to_sid(const char *scontext, u32 scontext_len, u32 *sid, in security_context_to_sid() 1607 int security_context_str_to_sid(const char *scontext, u32 *sid, gfp_t gfp) in security_context_str_to_sid() 1633 u32 *sid, u32 def_sid, gfp_t gfp_flags) in security_context_to_sid_default() 1640 u32 *sid) in security_context_to_sid_force() [all …]
|
H A D | sidtab.h | 22 u32 sid; member 112 static inline struct context *sidtab_search(struct sidtab *s, u32 sid) in sidtab_search() 119 static inline struct context *sidtab_search_force(struct sidtab *s, u32 sid) in sidtab_search_force()
|
/linux/security/selinux/ |
H A D | hooks.c | 261 u32 sid; in task_sid_obj() local 429 static int may_context_mount_sb_relabel(u32 sid, in may_context_mount_sb_relabel() 446 static int may_context_mount_inode_relabel(u32 sid, in may_context_mount_inode_relabel() 508 u32 sid; in sb_check_xattr_support() local 971 u32 sid = oldsbsec->mntpoint_sid; in selinux_sb_clone_mnt_opts() local 1057 static int show_sid(struct seq_file *m, u32 sid) in show_sid() 1317 u32 *sid) in selinux_genfs_get_sid() 1353 u32 def_sid, u32 *sid) in inode_doinit_use_xattr() 1418 u32 task_sid, sid = 0; in inode_doinit_with_dentry() local 1630 u32 sid = cred_sid(cred); in cred_has_capability() local [all …]
|
H A D | netlabel.c | 46 u32 *sid) in selinux_netlbl_sidlookup_cached() 103 u32 sid) in selinux_netlbl_sock_getattr() 197 u32 *sid) in selinux_netlbl_skbuff_getsid() 234 u32 sid) in selinux_netlbl_skbuff_setsid()
|
H A D | xfrm.c | 222 u32 *sid, int ckall) in selinux_xfrm_skb_sid_ingress() 256 int selinux_xfrm_decode_session(struct sk_buff *skb, u32 *sid, int ckall) in selinux_xfrm_decode_session() 265 int selinux_xfrm_skb_sid(struct sk_buff *skb, u32 *sid) in selinux_xfrm_skb_sid()
|
H A D | netport.c | 137 static int sel_netport_sid_slow(u8 protocol, u16 pnum, u32 *sid) in sel_netport_sid_slow() 183 int sel_netport_sid(u8 protocol, u16 pnum, u32 *sid) in sel_netport_sid()
|
H A D | netnode.c | 190 static int sel_netnode_sid_slow(void *addr, u16 family, u32 *sid) in sel_netnode_sid_slow() 250 int sel_netnode_sid(void *addr, u16 family, u32 *sid) in sel_netnode_sid()
|
H A D | ibpkey.c | 129 static int sel_ib_pkey_sid_slow(u64 subnet_prefix, u16 pkey_num, u32 *sid) in sel_ib_pkey_sid_slow() 181 int sel_ib_pkey_sid(u64 subnet_prefix, u16 pkey_num, u32 *sid) in sel_ib_pkey_sid()
|
/linux/drivers/nvmem/ |
H A D | sunxi_sid.c | 42 struct sunxi_sid *sid = context; in sunxi_sid_read() local 62 static int sun8i_sid_register_readout(const struct sunxi_sid *sid, in sun8i_sid_register_readout() 96 struct sunxi_sid *sid = context; in sun8i_sid_read_by_reg() local 129 struct sunxi_sid *sid; in sunxi_sid_probe() local
|
/linux/drivers/spmi/ |
H A D | spmi-pmic-arb.c | 291 void __iomem *base, u8 sid, u16 addr, in pmic_arb_wait_for_done() 342 pmic_arb_non_data_cmd_v1(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmic_arb_non_data_cmd_v1() 368 pmic_arb_non_data_cmd_v2(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmic_arb_non_data_cmd_v2() 374 static int pmic_arb_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmic_arb_cmd() 387 static int pmic_arb_fmt_read_cmd(struct spmi_pmic_arb_bus *bus, u8 opc, u8 sid, in pmic_arb_fmt_read_cmd() 422 u32 offset, u8 sid, u16 addr, u8 *buf, in pmic_arb_read_cmd_unlocked() 445 static int pmic_arb_read_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid, in pmic_arb_read_cmd() 466 u8 sid, u16 addr, size_t len, u32 *cmd, in pmic_arb_fmt_write_cmd() 503 u32 offset, u8 sid, u16 addr, in pmic_arb_write_cmd_unlocked() 523 static int pmic_arb_write_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid, in pmic_arb_write_cmd() [all …]
|
/linux/drivers/iommu/ |
H A D | apple-dart.c | 145 #define DART_TCR(dart, sid) ((dart)->hw->tcr + ((sid) << 2)) argument 147 #define DART_TTBR(dart, sid, idx) ((dart)->hw->ttbr + \ argument 308 int sid; in apple_dart_hw_enable_translation() local 317 int sid; in apple_dart_hw_disable_dma() local 327 int sid; in apple_dart_hw_enable_bypass() local 339 int sid; in apple_dart_hw_set_ttbr() local 352 int sid; in apple_dart_hw_clear_ttbr() local 406 int sid; in apple_dart_t8110_hw_tlb_command() local 789 int i, sid; in apple_dart_of_xlate() local 830 int i, sid; in apple_dart_release_group() local [all …]
|
/linux/drivers/net/ppp/ |
H A D | pppoe.c | 115 static inline bool stage_session(__be16 sid) in stage_session() 130 static inline int cmp_addr(struct pppoe_addr *a, __be16 sid, char *addr) in cmp_addr() 139 static int hash_item(__be16 sid, unsigned char *addr) in hash_item() 159 static struct pppox_sock *__get_item(struct pppoe_net *pn, __be16 sid, in __get_item() 197 static void __delete_item(struct pppoe_net *pn, __be16 sid, in __delete_item() 223 static inline struct pppox_sock *get_item(struct pppoe_net *pn, __be16 sid, in get_item() 258 static inline void delete_item(struct pppoe_net *pn, __be16 sid, in delete_item()
|
/linux/drivers/iommu/arm/arm-smmu/ |
H A D | arm-smmu-qcom-debug.c | 104 static struct qcom_tbu *qcom_find_tbu(struct qcom_smmu *qsmmu, u32 sid) in qcom_find_tbu() 202 struct qcom_tbu *tbu, dma_addr_t iova, u32 sid) in qcom_tbu_trigger_atos() 264 dma_addr_t iova, u32 sid) in qcom_iova_to_phys() 353 u16 sid; in qcom_smmu_iova_to_phys_hard() local
|
/linux/drivers/memory/tegra/ |
H A D | tegra186.c | 74 unsigned int sid) in tegra186_mc_client_sid_override() 119 u32 sid; in tegra186_mc_probe_device() local
|
/linux/drivers/scsi/lpfc/ |
H A D | lpfc_nvmet.c | 239 lpfc_nvmet_get_ctx_for_oxid(struct lpfc_hba *phba, u16 oxid, u32 sid) in lpfc_nvmet_get_ctx_for_oxid() 394 uint32_t size, oxid, sid; in lpfc_nvmet_ctxbuf_post() local 1885 uint32_t sid; in lpfc_nvmet_rcv_unsol_abort() local 2391 uint32_t size, oxid, sid, qno; in lpfc_nvmet_unsol_fcp_buffer() local 3255 uint32_t sid, uint16_t xri) in lpfc_nvmet_unsol_issue_abort() 3351 uint32_t sid, uint16_t xri) in lpfc_nvmet_sol_fcp_issue_abort() 3477 uint32_t sid, uint16_t xri) in lpfc_nvmet_unsol_fcp_issue_abort() 3549 uint32_t sid, uint16_t xri) in lpfc_nvme_unsol_ls_issue_abort()
|