Lines Matching defs:type
26 * check the type label on an object
32 char type[3], xtype[3];
39 strcpy(type, "C3");
41 snprintf(type, 3, "%02x", object->fscache.cookie->def->type);
43 _enter("%p{%s}", object, type);
45 /* attempt to install a type label directly */
46 ret = vfs_setxattr(dentry, cachefiles_xattr_cache, type, 2,
61 /* read the current type label */
74 /* check the type is what we're expecting */
78 if (xtype[0] != type[0] || xtype[1] != type[1])
88 kerror("Cache object %lu type xattr length incorrect",
95 kerror("Cache object %*.*s [%lu] type %s not %s",
98 xtype, type);
121 &auxdata->type, auxdata->len,
150 &auxdata->type, auxdata->len,
183 /* read the current type label */
185 &auxbuf->type, 512 + 1);
204 if (auxbuf->type != auxdata->type)
241 &auxdata->type, auxdata->len,