Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/fs/fscache/
Doperation.c68 ASSERTCMP(atomic_read(&op->usage), >, 0); in fscache_enqueue_operation()
99 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_PENDING); in fscache_run_op()
138 ASSERTCMP(p->object, ==, object); in fscache_report_unexpected_submission()
165 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_INITIALISED); in fscache_submit_exclusive_op()
166 ASSERTCMP(atomic_read(&op->usage), >, 0); in fscache_submit_exclusive_op()
169 ASSERTCMP(object->n_ops, >=, object->n_in_progress); in fscache_submit_exclusive_op()
170 ASSERTCMP(object->n_ops, >=, object->n_exclusive); in fscache_submit_exclusive_op()
202 ASSERTCMP(object->n_in_progress, ==, 0); in fscache_submit_exclusive_op()
252 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_INITIALISED); in fscache_submit_op()
253 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()
452 ASSERTCMP(cookie->def->type, !=, FSCACHE_COOKIE_TYPE_INDEX); in __fscache_read_or_alloc_page()
453 ASSERTCMP(page, !=, NULL); in __fscache_read_or_alloc_page()
583 ASSERTCMP(cookie->def->type, !=, FSCACHE_COOKIE_TYPE_INDEX); in __fscache_read_or_alloc_pages()
584 ASSERTCMP(*nr_pages, >, 0); in __fscache_read_or_alloc_pages()
691 ASSERTCMP(cookie->def->type, !=, FSCACHE_COOKIE_TYPE_INDEX); in __fscache_alloc_page()
692 ASSERTCMP(page, !=, NULL); in __fscache_alloc_page()
972 ASSERTCMP(cookie->def->type, !=, FSCACHE_COOKIE_TYPE_INDEX); in __fscache_write_page()
1114 ASSERTCMP(cookie->def->type, !=, FSCACHE_COOKIE_TYPE_INDEX); in __fscache_uncache_page()
[all …]
Dcookie.c492 ASSERTCMP(object->cookie, ==, cookie); in fscache_alloc_object()
548 ASSERTCMP(object->cookie, ==, cookie); in fscache_attach_object()
617 ASSERTCMP(cookie->type, ==, FSCACHE_COOKIE_TYPE_DATAFILE); in __fscache_invalidate()
708 ASSERTCMP(atomic_read(&cookie->n_active), >, 0); in __fscache_disable_cookie()
812 ASSERTCMP(atomic_read(&cookie->parent->usage), >, 0); in __fscache_relinquish_cookie()
813 ASSERTCMP(atomic_read(&cookie->parent->n_children), >, 0); in __fscache_relinquish_cookie()
818 ASSERTCMP(atomic_read(&cookie->usage), >, 0); in __fscache_relinquish_cookie()
886 ASSERTCMP(cookie->type, ==, FSCACHE_COOKIE_TYPE_DATAFILE); in __fscache_check_consistency()
Dinternal.h454 #define ASSERTCMP(X, OP, Y) \ macro
488 #define ASSERTCMP(X, OP, Y) do {} while (0) macro
Dobject.c463 ASSERTCMP(parent->n_ops, >, 0); in fscache_look_up_object()
464 ASSERTCMP(parent->n_obj_ops, >, 0); in fscache_look_up_object()
587 ASSERTCMP(object->n_ops, >=, object->n_obj_ops); in fscache_object_available()
Dcache.c219 ASSERTCMP(ifsdef->cookie, ==, &fscache_fsdef_index); in fscache_add_cache()
/kernel/linux/linux-5.10/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.h328 #define ASSERTCMP(X, OP, Y) \ macro
362 #define ASSERTCMP(X, OP, Y) do {} while (0) macro
Dbind.c106 ASSERTCMP(fsdef->backer, ==, NULL); in cachefiles_daemon_add_cache()
/kernel/linux/linux-5.10/net/rxrpc/
Dconn_object.c358 ASSERTCMP(refcount_read(&conn->ref), ==, 0); in rxrpc_destroy_connection()
398 ASSERTCMP(refcount_read(&conn->ref), >, 0); in rxrpc_service_connection_reaper()
448 ASSERTCMP(refcount_read(&conn->ref), ==, 0); in rxrpc_service_connection_reaper()
Dkey.c503 ASSERTCMP((end_xdr - xdr) << 2, ==, toklen); in rxrpc_preparse_xdr_rxk5()
515 ASSERTCMP((end_xdr - xdr) << 2, ==, toklen); in rxrpc_preparse_xdr_rxk5()
526 ASSERTCMP((end_xdr - xdr) << 2, ==, toklen); in rxrpc_preparse_xdr_rxk5()
1116 ASSERTCMP(toksize, <=, AFSTOKEN_LENGTH_MAX); in rxrpc_read()
1232 ASSERTCMP((unsigned long)xdr - (unsigned long)oldxdr, ==, in rxrpc_read()
1241 ASSERTCMP(tok, ==, ntoks); in rxrpc_read()
1242 ASSERTCMP((char __user *) xdr - buffer, ==, size); in rxrpc_read()
Dsendmsg.c203 ASSERTCMP(seq, ==, call->tx_top + 1); in rxrpc_queue_packet()
372 ASSERTCMP(skb->mark, ==, 0); in rxrpc_send_data()
397 ASSERTCMP(copy, >, 0); in rxrpc_send_data()
818 ASSERTCMP(msg->msg_name, ==, NULL); in rxrpc_kernel_send_data()
819 ASSERTCMP(msg->msg_control, ==, NULL); in rxrpc_kernel_send_data()
Drecvmsg.c189 ASSERTCMP(call->rx_hard_ack, ==, call->rx_top); in rxrpc_end_rx_phase()
447 ASSERTCMP(*_offset, ==, len); in rxrpc_recvmsg_data()
459 ASSERTCMP(seq, ==, READ_ONCE(call->rx_top)); in rxrpc_recvmsg_data()
695 ASSERTCMP(call->state, !=, RXRPC_CALL_SERVER_SECURING); in rxrpc_kernel_recv_data()
Dcall_object.c466 ASSERTCMP(n, >=, 1); in __rxrpc_queue_call()
540 ASSERTCMP(call->state, ==, RXRPC_CALL_COMPLETE); in rxrpc_release_call()
635 ASSERTCMP(call->state, ==, RXRPC_CALL_COMPLETE); in rxrpc_put_call()
691 ASSERTCMP(call->state, ==, RXRPC_CALL_COMPLETE); in rxrpc_cleanup_call()
Dcall_accept.c281 ASSERTCMP(conn_count, >=, call_count); in rxrpc_alloc_incoming_call()
284 ASSERTCMP(CIRC_CNT(peer_head, peer_tail, RXRPC_BACKLOG_MAX), >=, in rxrpc_alloc_incoming_call()
Dar-internal.h1185 #define ASSERTCMP(X, OP, Y) \ macro
1223 #define ASSERTCMP(X, OP, Y) \ macro
Daf_rxrpc.c1061 ASSERTCMP(atomic_read(&rxrpc_n_tx_skbs), ==, 0); in af_rxrpc_exit()
1062 ASSERTCMP(atomic_read(&rxrpc_n_rx_skbs), ==, 0); in af_rxrpc_exit()
/kernel/linux/linux-5.10/fs/afs/
Dwrite.c40 ASSERTCMP(p + len, <=, PAGE_SIZE); in afs_fill_page()
117 ASSERTCMP(f, <=, t); in afs_write_begin()
257 ASSERTCMP(pv.nr, ==, count); in afs_kill_pages()
300 ASSERTCMP(pv.nr, ==, count); in afs_redirty_pages()
340 ASSERTCMP(pv.nr, ==, count); in afs_pages_written_back()
Drxrpc.c172 ASSERTCMP(n, >=, 0); in afs_put_call()
289 ASSERTCMP(n, ==, nr); in afs_load_bvec()
550 ASSERTCMP(state, >, AFS_CALL_CL_PROC_REPLY); in afs_deliver_to_call()
556 ASSERTCMP(state, ==, AFS_CALL_COMPLETE); in afs_deliver_to_call()
Drotate.c59 ASSERTCMP(cb_server, ==, vnode->cb_server); in afs_start_fs_iteration()
364 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.c225 ASSERTCMP(d_inode(dentry), ==, NULL); in afs_dynroot_lookup()
Dvl_rotate.c215 ASSERTCMP(vc->ac.alist, ==, NULL); in afs_select_vlserver()
Dvolume.c226 ASSERTCMP(volume->cache, ==, NULL); in afs_destroy_volume()
Dcell.c496 ASSERTCMP(u, ==, 0); in afs_cell_destroy()
882 ASSERTCMP(active, >=, 1); in afs_manage_cells()

12