Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/arch/s390/crypto/
H A Dpaes_s390.c57 static inline int _key_to_kb(struct key_blob *kb, in _key_to_kb() argument
75 memset(kb->keybuf, 0, sizeof(kb->keybuf)); in _key_to_kb()
76 h = (struct clearkey_header *) kb->keybuf; in _key_to_kb()
80 memcpy(kb->keybuf + sizeof(*h), key, keylen); in _key_to_kb()
81 kb->keylen = sizeof(*h) + keylen; in _key_to_kb()
82 kb->key = kb->keybuf; in _key_to_kb()
86 if (keylen <= sizeof(kb->keybuf)) in _key_to_kb()
87 kb->key = kb->keybuf; in _key_to_kb()
89 kb->key = kmalloc(keylen, GFP_KERNEL); in _key_to_kb()
90 if (!kb->key) in _key_to_kb()
[all …]
/OK3568_Linux_fs/kernel/drivers/s390/crypto/
H A Dzcrypt_ep11misc.c123 struct ep11keyblob *kb = (struct ep11keyblob *) (key + sizeof(*hdr)); in ep11_check_aes_key_with_hdr() local
127 if (keylen < sizeof(*hdr) + sizeof(*kb)) { in ep11_check_aes_key_with_hdr()
129 __func__, keylen, sizeof(*hdr) + sizeof(*kb)); in ep11_check_aes_key_with_hdr()
157 if (hdr->len < sizeof(*hdr) + sizeof(*kb)) { in ep11_check_aes_key_with_hdr()
160 __func__, (int) hdr->len, sizeof(*hdr) + sizeof(*kb)); in ep11_check_aes_key_with_hdr()
164 if (kb->version != EP11_STRUCT_MAGIC) { in ep11_check_aes_key_with_hdr()
167 __func__, (int) kb->version, EP11_STRUCT_MAGIC); in ep11_check_aes_key_with_hdr()
170 if (checkcpacfexp && !(kb->attr & EP11_BLOB_PKEY_EXTRACTABLE)) { in ep11_check_aes_key_with_hdr()
190 struct ep11keyblob *kb = (struct ep11keyblob *) (key + sizeof(*hdr)); in ep11_check_ecc_key_with_hdr() local
194 if (keylen < sizeof(*hdr) + sizeof(*kb)) { in ep11_check_ecc_key_with_hdr()
[all …]
H A Dzcrypt_ccamisc.c798 } kb; in cca_gencipherkey() member
813 } kb; in cca_gencipherkey() member
851 preqparm->kb.len = sizeof(preqparm->kb); in cca_gencipherkey()
852 preqparm->kb.tlv1.len = sizeof(preqparm->kb.tlv1); in cca_gencipherkey()
853 preqparm->kb.tlv1.flag = 0x0030; in cca_gencipherkey()
854 preqparm->kb.tlv2.len = sizeof(preqparm->kb.tlv2); in cca_gencipherkey()
855 preqparm->kb.tlv2.flag = 0x0030; in cca_gencipherkey()
856 preqparm->kb.tlv3.len = sizeof(preqparm->kb.tlv3); in cca_gencipherkey()
857 preqparm->kb.tlv3.flag = 0x0030; in cca_gencipherkey()
858 memcpy(preqparm->kb.tlv3.gen_key_id_1, in cca_gencipherkey()
[all …]
H A Dzcrypt_ep11misc.h53 struct ep11keyblob *kb = (struct ep11keyblob *) key; in is_ep11_keyblob() local
55 return (kb->version == EP11_STRUCT_MAGIC); in is_ep11_keyblob()
H A Dpkey_api.c231 struct ep11keyblob *kb = (struct ep11keyblob *) key; in pkey_ep11key2pkey() local
235 ZCRYPT_CEX7, EP11_API_V, kb->wkvp); in pkey_ep11key2pkey()
244 rc = ep11_kblob2protkey(card, dom, key, kb->head.len, in pkey_ep11key2pkey()
730 struct ep11keyblob *kb = (struct ep11keyblob *)key; in pkey_verifykey2() local
738 *ksize = kb->head.keybitlen; in pkey_verifykey2()
741 ZCRYPT_CEX7, EP11_API_V, kb->wkvp); in pkey_verifykey2()
817 struct ep11keyblob *kb = (struct ep11keyblob *) key; in pkey_keyblob2pkey2() local
820 rc = ep11_kblob2protkey(card, dom, key, kb->head.len, in pkey_keyblob2pkey2()
846 struct ep11keyblob *kb = (struct ep11keyblob *) in pkey_apqns4key() local
851 if (kb->attr & EP11_BLOB_PKEY_EXTRACTABLE) { in pkey_apqns4key()
[all …]
/OK3568_Linux_fs/kernel/drivers/tty/vt/
H A Dkeyboard.c1124 void setledstate(struct kbd_struct *kb, unsigned int led) in setledstate() argument
1130 kb->ledmode = LED_SHOW_IOCTL; in setledstate()
1132 kb->ledmode = LED_SHOW_FLAGS; in setledstate()
1140 struct kbd_struct *kb = kbd_table + fg_console; in getleds() local
1142 if (kb->ledmode == LED_SHOW_IOCTL) in getleds()
1145 return kb->ledflagstate; in getleds()
1157 struct kbd_struct *kb = kbd_table + console; in vt_get_leds() local
1162 ret = vc_kbd_led(kb, flag); in vt_get_leds()
1179 struct kbd_struct *kb = kbd_table + console; in vt_set_led_state() local
1180 setledstate(kb, leds); in vt_set_led_state()
[all …]
/OK3568_Linux_fs/kernel/fs/dlm/
H A Duser.c85 static void compat_input(struct dlm_write_request *kb, in compat_input() argument
89 kb->version[0] = kb32->version[0]; in compat_input()
90 kb->version[1] = kb32->version[1]; in compat_input()
91 kb->version[2] = kb32->version[2]; in compat_input()
93 kb->cmd = kb32->cmd; in compat_input()
94 kb->is64bit = kb32->is64bit; in compat_input()
95 if (kb->cmd == DLM_USER_CREATE_LOCKSPACE || in compat_input()
96 kb->cmd == DLM_USER_REMOVE_LOCKSPACE) { in compat_input()
97 kb->i.lspace.flags = kb32->i.lspace.flags; in compat_input()
98 kb->i.lspace.minor = kb32->i.lspace.minor; in compat_input()
[all …]
/OK3568_Linux_fs/kernel/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).
/OK3568_Linux_fs/app/lvgl_demo/rk_demo/setting/
H A Dwifi_ui.c33 static lv_obj_t * kb; variable
199 lv_obj_del(kb); in event_cb()
217 kb = lv_keyboard_create(lv_layer_sys()); in connect_wifi()
218 lv_obj_set_size(kb, lv_pct(100), lv_pct(30)); in connect_wifi()
219 lv_obj_set_align(kb, LV_ALIGN_BOTTOM_MID); in connect_wifi()
220 lv_keyboard_set_textarea(kb, lv_inputbox_get_text_area(ibox)); in connect_wifi()
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dtegra124-apalis.dtsi857 kb-row10-ps2 {
1020 kb-row0-pr0 {
1027 kb-row1-pr1 {
1036 kb-row11-ps3 {
1045 kb-col5-pq5 {
1052 kb-col6-pq6 {
1059 kb-col7-pq7 {
1068 kb-col0-pq0 {
1075 kb-col1-pq1 {
1082 kb-col2-pq2 {
[all …]
H A Dtegra124-apalis-v1.2.dtsi860 kb-row10-ps2 {
1023 kb-row0-pr0 {
1030 kb-row1-pr1 {
1039 kb-row11-ps3 {
1048 kb-col5-pq5 {
1055 kb-col6-pq6 {
1062 kb-col7-pq7 {
1071 kb-col0-pq0 {
1078 kb-col1-pq1 {
1085 kb-col2-pq2 {
[all …]
/OK3568_Linux_fs/kernel/drivers/tty/
H A Dn_tty.c2157 unsigned char *kb = kbuf; in n_tty_read() local
2181 else if (canon_copy_from_read_buf(tty, &kb, &nr)) in n_tty_read()
2182 return kb - kbuf; in n_tty_read()
2184 if (copy_from_read_buf(tty, &kb, &nr)) in n_tty_read()
2185 return kb - kbuf; in n_tty_read()
2194 return kb - kbuf; in n_tty_read()
2234 if (kb != kbuf) in n_tty_read()
2240 *kb++ = cs; in n_tty_read()
2283 if (canon_copy_from_read_buf(tty, &kb, &nr)) in n_tty_read()
2287 if (packet && kb == kbuf) { in n_tty_read()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/opencl/
H A Dopencl_info.hpp26 size_t kb = value % 1024; in bytesToStringRepr() local
40 if (kb > 0) in bytesToStringRepr()
41 stream << kb << " KB "; in bytesToStringRepr()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/opencl/
H A Dopencl_info.hpp26 size_t kb = value % 1024; in bytesToStringRepr() local
40 if (kb > 0) in bytesToStringRepr()
41 stream << kb << " KB "; in bytesToStringRepr()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/opencl/
H A Dopencl_info.hpp26 size_t kb = value % 1024; in bytesToStringRepr() local
40 if (kb > 0) in bytesToStringRepr()
41 stream << kb << " KB "; in bytesToStringRepr()
/OK3568_Linux_fs/yocto/poky/meta/recipes-multimedia/gstreamer/gst-examples/
H A D0001-Make-player-examples-installable.patch22 'gst-play-kb.c',
23 'gst-play-kb.h'],
/OK3568_Linux_fs/kernel/arch/mips/sgi-ip22/
H A DPlatform8 # address by 8kb.
23 # be 16kb aligned or the handling of the current variable will break.
/OK3568_Linux_fs/kernel/Documentation/driver-api/serial/
H A Dmoxa-smartio.rst552 spd_hi Use 57.6kb when the application requests 38.4kb.
553 spd_vhi Use 115.2kb when the application requests 38.4kb.
554 spd_shi Use 230.4kb when the application requests 38.4kb.
555 spd_warp Use 460.8kb when the application requests 38.4kb.
556 spd_normal Use 38.4kb when the application requests 38.4kb.
558 application requests 38.4kb.
/OK3568_Linux_fs/kernel/tools/testing/selftests/vm/
H A Dhugetlb_reparenting_test.sh34 kb=${hpz:14:-3}
35 mb=$(($kb / 1024))
/OK3568_Linux_fs/kernel/Documentation/ABI/stable/
H A Dsysfs-firmware-opal-elog52 <16kb, often just hundreds of bytes and
53 "average" 2kb.
/OK3568_Linux_fs/kernel/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)
/OK3568_Linux_fs/kernel/arch/mips/sgi-ip27/
H A DPlatform6 # be 16kb aligned or the handling of the current variable will break.
/OK3568_Linux_fs/yocto/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"
/OK3568_Linux_fs/kernel/fs/fscache/
H A Dcookie.c99 const void *ka, *kb; in fscache_compare_cookie() local
112 kb = &b->inline_key; in fscache_compare_cookie()
115 kb = b->key; in fscache_compare_cookie()
117 return memcmp(ka, kb, a->key_len); in fscache_compare_cookie()
/OK3568_Linux_fs/kernel/arch/arm/boot/compressed/
H A Dhead-xscale.S23 add r3, r2, #0x10000 @ 64 kb is quite enough...

123