Home | History | Annotate | Download | only in btt

Lines Matching defs:hbp

35 	struct hist_bkt *hbp;
39 hbp = malloc(sizeof(*hbp));
40 hbp->dev = device;
41 memset(hbp->hist, 0, NBKTS * sizeof(int));
43 return hbp;
54 struct hist_bkt *hbp = dip->up_hist_handle;
60 hbp->hist[idx]++;
68 struct hist_bkt *hbp = arg;
69 int mjr = hbp->dev >> MINORBITS;
70 int mnr = hbp->dev & ((1 << MINORBITS) - 1);
78 fprintf(fp, "%d %d\n", i, hbp->hist[i]);
85 free(hbp);