Lines Matching refs:cdevsw
117 struct cdevsw nocdev = NO_CDEVICE;
206 struct cdevsw *devsw;
213 devsw = &cdevsw[index];
217 sizeof(struct cdevsw)) == 0)
221 devsw = &cdevsw[index];
225 sizeof(struct cdevsw)) != 0)) {
246 cdevsw_add(int index, struct cdevsw * csw)
252 cdevsw[index] = *csw;
260 cdevsw_remove(int index, struct cdevsw * csw)
262 struct cdevsw *devsw;
264 devsw = &cdevsw[index];
268 sizeof(struct cdevsw)) != 0)) {
271 cdevsw[index] = nocdev;
283 cdevsw_add_with_bdev(int index, struct cdevsw * csw, int bdev)
297 cdevsw_setkqueueok(int index, struct cdevsw *csw, int use_offset)
299 struct cdevsw *devsw;
302 devsw = &cdevsw[index];
306 sizeof(struct cdevsw)) != 0)) {