Lines Matching refs:max
38 int loop, len, max, seg, mark, print; in cachefiles_cook_key() local
54 max = keylen - 2; in cachefiles_cook_key()
55 max += 2; /* two base64'd length chars on the front */ in cachefiles_cook_key()
56 max += 5; /* @checksum/M */ in cachefiles_cook_key()
57 max += 3 * 2; /* maximum number of segment dividers (".../M") in cachefiles_cook_key()
60 max += 1; /* NUL on end */ in cachefiles_cook_key()
65 max = keylen * 4; in cachefiles_cook_key()
66 max += 5; /* @checksum/M */ in cachefiles_cook_key()
67 max += 3 * 2; /* maximum number of segment dividers (".../M") in cachefiles_cook_key()
70 max += 1; /* NUL on end */ in cachefiles_cook_key()
73 max += 1; /* 2nd NUL on end */ in cachefiles_cook_key()
75 _debug("max: %d", max); in cachefiles_cook_key()
77 key = kmalloc(max, cachefiles_gfp); in cachefiles_cook_key()
107 ASSERT(len < max); in cachefiles_cook_key()
139 ASSERT(len < max); in cachefiles_cook_key()