/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | radeon_sa.c | 185 return list_entry(hole->next, struct radeon_sa_bo, olist)->soffset; in radeon_sa_bo_hole_eoffset() 194 unsigned soffset, eoffset, wasted; in radeon_sa_bo_try_alloc() local 196 soffset = radeon_sa_bo_hole_soffset(sa_manager); in radeon_sa_bo_try_alloc() 198 wasted = (align - (soffset % align)) % align; in radeon_sa_bo_try_alloc() 200 if ((eoffset - soffset) >= (size + wasted)) { in radeon_sa_bo_try_alloc() 201 soffset += wasted; in radeon_sa_bo_try_alloc() 204 sa_bo->soffset = soffset; in radeon_sa_bo_try_alloc() 205 sa_bo->eoffset = soffset + size; in radeon_sa_bo_try_alloc() 227 unsigned soffset, eoffset, wasted; in radeon_sa_event() local 236 soffset = radeon_sa_bo_hole_soffset(sa_manager); in radeon_sa_event() [all …]
|
D | radeon_vm.c | 448 uint64_t soffset, in radeon_vm_bo_set_addr() argument 457 if (soffset) { in radeon_vm_bo_set_addr() 459 eoffset = soffset + size - 1; in radeon_vm_bo_set_addr() 460 if (soffset >= eoffset) { in radeon_vm_bo_set_addr() 478 soffset /= RADEON_GPU_PAGE_SIZE; in radeon_vm_bo_set_addr() 480 if (soffset || eoffset) { in radeon_vm_bo_set_addr() 482 it = interval_tree_iter_first(&vm->va, soffset, eoffset); in radeon_vm_bo_set_addr() 489 soffset, tmp->bo, tmp->it.start, tmp->it.last); in radeon_vm_bo_set_addr() 519 if (soffset || eoffset) { in radeon_vm_bo_set_addr() 521 bo_va->it.start = soffset; in radeon_vm_bo_set_addr() [all …]
|
D | radeon_trace.h | 69 __field(u64, soffset) 75 __entry->soffset = bo_va->it.start; 80 __entry->soffset, __entry->eoffset, __entry->flags)
|
D | radeon_object.h | 166 return sa_bo->manager->gpu_addr + sa_bo->soffset; in radeon_sa_bo_gpu_addr() 171 return sa_bo->manager->cpu_ptr + sa_bo->soffset; in radeon_sa_bo_cpu_addr()
|
D | radeon_ib.c | 77 ib->gpu_addr = ib->sa_bo->soffset + RADEON_VA_IB_OFFSET; in radeon_ib_get()
|
D | radeon.h | 566 unsigned soffset; member
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_sa.c | 146 return list_entry(hole->next, struct amdgpu_sa_bo, olist)->soffset; in amdgpu_sa_bo_hole_eoffset() 155 unsigned soffset, eoffset, wasted; in amdgpu_sa_bo_try_alloc() local 157 soffset = amdgpu_sa_bo_hole_soffset(sa_manager); in amdgpu_sa_bo_try_alloc() 159 wasted = (align - (soffset % align)) % align; in amdgpu_sa_bo_try_alloc() 161 if ((eoffset - soffset) >= (size + wasted)) { in amdgpu_sa_bo_try_alloc() 162 soffset += wasted; in amdgpu_sa_bo_try_alloc() 165 sa_bo->soffset = soffset; in amdgpu_sa_bo_try_alloc() 166 sa_bo->eoffset = soffset + size; in amdgpu_sa_bo_try_alloc() 188 unsigned soffset, eoffset, wasted; in amdgpu_sa_event() local 195 soffset = amdgpu_sa_bo_hole_soffset(sa_manager); in amdgpu_sa_event() [all …]
|
D | amdgpu_object.h | 304 return sa_bo->manager->gpu_addr + sa_bo->soffset; in amdgpu_sa_bo_gpu_addr() 309 return sa_bo->manager->cpu_ptr + sa_bo->soffset; in amdgpu_sa_bo_cpu_addr()
|
D | amdgpu_trace.h | 293 __field(u64, soffset) 299 __entry->soffset = mapping->start; 304 __entry->soffset, __entry->eoffset, __entry->flags)
|
D | amdgpu.h | 435 unsigned soffset; member
|
/Linux-v4.19/net/ipv4/ |
D | ip_options.c | 94 int soffset, doffset; in __ip_options_echo() local 107 soffset = sptr[sopt->rr+2]; in __ip_options_echo() 110 if (sopt->rr_needaddr && soffset <= optlen) { in __ip_options_echo() 111 if (soffset + 3 > optlen) in __ip_options_echo() 113 dptr[2] = soffset + 4; in __ip_options_echo() 121 soffset = sptr[sopt->ts+2]; in __ip_options_echo() 124 if (soffset <= optlen) { in __ip_options_echo() 126 if (soffset + 3 > optlen) in __ip_options_echo() 129 soffset += 4; in __ip_options_echo() 132 if (soffset + 3 > optlen) in __ip_options_echo() [all …]
|
/Linux-v4.19/fs/udf/ |
D | directory.c | 34 fibh->soffset = fibh->eoffset; in udf_fileident_read() 46 *nf_pos += fibh->eoffset - fibh->soffset; in udf_fileident_read() 75 fibh->soffset = fibh->eoffset = 0; in udf_fileident_read() 108 *nf_pos += fibh->eoffset - fibh->soffset; in udf_fileident_read() 129 fibh->soffset -= dir->i_sb->s_blocksize; in udf_fileident_read() 136 if (sizeof(struct fileIdentDesc) > -fibh->soffset) { in udf_fileident_read() 139 memcpy((uint8_t *)cfi, (uint8_t *)fi, -fibh->soffset); in udf_fileident_read() 140 memcpy((uint8_t *)cfi - fibh->soffset, in udf_fileident_read() 142 sizeof(struct fileIdentDesc) + fibh->soffset); in udf_fileident_read() 145 *nf_pos += fi_len - (fibh->eoffset - fibh->soffset); in udf_fileident_read() [all …]
|
D | namei.c | 47 uint16_t crclen = fibh->eoffset - fibh->soffset - sizeof(struct tag); in udf_write_fi() 52 int padlen = fibh->eoffset - fibh->soffset - liu - lfi - in udf_write_fi() 59 offset = fibh->soffset + sizeof(struct fileIdentDesc); in udf_write_fi() 106 } else if (sizeof(struct fileIdentDesc) >= -fibh->soffset) { in udf_write_fi() 109 fibh->soffset, in udf_write_fi() 114 -fibh->soffset - sizeof(struct fileIdentDesc)); in udf_write_fi() 122 if (adinicb || (sizeof(struct fileIdentDesc) <= -fibh->soffset)) { in udf_write_fi() 126 memcpy((uint8_t *)sfi, (uint8_t *)cfi, -fibh->soffset); in udf_write_fi() 127 memcpy(fibh->ebh->b_data, (uint8_t *)cfi - fibh->soffset, in udf_write_fi() 128 sizeof(struct fileIdentDesc) + fibh->soffset); in udf_write_fi() [all …]
|
D | dir.c | 80 fibh.soffset = fibh.eoffset = nf_pos & (sb->s_blocksize - 1); in udf_readdir() 142 poffset = fibh.soffset + sizeof(struct fileIdentDesc) + liu + lfi; in udf_readdir()
|
D | udfdecl.h | 100 int soffset; member
|
D | inode.c | 365 sfibh.soffset = sfibh.eoffset = in udf_expand_dir_adinicb() 368 dfibh.soffset = dfibh.eoffset = 0; in udf_expand_dir_adinicb() 380 dfibh.soffset = dfibh.eoffset; in udf_expand_dir_adinicb() 381 dfibh.eoffset += (sfibh.eoffset - sfibh.soffset); in udf_expand_dir_adinicb() 382 dfi = (struct fileIdentDesc *)(dbh->b_data + dfibh.soffset); in udf_expand_dir_adinicb()
|
/Linux-v4.19/drivers/video/fbdev/ |
D | carminefb.c | 225 u32 soffset = par->smem_offset; in carmine_init_display_param() local 294 c_set_disp_reg(par, CARMINE_DISP_REG_L0_ORG_ADR, soffset); in carmine_init_display_param() 295 c_set_disp_reg(par, CARMINE_DISP_REG_L1_ORG_ADR, soffset); in carmine_init_display_param() 296 c_set_disp_reg(par, CARMINE_DISP_REG_L2_ORG_ADR1, soffset); in carmine_init_display_param() 297 c_set_disp_reg(par, CARMINE_DISP_REG_L3_ORG_ADR1, soffset); in carmine_init_display_param() 298 c_set_disp_reg(par, CARMINE_DISP_REG_L4_ORG_ADR1, soffset); in carmine_init_display_param() 299 c_set_disp_reg(par, CARMINE_DISP_REG_L5_ORG_ADR1, soffset); in carmine_init_display_param() 300 c_set_disp_reg(par, CARMINE_DISP_REG_L6_ORG_ADR1, soffset); in carmine_init_display_param() 301 c_set_disp_reg(par, CARMINE_DISP_REG_L7_ORG_ADR1, soffset); in carmine_init_display_param() 304 c_set_disp_reg(par, CARMINE_DISP_REG_L0_DISP_ADR, soffset); in carmine_init_display_param() [all …]
|
/Linux-v4.19/drivers/crypto/chelsio/ |
D | chcr_algo.c | 602 int soffset = 0, sless; in chcr_hash_ent_in_wr() local 609 sless = min_t(unsigned int, sg_dma_len(src) - soffset - srcskip, in chcr_hash_ent_in_wr() 612 soffset += sless; in chcr_hash_ent_in_wr() 614 if (sg_dma_len(src) == (soffset + srcskip)) { in chcr_hash_ent_in_wr() 616 soffset = 0; in chcr_hash_ent_in_wr() 632 int offset = 0, soffset = 0, less, sless = 0; in chcr_sg_ent_in_wr() local 645 sless = min_t(unsigned int, sg_dma_len(src) - srcskip - soffset, in chcr_sg_ent_in_wr() 665 soffset += sless; in chcr_sg_ent_in_wr() 666 if ((soffset + srcskip) == sg_dma_len(src)) { in chcr_sg_ent_in_wr() 669 soffset = 0; in chcr_sg_ent_in_wr()
|
/Linux-v4.19/fs/xfs/ |
D | xfs_trace.h | 2968 TP_PROTO(struct xfs_inode *src, xfs_off_t soffset, xfs_off_t len, 2970 TP_ARGS(src, soffset, len, dest, doffset), 2988 __entry->src_offset = soffset; 3012 TP_PROTO(struct xfs_inode *src, xfs_off_t soffset, xfs_off_t len, \ 3014 TP_ARGS(src, soffset, len, dest, doffset)) 3057 TP_PROTO(struct xfs_inode *src, xfs_fileoff_t soffset, 3060 TP_ARGS(src, soffset, len, dest, doffset), 3072 __entry->src_lblk = soffset;
|
/Linux-v4.19/drivers/scsi/pm8001/ |
D | pm80xx_hwi.c | 69 void pm80xx_pci_mem_copy(struct pm8001_hba_info *pm8001_ha, u32 soffset, in pm80xx_pci_mem_copy() argument 78 offset = (soffset + index / 4); in pm80xx_pci_mem_copy()
|