/kernel/linux/linux-5.10/drivers/gpu/drm/shmobile/ |
H A D | shmob_drm_backlight.c | 18 struct shmob_drm_connector *scon = bl_get_data(bdev); in shmob_drm_backlight_update() local 19 struct shmob_drm_device *sdev = scon->connector.dev->dev_private; in shmob_drm_backlight_update() 32 struct shmob_drm_connector *scon = bl_get_data(bdev); in shmob_drm_backlight_get_brightness() local 33 struct shmob_drm_device *sdev = scon->connector.dev->dev_private; in shmob_drm_backlight_get_brightness() 45 void shmob_drm_backlight_dpms(struct shmob_drm_connector *scon, int mode) in shmob_drm_backlight_dpms() argument 47 if (scon->backlight == NULL) in shmob_drm_backlight_dpms() 50 scon->backlight->props.power = mode == DRM_MODE_DPMS_ON in shmob_drm_backlight_dpms() 52 backlight_update_status(scon->backlight); in shmob_drm_backlight_dpms() 55 int shmob_drm_backlight_init(struct shmob_drm_connector *scon) in shmob_drm_backlight_init() argument 57 struct shmob_drm_device *sdev = scon in shmob_drm_backlight_init() 83 shmob_drm_backlight_exit(struct shmob_drm_connector *scon) shmob_drm_backlight_exit() argument [all...] |
H A D | shmob_drm_backlight.h | 15 void shmob_drm_backlight_dpms(struct shmob_drm_connector *scon, int mode); 16 int shmob_drm_backlight_init(struct shmob_drm_connector *scon); 17 void shmob_drm_backlight_exit(struct shmob_drm_connector *scon);
|
H A D | shmob_drm_crtc.c | 505 struct shmob_drm_connector *scon = &sdev->connector; in shmob_drm_encoder_dpms() local 510 shmob_drm_backlight_dpms(scon, mode); in shmob_drm_encoder_dpms() 621 struct shmob_drm_connector *scon = to_shmob_connector(connector); in shmob_drm_connector_best_encoder() local 623 return scon->encoder; in shmob_drm_connector_best_encoder() 633 struct shmob_drm_connector *scon = to_shmob_connector(connector); in shmob_drm_connector_destroy() local 635 shmob_drm_backlight_exit(scon); in shmob_drm_connector_destroy()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/renesas/shmobile/ |
H A D | shmob_drm_backlight.c | 18 struct shmob_drm_connector *scon = bl_get_data(bdev); in shmob_drm_backlight_update() local 19 struct shmob_drm_device *sdev = scon->connector.dev->dev_private; in shmob_drm_backlight_update() 28 struct shmob_drm_connector *scon = bl_get_data(bdev); in shmob_drm_backlight_get_brightness() local 29 struct shmob_drm_device *sdev = scon->connector.dev->dev_private; in shmob_drm_backlight_get_brightness() 41 void shmob_drm_backlight_dpms(struct shmob_drm_connector *scon, int mode) in shmob_drm_backlight_dpms() argument 43 if (scon->backlight == NULL) in shmob_drm_backlight_dpms() 46 scon->backlight->props.power = mode == DRM_MODE_DPMS_ON in shmob_drm_backlight_dpms() 48 backlight_update_status(scon->backlight); in shmob_drm_backlight_dpms() 51 int shmob_drm_backlight_init(struct shmob_drm_connector *scon) in shmob_drm_backlight_init() argument 53 struct shmob_drm_device *sdev = scon in shmob_drm_backlight_init() 79 shmob_drm_backlight_exit(struct shmob_drm_connector *scon) shmob_drm_backlight_exit() argument [all...] |
H A D | shmob_drm_backlight.h | 15 void shmob_drm_backlight_dpms(struct shmob_drm_connector *scon, int mode); 16 int shmob_drm_backlight_init(struct shmob_drm_connector *scon); 17 void shmob_drm_backlight_exit(struct shmob_drm_connector *scon);
|
H A D | shmob_drm_crtc.c | 534 struct shmob_drm_connector *scon = &sdev->connector; in shmob_drm_encoder_dpms() local 539 shmob_drm_backlight_dpms(scon, mode); in shmob_drm_encoder_dpms() 650 struct shmob_drm_connector *scon = to_shmob_connector(connector); in shmob_drm_connector_best_encoder() local 652 return scon->encoder; in shmob_drm_connector_best_encoder() 662 struct shmob_drm_connector *scon = to_shmob_connector(connector); in shmob_drm_connector_destroy() local 664 shmob_drm_backlight_exit(scon); in shmob_drm_connector_destroy()
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | s_time.c | 35 static SSL *doConnection(SSL *scon, const char *host, SSL_CTX *ctx); 118 SSL *scon = NULL; in s_time_main() local 280 if ((scon = doConnection(NULL, host, ctx)) == NULL) in s_time_main() 286 if (buf_len <= 0 || SSL_write(scon, buf, buf_len) <= 0) in s_time_main() 288 while ((i = SSL_read(scon, buf, sizeof(buf))) > 0) in s_time_main() 291 SSL_set_shutdown(scon, SSL_SENT_SHUTDOWN | SSL_RECEIVED_SHUTDOWN); in s_time_main() 292 BIO_closesocket(SSL_get_fd(scon)); in s_time_main() 295 if (SSL_session_reused(scon)) { in s_time_main() 298 ver = SSL_version(scon); in s_time_main() 309 SSL_free(scon); in s_time_main() 415 doConnection(SSL *scon, const char *host, SSL_CTX *ctx) doConnection() argument [all...] |
/third_party/openssl/apps/ |
H A D | s_time.c | 35 static SSL *doConnection(SSL *scon, const char *host, SSL_CTX *ctx); 118 SSL *scon = NULL; in s_time_main() local 280 if ((scon = doConnection(NULL, host, ctx)) == NULL) in s_time_main() 286 if (buf_len <= 0 || SSL_write(scon, buf, buf_len) <= 0) in s_time_main() 288 while ((i = SSL_read(scon, buf, sizeof(buf))) > 0) in s_time_main() 291 SSL_set_shutdown(scon, SSL_SENT_SHUTDOWN | SSL_RECEIVED_SHUTDOWN); in s_time_main() 292 BIO_closesocket(SSL_get_fd(scon)); in s_time_main() 295 if (SSL_session_reused(scon)) { in s_time_main() 298 ver = SSL_version(scon); in s_time_main() 309 SSL_free(scon); in s_time_main() 415 doConnection(SSL *scon, const char *host, SSL_CTX *ctx) doConnection() argument [all...] |
/third_party/selinux/libselinux/include/selinux/ |
H A D | selinux.h | 195 extern int security_compute_av(const char * scon, 200 extern int security_compute_av_raw(const char * scon, 206 extern int security_compute_av_flags(const char * scon, 211 extern int security_compute_av_flags_raw(const char * scon, 219 extern int security_compute_create(const char * scon, 223 extern int security_compute_create_raw(const char * scon, 227 extern int security_compute_create_name(const char * scon, 232 extern int security_compute_create_name_raw(const char * scon, 240 extern int security_compute_relabel(const char * scon, 244 extern int security_compute_relabel_raw(const char * scon, [all...] |
/third_party/selinux/libselinux/src/ |
H A D | compute_create.c | 51 int security_compute_create_name_raw(const char * scon, in security_compute_create_name_raw() argument 80 scon, tcon, unmap_class(tclass)); in security_compute_create_name_raw() 116 int security_compute_create_raw(const char * scon, in security_compute_create_raw() argument 121 return security_compute_create_name_raw(scon, tcon, tclass, in security_compute_create_raw() 125 int security_compute_create_name(const char * scon, in security_compute_create_name() argument 136 if (selinux_trans_to_raw_context(scon, &rscon)) in security_compute_create_name() 155 int security_compute_create(const char * scon, in security_compute_create() argument 160 return security_compute_create_name(scon, tcon, tclass, NULL, newcon); in security_compute_create()
|
H A D | compute_av.c | 13 int security_compute_av_flags_raw(const char * scon, in security_compute_av_flags_raw() argument 44 ret = snprintf(buf, len, "%s %s %hu %x", scon, tcon, in security_compute_av_flags_raw() 90 int security_compute_av_raw(const char * scon, in security_compute_av_raw() argument 99 ret = security_compute_av_flags_raw(scon, tcon, tclass, in security_compute_av_raw() 116 int security_compute_av_flags(const char * scon, in security_compute_av_flags() argument 126 if (selinux_trans_to_raw_context(scon, &rscon)) in security_compute_av_flags() 142 int security_compute_av(const char * scon, in security_compute_av() argument 150 ret = security_compute_av_flags(scon, tcon, tclass, in security_compute_av()
|
H A D | validatetrans.c | 13 int security_validatetrans_raw(const char *scon, in security_validatetrans_raw() argument 41 bufsz = snprintf(buf, size, "%s %s %hu %s", scon, tcon, unmap_class(tclass), newcon); in security_validatetrans_raw() 61 int security_validatetrans(const char *scon, in security_validatetrans() argument 71 if (selinux_trans_to_raw_context(scon, &rscon)) { in security_validatetrans()
|
H A D | compute_member.c | 13 int security_compute_member_raw(const char * scon, in security_compute_member_raw() argument 40 ret = snprintf(buf, size, "%s %s %hu", scon, tcon, unmap_class(tclass)); in security_compute_member_raw() 70 int security_compute_member(const char * scon, in security_compute_member() argument 80 if (selinux_trans_to_raw_context(scon, &rscon)) in security_compute_member()
|
H A D | compute_relabel.c | 13 int security_compute_relabel_raw(const char * scon, in security_compute_relabel_raw() argument 40 ret = snprintf(buf, size, "%s %s %hu", scon, tcon, unmap_class(tclass)); in security_compute_relabel_raw() 70 int security_compute_relabel(const char * scon, in security_compute_relabel() argument 80 if (selinux_trans_to_raw_context(scon, &rscon)) in security_compute_relabel()
|
H A D | compute_user.c | 13 int security_compute_user_raw(const char * scon, in security_compute_user_raw() argument 42 ret = snprintf(buf, size, "%s %s", scon, user); in security_compute_user_raw() 90 int security_compute_user(const char * scon, in security_compute_user() argument 96 if (selinux_trans_to_raw_context(scon, &rscon)) in security_compute_user()
|
H A D | checkAccess.c | 22 int selinux_check_access(const char *scon, const char *tcon, const char *class, const char *perm, void *aux) { in selinux_check_access() argument 34 rc = avc_context_to_sid(scon, &scon_id); in selinux_check_access()
|
H A D | audit2why.c | 317 char * scon; in analyze() local 332 if (!PyArg_ParseTuple(args,(char *)"sssO!:audit2why",&scon,&tcon,&tclassstr,&PyList_Type, &listObj)) in analyze() 344 rc = sepol_context_to_sid(scon, strlen(scon) + 1, &ssid); in analyze()
|
/kernel/linux/linux-5.10/security/selinux/ |
H A D | selinuxfs.c | 909 char *scon = NULL, *tcon = NULL; in sel_write_access() local 922 scon = kzalloc(size + 1, GFP_KERNEL); in sel_write_access() 923 if (!scon) in sel_write_access() 932 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) in sel_write_access() 935 length = security_context_str_to_sid(state, scon, &ssid, GFP_KERNEL); in sel_write_access() 952 kfree(scon); in sel_write_access() 960 char *scon = NULL, *tcon = NULL; in sel_write_create() local 977 scon = kzalloc(size + 1, GFP_KERNEL); in sel_write_create() 978 if (!scon) in sel_write_create() 992 nargs = sscanf(buf, "%s %s %hu %s", scon, tco in sel_write_create() 1064 char *scon = NULL, *tcon = NULL; sel_write_relabel() local 1190 char *scon = NULL, *tcon = NULL; sel_write_member() local [all...] |
/kernel/linux/linux-6.6/security/selinux/ |
H A D | selinuxfs.c | 867 char *scon = NULL, *tcon = NULL; in sel_write_access() local 879 scon = kzalloc(size + 1, GFP_KERNEL); in sel_write_access() 880 if (!scon) in sel_write_access() 889 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) in sel_write_access() 892 length = security_context_str_to_sid(scon, &ssid, GFP_KERNEL); in sel_write_access() 909 kfree(scon); in sel_write_access() 915 char *scon = NULL, *tcon = NULL; in sel_write_create() local 931 scon = kzalloc(size + 1, GFP_KERNEL); in sel_write_create() 932 if (!scon) in sel_write_create() 946 nargs = sscanf(buf, "%s %s %hu %s", scon, tco in sel_write_create() 1016 char *scon = NULL, *tcon = NULL; sel_write_relabel() local 1136 char *scon = NULL, *tcon = NULL; sel_write_member() local [all...] |
/kernel/linux/linux-5.10/arch/mips/mti-malta/ |
H A D | malta-dtshim.c | 39 int scon = MIPS_REVISION_SCONID; in malta_scon() local 41 if (scon != MIPS_REVISION_SCON_OTHER) in malta_scon() 42 return scon; in malta_scon()
|
/kernel/linux/linux-6.6/arch/mips/mti-malta/ |
H A D | malta-dtshim.c | 39 int scon = MIPS_REVISION_SCONID; in malta_scon() local 41 if (scon != MIPS_REVISION_SCON_OTHER) in malta_scon() 42 return scon; in malta_scon()
|
/kernel/linux/linux-5.10/drivers/clk/renesas/ |
H A D | r9a06g032-clocks.c | 28 scon, mirack, mistat; member 63 .scon = _scon, .mirack = _mirack, .mistat = _mistat }
|