/mm/ |
D | process_vm_access.c | 31 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 …]
|
D | memcontrol.c | 225 #define for_each_mem_cgroup_tree(iter, root) \ argument 226 for (iter = mem_cgroup_iter(root, NULL, NULL); \ 227 iter != NULL; \ 228 iter = mem_cgroup_iter(root, iter, NULL)) 230 #define for_each_mem_cgroup(iter) \ argument 231 for (iter = mem_cgroup_iter(NULL, NULL, NULL); \ 232 iter != NULL; \ 233 iter = mem_cgroup_iter(NULL, iter, NULL)) 323 struct obj_cgroup *objcg, *iter; in memcg_reparent_objcgs() local 335 list_for_each_entry(iter, &memcg->objcg_list, list) { in memcg_reparent_objcgs() [all …]
|
D | madvise.c | 1206 struct iov_iter iter; in SYSCALL_DEFINE5() local 1218 ret = import_iovec(READ, vec, vlen, ARRAY_SIZE(iovstack), &iov, &iter); in SYSCALL_DEFINE5() 1255 total_len = iov_iter_count(&iter); in SYSCALL_DEFINE5() 1257 while (iov_iter_count(&iter)) { in SYSCALL_DEFINE5() 1258 iovec = iov_iter_iovec(&iter); in SYSCALL_DEFINE5() 1263 iov_iter_advance(&iter, iovec.iov_len); in SYSCALL_DEFINE5() 1266 ret = (total_len - iov_iter_count(&iter)) ? : ret; in SYSCALL_DEFINE5()
|
D | filemap.c | 2198 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 …]
|
D | internal.h | 494 static inline struct page *mem_map_next(struct page *iter, in mem_map_next() argument 503 return iter + 1; in mem_map_next()
|
D | slub.c | 1454 char *iter; in kmem_cache_flags() local 1463 next_block = parse_slub_debug_flags(next_block, &block_flags, &iter, false); in kmem_cache_flags() 1464 if (!iter) in kmem_cache_flags() 1467 while (*iter) { in kmem_cache_flags() 1471 end = strchrnul(iter, ','); in kmem_cache_flags() 1475 glob = strnchr(iter, end - iter, '*'); in kmem_cache_flags() 1477 cmplen = glob - iter; in kmem_cache_flags() 1479 cmplen = max_t(size_t, len, (end - iter)); in kmem_cache_flags() 1481 if (!strncmp(name, iter, cmplen)) { in kmem_cache_flags() 1488 iter = end + 1; in kmem_cache_flags()
|
D | backing-dev.c | 621 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()
|
D | page_alloc.c | 8590 unsigned long iter = 0; in has_unmovable_pages() local 8606 for (; iter < pageblock_nr_pages - offset; iter++) { in has_unmovable_pages() 8607 if (!pfn_valid_within(pfn + iter)) in has_unmovable_pages() 8610 page = pfn_to_page(pfn + iter); in has_unmovable_pages() 8647 iter += skip_pages - 1; in has_unmovable_pages() 8659 iter += (1 << buddy_order(page)) - 1; in has_unmovable_pages()
|
/mm/kfence/ |
D | kfence_test.c | 516 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()
|