Searched refs:mode_len (Results 1 – 2 of 2) sorted by relevance
44 int mode_len; in cryptoloop_init() local63 mode_len = 0; in cryptoloop_init()66 mode_len = strcspn(mode, "-"); in cryptoloop_init()69 if (!mode_len) { in cryptoloop_init()71 mode_len = 3; in cryptoloop_init()74 if (cipher_len + mode_len + 3 > LO_NAME_SIZE) in cryptoloop_init()77 memmove(cms, mode, mode_len); in cryptoloop_init()78 cmsp = cms + mode_len; in cryptoloop_init()
38 int len = 0, mode_len = 0, ns_len = 0, name_len; in aa_getprocattr() local57 mode_len = strlen(mode_str) + 3; /* + 3 for _() */ in aa_getprocattr()60 len = mode_len + ns_len + name_len + 1; /* + 1 for \n */ in aa_getprocattr()