Home
last modified time | relevance | path

Searched refs:mode_len (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/block/
Dcryptoloop.c32 int mode_len; in cryptoloop_init() local
49 mode_len = 0; in cryptoloop_init()
52 mode_len = strcspn(mode, "-"); in cryptoloop_init()
55 if (!mode_len) { in cryptoloop_init()
57 mode_len = 3; in cryptoloop_init()
60 if (cipher_len + mode_len + 3 > LO_NAME_SIZE) in cryptoloop_init()
63 memmove(cms, mode, mode_len); in cryptoloop_init()
64 cmsp = cms + mode_len; in cryptoloop_init()
/Linux-v5.4/drivers/scsi/
Dmyrb.c1368 size_t mode_len; in myrb_mode_sense() local
1372 mode_len = 24; in myrb_mode_sense()
1375 mode_len = 32; in myrb_mode_sense()
1379 modes[0] = mode_len - 1; in myrb_mode_sense()
1396 scsi_sg_copy_from_buffer(scmd, modes, mode_len); in myrb_mode_sense()
Dmyrs.c1546 size_t mode_len; in myrs_mode_sense() local
1550 mode_len = 24; in myrs_mode_sense()
1553 mode_len = 32; in myrs_mode_sense()
1557 modes[0] = mode_len - 1; in myrs_mode_sense()
1581 scsi_sg_copy_from_buffer(scmd, modes, mode_len); in myrs_mode_sense()