/linux-6.12.1/fs/xfs/scrub/ |
D | xfblob.c | 51 blob->last_offset = PAGE_SIZE; in xfblob_create() 107 .xb_offset = blob->last_offset, in xfblob_store() 111 loff_t pos = blob->last_offset; in xfblob_store() 123 *cookie = blob->last_offset; in xfblob_store() 124 blob->last_offset += sizeof(key) + size; in xfblob_store() 127 xfile_discard(blob->xfile, blob->last_offset, sizeof(key)); in xfblob_store() 167 blob->last_offset = PAGE_SIZE; in xfblob_truncate()
|
D | xfblob.h | 11 loff_t last_offset; member
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/ |
D | qp.c | 558 u32 last_offset; in mlx4_create_zones() local 611 last_offset = dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW]; in mlx4_create_zones() 635 if (((last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones() 636 ((int)(max_table_offset - last_offset)) >= in mlx4_create_zones() 638 (!(last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones() 639 !((last_offset + requested_size - 1) & in mlx4_create_zones() 644 (last_offset | MLX4_BF_QP_SKIP_MASK | bf_mask) + 1; in mlx4_create_zones() 646 if (last_offset & MLX4_BF_QP_SKIP_MASK) in mlx4_create_zones() 647 last_offset = candidate_offset; in mlx4_create_zones() 651 if (last_offset > max_table_offset) { in mlx4_create_zones() [all …]
|
/linux-6.12.1/drivers/android/ |
D | binder_alloc_selftest.c | 234 size_t last_offset, offset = 0; in binder_selftest_alloc_size() local 237 last_offset = offset; in binder_selftest_alloc_size() 239 front_sizes[i] = offset - last_offset; in binder_selftest_alloc_size()
|
/linux-6.12.1/drivers/vfio/pci/pds/ |
D | lm.c | 140 if (offset < lm_file->last_offset || !lm_file->last_offset_sg) { in pds_vfio_get_file_page() 141 lm_file->last_offset = 0; in pds_vfio_get_file_page() 146 cur_offset = lm_file->last_offset; in pds_vfio_get_file_page() 153 lm_file->last_offset = cur_offset; in pds_vfio_get_file_page()
|
D | lm.h | 29 unsigned long last_offset; member
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt7601u/ |
D | phy.c | 1019 __mt7601u_phy_freq_cal(struct mt7601u_dev *dev, s8 last_offset, u8 phy_mode) in __mt7601u_phy_freq_cal() argument 1023 trace_freq_cal_offset(dev, phy_mode, last_offset); in __mt7601u_phy_freq_cal() 1026 if (last_offset == MT_FREQ_OFFSET_INVALID) in __mt7601u_phy_freq_cal() 1048 if (abs(last_offset) >= activate_threshold) in __mt7601u_phy_freq_cal() 1050 else if (abs(last_offset) <= deactivate_threshold) in __mt7601u_phy_freq_cal() 1056 if (last_offset > deactivate_threshold) { in __mt7601u_phy_freq_cal() 1061 } else if (last_offset < -deactivate_threshold) { in __mt7601u_phy_freq_cal() 1080 s8 last_offset; in mt7601u_phy_freq_cal() local 1085 last_offset = dev->bcn_freq_off; in mt7601u_phy_freq_cal() 1089 delay = __mt7601u_phy_freq_cal(dev, last_offset, phy_mode); in mt7601u_phy_freq_cal()
|
/linux-6.12.1/tools/testing/selftests/powerpc/nx-gzip/ |
D | gunz_test.c | 284 int first_offset, last_offset; in decompress_file() local 442 last_offset = fifo_free_last_offset(cur_in, used_in, fifo_in_len); in decompress_file() 466 n = fread(fifo_in + last_offset, 1, read_sz, inpf); in decompress_file() 637 last_offset = fifo_free_last_offset(cur_out, used_out, in decompress_file() 639 nx_append_dde(ddl_out, fifo_out + last_offset, in decompress_file()
|
/linux-6.12.1/drivers/ras/amd/atl/ |
D | map.c | 400 u64 last_offset = 0; in find_normalized_offset() local 419 if (*norm_offset <= last_offset) { in find_normalized_offset() 421 ctx->map.num, *norm_offset, last_offset); in find_normalized_offset() 429 last_offset = *norm_offset; in find_normalized_offset()
|
/linux-6.12.1/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem_submit.c | 263 u32 i, last_offset = 0; in submit_reloc() local 291 (off < last_offset)) { in submit_reloc() 307 last_offset = off; in submit_reloc()
|
/linux-6.12.1/drivers/staging/media/meson/vdec/ |
D | vdec.h | 277 u32 last_offset; member
|
D | esparser.c | 281 if (offset < sess->last_offset) in esparser_get_offset() 284 sess->last_offset = offset; in esparser_get_offset()
|
D | vdec.c | 327 sess->last_offset = 0; in vdec_start_streaming()
|
/linux-6.12.1/drivers/gpu/drm/msm/ |
D | msm_gem_submit.c | 391 uint32_t i, last_offset = 0; in submit_reloc() local 427 (off < last_offset)) { in submit_reloc() 446 last_offset = off; in submit_reloc()
|
/linux-6.12.1/drivers/vfio/pci/mlx5/ |
D | cmd.h | 69 unsigned long last_offset; member
|
D | main.c | 46 if (offset < buf->last_offset || !buf->last_offset_sg) { in mlx5vf_get_migration_page() 47 buf->last_offset = 0; in mlx5vf_get_migration_page() 52 cur_offset = buf->last_offset; in mlx5vf_get_migration_page() 59 buf->last_offset = cur_offset; in mlx5vf_get_migration_page()
|
/linux-6.12.1/drivers/soc/ti/ |
D | knav_qmss_queue.c | 765 unsigned last_offset; in knav_pool_create() local 819 last_offset = 0; in knav_pool_create() 822 if ((iter->region_offset - last_offset) >= num_desc) { in knav_pool_create() 826 last_offset = iter->region_offset + iter->num_desc; in knav_pool_create() 833 pool->region_offset = last_offset; in knav_pool_create()
|
/linux-6.12.1/drivers/gpu/drm/imagination/ |
D | pvr_vm.c | 857 #define GET_RESERVED_SIZE(last_offset, last_size) round_up((last_offset) + (last_size), PAGE_SIZE) argument
|
/linux-6.12.1/fs/btrfs/ |
D | tree-log.c | 3557 u64 first_offset, u64 last_offset) in insert_dir_log_key() argument 3588 last_offset = max(last_offset, curr_end); in insert_dir_log_key() 3590 btrfs_set_dir_log_end(path->nodes[0], item, last_offset); in insert_dir_log_key() 3840 u64 last_offset = (u64)-1; in log_dir_items() local 3955 last_offset = (u64)-1; in log_dir_items() 3962 last_offset = (u64)-1; in log_dir_items() 3975 last_offset = min_key.offset - 1; in log_dir_items() 3989 *last_offset_ret = last_offset; in log_dir_items() 3998 ASSERT(last_old_dentry_offset <= last_offset); in log_dir_items() 3999 if (last_old_dentry_offset < last_offset) in log_dir_items() [all …]
|
D | scrub.c | 1297 u64 last_offset; in get_raid56_logic_offset() local 1300 last_offset = (physical - map->stripes[num].physical) * data_stripes; in get_raid56_logic_offset() 1302 *stripe_start = last_offset; in get_raid56_logic_offset() 1304 *offset = last_offset; in get_raid56_logic_offset() 1310 *offset = last_offset + btrfs_stripe_nr_to_offset(i); in get_raid56_logic_offset() 1324 *offset = last_offset + btrfs_stripe_nr_to_offset(j); in get_raid56_logic_offset()
|
/linux-6.12.1/fs/reiserfs/ |
D | inode.c | 2545 unsigned last_offset; in reiserfs_write_folio() local 2547 last_offset = inode->i_size & (PAGE_SIZE - 1); in reiserfs_write_folio() 2549 if (folio->index >= end_index + 1 || !last_offset) { in reiserfs_write_folio() 2553 folio_zero_segment(folio, last_offset, folio_size(folio)); in reiserfs_write_folio()
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns/ |
D | hns_enet.c | 439 int last_offset; in hns_nic_reuse_page() local 452 last_offset = hnae_page_size(ring) - hnae_buf_size(ring); in hns_nic_reuse_page() 478 if (desc_cb->page_offset <= last_offset) { in hns_nic_reuse_page()
|
/linux-6.12.1/fs/f2fs/ |
D | node.c | 2861 int i, idx, last_offset, nrpages; in f2fs_restore_node_summary() local 2864 last_offset = BLKS_PER_SEG(sbi); in f2fs_restore_node_summary() 2868 for (i = 0; i < last_offset; i += nrpages, addr += nrpages) { in f2fs_restore_node_summary() 2869 nrpages = bio_max_segs(last_offset - i); in f2fs_restore_node_summary()
|
/linux-6.12.1/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 4044 u16 last_offset = 0; in __i40e_reprogram_flex_pit() local 4096 last_offset = list_prev_entry(entry, list)->src_offset + 1; in __i40e_reprogram_flex_pit() 4098 for (; i < 3; i++, last_offset++) { in __i40e_reprogram_flex_pit() 4103 last_offset)); in __i40e_reprogram_flex_pit()
|
/linux-6.12.1/kernel/bpf/ |
D | btf.c | 3152 u32 meta_needed, last_offset; in btf_struct_check_meta() local 3175 last_offset = 0; in btf_struct_check_meta() 3208 if (last_offset > offset) { in btf_struct_check_meta() 3221 last_offset = offset; in btf_struct_check_meta()
|