/Linux-v6.1/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 | 342 return sa_bo->manager->gpu_addr + sa_bo->soffset; in amdgpu_sa_bo_gpu_addr() 347 return sa_bo->manager->cpu_ptr + sa_bo->soffset; in amdgpu_sa_bo_cpu_addr()
|
D | amdgpu_trace.h | 297 __field(u64, soffset) 303 __entry->soffset = mapping->start; 308 __entry->soffset, __entry->eoffset, __entry->flags)
|
D | amdgpu.h | 445 unsigned soffset; member
|
/Linux-v6.1/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 | 449 uint64_t soffset, in radeon_vm_bo_set_addr() argument 458 if (soffset) { in radeon_vm_bo_set_addr() 460 eoffset = soffset + size - 1; in radeon_vm_bo_set_addr() 461 if (soffset >= eoffset) { in radeon_vm_bo_set_addr() 479 soffset /= RADEON_GPU_PAGE_SIZE; in radeon_vm_bo_set_addr() 481 if (soffset || eoffset) { in radeon_vm_bo_set_addr() 483 it = interval_tree_iter_first(&vm->va, soffset, eoffset); in radeon_vm_bo_set_addr() 490 soffset, tmp->bo, tmp->it.start, tmp->it.last); in radeon_vm_bo_set_addr() 520 if (soffset || eoffset) { in radeon_vm_bo_set_addr() 522 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 | 175 return sa_bo->manager->gpu_addr + sa_bo->soffset; in radeon_sa_bo_gpu_addr() 180 return sa_bo->manager->cpu_ptr + sa_bo->soffset; in radeon_sa_bo_cpu_addr()
|
D | radeon_ib.c | 80 ib->gpu_addr = ib->sa_bo->soffset + RADEON_VA_IB_OFFSET; in radeon_ib_get()
|
D | radeon.h | 557 unsigned soffset; member
|
/Linux-v6.1/net/ipv4/ |
D | ip_options.c | 81 int soffset, doffset; in __ip_options_echo() local 94 soffset = sptr[sopt->rr+2]; in __ip_options_echo() 97 if (sopt->rr_needaddr && soffset <= optlen) { in __ip_options_echo() 98 if (soffset + 3 > optlen) in __ip_options_echo() 100 dptr[2] = soffset + 4; in __ip_options_echo() 108 soffset = sptr[sopt->ts+2]; in __ip_options_echo() 111 if (soffset <= optlen) { in __ip_options_echo() 113 if (soffset + 3 > optlen) in __ip_options_echo() 116 soffset += 4; in __ip_options_echo() 119 if (soffset + 3 > optlen) in __ip_options_echo() [all …]
|
/Linux-v6.1/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 | 48 uint16_t crclen = fibh->eoffset - fibh->soffset - sizeof(struct tag); in udf_write_fi() 53 int padlen = fibh->eoffset - fibh->soffset - liu - lfi - in udf_write_fi() 60 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 | 96 fibh.soffset = fibh.eoffset = nf_pos & (sb->s_blocksize - 1); in udf_readdir() 166 poffset = fibh.soffset + sizeof(struct fileIdentDesc) + liu + lfi; in udf_readdir()
|
D | udfdecl.h | 92 int soffset; member
|
D | inode.c | 374 sfibh.soffset = sfibh.eoffset = in udf_expand_dir_adinicb() 377 dfibh.soffset = dfibh.eoffset = 0; in udf_expand_dir_adinicb() 389 dfibh.soffset = dfibh.eoffset; in udf_expand_dir_adinicb() 390 dfibh.eoffset += (sfibh.eoffset - sfibh.soffset); in udf_expand_dir_adinicb() 391 dfi = (struct fileIdentDesc *)(dbh->b_data + dfibh.soffset); in udf_expand_dir_adinicb()
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_ct.h | 37 .soffset = MLX5_BYTE_OFF(fte_match_param,\ 45 .soffset = MLX5_BYTE_OFF(fte_match_param,\ 53 .soffset = MLX5_BYTE_OFF(fte_match_param,\ 61 .soffset = MLX5_BYTE_OFF(fte_match_param,\ 70 .soffset = MLX5_BYTE_OFF(fte_match_param,\ 78 .soffset = MLX5_BYTE_OFF(fte_match_param,\
|
/Linux-v6.1/drivers/video/fbdev/ |
D | carminefb.c | 227 u32 soffset = par->smem_offset; in carmine_init_display_param() local 296 c_set_disp_reg(par, CARMINE_DISP_REG_L0_ORG_ADR, soffset); in carmine_init_display_param() 297 c_set_disp_reg(par, CARMINE_DISP_REG_L1_ORG_ADR, soffset); in carmine_init_display_param() 298 c_set_disp_reg(par, CARMINE_DISP_REG_L2_ORG_ADR1, soffset); in carmine_init_display_param() 299 c_set_disp_reg(par, CARMINE_DISP_REG_L3_ORG_ADR1, soffset); in carmine_init_display_param() 300 c_set_disp_reg(par, CARMINE_DISP_REG_L4_ORG_ADR1, soffset); in carmine_init_display_param() 301 c_set_disp_reg(par, CARMINE_DISP_REG_L5_ORG_ADR1, soffset); in carmine_init_display_param() 302 c_set_disp_reg(par, CARMINE_DISP_REG_L6_ORG_ADR1, soffset); in carmine_init_display_param() 303 c_set_disp_reg(par, CARMINE_DISP_REG_L7_ORG_ADR1, soffset); in carmine_init_display_param() 306 c_set_disp_reg(par, CARMINE_DISP_REG_L0_DISP_ADR, soffset); in carmine_init_display_param() [all …]
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | post_meter.h | 11 .soffset = MLX5_BYTE_OFF(fte_match_param, \
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.h | 244 int soffset; /* byte offset of spec for match */ member
|
D | en_tc.c | 113 .soffset = MLX5_BYTE_OFF(fte_match_param, 171 int soffset = mlx5e_tc_attr_to_reg_mappings[type].soffset; in mlx5e_tc_match_to_reg_match() local 178 fmask = headers_c + soffset; in mlx5e_tc_match_to_reg_match() 179 fval = headers_v + soffset; in mlx5e_tc_match_to_reg_match() 218 int soffset = mlx5e_tc_attr_to_reg_mappings[type].soffset; in mlx5e_tc_match_to_reg_get_match() local 225 fmask = headers_c + soffset; in mlx5e_tc_match_to_reg_get_match() 226 fval = headers_v + soffset; in mlx5e_tc_match_to_reg_get_match()
|
/Linux-v6.1/drivers/crypto/chelsio/ |
D | chcr_algo.c | 615 int soffset = 0, sless; in chcr_hash_ent_in_wr() local 622 sless = min_t(unsigned int, sg_dma_len(src) - soffset - srcskip, in chcr_hash_ent_in_wr() 625 soffset += sless; in chcr_hash_ent_in_wr() 627 if (sg_dma_len(src) == (soffset + srcskip)) { in chcr_hash_ent_in_wr() 629 soffset = 0; in chcr_hash_ent_in_wr() 645 int offset = 0, soffset = 0, less, sless = 0; in chcr_sg_ent_in_wr() local 658 sless = min_t(unsigned int, sg_dma_len(src) - srcskip - soffset, in chcr_sg_ent_in_wr() 678 soffset += sless; in chcr_sg_ent_in_wr() 679 if ((soffset + srcskip) == sg_dma_len(src)) { in chcr_sg_ent_in_wr() 682 soffset = 0; in chcr_sg_ent_in_wr()
|
/Linux-v6.1/fs/xfs/ |
D | xfs_trace.h | 3274 TP_PROTO(struct xfs_inode *src, xfs_off_t soffset, xfs_off_t len, 3276 TP_ARGS(src, soffset, len, dest, doffset), 3294 __entry->src_offset = soffset; 3318 TP_PROTO(struct xfs_inode *src, xfs_off_t soffset, xfs_off_t len, \ 3320 TP_ARGS(src, soffset, len, dest, doffset)) 3362 TP_PROTO(struct xfs_inode *src, xfs_fileoff_t soffset, 3365 TP_ARGS(src, soffset, len, dest, doffset), 3377 __entry->src_lblk = soffset;
|
/Linux-v6.1/drivers/scsi/pm8001/ |
D | pm80xx_hwi.c | 69 static void pm80xx_pci_mem_copy(struct pm8001_hba_info *pm8001_ha, u32 soffset, in pm80xx_pci_mem_copy() argument 76 offset = (soffset + index); in pm80xx_pci_mem_copy()
|