/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 181 RX_SMALL_PG_BUF = 0x0, /* small (PAGE_SIZE) page buffer */ 407 buf_size = PAGE_SIZE; 411 buf_size = PAGE_SIZE << s->fl_pg_order; 568 PAGE_SIZE << s->fl_pg_order, 598 mapping = dma_map_page(adap->pdev_dev, pg, 0, PAGE_SIZE, 5108 if (fl_small_pg != PAGE_SIZE ||
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_vm.c | 113 pinned * PAGE_SIZE,
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_bo.c | 394 params->size = ALIGN(params->size, PAGE_SIZE); 693 args->size = ALIGN(args->pitch * args->height, PAGE_SIZE);
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ |
H A D | r535.c | 1893 const u64 pages = DIV_ROUND_UP(size, PAGE_SIZE); 1909 sg_set_page(sgl, page, PAGE_SIZE, 0);
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | firmware.c | 240 len = ALIGN(fw->len, PAGE_SIZE); 259 len = ALIGN(fw->len, PAGE_SIZE); 282 sg_set_page(sgl, page, PAGE_SIZE, 0); 283 data += PAGE_SIZE;
|
/linux-master/drivers/gpu/drm/imagination/ |
H A D | pvr_fw_mips.h | 16 #define PVR_MIPS_PT_PAGE_COUNT DIV_ROUND_UP(ROGUE_MIPSFW_MAX_NUM_PAGETABLE_PAGES * ROGUE_MIPSFW_PAGE_SIZE_4K, PAGE_SIZE)
|
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm.c | 961 int r = amdgpu_bo_create_kernel(adev, max_size * 4, PAGE_SIZE, 2082 ALIGN(le32_to_cpu(hdr->header.ucode_size_bytes) - le32_to_cpu(hdr->intv_size_bytes), PAGE_SIZE); 2087 ALIGN(le32_to_cpu(hdr->intv_size_bytes), PAGE_SIZE); 2188 ALIGN(le32_to_cpu(hdr->inst_const_bytes), PAGE_SIZE); 2245 r = amdgpu_bo_create_kernel(adev, region_info.fb_size, PAGE_SIZE,
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_process.c | 284 return snprintf(buffer, PAGE_SIZE, "%d\n", cu_cnt); 295 return snprintf(buffer, PAGE_SIZE, "%d\n", cu_cnt); 305 return snprintf(buffer, PAGE_SIZE, "%d\n", p->pasid); 309 return snprintf(buffer, PAGE_SIZE, "%llu\n", READ_ONCE(pdd->vram_usage)); 325 return snprintf(buffer, PAGE_SIZE, "%llu\n", 382 return snprintf(buffer, PAGE_SIZE, "%llu", 385 return snprintf(buffer, PAGE_SIZE, "%d", q->properties.type); 387 return snprintf(buffer, PAGE_SIZE, "%u", q->device->id); 406 PAGE_SIZE, 779 ret = kfd_process_alloc_gpuvm(pdd, qpd->ib_base, PAGE_SIZE, flag [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ttm.c | 216 *size = min(*size, (uint64_t)num_pages * PAGE_SIZE - offset); 264 dma_address += PAGE_SIZE; 1277 size = (unsigned long)gtt->ttm.num_pages * PAGE_SIZE; 1467 if (len != PAGE_SIZE) 1495 PAGE_SIZE, false); 1950 r = amdgpu_ttm_init_on_chip(adev, AMDGPU_PL_DOORBELL, adev->doorbell.size / PAGE_SIZE); 1988 if (amdgpu_bo_create_kernel(adev, PAGE_SIZE, PAGE_SIZE, 2426 size_t bytes = PAGE_SIZE - off; 2481 size_t bytes = PAGE_SIZE [all...] |
H A D | amdgpu_object.c | 382 size = ALIGN(size, PAGE_SIZE); 384 r = amdgpu_bo_create_reserved(adev, size, PAGE_SIZE, 563 page_align = ALIGN(bp->byte_align, PAGE_SIZE) >> PAGE_SHIFT; 564 size = ALIGN(size, PAGE_SIZE);
|
H A D | amdgpu_amdkfd_gpuvm.c | 1670 available = ALIGN_DOWN(available, PAGE_SIZE);
|
/linux-master/drivers/firewire/ |
H A D | ohci.c | 79 #define AR_BUFFERS_MIN DIV_ROUND_UP(AR_BUFFER_SIZE, PAGE_SIZE) 85 #define AR_WRAPAROUND_PAGES DIV_ROUND_UP(MAX_AR_PACKET_SIZE, PAGE_SIZE) 708 d->res_count = cpu_to_le16(PAGE_SIZE); 732 dma_free_pages(dev, PAGE_SIZE, ctx->pages[i], 784 if (next_res_count == cpu_to_le16(PAGE_SIZE)) { 792 if (MAX_AR_PACKET_SIZE > PAGE_SIZE && i != last) { 796 if (next_res_count != cpu_to_le16(PAGE_SIZE)) 810 *buffer_offset = PAGE_SIZE - le16_to_cpu(res_count); 811 if (*buffer_offset > PAGE_SIZE) { 829 PAGE_SIZE, DMA_FROM_DEVIC [all...] |
H A D | nosy.c | 520 dma_free_coherent(&lynx->pci_device->dev, PAGE_SIZE, lynx->rcv_buffer, 683 dma_free_coherent(&lynx->pci_device->dev, PAGE_SIZE,
|
/linux-master/drivers/block/ |
H A D | ublk_drv.c | 650 PAGE_SIZE); 745 (unsigned)(PAGE_SIZE - pg_off)); 759 if (pg_off == PAGE_SIZE) { 820 nr_pages = DIV_ROUND_UP(len + off, PAGE_SIZE); 2120 /* align max io buffer size with PAGE_SIZE */ 2126 round_down(max_io_bytes, PAGE_SIZE);
|
/linux-master/arch/xtensa/include/asm/ |
H A D | cacheflush.h | 69 #if defined(CONFIG_MMU) && (DCACHE_WAY_SIZE > PAGE_SIZE) 78 #if defined(CONFIG_MMU) && (ICACHE_WAY_SIZE > PAGE_SIZE) 95 ((DCACHE_WAY_SIZE > PAGE_SIZE) || defined(CONFIG_SMP)) 156 #if defined(CONFIG_MMU) && (DCACHE_WAY_SIZE > PAGE_SIZE)
|
/linux-master/arch/x86/net/ |
H A D | bpf_jit_comp.c | 1810 * src_reg + insn->off > TASK_SIZE_MAX + PAGE_SIZE 1815 u64 limit = TASK_SIZE_MAX + PAGE_SIZE - VSYSCALL_ADDR; 3048 image = bpf_jit_alloc_exec(PAGE_SIZE); 3052 ret = __arch_prepare_bpf_trampoline(&im, image, image + PAGE_SIZE, image,
|
/linux-master/arch/s390/mm/ |
H A D | hugetlbpage.c | 282 info.low_limit = PAGE_SIZE;
|
H A D | gmap.c | 1075 len -= PAGE_SIZE; 1076 gaddr += PAGE_SIZE; 1275 paddr += PAGE_SIZE; 1276 len -= PAGE_SIZE; 1733 ((asce & _ASCE_TABLE_LENGTH) + 1) * PAGE_SIZE, 1815 offset = ((r2t & _REGION_ENTRY_OFFSET) >> 6) * PAGE_SIZE; 1816 len = ((r2t & _REGION_ENTRY_LENGTH) + 1) * PAGE_SIZE - offset; 1899 offset = ((r3t & _REGION_ENTRY_OFFSET) >> 6) * PAGE_SIZE; 1900 len = ((r3t & _REGION_ENTRY_LENGTH) + 1) * PAGE_SIZE - offset; 1983 offset = ((sgt & _REGION_ENTRY_OFFSET) >> 6) * PAGE_SIZE; [all...] |
/linux-master/arch/s390/crypto/ |
H A D | paes_s390.c | 631 /* only use complete blocks, max. PAGE_SIZE */ 633 n = (nbytes > PAGE_SIZE) ? PAGE_SIZE : nbytes & ~(AES_BLOCK_SIZE - 1);
|
/linux-master/net/sunrpc/ |
H A D | xprtsock.c | 347 n = (buf->page_base + want + PAGE_SIZE - 1) >> PAGE_SHIFT; 353 i *= PAGE_SIZE; 1490 return PAGE_SIZE; 2918 if (size > PAGE_SIZE - sizeof(struct rpc_buffer)) { 2929 buf->len = PAGE_SIZE;
|
/linux-master/kernel/ |
H A D | workqueue.c | 6835 return scnprintf(buffer, PAGE_SIZE, "%s\n", wq_affn_names[wq_affn_dfl]); 6878 return scnprintf(buf, PAGE_SIZE, "%d\n", (bool)!(wq->flags & WQ_UNBOUND)); 6887 return scnprintf(buf, PAGE_SIZE, "%d\n", wq->saved_max_active); 6932 written = scnprintf(buf, PAGE_SIZE, "%d\n", wq->unbound_attrs->nice); 6985 written = scnprintf(buf, PAGE_SIZE, "%*pb\n", 7023 written = scnprintf(buf, PAGE_SIZE, "%s (%s)\n", 7027 written = scnprintf(buf, PAGE_SIZE, "%s\n", 7062 return scnprintf(buf, PAGE_SIZE, "%d\n", 7145 written = scnprintf(buf, PAGE_SIZE, "%*pb\n", cpumask_pr_args(mask));
|
H A D | profile.c | 40 #define NR_PROFILE_HIT (PAGE_SIZE/sizeof(struct profile_hit))
|
/linux-master/fs/nfsd/ |
H A D | nfs4xdr.c | 2107 * XDR data that is more than PAGE_SIZE in size is normally part of a 2110 * filesystem limits. This can exceed PAGE_SIZE (currently, XATTR_SIZE_MAX 2146 len = min_t(u32, buflen, PAGE_SIZE); 2528 if (readcount > 1 || max_reply > PAGE_SIZE - auth_slack) 4438 maxcount = PAGE_SIZE; 5324 cplen = min_t(u32, buflen, PAGE_SIZE); 5331 if (cplen < PAGE_SIZE) { 5341 buflen -= PAGE_SIZE; 5342 buf += PAGE_SIZE;
|
/linux-master/fs/bcachefs/ |
H A D | btree_node_scan.c | 128 bch2_bio_map(bio, bn, PAGE_SIZE);
|
/linux-master/drivers/scsi/ |
H A D | sd.c | 3543 if (opt_xfer_bytes < PAGE_SIZE) { 3546 "PAGE_SIZE (%u bytes)\n", 3547 opt_xfer_bytes, (unsigned int)PAGE_SIZE);
|