Home
last modified time | relevance | path

Searched refs:LO_NAME_SIZE (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/include/uapi/linux/
Dloop.h14 #define LO_NAME_SIZE 64 macro
41 char lo_name[LO_NAME_SIZE];
57 __u8 lo_file_name[LO_NAME_SIZE];
58 __u8 lo_crypt_name[LO_NAME_SIZE];
/Linux-v5.4/drivers/block/
Dcryptoloop.c33 char cms[LO_NAME_SIZE]; /* cipher-mode string */ in cryptoloop_init()
43 strncpy(cms, info->lo_crypt_name, LO_NAME_SIZE); in cryptoloop_init()
44 cms[LO_NAME_SIZE - 1] = 0; in cryptoloop_init()
60 if (cipher_len + mode_len + 3 > LO_NAME_SIZE) in cryptoloop_init()
Dloop.h39 char lo_file_name[LO_NAME_SIZE];
40 char lo_crypt_name[LO_NAME_SIZE];
Dloop.c1121 memset(lo->lo_crypt_name, 0, LO_NAME_SIZE); in __loop_clr_fd()
1122 memset(lo->lo_file_name, 0, LO_NAME_SIZE); in __loop_clr_fd()
1304 memcpy(lo->lo_file_name, info->lo_file_name, LO_NAME_SIZE); in loop_set_status()
1305 memcpy(lo->lo_crypt_name, info->lo_crypt_name, LO_NAME_SIZE); in loop_set_status()
1306 lo->lo_file_name[LO_NAME_SIZE-1] = 0; in loop_set_status()
1307 lo->lo_crypt_name[LO_NAME_SIZE-1] = 0; in loop_set_status()
1368 memcpy(info->lo_file_name, lo->lo_file_name, LO_NAME_SIZE); in loop_get_status()
1369 memcpy(info->lo_crypt_name, lo->lo_crypt_name, LO_NAME_SIZE); in loop_get_status()
1408 memcpy(info64->lo_crypt_name, info->lo_name, LO_NAME_SIZE); in loop_info64_from_old()
1410 memcpy(info64->lo_file_name, info->lo_name, LO_NAME_SIZE); in loop_info64_from_old()
[all …]