Searched refs:namelen (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.8/kernel/src/driver/pci/ |
D | pci_irq.c | 52 int namelen = sizeof(strlen(irq_name) + 1); in c_irq_install() local 53 p->irq_name = (char *)kmalloc(namelen, 0); in c_irq_install() 54 memset(p->irq_name, 0, namelen); in c_irq_install() 55 strncpy(p->irq_name, irq_name, namelen); in c_irq_install()
|
/DragonOS-0.1.8/kernel/src/exception/ |
D | irq.c | 205 int namelen = sizeof(strlen(irq_name) + 1); in irq_register() local 206 p->irq_name = (char *)kmalloc(namelen, 0); in irq_register() 207 memset(p->irq_name, 0, namelen); in irq_register() 208 strncpy(p->irq_name, irq_name, namelen); in irq_register()
|
/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | VFS.h | 181 typedef int (*vfs_filldir_t)(void *buf, ino_t d_ino, char *name, int namelen, unsigned char type, o…
|