Home
last modified time | relevance | path

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

/mm/
Dprocess_vm_access.c33 struct iov_iter *iter, in process_vm_rw_pages() argument
37 while (len && iov_iter_count(iter)) { in process_vm_rw_pages()
46 copied = copy_page_from_iter(page, offset, copy, iter); in process_vm_rw_pages()
49 copied = copy_page_to_iter(page, offset, copy, iter); in process_vm_rw_pages()
52 if (copied < copy && iov_iter_count(iter)) in process_vm_rw_pages()
76 struct iov_iter *iter, in process_vm_rw_single_vec() argument
98 while (!rc && nr_pages && iov_iter_count(iter)) { in process_vm_rw_single_vec()
121 start_offset, bytes, iter, in process_vm_rw_single_vec()
151 static ssize_t process_vm_rw_core(pid_t pid, struct iov_iter *iter, in process_vm_rw_core() argument
165 size_t total_len = iov_iter_count(iter); in process_vm_rw_core()
[all …]
Dmemcontrol.c239 #define for_each_mem_cgroup_tree(iter, root) \ argument
240 for (iter = mem_cgroup_iter(root, NULL, NULL); \
241 iter != NULL; \
242 iter = mem_cgroup_iter(root, iter, NULL))
244 #define for_each_mem_cgroup(iter) \ argument
245 for (iter = mem_cgroup_iter(NULL, NULL, NULL); \
246 iter != NULL; \
247 iter = mem_cgroup_iter(NULL, iter, NULL))
1029 struct mem_cgroup_reclaim_iter *uninitialized_var(iter); in mem_cgroup_iter()
1055 iter = &mz->iter[reclaim->priority]; in mem_cgroup_iter()
[all …]
Dslab.h288 #define for_each_memcg_cache(iter, root) \ argument
289 list_for_each_entry(iter, &(root)->memcg_params.children, \
417 #define for_each_memcg_cache(iter, root) \ argument
418 for ((void)(iter), (void)(root); 0; )
Dfilemap.c2010 struct iov_iter *iter, ssize_t written) in generic_file_buffered_read() argument
2026 iov_iter_truncate(iter, inode->i_sb->s_maxbytes); in generic_file_buffered_read()
2031 last_index = (*ppos + iter->count + PAGE_SIZE-1) >> PAGE_SHIFT; in generic_file_buffered_read()
2084 if (unlikely(iov_iter_is_pipe(iter))) in generic_file_buffered_read()
2092 offset, iter->count)) in generic_file_buffered_read()
2144 ret = copy_page_to_iter(page, offset, nr, iter); in generic_file_buffered_read()
2152 if (!iov_iter_count(iter)) in generic_file_buffered_read()
2274 generic_file_read_iter(struct kiocb *iocb, struct iov_iter *iter) in generic_file_read_iter() argument
2276 size_t count = iov_iter_count(iter); in generic_file_read_iter()
2303 retval = mapping->a_ops->direct_IO(iocb, iter); in generic_file_read_iter()
[all …]
Dinternal.h409 static inline struct page *mem_map_next(struct page *iter, in mem_map_next() argument
418 return iter + 1; in mem_map_next()
Dslub.c1308 char *iter; in kmem_cache_flags() local
1316 iter = slub_debug_slabs; in kmem_cache_flags()
1317 while (*iter) { in kmem_cache_flags()
1321 end = strchrnul(iter, ','); in kmem_cache_flags()
1323 glob = strnchr(iter, end - iter, '*'); in kmem_cache_flags()
1325 cmplen = glob - iter; in kmem_cache_flags()
1327 cmplen = max_t(size_t, len, (end - iter)); in kmem_cache_flags()
1329 if (!strncmp(name, iter, cmplen)) { in kmem_cache_flags()
1336 iter = end + 1; in kmem_cache_flags()
Dbacking-dev.c713 struct radix_tree_iter iter; in cgwb_bdi_unregister() local
720 radix_tree_for_each_slot(slot, &bdi->cgwb_tree, &iter, 0) in cgwb_bdi_unregister()
Dpage_alloc.c8199 unsigned long iter = 0; in has_unmovable_pages() local
8224 for (found = 0; iter < pageblock_nr_pages; iter++) { in has_unmovable_pages()
8225 unsigned long check = pfn + iter; in has_unmovable_pages()
8256 iter += skip_pages - 1; in has_unmovable_pages()
8268 iter += (1 << page_order(page)) - 1; in has_unmovable_pages()
8304 dump_page(pfn_to_page(pfn + iter), reason); in has_unmovable_pages()