Home
last modified time | relevance | path

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

/netbsd/src/sys/compat/linux/common/
Dlinux_inotify.c114 size_t ifd_nwds; /* max watch descriptor that can be */ member
291 ifd->ifd_nwds = 1; in do_inotify_init()
292 ifd->ifd_wds = kmem_zalloc(ifd->ifd_nwds * sizeof(*ifd->ifd_wds), in do_inotify_init()
323 kmem_free(ifd->ifd_wds, ifd->ifd_nwds * sizeof(*ifd->ifd_wds)); in do_inotify_init()
467 for (i = 0; i < ifd->ifd_nwds; i++) { in linux_sys_inotify_add_watch()
532 if (wd+1 > ifd->ifd_nwds) { in linux_sys_inotify_add_watch()
536 ifd->ifd_nwds * sizeof(*ifd->ifd_wds)); in linux_sys_inotify_add_watch()
539 ifd->ifd_nwds * sizeof(*ifd->ifd_wds)); in linux_sys_inotify_add_watch()
542 ifd->ifd_nwds = wd+1; in linux_sys_inotify_add_watch()
631 KASSERT(0 <= wd && wd < ifd->ifd_nwds && ifd->ifd_wds[wd] != NULL); in inotify_close_wd()
[all …]