Searched refs:bcd (Results 1 – 1 of 1) sorted by relevance
216 struct bsg_class_device *bcd = &q->bsg_dev; in bsg_map_hdr() local222 if (!bcd->class_dev) in bsg_map_hdr()702 struct bsg_class_device *bcd = in bsg_kref_release_function() local704 struct device *parent = bcd->parent; in bsg_kref_release_function()706 if (bcd->release) in bsg_kref_release_function()707 bcd->release(bcd->parent); in bsg_kref_release_function()804 struct bsg_class_device *bcd; in bsg_get_device() local810 bcd = idr_find(&bsg_minor_idr, iminor(inode)); in bsg_get_device()811 if (bcd) in bsg_get_device()812 kref_get(&bcd->ref); in bsg_get_device()[all …]