Searched refs:LO_NAME_SIZE (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/include/uapi/linux/ |
D | loop.h | 14 #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/ |
D | cryptoloop.c | 45 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()
|
D | loop.h | 39 char lo_file_name[LO_NAME_SIZE]; 40 char lo_crypt_name[LO_NAME_SIZE];
|
D | loop.c | 1074 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 …]
|