Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/block/
Dcryptoloop.c44 int mode_len; in cryptoloop_init() local
63 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()
/linux-2.6.39/security/apparmor/
Dprocattr.c38 int len = 0, mode_len = 0, ns_len = 0, name_len; in aa_getprocattr() local
57 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()