Lines Matching refs:max
42 int loop, len, max, seg, mark, print; in cachefiles_cook_key() local
58 max = keylen - 2; in cachefiles_cook_key()
59 max += 2; /* two base64'd length chars on the front */ in cachefiles_cook_key()
60 max += 5; /* @checksum/M */ in cachefiles_cook_key()
61 max += 3 * 2; /* maximum number of segment dividers (".../M") in cachefiles_cook_key()
64 max += 1; /* NUL on end */ in cachefiles_cook_key()
69 max = keylen * 4; in cachefiles_cook_key()
70 max += 5; /* @checksum/M */ in cachefiles_cook_key()
71 max += 3 * 2; /* maximum number of segment dividers (".../M") in cachefiles_cook_key()
74 max += 1; /* NUL on end */ in cachefiles_cook_key()
77 max += 1; /* 2nd NUL on end */ in cachefiles_cook_key()
79 _debug("max: %d", max); in cachefiles_cook_key()
81 key = kmalloc(max, cachefiles_gfp); in cachefiles_cook_key()
111 ASSERT(len < max); in cachefiles_cook_key()
143 ASSERT(len < max); in cachefiles_cook_key()