/openbmc/linux/include/linux/ |
H A D | signal.h | 53 enum siginfo_layout siginfo_layout(unsigned sig, int si_code); 66 unsigned long sig = _sig - 1; in sigaddset() local 68 set->sig[0] |= 1UL << sig; in sigaddset() 70 set->sig[sig / _NSIG_BPW] |= 1UL << (sig % _NSIG_BPW); in sigaddset() 75 unsigned long sig = _sig - 1; in sigdelset() local 77 set->sig[0] &= ~(1UL << sig); in sigdelset() 79 set->sig[sig / _NSIG_BPW] &= ~(1UL << (sig % _NSIG_BPW)); in sigdelset() 84 unsigned long sig = _sig - 1; in sigismember() local 86 return 1 & (set->sig[0] >> sig); in sigismember() 88 return 1 & (set->sig[sig / _NSIG_BPW] >> (sig % _NSIG_BPW)); in sigismember() [all …]
|
H A D | compat.h | 130 compat_sigset_word sig[_COMPAT_NSIG_WORDS]; member 454 case 4: v.sig[7] = (set->sig[3] >> 32); v.sig[6] = set->sig[3]; in put_compat_sigset() 456 case 3: v.sig[5] = (set->sig[2] >> 32); v.sig[4] = set->sig[2]; in put_compat_sigset() 458 case 2: v.sig[3] = (set->sig[1] >> 32); v.sig[2] = set->sig[1]; in put_compat_sigset() 460 case 1: v.sig[1] = (set->sig[0] >> 32); v.sig[0] = set->sig[0]; in put_compat_sigset() 475 unsafe_put_user(__s->sig[3] >> 32, &__c->sig[7], label); \ 476 unsafe_put_user(__s->sig[3], &__c->sig[6], label); \ 479 unsafe_put_user(__s->sig[2] >> 32, &__c->sig[5], label); \ 480 unsafe_put_user(__s->sig[2], &__c->sig[4], label); \ 483 unsafe_put_user(__s->sig[1] >> 32, &__c->sig[3], label); \ [all …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | signal.h | 24 unsigned long sig[_NSIG_WORDS]; member 44 #define sigaddset(set,sig) \ argument 45 (__builtin_constant_p(sig) \ 46 ? __const_sigaddset((set), (sig)) \ 47 : __gen_sigaddset((set), (sig))) 56 unsigned long sig = _sig - 1; in __const_sigaddset() local 57 set->sig[sig / _NSIG_BPW] |= 1 << (sig % _NSIG_BPW); in __const_sigaddset() 60 #define sigdelset(set, sig) \ argument 61 (__builtin_constant_p(sig) \ 62 ? __const_sigdelset((set), (sig)) \ [all …]
|
/openbmc/linux/drivers/gpu/ipu-v3/ |
H A D | ipu-di.c | 203 struct ipu_di_signal_cfg *sig) in ipu_di_sync_config_interlaced() argument 205 u32 h_total = sig->mode.hactive + sig->mode.hsync_len + in ipu_di_sync_config_interlaced() 206 sig->mode.hback_porch + sig->mode.hfront_porch; in ipu_di_sync_config_interlaced() 207 u32 v_total = sig->mode.vactive + sig->mode.vsync_len + in ipu_di_sync_config_interlaced() 208 sig->mode.vback_porch + sig->mode.vfront_porch; in ipu_di_sync_config_interlaced() 220 .cnt_down = sig->mode.hsync_len * 2, in ipu_di_sync_config_interlaced() 227 .cnt_down = sig->mode.vsync_len * 2, in ipu_di_sync_config_interlaced() 240 .offset_count = (sig->mode.vsync_len + in ipu_di_sync_config_interlaced() 241 sig->mode.vback_porch) / 2, in ipu_di_sync_config_interlaced() 243 .repeat_count = sig->mode.vactive / 2, in ipu_di_sync_config_interlaced() [all …]
|
/openbmc/linux/crypto/asymmetric_keys/ |
H A D | pkcs7_verify.c | 25 struct public_key_signature *sig = sinfo->sig; in pkcs7_digest() local 31 kenter(",%u,%s", sinfo->index, sinfo->sig->hash_algo); in pkcs7_digest() 34 if (sig->digest) in pkcs7_digest() 37 if (!sinfo->sig->hash_algo) in pkcs7_digest() 43 tfm = crypto_alloc_shash(sinfo->sig->hash_algo, 0, 0); in pkcs7_digest() 48 sig->digest_size = crypto_shash_digestsize(tfm); in pkcs7_digest() 51 sig->digest = kmalloc(sig->digest_size, GFP_KERNEL); in pkcs7_digest() 52 if (!sig->digest) in pkcs7_digest() 63 sig->digest); in pkcs7_digest() 66 pr_devel("MsgDigest = [%*ph]\n", 8, sig->digest); in pkcs7_digest() [all …]
|
H A D | x509_public_key.c | 27 struct public_key_signature *sig = cert->sig; in x509_get_sig_params() local 35 sig->s = kmemdup(cert->raw_sig, cert->raw_sig_size, GFP_KERNEL); in x509_get_sig_params() 36 if (!sig->s) in x509_get_sig_params() 39 sig->s_size = cert->raw_sig_size; in x509_get_sig_params() 44 tfm = crypto_alloc_shash(sig->hash_algo, 0, 0); in x509_get_sig_params() 54 sig->digest_size = crypto_shash_digestsize(tfm); in x509_get_sig_params() 57 sig->digest = kmalloc(sig->digest_size, GFP_KERNEL); in x509_get_sig_params() 58 if (!sig->digest) in x509_get_sig_params() 68 ret = strcmp(sig->hash_algo, "sm3") != 0 ? -EINVAL : in x509_get_sig_params() 71 cert->pub->keylen, sig->digest) ?: in x509_get_sig_params() [all …]
|
H A D | restrict.c | 75 const struct public_key_signature *sig; in restrict_link_by_signature() local 87 sig = payload->data[asym_auth]; in restrict_link_by_signature() 88 if (!sig) in restrict_link_by_signature() 90 if (!sig->auth_ids[0] && !sig->auth_ids[1] && !sig->auth_ids[2]) in restrict_link_by_signature() 93 if (ca_keyid && !asymmetric_key_id_partial(sig->auth_ids[1], ca_keyid)) in restrict_link_by_signature() 98 sig->auth_ids[0], sig->auth_ids[1], in restrict_link_by_signature() 99 sig->auth_ids[2], false); in restrict_link_by_signature() 106 ret = verify_signature(key, sig); in restrict_link_by_signature() 207 const struct public_key_signature *sig; in key_or_keyring_common() local 224 sig = payload->data[asym_auth]; in key_or_keyring_common() [all …]
|
H A D | public_key.c | 13 #include <crypto/sig.h> 69 char alg_name[CRYPTO_MAX_ALG_NAME], bool *sig, in software_key_determine_akcipher() argument 74 *sig = true; in software_key_determine_akcipher() 84 *sig = op == kernel_pkey_sign || in software_key_determine_akcipher() 105 *sig = false; in software_key_determine_akcipher() 163 struct crypto_sig *sig; in software_key_query() local 186 sig = crypto_alloc_sig(alg_name, 0, 0); in software_key_query() 187 if (IS_ERR(sig)) { in software_key_query() 188 ret = PTR_ERR(sig); in software_key_query() 193 ret = crypto_sig_set_privkey(sig, key, pkey->keylen); in software_key_query() [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | nf_conntrack_proto_dccp.c | 95 #define sIG CT_DCCP_IGNORE macro 124 * Packets are marked as ignored (sIG) if we don't know if they're valid 139 * sPO -> sIG Ignore, conntrack might be out of sync 140 * sOP -> sIG Ignore, conntrack might be out of sync 141 * sCR -> sIG Ignore, conntrack might be out of sync 142 * sCG -> sIG Ignore, conntrack might be out of sync 146 sRQ, sRQ, sRS, sIG, sIG, sIG, sIG, sRQ, 151 * sRQ -> sIG Ignore, might be response to ignored Request 152 * sRS -> sIG Ignore, might be response to ignored Request 153 * sPO -> sIG Ignore, might be response to ignored Request [all …]
|
/openbmc/linux/include/trace/events/ |
H A D | signal.h | 38 * @sig: signal number 44 * Current process sends a 'sig' signal to 'task' process with 52 TP_PROTO(int sig, struct kernel_siginfo *info, struct task_struct *task, 55 TP_ARGS(sig, info, task, group, result), 58 __field( int, sig ) 68 __entry->sig = sig; 76 TP_printk("sig=%d errno=%d code=%d comm=%s pid=%d grp=%d res=%d", 77 __entry->sig, __entry->errno, __entry->code, 84 * @sig: signal number 88 * A 'sig' signal is delivered to current process with 'info' siginfo, [all …]
|
/openbmc/linux/tools/lib/subcmd/ |
H A D | sigchain.c | 15 static void check_signum(int sig) in check_signum() argument 17 if (sig < 1 || sig >= SIGCHAIN_MAX_SIGNALS) in check_signum() 18 die("BUG: signal out of range: %d", sig); in check_signum() 21 static int sigchain_push(int sig, sigchain_fun f) in sigchain_push() argument 23 struct sigchain_signal *s = signals + sig; in sigchain_push() 24 check_signum(sig); in sigchain_push() 27 s->old[s->n] = signal(sig, f); in sigchain_push() 34 int sigchain_pop(int sig) in sigchain_pop() argument 36 struct sigchain_signal *s = signals + sig; in sigchain_pop() 37 check_signum(sig); in sigchain_pop() [all …]
|
/openbmc/qemu/linux-user/ |
H A D | signal.c | 61 #define MAKE_SIG_ENTRY(sig) [sig] = TARGET_##sig, argument 68 /* valid sig is between 1 and _NSIG - 1 */ 69 int host_to_target_signal(int sig) in host_to_target_signal() argument 71 if (sig < 1) { in host_to_target_signal() 72 return sig; in host_to_target_signal() 74 if (sig >= _NSIG) { in host_to_target_signal() 77 return host_to_target_signal_table[sig]; in host_to_target_signal() 80 /* valid sig is between 1 and TARGET_NSIG */ 81 int target_to_host_signal(int sig) in target_to_host_signal() argument 83 if (sig < 1) { in target_to_host_signal() [all …]
|
/openbmc/openbmc-test-automation/docs/ |
H A D | code_update.md | 112 -rw-r--r-- jenkins-op/jenkins-op 128 2021-05-15 22:00 image-u-boot.sig 113 -rw-r--r-- jenkins-op/jenkins-op 128 2021-05-15 22:00 image-kernel.sig 114 -rw-r--r-- jenkins-op/jenkins-op 128 2021-05-15 22:00 image-rofs.sig 115 -rw-r--r-- jenkins-op/jenkins-op 128 2021-05-15 22:00 image-rwfs.sig 116 -rw-r--r-- jenkins-op/jenkins-op 128 2021-05-15 22:00 MANIFEST.sig 117 -rw-r--r-- jenkins-op/jenkins-op 128 2021-05-15 22:00 publickey.sig 118 -rw-r--r-- jenkins-op/jenkins-op 128 2021-05-15 22:00 image-full.sig 130 -rw-r--r-- jenkins-op/jenkins-op 128 2021-05-15 22:00 image-u-boot.sig 131 -rw-r--r-- jenkins-op/jenkins-op 128 2021-05-15 22:00 image-kernel.sig 132 -rw-r--r-- jenkins-op/jenkins-op 128 2021-05-15 22:00 image-rofs.sig [all …]
|
/openbmc/linux/kernel/ |
H A D | signal.c | 69 static void __user *sig_handler(struct task_struct *t, int sig) in sig_handler() argument 71 return t->sighand->action[sig - 1].sa.sa_handler; in sig_handler() 74 static inline bool sig_handler_ignored(void __user *handler, int sig) in sig_handler_ignored() argument 78 (handler == SIG_DFL && sig_kernel_ignore(sig)); in sig_handler_ignored() 81 static bool sig_task_ignored(struct task_struct *t, int sig, bool force) in sig_task_ignored() argument 85 handler = sig_handler(t, sig); in sig_task_ignored() 88 if (unlikely(is_global_init(t) && sig_kernel_only(sig))) in sig_task_ignored() 92 handler == SIG_DFL && !(force && sig_kernel_only(sig))) in sig_task_ignored() 100 return sig_handler_ignored(handler, sig); in sig_task_ignored() 103 static bool sig_ignored(struct task_struct *t, int sig, bool force) in sig_ignored() argument [all …]
|
/openbmc/qemu/bsd-user/ |
H A D | signal.c | 56 int host_to_target_signal(int sig) in host_to_target_signal() argument 58 return sig; in host_to_target_signal() 61 int target_to_host_signal(int sig) in target_to_host_signal() argument 63 return sig; in target_to_host_signal() 166 int sig = host_to_target_signal(info->si_signo); in host_to_target_siginfo_noswap() local 186 tinfo->si_signo = sig; in host_to_target_siginfo_noswap() 233 if (has_trapno(sig)) { in host_to_target_siginfo_noswap() 242 if (sig == TARGET_SIGPOLL) { in host_to_target_siginfo_noswap() 253 if (sig == TARGET_SIGTRAP) { in host_to_target_siginfo_noswap() 345 static int core_dump_signal(int sig) in core_dump_signal() argument [all …]
|
/openbmc/linux/fs/isofs/ |
H A D | rock.c | 25 #define SIG(A,B) ((A) | ((B) << 8)) /* isonum_721() */ macro 136 * We think there's a record of type `sig' at rs->chr. Parse the signature 139 static int rock_check_overflow(struct rock_state *rs, int sig) in rock_check_overflow() argument 143 switch (sig) { in rock_check_overflow() 144 case SIG('S', 'P'): in rock_check_overflow() 147 case SIG('C', 'E'): in rock_check_overflow() 150 case SIG('E', 'R'): in rock_check_overflow() 153 case SIG('R', 'R'): in rock_check_overflow() 156 case SIG('P', 'X'): in rock_check_overflow() 159 case SIG('P', 'N'): in rock_check_overflow() [all …]
|
/openbmc/linux/arch/x86/lib/ |
H A D | cpu.c | 6 unsigned int x86_family(unsigned int sig) in x86_family() argument 10 x86 = (sig >> 8) & 0xf; in x86_family() 13 x86 += (sig >> 20) & 0xff; in x86_family() 19 unsigned int x86_model(unsigned int sig) in x86_model() argument 23 fam = x86_family(sig); in x86_model() 25 model = (sig >> 4) & 0xf; in x86_model() 28 model += ((sig >> 16) & 0xf) << 4; in x86_model() 34 unsigned int x86_stepping(unsigned int sig) in x86_stepping() argument 36 return sig & 0xf; in x86_stepping()
|
/openbmc/linux/drivers/eisa/ |
H A D | eisa-bus.c | 20 #define EISA_DEVINFO(i,s) { .id = { .sig = i }, .name = s } 62 if (!strcmp(edev->id.sig, eisa_table[i].id.sig)) { in eisa_name_device() 71 sprintf(edev->pretty_name, "EISA device %.7s", edev->id.sig); in eisa_name_device() 78 u8 sig[4]; in decode_eisa_sig() local 93 sig[i] = inb(addr + i); in decode_eisa_sig() 95 if (!i && (sig[0] & 0x80)) in decode_eisa_sig() 99 sig_str[0] = ((sig[0] >> 2) & 0x1f) + ('A' - 1); in decode_eisa_sig() 100 sig_str[1] = (((sig[0] & 3) << 3) | (sig[1] >> 5)) + ('A' - 1); in decode_eisa_sig() 101 sig_str[2] = (sig[1] & 0x1f) + ('A' - 1); in decode_eisa_sig() 102 rev = (sig[2] << 8) | sig[3]; in decode_eisa_sig() [all …]
|
/openbmc/linux/arch/um/os-Linux/ |
H A D | signal.c | 34 static void sig_handler_common(int sig, struct siginfo *si, mcontext_t *mc) in sig_handler_common() argument 40 if (sig == SIGSEGV) { in sig_handler_common() 46 /* enable signals if sig isn't IRQ signal */ in sig_handler_common() 47 if ((sig != SIGIO) && (sig != SIGWINCH)) in sig_handler_common() 50 (*sig_info[sig])(sig, si, &r); in sig_handler_common() 74 void sig_handler(int sig, struct siginfo *si, mcontext_t *mc) in sig_handler() argument 81 (sig == SIGIO)) { in sig_handler() 89 if (!enabled && (sig == SIGIO)) { in sig_handler() 107 sig_handler_common(sig, si, mc); in sig_handler() 123 void timer_alarm_handler(int sig, struct siginfo *unused_si, mcontext_t *mc) in timer_alarm_handler() argument [all …]
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | signal.h | 17 unsigned long sig[_NSIG_WORDS]; member 45 unsigned long sig = _sig - 1; in __const_sigismember() local 46 return 1 & (set->sig[sig / _NSIG_BPW] >> (sig % _NSIG_BPW)); in __const_sigismember() 59 #define sigismember(set,sig) \ argument 60 (__builtin_constant_p(sig) ? \ 61 __const_sigismember(set,sig) : \ 62 __gen_sigismember(set,sig))
|
/openbmc/linux/tools/crypto/ccp/ |
H A D | dbc_cli.py | 67 sig = None variable 75 sig = f.read() variable 76 if len(sig) != DBC_SIG_SIZE: 78 "Invalid signature length %d (expected %d)" % (len(sig), DBC_SIG_SIZE) 98 nonce = get_nonce(d, sig) 104 result = set_uid(d, uid, sig) 113 param, signature = process_param(d, messages[args.message], sig) 115 "Parameter: {par}, response signature {sig}".format( 117 sig=_pretty_buffer(bytes(signature)), 126 param, signature = process_param(d, messages[args.message], sig, data) [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
H A D | arm,pl18x.yaml | 105 st,sig-dir-dat0: 110 st,sig-dir-dat2: 115 st,sig-dir-dat31: 120 st,sig-dir-dat74: 125 st,sig-dir-cmd: 130 st,sig-pin-fbclk: 135 st,sig-dir: 207 st,sig-dir-dat0; 208 st,sig-dir-dat2; 209 st,sig-dir-cmd; [all …]
|
/openbmc/linux/drivers/net/wireless/legacy/ |
H A D | wl3501_cs.c | 369 static int wl3501_esbq_exec(struct wl3501_card *this, void *sig, int sig_size) in wl3501_esbq_exec() argument 376 wl3501_set_to_wla(this, ptr, sig, sig_size); in wl3501_esbq_exec() 386 struct wl3501_get_req sig = { in wl3501_request_mib() local 395 u16 ptr = wl3501_get_tx_buffer(this, sizeof(sig)); in wl3501_request_mib() 397 wl3501_set_to_wla(this, ptr, &sig, sizeof(sig)); in wl3501_request_mib() 428 struct wl3501_pwr_mgmt_req sig = { in wl3501_pwr_mgmt() local 439 u16 ptr = wl3501_get_tx_buffer(this, sizeof(sig)); in wl3501_pwr_mgmt() 441 wl3501_set_to_wla(this, ptr, &sig, sizeof(sig)); in wl3501_pwr_mgmt() 469 struct wl3501_md_req sig = { in wl3501_send_pkt() local 472 size_t sig_addr_len = sizeof(sig.addr); in wl3501_send_pkt() [all …]
|
/openbmc/linux/drivers/pinctrl/aspeed/ |
H A D | pinmux-aspeed.h | 513 #define SIG_DESC_LIST_SYM(sig, group) sig_descs_ ## sig ## _ ## group argument 514 #define SIG_DESC_LIST_DECL(sig, group, ...) \ argument 515 static const struct aspeed_sig_desc SIG_DESC_LIST_SYM(sig, group)[] = \ 518 #define SIG_EXPR_SYM(sig, group) sig_expr_ ## sig ## _ ## group argument 519 #define SIG_EXPR_DECL_(sig, group, func) \ argument 520 static const struct aspeed_sig_expr SIG_EXPR_SYM(sig, group) = \ 522 .signal = #sig, \ 524 .ndescs = ARRAY_SIZE(SIG_DESC_LIST_SYM(sig, group)), \ 525 .descs = &(SIG_DESC_LIST_SYM(sig, group))[0], \ 531 * @sig: A macro symbol name for the signal (is subjected to stringification [all …]
|
/openbmc/qemu/.gitlab-ci.d/ |
H A D | windows.yml | 36 "https://repo.msys2.org/distrib/msys2-x86_64-latest.sfx.exe.sig" 37 -outfile "msys2.exe.sig" 38 - if ( Test-Path -Path msys64\var\cache\msys2.exe.sig ) { 39 Write-Output "Cached installer sig" ; 40 …if ( ((Get-FileHash msys2.exe.sig).Hash -ne (Get-FileHash msys64\var\cache\msys2.exe.sig).Hash) ) { 41 Write-Output "Mis-matched installer sig, new installer download required" ; 42 Remove-Item -Path msys64\var\cache\msys2.exe.sig ; 47 Write-Output "Matched installer sig, cached installer still valid" 50 Write-Output "No cached installer sig, new installer download required" ; 60 Copy-Item -Path msys2.exe.sig -Destination msys64\var\cache\msys2.exe.sig
|