Searched refs:hg (Results 1 – 7 of 7) sorted by relevance
165 static void saa7164_histogram_reset(struct saa7164_histogram *hg, char *name) in saa7164_histogram_reset() argument169 memset(hg, 0, sizeof(struct saa7164_histogram)); in saa7164_histogram_reset()170 strscpy(hg->name, name, sizeof(hg->name)); in saa7164_histogram_reset()174 hg->counter1[0 + i].val = i; in saa7164_histogram_reset()178 hg->counter1[30 + i].val = 30 + (i * 10); in saa7164_histogram_reset()182 hg->counter1[48 + i].val = 200 + (i * 200); in saa7164_histogram_reset()185 hg->counter1[55].val = 2000; in saa7164_histogram_reset()188 hg->counter1[56].val = 4000; in saa7164_histogram_reset()191 hg->counter1[57].val = 8000; in saa7164_histogram_reset()194 hg->counter1[58].val = 15000; in saa7164_histogram_reset()[all …]
486 void saa7164_histogram_update(struct saa7164_histogram *hg, u32 val);
3138 int hg, rv = -100; in drbd_asb_recover_1p() local3156 hg = drbd_asb_recover_0p(peer_device); in drbd_asb_recover_1p()3157 if (hg == -1 && device->state.role == R_SECONDARY) in drbd_asb_recover_1p()3158 rv = hg; in drbd_asb_recover_1p()3159 if (hg == 1 && device->state.role == R_PRIMARY) in drbd_asb_recover_1p()3160 rv = hg; in drbd_asb_recover_1p()3168 hg = drbd_asb_recover_0p(peer_device); in drbd_asb_recover_1p()3169 if (hg == -1 && device->state.role == R_PRIMARY) { in drbd_asb_recover_1p()3180 rv = hg; in drbd_asb_recover_1p()3183 rv = hg; in drbd_asb_recover_1p()[all …]
496 static int blkif_getgeo(struct block_device *bd, struct hd_geometry *hg) in blkif_getgeo() argument503 hg->heads = 0xff; in blkif_getgeo()504 hg->sectors = 0x3f; in blkif_getgeo()505 sector_div(cylinders, hg->heads * hg->sectors); in blkif_getgeo()506 hg->cylinders = cylinders; in blkif_getgeo()507 if ((sector_t)(hg->cylinders + 1) * hg->heads * hg->sectors < nsect) in blkif_getgeo()508 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;