Home
last modified time | relevance | path

Searched refs:chrdevs (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/fs/
Ddevices.c39 static struct device_struct chrdevs[MAX_CHRDEV]; variable
51 if (chrdevs[i].fops) { in get_device_list()
52 len += sprintf(page+len, "%3d %s\n", i, chrdevs[i].name); in get_device_list()
73 ret = fops_get(chrdevs[major].fops); in get_chrfops()
91 ret = fops_get(chrdevs[major].fops); in get_chrfops()
103 if (chrdevs[major].fops == NULL) { in register_chrdev()
104 chrdevs[major].name = name; in register_chrdev()
105 chrdevs[major].fops = fops; in register_chrdev()
116 if (chrdevs[major].fops && chrdevs[major].fops != fops) { in register_chrdev()
120 chrdevs[major].name = name; in register_chrdev()
[all …]