Lines Matching refs:walk
860 struct poll_list *walk; in do_poll() local
863 for (walk = list; walk != NULL; walk = walk->next) { in do_poll()
866 pfd = walk->entries; in do_poll()
867 pfd_end = pfd + walk->len; in do_poll()
939 struct poll_list *walk = head; in do_sys_poll() local
947 walk->next = NULL; in do_sys_poll()
948 walk->len = len; in do_sys_poll()
952 if (copy_from_user(walk->entries, ufds + nfds-todo, in do_sys_poll()
953 sizeof(struct pollfd) * walk->len)) in do_sys_poll()
956 todo -= walk->len; in do_sys_poll()
962 walk = walk->next = kmalloc(size, GFP_KERNEL); in do_sys_poll()
963 if (!walk) { in do_sys_poll()
973 for (walk = head; walk; walk = walk->next) { in do_sys_poll()
974 struct pollfd *fds = walk->entries; in do_sys_poll()
977 for (j = 0; j < walk->len; j++, ufds++) in do_sys_poll()
984 walk = head->next; in do_sys_poll()
985 while (walk) { in do_sys_poll()
986 struct poll_list *pos = walk; in do_sys_poll()
987 walk = walk->next; in do_sys_poll()