Searched refs:env (Results 1 – 2 of 2) sorted by relevance
267 static int part_uevent(struct device *dev, struct kobj_uevent_env *env) in part_uevent() argument271 add_uevent_var(env, "PARTN=%u", part->bd_partno); in part_uevent()273 add_uevent_var(env, "PARTNAME=%s", part->bd_meta_info->volname); in part_uevent()
1121 static int block_uevent(struct device *dev, struct kobj_uevent_env *env) in block_uevent() argument1125 return add_uevent_var(env, "DISKSEQ=%llu", disk->diskseq); in block_uevent()