Home
last modified time | relevance | path

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

/mm/
Dprocess_vm_access.c31 struct iov_iter *iter, in process_vm_rw_pages() argument
35 while (len && iov_iter_count(iter)) { in process_vm_rw_pages()
44 copied = copy_page_from_iter(page, offset, copy, iter); in process_vm_rw_pages()
46 copied = copy_page_to_iter(page, offset, copy, iter); in process_vm_rw_pages()
49 if (copied < copy && iov_iter_count(iter)) in process_vm_rw_pages()
73 struct iov_iter *iter, in process_vm_rw_single_vec() argument
95 while (!rc && nr_pages && iov_iter_count(iter)) { in process_vm_rw_single_vec()
119 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.c224 #define for_each_mem_cgroup_tree(iter, root) \ argument
225 for (iter = mem_cgroup_iter(root, NULL, NULL); \
226 iter != NULL; \
227 iter = mem_cgroup_iter(root, iter, NULL))
229 #define for_each_mem_cgroup(iter) \ argument
230 for (iter = mem_cgroup_iter(NULL, NULL, NULL); \
231 iter != NULL; \
232 iter = mem_cgroup_iter(NULL, iter, NULL))
322 struct obj_cgroup *objcg, *iter; in memcg_reparent_objcgs() local
334 list_for_each_entry(iter, &memcg->objcg_list, list) { in memcg_reparent_objcgs()
[all …]
Dmadvise.c1328 struct iov_iter iter; in SYSCALL_DEFINE5() local
1340 ret = import_iovec(READ, vec, vlen, ARRAY_SIZE(iovstack), &iov, &iter); in SYSCALL_DEFINE5()
1377 total_len = iov_iter_count(&iter); in SYSCALL_DEFINE5()
1379 while (iov_iter_count(&iter)) { in SYSCALL_DEFINE5()
1380 iovec = iov_iter_iovec(&iter); in SYSCALL_DEFINE5()
1385 iov_iter_advance(&iter, iovec.iov_len); in SYSCALL_DEFINE5()
1388 ret = (total_len - iov_iter_count(&iter)) ? : ret; in SYSCALL_DEFINE5()
Dfilemap.c2198 struct iov_iter *iter, ssize_t written) in generic_file_buffered_read() argument
2214 if (unlikely(!iov_iter_count(iter))) in generic_file_buffered_read()
2217 iov_iter_truncate(iter, inode->i_sb->s_maxbytes); in generic_file_buffered_read()
2222 last_index = (*ppos + iter->count + PAGE_SIZE-1) >> PAGE_SHIFT; in generic_file_buffered_read()
2295 if (unlikely(iov_iter_is_pipe(iter))) in generic_file_buffered_read()
2303 offset, iter->count)) in generic_file_buffered_read()
2355 ret = copy_page_to_iter(page, offset, nr, iter); in generic_file_buffered_read()
2363 if (!iov_iter_count(iter)) in generic_file_buffered_read()
2518 generic_file_read_iter(struct kiocb *iocb, struct iov_iter *iter) in generic_file_read_iter() argument
2520 size_t count = iov_iter_count(iter); in generic_file_read_iter()
[all …]
Dinternal.h500 static inline struct page *mem_map_next(struct page *iter, in mem_map_next() argument
509 return iter + 1; in mem_map_next()
Dslub.c1445 char *iter; in kmem_cache_flags() local
1454 next_block = parse_slub_debug_flags(next_block, &block_flags, &iter, false); in kmem_cache_flags()
1455 if (!iter) in kmem_cache_flags()
1458 while (*iter) { in kmem_cache_flags()
1462 end = strchrnul(iter, ','); in kmem_cache_flags()
1466 glob = strnchr(iter, end - iter, '*'); in kmem_cache_flags()
1468 cmplen = glob - iter; in kmem_cache_flags()
1470 cmplen = max_t(size_t, len, (end - iter)); in kmem_cache_flags()
1472 if (!strncmp(name, iter, cmplen)) { in kmem_cache_flags()
1479 iter = end + 1; in kmem_cache_flags()
Dbacking-dev.c621 struct radix_tree_iter iter; in cgwb_bdi_unregister() local
628 radix_tree_for_each_slot(slot, &bdi->cgwb_tree, &iter, 0) in cgwb_bdi_unregister()
Dpage_alloc.c8744 unsigned long iter = 0; in has_unmovable_pages() local
8760 for (; iter < pageblock_nr_pages - offset; iter++) { in has_unmovable_pages()
8761 if (!pfn_valid_within(pfn + iter)) in has_unmovable_pages()
8764 page = pfn_to_page(pfn + iter); in has_unmovable_pages()
8801 iter += skip_pages - 1; in has_unmovable_pages()
8813 iter += (1 << buddy_order(page)) - 1; in has_unmovable_pages()
Dvmscan.c2990 struct mm_struct **iter) in iterate_mm_list() argument
3041 if (*iter || last) in iterate_mm_list()
3049 if (*iter) in iterate_mm_list()
3050 mmput_async(*iter); in iterate_mm_list()
3052 *iter = mm; in iterate_mm_list()
/mm/kfence/
Dkfence_test.c516 int iter; in test_free_bulk() local
518 for (iter = 0; iter < 5; iter++) { in test_free_bulk()
520 (iter & 1) ? ctor_set_x : NULL); in test_free_bulk()