Lines Matching refs:name
74 * Format the device name of the indicated disk into the supplied buffer and
398 char name[16];
415 seq_printf(seqf, "%3d %s\n", dp->major, dp->name);
425 * @name: the name of the new block device as a zero terminated string
427 * The @name must be unique within the system.
440 int register_blkdev(unsigned int major, const char *name)
456 __func__, name);
466 __func__, major, BLKDEV_MAJOR_MAX-1, name);
479 strlcpy(p->name, name, sizeof(p->name));
494 major, name);
504 void unregister_blkdev(unsigned int major, const char *name)
514 if (!*n || strcmp((*n)->name, name)) {
1113 dev->parent->driver->name);
1177 seq_puts(seqf, "major minor #blocks name\n\n");
1580 .name = "block",
1594 .name = "disk",
1619 seq_puts(seqf, "major minor name"
1690 dev_t blk_lookup_devt(const char *name, int partno)
1701 if (strcmp(dev_name(dev), name))