Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/drivers/block/
Dcryptoloop.c45 char cms[LO_NAME_SIZE]; /* cipher-mode string */ in cryptoloop_init()
55 strncpy(cms, info->lo_crypt_name, LO_NAME_SIZE); in cryptoloop_init()
56 cms[LO_NAME_SIZE - 1] = 0; in cryptoloop_init()
72 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.c1074 memset(lo->lo_crypt_name, 0, LO_NAME_SIZE); in loop_clr_fd()
1075 memset(lo->lo_file_name, 0, LO_NAME_SIZE); in loop_clr_fd()
1166 memcpy(lo->lo_file_name, info->lo_file_name, LO_NAME_SIZE); in loop_set_status()
1167 memcpy(lo->lo_crypt_name, info->lo_crypt_name, LO_NAME_SIZE); in loop_set_status()
1168 lo->lo_file_name[LO_NAME_SIZE-1] = 0; in loop_set_status()
1169 lo->lo_crypt_name[LO_NAME_SIZE-1] = 0; in loop_set_status()
1222 memcpy(info->lo_file_name, lo->lo_file_name, LO_NAME_SIZE); in loop_get_status()
1223 memcpy(info->lo_crypt_name, lo->lo_crypt_name, LO_NAME_SIZE); in loop_get_status()
1262 memcpy(info64->lo_crypt_name, info->lo_name, LO_NAME_SIZE); in loop_info64_from_old()
1264 memcpy(info64->lo_file_name, info->lo_name, LO_NAME_SIZE); in loop_info64_from_old()
[all …]