Lines Matching refs:tbl
861 swaptbl_t *tbl;
877 tbl = calloc(1, sizeof (int) + count * sizeof (swapent_t));
878 if (tbl == NULL) {
886 free(tbl);
891 tbl->swt_n = count;
893 tbl->swt_ent[i].ste_path = ptr;
898 count = swapctl(SC_LIST, tbl);
902 free(tbl);
906 *stp = tbl;
928 swaptbl_t *tbl = NULL;
932 count = dm_get_swapentries(&tbl, errp);
934 if (tbl)
935 dm_free_swapentries(tbl);
944 ASSERT(tbl != NULL);
948 if (strcmp(dev_name, tbl->swt_ent[count].ste_path) == 0) {
954 dm_free_swapentries(tbl);