Home
last modified time | relevance | path

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

/mm/kasan/
Dquarantine.c45 size_t bytes; member
58 q->bytes = 0; in qlist_init()
70 q->bytes += size; in qlist_put()
86 to->bytes += from->bytes; in qlist_move_all()
191 if (unlikely(q->bytes > QUARANTINE_PERCPU_SIZE)) { in quarantine_put()
195 WRITE_ONCE(quarantine_size, quarantine_size + temp.bytes); in quarantine_put()
197 if (global_quarantine[quarantine_tail].bytes >= in quarantine_put()
252 WRITE_ONCE(quarantine_size, quarantine_size - to_free.bytes); in quarantine_reduce()
/mm/
Dprocess_vm_access.c101 size_t bytes; in process_vm_rw_single_vec() local
116 bytes = pages * PAGE_SIZE - start_offset; in process_vm_rw_single_vec()
117 if (bytes > len) in process_vm_rw_single_vec()
118 bytes = len; in process_vm_rw_single_vec()
121 start_offset, bytes, iter, in process_vm_rw_single_vec()
123 len -= bytes; in process_vm_rw_single_vec()
Dpage_poison.c66 static void check_poison_mem(unsigned char *mem, size_t bytes) in check_poison_mem() argument
75 start = memchr_inv(mem, PAGE_POISON, bytes); in check_poison_mem()
79 for (end = mem + bytes - 1; end > start; end--) { in check_poison_mem()
Dpage_counter.c252 u64 bytes; in page_counter_memparse() local
259 bytes = memparse(buf, &end); in page_counter_memparse()
263 *nr_pages = min(bytes / PAGE_SIZE, (u64)PAGE_COUNTER_MAX); in page_counter_memparse()
Dpage-writeback.c397 unsigned long bytes = vm_dirty_bytes; in domain_dirty_limits() local
417 if (bytes) in domain_dirty_limits()
418 ratio = min(DIV_ROUND_UP(bytes, global_avail), in domain_dirty_limits()
423 bytes = bg_bytes = 0; in domain_dirty_limits()
426 if (bytes) in domain_dirty_limits()
427 thresh = DIV_ROUND_UP(bytes, PAGE_SIZE); in domain_dirty_limits()
Dfilemap.c3255 unsigned long bytes; /* Bytes to write to page */ in generic_perform_write() local
3260 bytes = min_t(unsigned long, PAGE_SIZE - offset, in generic_perform_write()
3274 if (unlikely(iov_iter_fault_in_readable(i, bytes))) { in generic_perform_write()
3284 status = a_ops->write_begin(file, mapping, pos, bytes, flags, in generic_perform_write()
3292 copied = iov_iter_copy_from_user_atomic(page, i, offset, bytes); in generic_perform_write()
3295 status = a_ops->write_end(file, mapping, pos, bytes, copied, in generic_perform_write()
3313 bytes = min_t(unsigned long, PAGE_SIZE - offset, in generic_perform_write()
Dmemory.c4344 int bytes, ret, offset; in __access_remote_vm() local
4366 bytes = ret; in __access_remote_vm()
4369 bytes = len; in __access_remote_vm()
4371 if (bytes > PAGE_SIZE-offset) in __access_remote_vm()
4372 bytes = PAGE_SIZE-offset; in __access_remote_vm()
4377 maddr + offset, buf, bytes); in __access_remote_vm()
4381 buf, maddr + offset, bytes); in __access_remote_vm()
4386 len -= bytes; in __access_remote_vm()
4387 buf += bytes; in __access_remote_vm()
4388 addr += bytes; in __access_remote_vm()
Dslab_common.c1128 static inline unsigned int size_index_elem(unsigned int bytes) in size_index_elem() argument
1130 return (bytes - 1) / 8; in size_index_elem()
Dslub.c735 u8 *start, unsigned int value, unsigned int bytes) in check_bytes_and_report() argument
741 fault = memchr_inv(start, value, bytes); in check_bytes_and_report()
746 end = start + bytes; in check_bytes_and_report()
DKconfig189 # PA-RISC 7xxx's spinlock_t would enlarge struct page from 32 to 44 bytes.