Searched refs:cg (Results 1 – 4 of 4) sorted by relevance
148 static void init_bch_cgroup(struct bch_cgroup *cg) in init_bch_cgroup() argument150 cg->cache_mode = -1; in init_bch_cgroup()155 struct bch_cgroup *cg; in bcachecg_create() local157 cg = kzalloc(sizeof(*cg), GFP_KERNEL); in bcachecg_create()158 if (!cg) in bcachecg_create()160 init_bch_cgroup(cg); in bcachecg_create()161 return &cg->css; in bcachecg_create()166 struct bch_cgroup *cg = cgroup_to_bcache(cgroup); in bcachecg_destroy() local167 free_css_id(&bcache_subsys, &cg->css); in bcachecg_destroy()168 kfree(cg); in bcachecg_destroy()
48 u32 cg = green >> (16 - info->var.green.length); in simplefb_setcolreg() local56 (cg << info->var.green.offset) | in simplefb_setcolreg()
108 u32 cg = green >> (16 - info->var.green.length); in offb_setcolreg() local116 (cg << info->var.green.offset) | in offb_setcolreg()
1148 struct config_group *cg = &wwn->wwn_group; in target_fabric_drop_wwn() local1151 for (i = 0; cg->default_groups[i]; i++) { in target_fabric_drop_wwn()1152 df_item = &cg->default_groups[i]->cg_item; in target_fabric_drop_wwn()1153 cg->default_groups[i] = NULL; in target_fabric_drop_wwn()