Home
last modified time | relevance | path

Searched refs:ASSERTCMP (Results 1 – 23 of 23) sorted by relevance

/fs/fscache/
Doperation.c71 ASSERTCMP(atomic_read(&op->usage), >, 0); in fscache_enqueue_operation()
102 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_PENDING); in fscache_run_op()
141 ASSERTCMP(p->object, ==, object); in fscache_report_unexpected_submission()
168 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_INITIALISED); in fscache_submit_exclusive_op()
169 ASSERTCMP(atomic_read(&op->usage), >, 0); in fscache_submit_exclusive_op()
172 ASSERTCMP(object->n_ops, >=, object->n_in_progress); in fscache_submit_exclusive_op()
173 ASSERTCMP(object->n_ops, >=, object->n_exclusive); in fscache_submit_exclusive_op()
205 ASSERTCMP(object->n_in_progress, ==, 0); in fscache_submit_exclusive_op()
255 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_INITIALISED); in fscache_submit_op()
256 ASSERTCMP(atomic_read(&op->usage), >, 0); in fscache_submit_op()
[all …]
Dpage.c111 ASSERTCMP(xpage, ==, page); in __fscache_maybe_release_page()
221 ASSERTCMP(cookie->def->type, !=, FSCACHE_COOKIE_TYPE_INDEX); in __fscache_attr_changed()
446 ASSERTCMP(cookie->def->type, !=, FSCACHE_COOKIE_TYPE_INDEX); in __fscache_read_or_alloc_page()
447 ASSERTCMP(page, !=, NULL); in __fscache_read_or_alloc_page()
577 ASSERTCMP(cookie->def->type, !=, FSCACHE_COOKIE_TYPE_INDEX); in __fscache_read_or_alloc_pages()
578 ASSERTCMP(*nr_pages, >, 0); in __fscache_read_or_alloc_pages()
685 ASSERTCMP(cookie->def->type, !=, FSCACHE_COOKIE_TYPE_INDEX); in __fscache_alloc_page()
686 ASSERTCMP(page, !=, NULL); in __fscache_alloc_page()
966 ASSERTCMP(cookie->def->type, !=, FSCACHE_COOKIE_TYPE_INDEX); in __fscache_write_page()
1108 ASSERTCMP(cookie->def->type, !=, FSCACHE_COOKIE_TYPE_INDEX); in __fscache_uncache_page()
[all …]
Dcookie.c511 ASSERTCMP(object->cookie, ==, cookie); in fscache_alloc_object()
567 ASSERTCMP(object->cookie, ==, cookie); in fscache_attach_object()
634 ASSERTCMP(cookie->type, ==, FSCACHE_COOKIE_TYPE_DATAFILE); in __fscache_invalidate()
725 ASSERTCMP(atomic_read(&cookie->n_active), >, 0); in __fscache_disable_cookie()
829 ASSERTCMP(refcount_read(&cookie->parent->ref), >, 0); in __fscache_relinquish_cookie()
830 ASSERTCMP(atomic_read(&cookie->parent->n_children), >, 0); in __fscache_relinquish_cookie()
915 ASSERTCMP(cookie->type, ==, FSCACHE_COOKIE_TYPE_DATAFILE); in __fscache_check_consistency()
Dinternal.h423 #define ASSERTCMP(X, OP, Y) \ macro
457 #define ASSERTCMP(X, OP, Y) do {} while (0) macro
Dio.c47 ASSERTCMP(cookie->def->type, !=, FSCACHE_COOKIE_TYPE_INDEX); in __fscache_begin_read_operation()
Dobject.c458 ASSERTCMP(parent->n_ops, >, 0); in fscache_look_up_object()
459 ASSERTCMP(parent->n_obj_ops, >, 0); in fscache_look_up_object()
581 ASSERTCMP(object->n_ops, >=, object->n_obj_ops); in fscache_object_available()
Dcache.c219 ASSERTCMP(ifsdef->cookie, ==, &fscache_fsdef_index); in fscache_add_cache()
/fs/cachefiles/
Dinterface.c47 ASSERTCMP(object->backer, ==, NULL); in cachefiles_alloc_object()
135 ASSERTCMP(lookup_data, !=, NULL); in cachefiles_lookup_object()
346 ASSERTCMP(u, !=, -1); in cachefiles_put_object()
351 ASSERTCMP(object->fscache.parent, ==, NULL); in cachefiles_put_object()
352 ASSERTCMP(object->backer, ==, NULL); in cachefiles_put_object()
353 ASSERTCMP(object->dentry, ==, NULL); in cachefiles_put_object()
354 ASSERTCMP(object->fscache.n_ops, ==, 0); in cachefiles_put_object()
355 ASSERTCMP(object->fscache.n_children, ==, 0); in cachefiles_put_object()
Dinternal.h312 #define ASSERTCMP(X, OP, Y) \ macro
346 #define ASSERTCMP(X, OP, Y) do {} while (0) macro
Dbind.c106 ASSERTCMP(fsdef->backer, ==, NULL); in cachefiles_daemon_add_cache()
Drdwr.c933 ASSERTCMP(pos + len, ==, eof); in cachefiles_write_page()
/fs/afs/
Drotate.c59 ASSERTCMP(cb_server, ==, vnode->cb_server); in afs_start_fs_iteration()
368 ASSERTCMP(op->ac.alist, ==, NULL); in afs_select_fileserver()
Dflock.c591 ASSERTCMP(vnode->pending_locks.next, ==, &fl->fl_u.afs.link); in afs_do_setlk()
605 ASSERTCMP(fl->fl_u.afs.state, ==, AFS_LOCK_GRANTED); in afs_do_setlk()
661 ASSERTCMP(vnode->lock_state, ==, AFS_VNODE_LOCK_WAITING_FOR_CB); in afs_do_setlk()
Ddynroot.c239 ASSERTCMP(d_inode(dentry), ==, NULL); in afs_dynroot_lookup()
Dcell.c500 ASSERTCMP(r, ==, 0); in afs_cell_destroy()
883 ASSERTCMP(active, >=, 1); in afs_manage_cells()
Drxrpc.c517 ASSERTCMP(state, >, AFS_CALL_CL_PROC_REPLY); in afs_deliver_to_call()
523 ASSERTCMP(state, ==, AFS_CALL_COMPLETE); in afs_deliver_to_call()
Dvl_rotate.c221 ASSERTCMP(vc->ac.alist, ==, NULL); in afs_select_vlserver()
Dvolume.c232 ASSERTCMP(volume->cache, ==, NULL); in afs_destroy_volume()
Dinternal.h1697 #define ASSERTCMP(X, OP, Y) \ macro
1753 #define ASSERTCMP(X, OP, Y) \ macro
Ddir.c126 ASSERTCMP(page->mapping, ==, mapping); in afs_dir_read_cleanup()
1033 ASSERTCMP(d_inode(dentry), ==, NULL); in afs_lookup()
1320 ASSERTCMP(op->error, ==, 0); in afs_vnode_new_inode()
Dsuper.c595 ASSERTCMP(sb->s_flags, &, SB_ACTIVE); in afs_get_tree()
Dinode.c790 ASSERTCMP(inode->i_ino, ==, vnode->fid.vnode); in afs_evict_inode()
Dwrite.c66 ASSERTCMP(f, <=, t); in afs_write_begin()