Lines Matching refs:key
41 char *key; in cachefiles_cook_key() local
81 key = kmalloc(max, GFP_KERNEL); in cachefiles_cook_key()
82 if (!key) in cachefiles_cook_key()
88 sprintf(key, "@%02x%c+", (unsigned) csum, 0); in cachefiles_cook_key()
96 key[len + 1] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key()
98 key[len] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key()
104 key[len++] = '\0'; in cachefiles_cook_key()
106 key[len++] = '+'; in cachefiles_cook_key()
110 key[len++] = *raw++; in cachefiles_cook_key()
123 key[len++] = '\0'; in cachefiles_cook_key()
125 key[len++] = '+'; in cachefiles_cook_key()
135 key[len++] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key()
137 key[len++] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key()
139 key[len++] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key()
141 key[len++] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key()
153 key[mark] = type; in cachefiles_cook_key()
154 key[len++] = 0; in cachefiles_cook_key()
155 key[len] = 0; in cachefiles_cook_key()
157 _leave(" = %p %d", key, len); in cachefiles_cook_key()
158 return key; in cachefiles_cook_key()