Lines Matching refs:n
235 struct blk_major_name **n, *p; in __register_blkdev() local
278 for (n = &major_names[index]; *n; n = &(*n)->next) { in __register_blkdev()
279 if ((*n)->major == major) in __register_blkdev()
282 if (!*n) in __register_blkdev()
283 *n = p; in __register_blkdev()
301 struct blk_major_name **n; in unregister_blkdev() local
307 for (n = &major_names[index]; *n; n = &(*n)->next) in unregister_blkdev()
308 if ((*n)->major == major) in unregister_blkdev()
310 if (!*n || strcmp((*n)->name, name)) { in unregister_blkdev()
313 p = *n; in unregister_blkdev()
314 *n = p->next; in unregister_blkdev()
682 struct blk_major_name **n; in blk_request_module() local
685 for (n = &major_names[major_to_index(major)]; *n; n = &(*n)->next) { in blk_request_module()
686 if ((*n)->major == major && (*n)->probe) { in blk_request_module()
687 (*n)->probe(devt); in blk_request_module()
1070 static umode_t disk_visible(struct kobject *kobj, struct attribute *a, int n) in disk_visible() argument