Searched refs:mode_len (Results 1 – 3 of 3) sorted by relevance
32 int mode_len; in cryptoloop_init() local49 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()
1368 size_t mode_len; in myrb_mode_sense() local1372 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()
1546 size_t mode_len; in myrs_mode_sense() local1550 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()