Lines Matching refs:n
289 struct blk_major_name **n, *p; in register_blkdev() local
322 for (n = &major_names[index]; *n; n = &(*n)->next) { in register_blkdev()
323 if ((*n)->major == major) in register_blkdev()
326 if (!*n) in register_blkdev()
327 *n = p; in register_blkdev()
345 struct blk_major_name **n; in unregister_blkdev() local
350 for (n = &major_names[index]; *n; n = &(*n)->next) in unregister_blkdev()
351 if ((*n)->major == major) in unregister_blkdev()
353 if (!*n || strcmp((*n)->name, name)) { in unregister_blkdev()
356 p = *n; in unregister_blkdev()
357 *n = p->next; in unregister_blkdev()