Lines Matching refs:cdevsw
116 struct cdevsw nocdev = NO_CDEVICE;
205 struct cdevsw *devsw;
212 devsw = &cdevsw[index];
216 sizeof(struct cdevsw)) == 0)
220 devsw = &cdevsw[index];
224 sizeof(struct cdevsw)) != 0)) {
245 cdevsw_add(int index, struct cdevsw * csw)
251 cdevsw[index] = *csw;
259 cdevsw_remove(int index, struct cdevsw * csw)
261 struct cdevsw *devsw;
263 devsw = &cdevsw[index];
267 sizeof(struct cdevsw)) != 0)) {
270 cdevsw[index] = nocdev;
282 cdevsw_add_with_bdev(int index, struct cdevsw * csw, int bdev)
296 cdevsw_setkqueueok(int index, struct cdevsw *csw, int use_offset)
298 struct cdevsw *devsw;
301 devsw = &cdevsw[index];
305 sizeof(struct cdevsw)) != 0)) {