/fs/fscache/ |
D | cookie.c | 60 const struct fscache_cookie_def *def, in __fscache_acquire_cookie() argument 66 BUG_ON(!def); in __fscache_acquire_cookie() 69 parent ? (char *) parent->def->name : "<no-parent>", in __fscache_acquire_cookie() 70 def->name, netfs_data, enable); in __fscache_acquire_cookie() 82 BUG_ON(!def->get_key); in __fscache_acquire_cookie() 83 BUG_ON(!def->name[0]); in __fscache_acquire_cookie() 85 BUG_ON(def->type == FSCACHE_COOKIE_TYPE_INDEX && in __fscache_acquire_cookie() 86 parent->def->type != FSCACHE_COOKIE_TYPE_INDEX); in __fscache_acquire_cookie() 107 cookie->def = def; in __fscache_acquire_cookie() 116 switch (cookie->def->type) { in __fscache_acquire_cookie() [all …]
|
D | object-list.c | 221 FILTER(cookie->def, in fscache_objlist_show() 257 switch (cookie->def->type) { in fscache_objlist_show() 266 cookie->def->type); in fscache_objlist_show() 272 cookie->def->name, in fscache_objlist_show() 277 if (cookie->def->get_key && in fscache_objlist_show() 279 keylen = cookie->def->get_key(cookie->netfs_data, in fscache_objlist_show() 282 if (cookie->def->get_aux && in fscache_objlist_show() 284 auxlen = cookie->def->get_aux(cookie->netfs_data, in fscache_objlist_show()
|
D | page.c | 205 ASSERTCMP(cookie->def->type, !=, FSCACHE_COOKIE_TYPE_INDEX); in __fscache_attr_changed() 433 ASSERTCMP(cookie->def->type, !=, FSCACHE_COOKIE_TYPE_INDEX); in __fscache_read_or_alloc_page() 563 ASSERTCMP(cookie->def->type, !=, FSCACHE_COOKIE_TYPE_INDEX); in __fscache_read_or_alloc_pages() 670 ASSERTCMP(cookie->def->type, !=, FSCACHE_COOKIE_TYPE_INDEX); in __fscache_alloc_page() 940 ASSERTCMP(cookie->def->type, !=, FSCACHE_COOKIE_TYPE_INDEX); in __fscache_write_page() 1071 ASSERTCMP(cookie->def->type, !=, FSCACHE_COOKIE_TYPE_INDEX); in __fscache_uncache_page() 1134 cookie->def->name, page->index); in fscache_mark_page_cached() 1138 if (cookie->def->mark_page_cached) in fscache_mark_page_cached() 1139 cookie->def->mark_page_cached(cookie->netfs_data, in fscache_mark_page_cached()
|
D | internal.h | 332 if (cookie->def->get_context) in fscache_get_context() 333 cookie->def->get_context(cookie->netfs_data, context); in fscache_get_context() 343 if (cookie->def->put_context) in fscache_put_context() 344 cookie->def->put_context(cookie->netfs_data, context); in fscache_put_context()
|
D | cache.c | 128 if (cookie->def->type != FSCACHE_COOKIE_TYPE_INDEX) { in fscache_select_cache_for_object() 137 if (!cookie->def->select_cache) in fscache_select_cache_for_object() 141 tag = cookie->def->select_cache(cookie->parent->netfs_data, in fscache_select_cache_for_object()
|
D | netfs.c | 45 cookie->def = &fscache_fsdef_netfs_def; in __fscache_register_netfs()
|
D | fsdef.c | 61 .def = &fscache_fsdef_index_def,
|
D | object.c | 471 cookie->def->name, object->cache->tag->name); in fscache_look_up_object() 916 if (!object->cookie->def->check_aux) { in fscache_check_aux() 921 result = object->cookie->def->check_aux(object->cookie->netfs_data, in fscache_check_aux()
|
/fs/cachefiles/ |
D | interface.c | 58 object->type = cookie->def->type; in cachefiles_alloc_object() 68 keylen = cookie->def->get_key(cookie->netfs_data, buffer + 2, 512); in cachefiles_alloc_object() 84 if (cookie->def->get_aux) { in cachefiles_alloc_object() 85 auxlen = cookie->def->get_aux(cookie->netfs_data, in cachefiles_alloc_object() 91 auxdata->type = cookie->def->type; in cachefiles_alloc_object() 144 object->fscache.cookie->def->type != FSCACHE_COOKIE_TYPE_INDEX) in cachefiles_lookup_object() 220 if (!cookie->def->get_aux) { in cachefiles_update_object() 233 auxlen = cookie->def->get_aux(cookie->netfs_data, auxdata->data, 511); in cachefiles_update_object() 238 auxdata->type = cookie->def->type; in cachefiles_update_object() 424 _object->cookie->def->get_attr(_object->cookie->netfs_data, &ni_size); in cachefiles_attr_changed() [all …]
|
D | xattr.c | 41 snprintf(type, 3, "%02x", object->fscache.cookie->def->type); in cachefiles_check_object_type() 169 ASSERT(object->fscache.cookie->def->check_aux); in cachefiles_check_auxdata() 179 auxbuf->type != object->fscache.cookie->def->type) in cachefiles_check_auxdata() 242 if (object->fscache.cookie->def->check_aux) { in cachefiles_check_object_xattr() 249 object->fscache.cookie->def->name, dlen); in cachefiles_check_object_xattr()
|
D | namei.c | 59 if (keybuf && cookie->def) in __cachefiles_printk_object() 60 keylen = cookie->def->get_key(cookie->netfs_data, keybuf, in __cachefiles_printk_object()
|
/fs/cifs/ |
D | asn1.c | 187 asn1_length_decode(struct asn1_ctx *ctx, unsigned int *def, unsigned int *len) in asn1_length_decode() argument 195 *def = 0; in asn1_length_decode() 197 *def = 1; in asn1_length_decode() 227 unsigned int def = 0; in asn1_header_decode() local 233 if (!asn1_length_decode(ctx, &def, &len)) in asn1_header_decode() 237 if (*con == ASN1_PRI && !def) in asn1_header_decode() 240 if (def) in asn1_header_decode()
|
D | cifsfs.c | 387 struct nls_table *def; in cifs_show_nls() local 390 def = load_nls_default(); in cifs_show_nls() 391 if (def != cur) in cifs_show_nls() 393 unload_nls(def); in cifs_show_nls()
|