Lines Matching refs:name
43 char *name, sep; in cachefiles_cook_key() local
58 name = kmalloc(len + 1, GFP_KERNEL); in cachefiles_cook_key()
59 if (!name) in cachefiles_cook_key()
62 name[0] = 'D'; /* Data object type, string encoding */ in cachefiles_cook_key()
63 memcpy(name + 1, key, keylen); in cachefiles_cook_key()
87 name = kmalloc(nlen, GFP_KERNEL); in cachefiles_cook_key()
88 if (!name) in cachefiles_cook_key()
98 name[len++] = sep; in cachefiles_cook_key()
100 len += snprintf(name + len, nlen - len, "%x", x); in cachefiles_cook_key()
107 name = kmalloc(b64len + 1, GFP_KERNEL); in cachefiles_cook_key()
108 if (!name) in cachefiles_cook_key()
111 name[0] = 'E'; in cachefiles_cook_key()
112 name[1] = '0' + pad; in cachefiles_cook_key()
123 name[len++] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key()
125 name[len++] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key()
127 name[len++] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key()
129 name[len++] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key()
133 name[len] = 0; in cachefiles_cook_key()
134 object->d_name = name; in cachefiles_cook_key()