Lines Matching defs:tbl
82 struct hmdfs_inode_tbl *tbl;
982 static int hmdfs_new_inode_tbl(struct hmdfs_inode_tbl **tbl)
993 *tbl = new;
1037 ctx->tbl->cnt++;
1054 if (ctx->tbl->cnt >= ctx->tbl->max)
1057 ctx->tbl->inodes[ctx->tbl->cnt++] = stash_inum;
1640 const struct hmdfs_inode_tbl *tbl,
1652 for (i = 0; i < tbl->cnt; i++) {
1656 snprintf(name, sizeof(name), "0x%llx", tbl->inodes[i]);
1664 ctx.inum = tbl->inodes[i];
1698 const struct hmdfs_inode_tbl *tbl,
1710 stats->total += tbl->cnt;
1712 for (i = 0; i < tbl->cnt; i++) {
1719 snprintf(name, sizeof(name), "0x%llx", tbl->inodes[i]);
1725 ctx.inum = tbl->inodes[i];
1771 struct hmdfs_inode_tbl *tbl = NULL;
1774 err = hmdfs_new_inode_tbl(&tbl);
1781 ctx.tbl = tbl;
1784 tbl->cnt = 0;
1786 if (err || !tbl->cnt) {
1791 err = op(conn, seq, &dir, tbl, priv);
1795 kfree(tbl);
1810 struct hmdfs_inode_tbl tbl;
1818 memset(&tbl, 0, sizeof(tbl));
1819 ctx.tbl = &tbl;
1821 if (!err && ctx.tbl->cnt > 0)