Home
last modified time | relevance | path

Searched refs:ks (Results 1 – 18 of 18) sorted by relevance

/linux/kernel/debug/
H A Dgdbstub.c479 static void gdb_cmd_status(struct kgdb_state *ks) in gdb_cmd_status() argument
490 hex_byte_pack(&remcom_out_buffer[1], ks->signo); in gdb_cmd_status()
493 static void gdb_get_regs_helper(struct kgdb_state *ks) in gdb_get_regs_helper() argument
501 thread = kgdb_info[ks->cpu].task; in gdb_get_regs_helper()
502 local_debuggerinfo = kgdb_info[ks->cpu].debuggerinfo; in gdb_get_regs_helper()
537 static void gdb_cmd_getregs(struct kgdb_state *ks) in gdb_cmd_getregs() argument
539 gdb_get_regs_helper(ks); in gdb_cmd_getregs()
544 static void gdb_cmd_setregs(struct kgdb_state *ks) in gdb_cmd_setregs() argument
551 gdb_regs_to_pt_regs(gdb_regs, ks->linux_regs); in gdb_cmd_setregs()
557 static void gdb_cmd_memread(struct kgdb_state *ks) in gdb_cmd_memread() argument
[all …]
H A Ddebug_core.c515 static int kgdb_reenter_check(struct kgdb_state *ks) in kgdb_reenter_check() argument
524 addr = kgdb_arch_pc(ks->ex_vector, ks->linux_regs); in kgdb_reenter_check()
535 kgdb_skipexception(ks->ex_vector, ks->linux_regs); in kgdb_reenter_check()
543 kgdb_skipexception(ks->ex_vector, ks->linux_regs); in kgdb_reenter_check()
571 static int kgdb_cpu_enter(struct kgdb_state *ks, struct pt_regs *regs, in kgdb_cpu_enter() argument
582 kgdb_info[ks->cpu].enter_kgdb++; in kgdb_cpu_enter()
583 kgdb_info[ks->cpu].exception_state |= exception_state; in kgdb_cpu_enter()
601 cpu = ks->cpu; in kgdb_cpu_enter()
686 if (kgdb_skipexception(ks->ex_vector, ks->linux_regs)) in kgdb_cpu_enter()
704 if (ks->send_ready) in kgdb_cpu_enter()
[all …]
/linux/drivers/net/ovpn/
H A Dio.c110 struct ovpn_crypto_key_slot *ks; in ovpn_decrypt_post() local
125 ks = ovpn_skb_cb(skb)->ks; in ovpn_decrypt_post()
136 ret = ovpn_pktid_recv(&ks->pid_recv, ntohl(*pid), 0); in ovpn_decrypt_post()
209 if (likely(ks)) in ovpn_decrypt_post()
210 ovpn_crypto_key_slot_put(ks); in ovpn_decrypt_post()
216 struct ovpn_crypto_key_slot *ks; in ovpn_recv() local
223 ks = ovpn_crypto_key_id_to_slot(&peer->crypto, key_id); in ovpn_recv()
224 if (unlikely(!ks)) { in ovpn_recv()
235 ovpn_decrypt_post(skb, ovpn_aead_decrypt(peer, ks, skb)); in ovpn_recv()
240 struct ovpn_crypto_key_slot *ks; in ovpn_encrypt_post() local
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dget_stack_raw_tp.c32 struct ksym *ks; in get_stack_print_output() local
51 ks = ksym_search(raw_data[i]); in get_stack_print_output()
52 if (ks && (strcmp(ks->name, nonjit_func) == 0)) { in get_stack_print_output()
68 ks = ksym_search(e.kern_stack[i]); in get_stack_print_output()
69 if (ks && (strcmp(ks->name, nonjit_func) == 0)) { in get_stack_print_output()
/linux/drivers/media/i2c/
H A Dks0127.c324 struct ks0127 *ks = to_ks0127(sd); in ks0127_write() local
330 ks->regs[reg] = val; in ks0127_write()
337 struct ks0127 *ks = to_ks0127(sd); in ks0127_and_or() local
339 u8 val = ks->regs[reg]; in ks0127_and_or()
396 struct ks0127 *ks = to_ks0127(sd); in ks0127_s_routing() local
472 if (ks->norm & V4L2_STD_525_60) in ks0127_s_routing()
528 struct ks0127 *ks = to_ks0127(sd); in ks0127_s_std() local
533 ks->norm = std; in ks0127_s_std()
647 struct ks0127 *ks; in ks0127_probe() local
654 ks = devm_kzalloc(&client->dev, sizeof(*ks), GFP_KERNEL); in ks0127_probe()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c2102 struct ethtool_link_ksettings *ks, u32 req_speeds, in ice_linkmode_set_bit() argument
2105 linkmode_set_bit(phy_to_ethtool->link_mode, ks->link_modes.supported); in ice_linkmode_set_bit()
2110 ks->link_modes.advertising); in ice_linkmode_set_bit()
2120 struct ethtool_link_ksettings *ks) in ice_phy_type_to_ethtool() argument
2187 linkmode_zero(ks->link_modes.supported); in ice_phy_type_to_ethtool()
2188 linkmode_zero(ks->link_modes.advertising); in ice_phy_type_to_ethtool()
2192 ice_linkmode_set_bit(&phy_type_low_lkup[i], ks, in ice_phy_type_to_ethtool()
2199 ice_linkmode_set_bit(&phy_type_high_lkup[i], ks, in ice_phy_type_to_ethtool()
2215 ice_get_settings_link_up(struct ethtool_link_ksettings *ks, in ice_get_settings_link_up() argument
2226 ice_phy_type_to_ethtool(netdev, ks); in ice_get_settings_link_up()
[all …]
/linux/tools/testing/selftests/bpf/
H A Dtrace_helpers.c165 struct ksym *ks; in search_kallsyms_custom_local() local
170 ks = &ksyms->syms[mid]; in search_kallsyms_custom_local()
171 result = cmp_cb(p, ks); in search_kallsyms_custom_local()
177 return ks; in search_kallsyms_custom_local()
615 struct ksym *ks; in bpf_get_ksyms() local
657 ks = search_kallsyms_custom_local(ksyms, name, search_kallsyms_compare); in bpf_get_ksyms()
658 if (!ks) { in bpf_get_ksyms()
663 ksym_name = ks->name; in bpf_get_ksyms()
/linux/tools/perf/util/
H A Dcall-path.c79 struct symbol *sym, u64 ip, u64 ks) in call_path__findnew() argument
84 bool in_kernel = ip >= ks; in call_path__findnew()
H A Dthread-stack.c914 u64 ks = ts->kernel_start; in thread_stack__no_call_return() local
920 if (ip >= ks && addr < ks) { in thread_stack__no_call_return()
928 cp = call_path__findnew(cpr, root, tsym, addr, ks); in thread_stack__no_call_return()
932 } else if (thread_stack__in_kernel(ts) && ip < ks) { in thread_stack__no_call_return()
958 cp = call_path__findnew(cpr, root, tsym, addr, ks); in thread_stack__no_call_return()
968 cp = call_path__findnew(cpr, parent, tsym, addr, ks); in thread_stack__no_call_return()
982 cp = call_path__findnew(cpr, parent, tsym, addr, ks); in thread_stack__no_call_return()
988 cp = call_path__findnew(cpr, cp, fsym, ip, ks); in thread_stack__no_call_return()
H A Dcall-path.h66 struct symbol *sym, u64 ip, u64 ks);
/linux/arch/microblaze/include/asm/
H A Dmmu.h44 unsigned long ks:1; /* Supervisor 'key' (normally 0) */ member
/linux/kernel/module/
H A Dversion.c142 struct kernel_symbol *ks, in module_layout() argument
/linux/fs/
H A Dnamespace.c5854 static int prepare_kstatmount(struct kstatmount *ks, struct mnt_id_req *kreq, in prepare_kstatmount() argument
5861 memset(ks, 0, sizeof(*ks)); in prepare_kstatmount()
5862 ks->mask = kreq->param; in prepare_kstatmount()
5863 ks->buf = buf; in prepare_kstatmount()
5864 ks->bufsize = bufsize; in prepare_kstatmount()
5866 if (ks->mask & STATMOUNT_STRING_REQ) { in prepare_kstatmount()
5867 if (bufsize == sizeof(ks->sm)) in prepare_kstatmount()
5870 ks->seq.buf = kvmalloc(seq_size, GFP_KERNEL_ACCOUNT); in prepare_kstatmount()
5871 if (!ks->seq.buf) in prepare_kstatmount()
5874 ks->seq.size = seq_size; in prepare_kstatmount()
[all …]
/linux/drivers/char/hw_random/
H A DMakefile45 obj-$(CONFIG_HW_RANDOM_KEYSTONE) += ks-sa-rng.o
/linux/arch/arm64/crypto/
H A Dsm4-ce-glue.c543 static u8 const ks[3][SM4_BLOCK_SIZE] = { in sm4_xcbc_setkey() local
556 sm4_ce_crypt_block(ctx->key.rkey_enc, key2, ks[0]); in sm4_xcbc_setkey()
557 sm4_ce_crypt(ctx->key.rkey_enc, ctx->consts, ks[1], 2); in sm4_xcbc_setkey()
/linux/sound/virtio/
H A Dvirtio_pcm.c476 struct snd_pcm_str *ks = &vpcm->pcm->streams[i]; in virtsnd_pcm_build_devs() local
482 for (kss = ks->substream; kss; kss = kss->next) in virtsnd_pcm_build_devs()
/linux/drivers/pinctrl/actions/
H A Dpinctrl-s500.c1350 [S500_MUX_KS] = FUNCTION(ks),
H A Dpinctrl-s700.c1565 [S700_MUX_KS] = FUNCTION(ks),