Searched refs:hg (Results 1 – 7 of 7) sorted by relevance
167 static void saa7164_histogram_reset(struct saa7164_histogram *hg, char *name) in saa7164_histogram_reset() argument171 memset(hg, 0, sizeof(struct saa7164_histogram)); in saa7164_histogram_reset()172 strscpy(hg->name, name, sizeof(hg->name)); in saa7164_histogram_reset()176 hg->counter1[0 + i].val = i; in saa7164_histogram_reset()180 hg->counter1[30 + i].val = 30 + (i * 10); in saa7164_histogram_reset()184 hg->counter1[48 + i].val = 200 + (i * 200); in saa7164_histogram_reset()187 hg->counter1[55].val = 2000; in saa7164_histogram_reset()190 hg->counter1[56].val = 4000; in saa7164_histogram_reset()193 hg->counter1[57].val = 8000; in saa7164_histogram_reset()196 hg->counter1[58].val = 15000; in saa7164_histogram_reset()[all …]
486 void saa7164_histogram_update(struct saa7164_histogram *hg, u32 val);
3137 int hg, rv = -100; in drbd_asb_recover_1p() local3155 hg = drbd_asb_recover_0p(peer_device); in drbd_asb_recover_1p()3156 if (hg == -1 && device->state.role == R_SECONDARY) in drbd_asb_recover_1p()3157 rv = hg; in drbd_asb_recover_1p()3158 if (hg == 1 && device->state.role == R_PRIMARY) in drbd_asb_recover_1p()3159 rv = hg; in drbd_asb_recover_1p()3167 hg = drbd_asb_recover_0p(peer_device); in drbd_asb_recover_1p()3168 if (hg == -1 && device->state.role == R_PRIMARY) { in drbd_asb_recover_1p()3179 rv = hg; in drbd_asb_recover_1p()3182 rv = hg; in drbd_asb_recover_1p()[all …]
475 static int blkif_getgeo(struct block_device *bd, struct hd_geometry *hg) in blkif_getgeo() argument482 hg->heads = 0xff; in blkif_getgeo()483 hg->sectors = 0x3f; in blkif_getgeo()484 sector_div(cylinders, hg->heads * hg->sectors); in blkif_getgeo()485 hg->cylinders = cylinders; in blkif_getgeo()486 if ((sector_t)(hg->cylinders + 1) * hg->heads * hg->sectors < nsect) in blkif_getgeo()487 hg->cylinders = 0xffff; in blkif_getgeo()
63 zip_cmd->s.hg = 0; in prepare_zip_command()
63 zip_cmd->s.hg = 0; in prepare_inflate_zcmd()
194 u64 hg : 1; member196 u64 hg : 1;