Home
last modified time | relevance | path

Searched refs:assert (Results 1 – 16 of 16) sorted by relevance

/fs/ocfs2/dlm/
Ddlmmaster.c1002 int assert, sleep; in dlm_wait_for_lock_mastery() local
1006 assert = 0; in dlm_wait_for_lock_mastery()
1083 assert = 1; in dlm_wait_for_lock_mastery()
1118 if (assert) { in dlm_wait_for_lock_mastery()
1654 struct dlm_assert_master assert; in dlm_do_assert_master() local
1679 memset(&assert, 0, sizeof(assert)); in dlm_do_assert_master()
1680 assert.node_idx = dlm->node_num; in dlm_do_assert_master()
1681 assert.namelen = namelen; in dlm_do_assert_master()
1682 memcpy(assert.name, lockname, namelen); in dlm_do_assert_master()
1683 assert.flags = cpu_to_be32(flags); in dlm_do_assert_master()
[all …]
Ddlmdomain.c884 struct dlm_assert_joined *assert; in dlm_assert_joined_handler() local
887 assert = (struct dlm_assert_joined *) msg->buf; in dlm_assert_joined_handler()
889 mlog(0, "node %u asserts join on domain %s\n", assert->node_idx, in dlm_assert_joined_handler()
890 assert->domain); in dlm_assert_joined_handler()
893 dlm = __dlm_lookup_domain_full(assert->domain, assert->name_len); in dlm_assert_joined_handler()
901 BUG_ON(dlm->joining_node != assert->node_idx); in dlm_assert_joined_handler()
902 set_bit(assert->node_idx, dlm->domain_map); in dlm_assert_joined_handler()
906 assert->node_idx, dlm->name); in dlm_assert_joined_handler()
910 dlm_hb_event_notify_attached(dlm, assert->node_idx, 1); in dlm_assert_joined_handler()
/fs/jfs/
Djfs_debug.h42 #define assert(p) do { \ macro
55 #define ASSERT(p) assert(p)
Djfs_txnmgr.c537 assert(tblk->next == 0); in txEnd()
670 assert(last); in txLock()
889 assert(mp->xflag & COMMIT_PAGE); in txRelease()
934 assert(mp->xflag & COMMIT_PAGE); in txUnlock()
940 assert(mp->nohomeok > 0); in txUnlock()
954 assert(!(tlck->flag & tlckFREEPAGE)); in txUnlock()
1519 assert(tlck->type & tlckEA); in diLog()
2259 assert(mp->xflag & COMMIT_PAGE); in txForce()
2278 assert(mp->nohomeok); in txForce()
2390 assert(mp->nohomeok == 1); in txUpdateMap()
[all …]
Djfs_dmap.c707 assert(nblocks > 0); in dbAlloc()
1770 assert((blkno & (BPERDMAP - 1)) == 0); in dbAllocCtl()
1897 assert(l2nb <= L2BPERDMAP); in dbAllocDmapLev()
2088 assert(dbitno + nblocks <= BPERDMAP); in dbAllocBits()
2233 assert(dbitno + nblocks <= BPERDMAP); in dbFreeBits()
2519 assert(level == bmp->db_maxlevel); in dbAdjCtl()
2629 assert(leaf[leafno] == NOFREE); in dbBackSplit()
2897 assert(n < 4); in dbFindLeaf()
2933 assert(nb <= DBWORD); in dbFindBits()
3080 assert(0); in blkstol2()
[all …]
Djfs_btree.h132 assert(!BT_STACK_FULL(BTSTACK));\
Djfs_imap.c702 assert(tlck->type & tlckXTREE); in diWrite()
1120 assert(ciagp != NULL); in diFree()
1134 assert(diagp != NULL); in diFree()
1454 assert(rc == -EIO); in diAlloc()
1538 assert(rc == -EIO); in diAlloc()
1577 assert(rc == -EIO); in diAlloc()
2718 assert(start < 32); in diFindFree()
2845 assert(mp->clsn); in diUpdatePMap()
Dxattr.c188 assert(size <= sizeof (ji->i_inline_ea)); in ea_write_inline()
615 assert(ea_buf->mp); in ea_release()
635 assert(new_size <= sizeof (ji->i_inline_ea)); in ea_put()
Djfs_logmgr.c1618 assert(list_empty(&log->cqueue)); in jfs_flush_journal()
1952 assert(bp->l_wqnext == NULL); in lbmfree()
2335 assert(bp->l_flag & lbmRELEASE); in lbmIODone()
2336 assert(bp->l_flag & lbmFREE); in lbmIODone()
Dnamei.c528 assert(!test_cflag(COMMIT_Nolink, ip)); in jfs_unlink()
644 assert(filetype != S_IFDIR); in commitZeroLink()
1189 assert(!test_cflag(COMMIT_Nolink, new_ip)); in jfs_rename()
Djfs_extent.c482 assert(lengthPXD(xp) == nbperpage); in extFill()
Djfs_xtree.c2934 assert((offset & CM_OFFSET) == 0); in xtRelocate()
2955 assert(addressPXD(&cp->cm_pxd) == sxaddr); in xtRelocate()
2956 assert(!cp->cm_modified); in xtRelocate()
3454 assert(flag != COMMIT_PMAP); in xtTruncate()
3819 assert(prev->next); in xtTruncate()
Djfs_metapage.c744 assert(mp->count); in release_metapage()
/fs/ext3/
Dnamei.c73 #ifndef assert
74 #define assert(test) J_ASSERT(test) macro
441 assert (at == p - 1); in dx_probe()
770 assert(count < dx_get_limit(entries)); in dx_insert_block()
771 assert(old < entries + count); in dx_insert_block()
/fs/ext4/
Dnamei.c73 #ifndef assert
74 #define assert(test) J_ASSERT(test) macro
445 assert (at == p - 1); in dx_probe()
773 assert(count < dx_get_limit(entries)); in dx_insert_block()
774 assert(old < entries + count); in dx_insert_block()
Dmballoc.c521 #define MB_CHECK_ASSERT(assert) \ argument
523 if (!(assert)) { \
526 function, file, line, # assert); \