Home
last modified time | relevance | path

Searched refs:kb (Results 1 – 25 of 48) sorted by relevance

12

/linux-6.6.21/arch/s390/crypto/
Dpaes_s390.c58 static inline int _key_to_kb(struct key_blob *kb, in _key_to_kb() argument
76 memset(kb->keybuf, 0, sizeof(kb->keybuf)); in _key_to_kb()
77 h = (struct clearkey_header *) kb->keybuf; in _key_to_kb()
81 memcpy(kb->keybuf + sizeof(*h), key, keylen); in _key_to_kb()
82 kb->keylen = sizeof(*h) + keylen; in _key_to_kb()
83 kb->key = kb->keybuf; in _key_to_kb()
87 if (keylen <= sizeof(kb->keybuf)) in _key_to_kb()
88 kb->key = kb->keybuf; in _key_to_kb()
90 kb->key = kmalloc(keylen, GFP_KERNEL); in _key_to_kb()
91 if (!kb->key) in _key_to_kb()
[all …]
/linux-6.6.21/drivers/tty/vt/
Dkeyboard.c1150 void setledstate(struct kbd_struct *kb, unsigned int led) in setledstate() argument
1156 kb->ledmode = LED_SHOW_IOCTL; in setledstate()
1158 kb->ledmode = LED_SHOW_FLAGS; in setledstate()
1166 struct kbd_struct *kb = kbd_table + fg_console; in getleds() local
1168 if (kb->ledmode == LED_SHOW_IOCTL) in getleds()
1171 return kb->ledflagstate; in getleds()
1183 struct kbd_struct *kb = &kbd_table[console]; in vt_get_leds() local
1188 ret = vc_kbd_led(kb, flag); in vt_get_leds()
1205 struct kbd_struct *kb = &kbd_table[console]; in vt_set_led_state() local
1206 setledstate(kb, leds); in vt_set_led_state()
[all …]
/linux-6.6.21/fs/dlm/
Duser.c88 static void compat_input(struct dlm_write_request *kb, in compat_input() argument
92 kb->version[0] = kb32->version[0]; in compat_input()
93 kb->version[1] = kb32->version[1]; in compat_input()
94 kb->version[2] = kb32->version[2]; in compat_input()
96 kb->cmd = kb32->cmd; in compat_input()
97 kb->is64bit = kb32->is64bit; in compat_input()
98 if (kb->cmd == DLM_USER_CREATE_LOCKSPACE || in compat_input()
99 kb->cmd == DLM_USER_REMOVE_LOCKSPACE) { in compat_input()
100 kb->i.lspace.flags = kb32->i.lspace.flags; in compat_input()
101 kb->i.lspace.minor = kb32->i.lspace.minor; in compat_input()
[all …]
/linux-6.6.21/drivers/s390/crypto/
Dzcrypt_ep11misc.c118 static int ep11_kb_split(const u8 *kb, size_t kblen, u32 kbver, in ep11_kb_split() argument
129 hdr = (struct ep11kblob_header *)kb; in ep11_kb_split()
146 pl = (u8 *)kb + hdrsize; in ep11_kb_split()
162 static int ep11_kb_decode(const u8 *kb, size_t kblen, in ep11_kb_decode() argument
174 tmph = (struct ep11kblob_header *)kb; in ep11_kb_decode()
180 if (ep11_kb_split(kb, kblen, tmph->version, in ep11_kb_decode()
213 struct ep11keyblob *kb; in ep11_kb_wkvp() local
215 if (ep11_kb_decode(keyblob, keybloblen, NULL, NULL, &kb, NULL)) in ep11_kb_wkvp()
217 return kb->wkvp; in ep11_kb_wkvp()
228 struct ep11keyblob *kb = (struct ep11keyblob *)(key + sizeof(*hdr)); in ep11_check_aes_key_with_hdr() local
[all …]
Dzcrypt_ccamisc.c801 } kb; in cca_gencipherkey() member
816 } kb; in cca_gencipherkey() member
854 preqparm->kb.len = sizeof(preqparm->kb); in cca_gencipherkey()
855 preqparm->kb.tlv1.len = sizeof(preqparm->kb.tlv1); in cca_gencipherkey()
856 preqparm->kb.tlv1.flag = 0x0030; in cca_gencipherkey()
857 preqparm->kb.tlv2.len = sizeof(preqparm->kb.tlv2); in cca_gencipherkey()
858 preqparm->kb.tlv2.flag = 0x0030; in cca_gencipherkey()
859 preqparm->kb.tlv3.len = sizeof(preqparm->kb.tlv3); in cca_gencipherkey()
860 preqparm->kb.tlv3.flag = 0x0030; in cca_gencipherkey()
861 memcpy(preqparm->kb.tlv3.gen_key_id_1, in cca_gencipherkey()
[all …]
Dzcrypt_ep11misc.h48 struct ep11keyblob *kb = (struct ep11keyblob *)key; in is_ep11_keyblob() local
50 return (kb->version == EP11_STRUCT_MAGIC); in is_ep11_keyblob()
/linux-6.6.21/Documentation/driver-api/tty/
Dmoxa-smartio.rst172 spd_hi Use 57.6kb when the application requests 38.4kb.
173 spd_vhi Use 115.2kb when the application requests 38.4kb.
174 spd_shi Use 230.4kb when the application requests 38.4kb.
175 spd_warp Use 460.8kb when the application requests 38.4kb.
176 spd_normal Use 38.4kb when the application requests 38.4kb.
178 application requests 38.4kb.
/linux-6.6.21/drivers/w1/slaves/
DKconfig86 tristate "1kb EEPROM family support (DS2431)"
89 1kb EEPROM family device (DS2431)
92 tristate "4kb EEPROM family support (DS2433)"
95 4kb EEPROM family device (DS2433).
113 tristate "512b/1kb/16kb EPROM family support"
117 512b/1kb/16kb EPROM family device (DS250x).
151 4kb EEPROM with PIO family device (DS28E04).
/linux-6.6.21/tools/testing/selftests/mm/
Dvm_util.c212 size_t kb; in detect_hugetlb_page_sizes() local
218 if (sscanf(entry->d_name, "hugepages-%zukB", &kb) != 1) in detect_hugetlb_page_sizes()
220 sizes[count++] = kb * 1024; in detect_hugetlb_page_sizes()
222 kb); in detect_hugetlb_page_sizes()
Dhugetlb_reparenting_test.sh42 kb=${hpz:14:-3}
43 mb=$(($kb / 1024))
/linux-6.6.21/arch/mips/sgi-ip22/
DPlatform8 # address by 8kb.
23 # be 16kb aligned or the handling of the current variable will break.
/linux-6.6.21/arch/arm/boot/dts/nvidia/
Dtegra124-apalis-v1.2.dtsi878 kb-row10-ps2 {
1041 kb-row0-pr0 {
1048 kb-row1-pr1 {
1057 kb-row11-ps3 {
1066 kb-col5-pq5 {
1073 kb-col6-pq6 {
1080 kb-col7-pq7 {
1089 kb-col0-pq0 {
1096 kb-col1-pq1 {
1103 kb-col2-pq2 {
[all …]
Dtegra124-apalis.dtsi875 kb-row10-ps2 {
1038 kb-row0-pr0 {
1045 kb-row1-pr1 {
1054 kb-row11-ps3 {
1063 kb-col5-pq5 {
1070 kb-col6-pq6 {
1077 kb-col7-pq7 {
1086 kb-col0-pq0 {
1093 kb-col1-pq1 {
1100 kb-col2-pq2 {
[all …]
Dtegra30-apalis-v1.1.dtsi170 kb-col0-pq0 {
338 kb-col2-pq2 {
348 kb-row0-pr0 {
358 kb-row5-pr5 {
490 kb-col5-pq5 {
497 kb-col6-pq6 {
Dtegra30-apalis.dtsi169 kb-col0-pq0 {
337 kb-col2-pq2 {
347 kb-row0-pr0 {
357 kb-row5-pr5 {
489 kb-col5-pq5 {
496 kb-col6-pq6 {
/linux-6.6.21/drivers/tty/
Dn_tty.c2155 u8 *kb = kbuf; in n_tty_read() local
2179 else if (canon_copy_from_read_buf(tty, &kb, &nr)) in n_tty_read()
2180 return kb - kbuf; in n_tty_read()
2182 if (copy_from_read_buf(tty, &kb, &nr)) in n_tty_read()
2183 return kb - kbuf; in n_tty_read()
2192 return kb - kbuf; in n_tty_read()
2232 if (kb != kbuf) in n_tty_read()
2238 *kb++ = cs; in n_tty_read()
2281 if (canon_copy_from_read_buf(tty, &kb, &nr)) in n_tty_read()
2285 if (packet && kb == kbuf) { in n_tty_read()
[all …]
/linux-6.6.21/Documentation/ABI/stable/
Dsysfs-firmware-opal-elog52 <16kb, often just hundreds of bytes and
53 "average" 2kb.
/linux-6.6.21/arch/mips/sgi-ip27/
DPlatform6 # be 16kb aligned or the handling of the current variable will break.
/linux-6.6.21/Documentation/networking/device_drivers/atm/
Dcxacru.rst120 [2635357.696901] ATM dev 0: ADSL line: up (8128 kb/s down | 832 kb/s up)
/linux-6.6.21/arch/arm/boot/compressed/
Dhead-xscale.S23 add r3, r2, #0x10000 @ 64 kb is quite enough...
Dhead-sa1100.S33 add r3, r2, #0x4000 @ 16 kb is quite enough...
/linux-6.6.21/net/ieee802154/
DKconfig8 devices. Maximum allowed data rate is 250 kb/s and typical personal
/linux-6.6.21/drivers/scsi/libsas/
DKconfig33 N here if you want to save the few kb this consumes.
/linux-6.6.21/fs/fscache/
Dcookie.c303 const void *ka, *kb; in fscache_cookie_same() local
312 kb = &b->inline_key; in fscache_cookie_same()
315 kb = b->key; in fscache_cookie_same()
317 return memcmp(ka, kb, a->key_len) == 0; in fscache_cookie_same()
/linux-6.6.21/sound/soc/qcom/qdsp6/
Dq6asm.h70 u8 kb; member

12