| /linux/fs/xfs/scrub/ |
| H A 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()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A 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/drivers/vfio/pci/pds/ |
| H A 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()
|
| H A D | lm.h | 29 unsigned long last_offset; member
|
| /linux/drivers/net/wireless/mediatek/mt7601u/ |
| H A 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/tools/testing/selftests/powerpc/nx-gzip/ |
| H A 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/drivers/ras/amd/atl/ |
| H A 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/drivers/android/tests/ |
| H A D | binder_alloc_kunit.c | 340 size_t last_offset, offset = 0; in gen_buf_sizes() local 348 last_offset = offset; in gen_buf_sizes() 350 front_sizes[i] = offset - last_offset; in gen_buf_sizes()
|
| /linux/drivers/staging/media/meson/vdec/ |
| H A D | esparser.c | 281 if (offset < sess->last_offset) in esparser_get_offset() 284 sess->last_offset = offset; in esparser_get_offset()
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_gem_submit.c | 454 uint32_t i, last_offset = 0; in submit_reloc() local 487 (off < last_offset)) { in submit_reloc() 505 last_offset = off; in submit_reloc()
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_fw.c | 990 u32 index, last_offset, last_length; in fbnic_fw_parse_coredump_resp() local 1026 last_offset = cmpl_data->u.coredump.size - last_length; in fbnic_fw_parse_coredump_resp() 1029 if (offset % cmpl_data->u.coredump.stride || offset > last_offset) { in fbnic_fw_parse_coredump_resp() 1032 } else if (length != ((offset == last_offset) ? in fbnic_fw_parse_coredump_resp()
|
| /linux/drivers/gpu/drm/imagination/ |
| H A D | pvr_vm.c | 945 #define GET_RESERVED_SIZE(last_offset, last_size) round_up((last_offset) + (last_size), PAGE_SIZE) argument
|
| /linux/fs/btrfs/ |
| H A D | tree-log.c | 3955 u64 first_offset, u64 last_offset) in insert_dir_log_key() argument 3986 last_offset = max(last_offset, curr_end); in insert_dir_log_key() 3988 btrfs_set_dir_log_end(path->nodes[0], item, last_offset); in insert_dir_log_key() 4233 u64 last_offset = (u64)-1; in log_dir_items() local 4348 last_offset = (u64)-1; in log_dir_items() 4355 last_offset = (u64)-1; in log_dir_items() 4368 last_offset = min_key.offset - 1; in log_dir_items() 4382 *last_offset_ret = last_offset; in log_dir_items() 4391 ASSERT(last_old_dentry_offset <= last_offset, in log_dir_items() 4393 last_old_dentry_offset, last_offset); in log_dir_items() [all …]
|
| H A D | scrub.c | 1406 u64 last_offset; in get_raid56_logic_offset() 1409 last_offset = (physical - map->stripes[num].physical) * data_stripes; in get_raid56_logic_offset() 1411 *stripe_start = last_offset; in get_raid56_logic_offset() 1413 *offset = last_offset; in get_raid56_logic_offset() 1419 *offset = last_offset + btrfs_stripe_nr_to_offset(i); in get_raid56_logic_offset() 1433 *offset = last_offset + btrfs_stripe_nr_to_offset(j); in get_raid56_logic_offset() 1404 u64 last_offset; get_raid56_logic_offset() local
|
| /linux/drivers/net/ethernet/hisilicon/hns/ |
| H A 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/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_coredump.c | 344 record->offset = cpu_to_le32(bs_trace->last_offset); in bnxt_fill_drv_seg_record()
|
| H A D | bnxt.h | 2164 u32 last_offset; member 2176 bs_trace->last_offset = offset; in bnxt_bs_trace_check_wrap()
|
| H A D | bnxt.c | 9347 req->next_bs_offset = cpu_to_le32(bs_trace->last_offset); in bnxt_hwrm_func_backing_store_cfg_v2()
|
| /linux/fs/f2fs/ |
| H A D | node.c | 3004 int i, idx, last_offset, nrpages; in f2fs_restore_node_summary() local 3007 last_offset = BLKS_PER_SEG(sbi); in f2fs_restore_node_summary() 3011 for (i = 0; i < last_offset; i += nrpages, addr += nrpages) { in f2fs_restore_node_summary() 3012 nrpages = bio_max_segs(last_offset - i); in f2fs_restore_node_summary()
|
| /linux/kernel/trace/ |
| H A D | trace_probe.c | 1164 int i, offset, last_offset = 0; in __store_entry_arg() local 1212 last_offset = earg->code[i - 1].offset; in __store_entry_arg() 1215 offset = last_offset + sizeof(unsigned long); in __store_entry_arg()
|
| /linux/kernel/bpf/ |
| H A D | btf.c | 3306 u32 meta_needed, last_offset; in btf_struct_check_meta() local 3329 last_offset = 0; in btf_struct_check_meta() 3362 if (last_offset > offset) { in btf_struct_check_meta() 3375 last_offset = offset; in btf_struct_check_meta()
|
| /linux/drivers/md/ |
| H A D | dm-integrity.c | 4227 sector_t last_sector, last_area, last_offset; in get_provided_data_sectors() 4242 get_area_and_offset(ic, ic->provided_data_sectors - 1, &last_area, &last_offset); in initialize_superblock() 4243 last_sector = get_data_sector(ic, last_area, last_offset); in initialize_superblock() 4185 sector_t last_sector, last_area, last_offset; calculate_device_limits() local
|