Lines Matching refs:walk
718 struct poll_list *walk; in do_poll() local
720 for (walk = list; walk != NULL; walk = walk->next) { in do_poll()
723 pfd = walk->entries; in do_poll()
724 pfd_end = pfd + walk->len; in do_poll()
781 struct poll_list *walk = head; in do_sys_poll() local
789 walk->next = NULL; in do_sys_poll()
790 walk->len = len; in do_sys_poll()
794 if (copy_from_user(walk->entries, ufds + nfds-todo, in do_sys_poll()
795 sizeof(struct pollfd) * walk->len)) in do_sys_poll()
798 todo -= walk->len; in do_sys_poll()
804 walk = walk->next = kmalloc(size, GFP_KERNEL); in do_sys_poll()
805 if (!walk) { in do_sys_poll()
815 for (walk = head; walk; walk = walk->next) { in do_sys_poll()
816 struct pollfd *fds = walk->entries; in do_sys_poll()
819 for (j = 0; j < walk->len; j++, ufds++) in do_sys_poll()
826 walk = head->next; in do_sys_poll()
827 while (walk) { in do_sys_poll()
828 struct poll_list *pos = walk; in do_sys_poll()
829 walk = walk->next; in do_sys_poll()