/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_sa.c | 155 unsigned soffset, eoffset, wasted; in amdgpu_sa_bo_try_alloc() local 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 211 unsigned i, soffset, best, tmp; in amdgpu_sa_bo_next_hole() local 247 tmp = sa_bo->soffset; in amdgpu_sa_bo_next_hole() 248 if (tmp < soffset) { in amdgpu_sa_bo_next_hole() 252 tmp -= soffset; in amdgpu_sa_bo_next_hole() 380 uint64_t soffset = i->soffset + sa_manager->gpu_addr; in amdgpu_sa_bo_dump_debug_info() local [all …]
|
A D | amdgpu_object.h | 343 return sa_bo->manager->gpu_addr + sa_bo->soffset; in amdgpu_sa_bo_gpu_addr() 348 return sa_bo->manager->cpu_ptr + sa_bo->soffset; in amdgpu_sa_bo_cpu_addr()
|
A D | amdgpu_trace.h | 295 __field(u64, soffset) 301 __entry->soffset = mapping->start; 306 __entry->soffset, __entry->eoffset, __entry->flags)
|
A D | amdgpu.h | 440 unsigned soffset; member
|
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_sa.c | 194 unsigned soffset, eoffset, wasted; in radeon_sa_bo_try_alloc() local 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 252 unsigned i, soffset, best, tmp; in radeon_sa_bo_next_hole() local 287 tmp = sa_bo->soffset; in radeon_sa_bo_next_hole() 288 if (tmp < soffset) { in radeon_sa_bo_next_hole() 292 tmp -= soffset; in radeon_sa_bo_next_hole() 407 uint64_t soffset = i->soffset + sa_manager->gpu_addr; in radeon_sa_bo_dump_debug_info() local [all …]
|
A 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() 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() 531 soffset >>= radeon_vm_block_size; in radeon_vm_bo_set_addr() [all …]
|
A D | radeon_trace.h | 69 __field(u64, soffset) 75 __entry->soffset = bo_va->it.start; 80 __entry->soffset, __entry->eoffset, __entry->flags)
|
A D | radeon_object.h | 177 return sa_bo->manager->gpu_addr + sa_bo->soffset; in radeon_sa_bo_gpu_addr() 182 return sa_bo->manager->cpu_ptr + sa_bo->soffset; in radeon_sa_bo_cpu_addr()
|
A D | radeon_ib.c | 80 ib->gpu_addr = ib->sa_bo->soffset + RADEON_VA_IB_OFFSET; in radeon_ib_get()
|
A D | radeon.h | 558 unsigned soffset; member
|
/linux/net/ipv4/ |
A D | ip_options.c | 94 int soffset, doffset; in __ip_options_echo() local 129 soffset += 4; in __ip_options_echo() 136 soffset += 4; in __ip_options_echo() 146 soffset += 8; in __ip_options_echo() 151 dptr[2] = soffset; in __ip_options_echo() 161 soffset = start[2]; in __ip_options_echo() 163 if (soffset > optlen) in __ip_options_echo() 164 soffset = optlen + 1; in __ip_options_echo() 165 soffset -= 4; in __ip_options_echo() 166 if (soffset > 3) { in __ip_options_echo() [all …]
|
/linux/fs/udf/ |
A 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 …]
|
A D | namei.c | 53 int padlen = fibh->eoffset - fibh->soffset - liu - lfi - in udf_write_fi() 60 offset = fibh->soffset + sizeof(struct fileIdentDesc); in udf_write_fi() 109 fibh->soffset, in udf_write_fi() 382 fibh->soffset = fibh->eoffset = sb->s_blocksize; in udf_add_entry() 437 fibh->soffset -= udf_ext0_offset(dir); in udf_add_entry() 455 fibh->soffset = fibh->eoffset; in udf_add_entry() 465 (dinfo->i_data + fibh->soffset - in udf_add_entry() 473 (fibh->sbh->b_data + fibh->soffset); in udf_add_entry() 486 fibh->soffset = fibh->eoffset - sb->s_blocksize; in udf_add_entry() 505 if (!fibh->soffset) { in udf_add_entry() [all …]
|
A 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()
|
A D | udfdecl.h | 92 int soffset; member
|
A 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/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A 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,\ 69 .soffset = MLX5_BYTE_OFF(fte_match_param,\ 77 .soffset = MLX5_BYTE_OFF(fte_match_param,\
|
/linux/drivers/video/fbdev/ |
A D | carminefb.c | 226 u32 soffset = par->smem_offset; in carmine_init_display_param() local 295 c_set_disp_reg(par, CARMINE_DISP_REG_L0_ORG_ADR, soffset); in carmine_init_display_param() 296 c_set_disp_reg(par, CARMINE_DISP_REG_L1_ORG_ADR, soffset); in carmine_init_display_param() 297 c_set_disp_reg(par, CARMINE_DISP_REG_L2_ORG_ADR1, soffset); in carmine_init_display_param() 298 c_set_disp_reg(par, CARMINE_DISP_REG_L3_ORG_ADR1, soffset); in carmine_init_display_param() 299 c_set_disp_reg(par, CARMINE_DISP_REG_L4_ORG_ADR1, soffset); in carmine_init_display_param() 300 c_set_disp_reg(par, CARMINE_DISP_REG_L5_ORG_ADR1, soffset); in carmine_init_display_param() 301 c_set_disp_reg(par, CARMINE_DISP_REG_L6_ORG_ADR1, soffset); in carmine_init_display_param() 302 c_set_disp_reg(par, CARMINE_DISP_REG_L7_ORG_ADR1, soffset); in carmine_init_display_param() 305 c_set_disp_reg(par, CARMINE_DISP_REG_L0_DISP_ADR, soffset); in carmine_init_display_param() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_tc.h | 211 int soffset; /* byte offset of spec for match */ member
|
A D | en_tc.c | 94 .soffset = MLX5_BYTE_OFF(fte_match_param, 132 int soffset = mlx5e_tc_attr_to_reg_mappings[type].soffset; in mlx5e_tc_match_to_reg_match() local 139 fmask = headers_c + soffset; in mlx5e_tc_match_to_reg_match() 140 fval = headers_v + soffset; in mlx5e_tc_match_to_reg_match() 179 int soffset = mlx5e_tc_attr_to_reg_mappings[type].soffset; in mlx5e_tc_match_to_reg_get_match() local 186 fmask = headers_c + soffset; in mlx5e_tc_match_to_reg_get_match() 187 fval = headers_v + soffset; in mlx5e_tc_match_to_reg_get_match()
|
/linux/drivers/crypto/chelsio/ |
A 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/fs/xfs/ |
A D | xfs_trace.h | 3253 TP_PROTO(struct xfs_inode *src, xfs_off_t soffset, xfs_off_t len, 3255 TP_ARGS(src, soffset, len, dest, doffset), 3273 __entry->src_offset = soffset; 3297 TP_PROTO(struct xfs_inode *src, xfs_off_t soffset, xfs_off_t len, \ 3299 TP_ARGS(src, soffset, len, dest, doffset)) 3341 TP_PROTO(struct xfs_inode *src, xfs_fileoff_t soffset, 3344 TP_ARGS(src, soffset, len, dest, doffset), 3356 __entry->src_lblk = soffset;
|
/linux/drivers/scsi/pm8001/ |
A D | pm80xx_hwi.c | 68 static void pm80xx_pci_mem_copy(struct pm8001_hba_info *pm8001_ha, u32 soffset, in pm80xx_pci_mem_copy() argument 77 offset = (soffset + index); in pm80xx_pci_mem_copy()
|