Searched refs:PAGE_SIZE (Results 101 - 125 of 3549) sorted by last modified time

1234567891011>>

/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_mes.c39 PAGE_SIZE);
86 mes->doorbell_bitmap = bitmap_zalloc(PAGE_SIZE / sizeof(u32), GFP_KERNEL);
92 mes->num_mes_dbs = PAGE_SIZE / AMDGPU_ONE_DOORBELL_SIZE;
108 r = amdgpu_bo_create_kernel(adev, AMDGPU_MES_LOG_BUFFER_SIZE, PAGE_SIZE,
118 memset(adev->mes.event_log_cpu_addr, 0, PAGE_SIZE);
268 r = amdgpu_bo_create_kernel(adev, AMDGPU_MES_PROC_CTX_SIZE, PAGE_SIZE,
392 r = amdgpu_bo_create_kernel(adev, AMDGPU_MES_GANG_CTX_SIZE, PAGE_SIZE,
551 r = amdgpu_bo_create_kernel(adev, mqd_size, PAGE_SIZE,
1153 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT,
1532 PAGE_SIZE);
[all...]
/linux-master/block/
H A Dbdev.c139 while (bsize < PAGE_SIZE) {
149 /* Size must be a power of two, and between 512 and PAGE_SIZE */
150 if (size > PAGE_SIZE || size < 512 || !is_power_of_2(size))
173 * and it's value is between 512 and PAGE_SIZE */
/linux-master/arch/arc/mm/
H A Dtlb.c221 if (unlikely((end - start) >= PAGE_SIZE * 32)) {
238 start += PAGE_SIZE;
257 if (unlikely((end - start) >= PAGE_SIZE * 32)) {
267 start += PAGE_SIZE;
646 if (mmu->pg_sz_k != TO_KB(PAGE_SIZE))
647 panic("MMU pg size != PAGE_SIZE (%luk)\n", TO_KB(PAGE_SIZE));
/linux-master/arch/arc/kernel/
H A Dvmlinux.lds.S33 . = ALIGN(PAGE_SIZE);
59 . = ALIGN(PAGE_SIZE);
80 . = ALIGN(PAGE_SIZE);
99 RO_DATA(PAGE_SIZE)
105 RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
112 . = ALIGN(PAGE_SIZE);
122 . = ALIGN(PAGE_SIZE);
H A Dsetup.c588 seq_printf(m, arc_cpu_mumbojumbo(cpu_id, &info, str, PAGE_SIZE));
/linux-master/arch/arc/include/asm/
H A Dthread_info.h24 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER)
H A Dshmparam.h10 #define SHMLBA (2 * PAGE_SIZE)
/linux-master/fs/btrfs/tests/
H A Dextent-map-tests.c1005 fs_info = btrfs_alloc_dummy_fs_info(PAGE_SIZE, PAGE_SIZE);
/linux-master/fs/btrfs/
H A Dscrub.c62 * The following value times PAGE_SIZE needs to be large enough to match the
103 #define SCRUB_STRIPE_PAGES (BTRFS_STRIPE_LEN / PAGE_SIZE)
H A Dinode.c429 page_end = page_start + PAGE_SIZE - 1;
464 if (bytes + offset <= page_start + PAGE_SIZE)
473 bytes = offset + bytes - page_offset(locked_page) - PAGE_SIZE;
474 offset = page_offset(locked_page) + PAGE_SIZE;
564 PAGE_SIZE);
698 btrfs_qgroup_free_data(inode, NULL, 0, PAGE_SIZE, NULL);
794 if (fs_info->sectorsize < PAGE_SIZE) {
914 if (blocksize < PAGE_SIZE) {
960 memzero_page(pages[nr_pages - 1], poff, PAGE_SIZE - poff);
971 if (start == 0 && fs_info->sectorsize == PAGE_SIZE) {
8326 btrfs_delalloc_release_extents(BTRFS_I(inode), PAGE_SIZE); local
8335 btrfs_delalloc_release_extents(BTRFS_I(inode), PAGE_SIZE); local
[all...]
/linux-master/virt/kvm/
H A Dpfncache.c70 return offset + len <= PAGE_SIZE;
105 return memremap(pfn_to_hpa(pfn), PAGE_SIZE, MEMREMAP_WB);
H A Dkvm_main.c643 gfn_range.end = hva_to_gfn_memslot(hva_end + PAGE_SIZE - 1, slot);
2036 if ((mem->memory_size & (PAGE_SIZE - 1)) ||
2039 if (mem->guest_phys_addr & (PAGE_SIZE - 1))
2042 if ((mem->userspace_addr & (PAGE_SIZE - 1)) ||
2048 (mem->guest_memfd_offset & (PAGE_SIZE - 1) ||
2687 size = PAGE_SIZE;
2691 return PAGE_SIZE;
3167 hva = memremap(pfn_to_hpa(pfn), PAGE_SIZE, MEMREMAP_WB);
3304 if (len > PAGE_SIZE - offset)
3305 return PAGE_SIZE
[all...]
/linux-master/tools/testing/selftests/kvm/
H A Dset_memory_region_test.c484 for (i = 1; i < PAGE_SIZE; i++)
/linux-master/net/sunrpc/xprtrdma/
H A Dsvc_rdma_sendto.c636 len = min_t(u32, PAGE_SIZE - pageoff, remaining);
681 remaining -= min_t(u32, PAGE_SIZE - offset, remaining);
750 len = min_t(u32, PAGE_SIZE - pageoff, remaining);
H A Dsvc_rdma_rw.c451 PAGE_SIZE - page_off);
752 PAGE_SIZE - head->rc_pageoff);
762 if (head->rc_pageoff == PAGE_SIZE) {
845 PAGE_SIZE - head->rc_pageoff);
855 if (head->rc_pageoff == PAGE_SIZE) {
/linux-master/include/linux/
H A Dblkdev.h258 if (bsize < 512 || bsize > PAGE_SIZE || !is_power_of_2(bsize))
/linux-master/fs/sysfs/
H A Dfile.c51 /* acquire buffer and ensure that it's >= PAGE_SIZE and clear */
53 if (count < PAGE_SIZE) {
57 memset(buf, 0, PAGE_SIZE);
64 * The code works fine with PAGE_SIZE return but it's likely to
67 if (count >= (ssize_t)PAGE_SIZE) {
71 count = PAGE_SIZE - 1;
308 PAGE_SIZE, ops, (void *)attr, ns, key);
736 * sysfs_emit - scnprintf equivalent, aware of PAGE_SIZE buffer.
737 * @buf: start of PAGE_SIZE buffer.
754 len = vscnprintf(buf, PAGE_SIZE, fm
[all...]
/linux-master/fs/smb/client/
H A Dsmb2ops.c4369 unsigned int npages = DIV_ROUND_UP(size, PAGE_SIZE);
4388 seg = min_t(size_t, size - copied, PAGE_SIZE);
4469 size_t n, len = min_t(unsigned int, PAGE_SIZE - skip, data_size);
4568 cur_page_idx = pad_len / PAGE_SIZE;
4569 cur_off = pad_len % PAGE_SIZE;
4736 npages = DIV_ROUND_UP(len, PAGE_SIZE);
4755 iov_iter_xarray(&iter, ITER_DEST, &dw->buffer, 0, npages * PAGE_SIZE);
4763 if (rc < npages * PAGE_SIZE)
4764 iov_iter_zero(npages * PAGE_SIZE - rc, &iter);
4765 iov_iter_revert(&iter, npages * PAGE_SIZE);
[all...]
H A Dfscache.c186 bvec_set_page(&bvec, page, PAGE_SIZE, 0);
187 iov_iter_bvec(&iter, ITER_DEST, &bvec, 1, PAGE_SIZE);
270 start = first * PAGE_SIZE;
271 len = nr_pages * PAGE_SIZE;
272 ret = cres.ops->query_occupancy(&cres, start, len, PAGE_SIZE,
275 *_data_first = data_start / PAGE_SIZE;
276 *_data_nr_pages = len / PAGE_SIZE;
H A Dconnect.c3456 round_down(server->ops->negotiate_wsize(tcon, ctx), PAGE_SIZE);
3458 * in the very unlikely event that the server sent a max write size under PAGE_SIZE,
3462 cifs_sb->ctx->wsize = PAGE_SIZE;
3463 cifs_dbg(VFS, "wsize too small, reset to minimum ie PAGE_SIZE, usually 4096\n");
H A Dfs_context.c1178 if (ctx->wsize % PAGE_SIZE != 0) {
1179 ctx->wsize = round_down(ctx->wsize, PAGE_SIZE);
1181 ctx->wsize = PAGE_SIZE;
1182 cifs_dbg(VFS, "wsize too small, reset to minimum %ld\n", PAGE_SIZE);
1185 "wsize rounded down to %d to multiple of PAGE_SIZE %ld\n",
1186 ctx->wsize, PAGE_SIZE);
H A Dcifsglob.h960 * pages. A 16M write means ~32kb page array with PAGE_SIZE == 4096.
2266 PAGE_SIZE);
2275 nents += DIV_ROUND_UP(offset_in_page(sig) + SMB2_SIGNATURE_SIZE, PAGE_SIZE);
2292 unsigned int len = min_t(unsigned int, buflen, PAGE_SIZE - off);
2298 addr += PAGE_SIZE;
H A Dcifsfs.c249 sb->s_bdi->ra_pages = cifs_sb->ctx->rasize / PAGE_SIZE;
251 sb->s_bdi->ra_pages = 2 * (cifs_sb->ctx->rsize / PAGE_SIZE);
1247 pgoff_t index = pos / PAGE_SIZE;
/linux-master/fs/bcachefs/
H A Djournal_io.c1137 ret = journal_read_buf_realloc(&buf, PAGE_SIZE);
/linux-master/drivers/usb/gadget/function/
H A Df_fs.c813 for (i = 0, ptr = vaddr; i < n_pages; ++i, ptr += PAGE_SIZE)
1054 io_data->use_sg = gadget->sg_supported && data_len > PAGE_SIZE;
1918 sb->s_blocksize = PAGE_SIZE;

Completed in 399 milliseconds

1234567891011>>