Home
last modified time | relevance | path

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

123

/openbmc/linux/arch/s390/crypto/
H A 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 …]
/openbmc/qemu/tests/qemu-iotests/
H A D26546 (for ((kb = 1024 - 4; kb >= 0; kb -= 4)); do \
53 (for ((kb = 0; kb < 1024; kb += 4)); do \
54 echo "read -P 0 ${kb}k 1k"; \
/openbmc/linux/drivers/tty/vt/
H A 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 …]
/openbmc/linux/fs/dlm/
H A Duser.c87 static void compat_input(struct dlm_write_request *kb, in compat_input() argument
91 kb->version[0] = kb32->version[0]; in compat_input()
92 kb->version[1] = kb32->version[1]; in compat_input()
93 kb->version[2] = kb32->version[2]; in compat_input()
95 kb->cmd = kb32->cmd; in compat_input()
96 kb->is64bit = kb32->is64bit; in compat_input()
97 if (kb->cmd == DLM_USER_CREATE_LOCKSPACE || in compat_input()
98 kb->cmd == DLM_USER_REMOVE_LOCKSPACE) { in compat_input()
99 kb->i.lspace.flags = kb32->i.lspace.flags; in compat_input()
100 kb->i.lspace.minor = kb32->i.lspace.minor; in compat_input()
[all …]
/openbmc/linux/drivers/s390/crypto/
H A 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 …]
H A 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 …]
H A 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()
/openbmc/linux/Documentation/driver-api/tty/
H A 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.
/openbmc/linux/drivers/w1/slaves/
H A 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).
/openbmc/linux/tools/testing/selftests/mm/
H A 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()
H A Dhugetlb_reparenting_test.sh42 kb=${hpz:14:-3}
43 mb=$(($kb / 1024))
/openbmc/linux/arch/mips/sgi-ip22/
H A DPlatform8 # address by 8kb.
23 # be 16kb aligned or the handling of the current variable will break.
/openbmc/openbmc/poky/meta/recipes-multimedia/gstreamer/gst-examples/
H A D0001-Make-player-examples-installable.patch22 'gst-play-kb.c',
23 'gst-play-kb.h'],
/openbmc/linux/arch/arm/boot/dts/nvidia/
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/tty/
H A Dn_tty.c2165 u8 *kb = kbuf; in n_tty_read() local
2189 else if (canon_copy_from_read_buf(tty, &kb, &nr)) in n_tty_read()
2190 return kb - kbuf; in n_tty_read()
2192 if (copy_from_read_buf(tty, &kb, &nr)) in n_tty_read()
2193 return kb - kbuf; in n_tty_read()
2202 return kb - kbuf; in n_tty_read()
2242 if (kb != kbuf) in n_tty_read()
2248 *kb++ = cs; in n_tty_read()
2291 if (canon_copy_from_read_buf(tty, &kb, &nr)) in n_tty_read()
2295 if (packet && kb == kbuf) { in n_tty_read()
[all …]
/openbmc/openbmc/meta-raspberrypi/recipes-bsp/gpio-shutdown/files/
H A Dbind_gpio_shutdown.tab2 kb::kbrequest:/sbin/shutdown -t1 -a -h -P now
/openbmc/linux/Documentation/ABI/stable/
H A Dsysfs-firmware-opal-elog52 <16kb, often just hundreds of bytes and
53 "average" 2kb.
/openbmc/linux/arch/mips/sgi-ip27/
H A DPlatform6 # be 16kb aligned or the handling of the current variable will break.
/openbmc/linux/Documentation/networking/device_drivers/atm/
H A Dcxacru.rst120 [2635357.696901] ATM dev 0: ADSL line: up (8128 kb/s down | 832 kb/s up)
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/json-spirit/
H A Djson-spirit_4.08.bb6 HOMEPAGE = "https://www.codeproject.com/kb/recipes/json_spirit.aspx"
/openbmc/linux/arch/arm/boot/compressed/
H A Dhead-xscale.S23 add r3, r2, #0x10000 @ 64 kb is quite enough...
H A Dhead-sa1100.S33 add r3, r2, #0x4000 @ 16 kb is quite enough...
/openbmc/linux/net/ieee802154/
H A DKconfig8 devices. Maximum allowed data rate is 250 kb/s and typical personal
/openbmc/linux/drivers/scsi/libsas/
H A DKconfig33 N here if you want to save the few kb this consumes.

123