Home
last modified time | relevance | path

Searched refs:base_offset (Results 1 – 25 of 39) sorted by relevance

12

/dflybsd-src/sys/vfs/fuse/
H A Dfuse_io.c58 off_t base_offset, buf_offset;
67 base_offset = (off_t)uio->uio_offset - buf_offset;
71 uio->uio_offset, uio->uio_resid, base_offset, buf_offset);
73 bp = getblk(vp, base_offset, FUSE_BLKSIZE, 0, 0);
84 error = breadnx(vp, base_offset, FUSE_BLKSIZE, B_NOTMETA, NULL,
178 off_t base_offset, buf_offset;
189 base_offset = (off_t)uio->uio_offset - buf_offset;
193 uio->uio_offset, uio->uio_resid, base_offset, buf_offset);
212 bp = getblk(ap->a_vp, base_offset, FUSE_BLKSIZE,
219 bp = getblk(ap->a_vp, base_offset, FUSE_BLKSIZE,
[all …]
H A Dfuse_vnops.c1324 off_t base_offset; in fuse_vop_read() local
1368 base_offset = (off_t)uio->uio_offset - offset; in fuse_vop_read()
1369 bp = getcacheblk(vp, base_offset, in fuse_vop_read()
1374 base_offset, in fuse_vop_read()
1381 error = bread_kvabio(vp, base_offset, in fuse_vop_read()
1440 off_t base_offset; in fuse_vop_write() local
1522 base_offset = (off_t)uio->uio_offset - offset; in fuse_vop_write()
1537 if (base_offset + len == FUSE_BLKSIZE) in fuse_vop_write()
1550 base_offset, FUSE_BLKSIZE, in fuse_vop_write()
1555 base_offset, FUSE_BLKSIZE, in fuse_vop_write()
[all …]
/dflybsd-src/sys/dev/drm/i915/
H A Dintel_dsi_vbt.c65 #define VLV_GPIO_PCONF0(base_offset) (base_offset) argument
66 #define VLV_GPIO_PAD_VAL(base_offset) ((base_offset) + 8) argument
69 u16 base_offset; member
234 pconf0 = VLV_GPIO_PCONF0(map->base_offset); in vlv_exec_gpio()
235 padval = VLV_GPIO_PAD_VAL(map->base_offset); in vlv_exec_gpio()
/dflybsd-src/sys/vfs/hammer/
H A Dhammer_vnops.c368 int64_t base_offset; in hammer_vop_read() local
373 base_offset = uio->uio_offset - offset; in hammer_vop_read()
381 bp = getblk(ap->a_vp, base_offset, blksize, 0, 0); in hammer_vop_read()
411 if (base_offset < HAMMER_XDEMARC && in hammer_vop_read()
416 file_limit, base_offset, in hammer_vop_read()
422 error = breadnx(ap->a_vp, base_offset, in hammer_vop_read()
504 off_t base_offset; in hammer_vop_write() local
563 base_offset = uio->uio_offset + uio->uio_resid; /* work around gcc-4 */ in hammer_vop_write()
564 if (uio->uio_resid > 0 && base_offset <= uio->uio_offset) { in hammer_vop_write()
570 base_offset > td->td_proc->p_rlimit[RLIMIT_FSIZE].rlim_cur) { in hammer_vop_write()
[all …]
H A Dhammer_blockmap.c44 hammer_off_t base_offset, int zone,
640 hammer_off_t base_offset; in hammer_blockmap_reserve_complete() local
656 base_offset = hammer_xlate_to_zoneX(resv->zone, resv->zone_offset); in hammer_blockmap_reserve_complete()
657 error = hammer_del_buffers(hmp, base_offset, in hammer_blockmap_reserve_complete()
663 (intmax_t)base_offset, error); in hammer_blockmap_reserve_complete()
691 hammer_reserve_setdelay_offset(hammer_mount_t hmp, hammer_off_t base_offset, in hammer_reserve_setdelay_offset() argument
703 resv = RB_LOOKUP(hammer_res_rb_tree, &hmp->rb_resv_root, base_offset); in hammer_reserve_setdelay_offset()
708 resv->zone_offset = base_offset; in hammer_reserve_setdelay_offset()
H A Dhammer_ondisk.c771 hammer_sync_buffers(hammer_mount_t hmp, hammer_off_t base_offset, int bytes) in hammer_sync_buffers() argument
776 KKASSERT(hammer_is_zone_large_data(base_offset)); in hammer_sync_buffers()
780 base_offset); in hammer_sync_buffers()
794 base_offset += HAMMER_BUFSIZE; in hammer_sync_buffers()
812 hammer_del_buffers(hammer_mount_t hmp, hammer_off_t base_offset, in hammer_del_buffers() argument
828 base_offset); in hammer_del_buffers()
860 (intmax_t)base_offset, in hammer_del_buffers()
865 base_offset += HAMMER_BUFSIZE; in hammer_del_buffers()
/dflybsd-src/sbin/disklabel32/
H A Ddisklabel.c1195 u_long base_offset, needed, total_size, total_percent, current_offset; local
1313 base_offset = BBSIZE / lp->d_secsize;
1320 if (pp->p_offset > base_offset)
1321 free_space += pp->p_offset - base_offset;
1322 if (pp->p_offset + pp->p_size > base_offset)
1323 base_offset = pp->p_offset + pp->p_size;
1325 if (base_offset < lp->d_secperunit)
1326 free_space += lp->d_secperunit - base_offset;
1363 base_offset = BBSIZE / lp->d_secsize;
1372 base_offset = pp->p_offset + pp->p_size;
[all …]
/dflybsd-src/contrib/gcc-4.7/gcc/lto/
H A Dlto-object.c206 off_t base_offset; member
237 new_slot->start = loasd->base_offset + offset; in lto_obj_add_section()
275 loasd.base_offset = lo->base.offset; in lto_obj_build_section_table()
/dflybsd-src/contrib/gcc-8.0/gcc/lto/
H A Dlto-object.c206 off_t base_offset; member
236 new_slot->start = loasd->base_offset + offset; in lto_obj_add_section()
274 loasd.base_offset = lo->base.offset; in lto_obj_build_section_table()
/dflybsd-src/sys/dev/drm/radeon/
H A Dr600_cs.c355 u64 base_offset, base_align; in r600_cs_track_validate_cb() local
380 base_offset = track->cb_color_bo_mc[i] + track->cb_color_bo_offset[i]; in r600_cs_track_validate_cb()
423 if (!IS_ALIGNED(base_offset, base_align)) { in r600_cs_track_validate_cb()
425 base_offset, base_align, array_mode); in r600_cs_track_validate_cb()
524 u64 base_offset, base_align; in r600_cs_track_validate_db() local
575 base_offset = track->db_bo_mc + track->db_offset; in r600_cs_track_validate_db()
614 if (!IS_ALIGNED(base_offset, base_align)) { in r600_cs_track_validate_db()
616 base_offset, base_align, array_mode); in r600_cs_track_validate_db()
1472 u64 base_offset, in r600_check_texture_resource() argument
1491 base_offset <<= 8; in r600_check_texture_resource()
[all …]
/dflybsd-src/sys/vfs/dirfs/
H A Ddirfs_vnops.c605 off_t base_offset; in dirfs_read() local
630 base_offset = (off_t)uio->uio_offset - offset; in dirfs_read()
631 bp = getcacheblk(vp, base_offset, BSIZE, 0); in dirfs_read()
634 error = bread(vp, base_offset, BSIZE, &bp); in dirfs_read()
679 off_t base_offset; in dirfs_write() local
734 base_offset = (off_t)uio->uio_offset - offset; in dirfs_write()
740 error = bread(vp, base_offset, BSIZE, &bp); in dirfs_write()
750 dnp->dn_size, uio->uio_offset, uio->uio_resid, base_offset); in dirfs_write()
758 KTR_LOG(dirfs_write, dnp, base_offset, uio->uio_resid, in dirfs_write()
/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dasan.c1260 HOST_WIDE_INT base_offset = offsets[length - 1]; in asan_emit_stack_protection() local
1262 HOST_WIDE_INT asan_frame_size = offsets[0] - base_offset; in asan_emit_stack_protection()
1280 pp_wide_integer (&asan_pp, offsets[l] - base_offset); in asan_emit_stack_protection()
1322 gen_int_mode (base_offset - base_align_bias, Pmode), in asan_emit_stack_protection()
1367 - base_offset, Pmode), in asan_emit_stack_protection()
1405 prev_offset = base_offset; in asan_emit_stack_protection()
1411 if ((offset - base_offset) & (ASAN_RED_ZONE_SIZE - 1)) in asan_emit_stack_protection()
1415 = base_offset + ((offset - base_offset) in asan_emit_stack_protection()
1498 prev_offset = base_offset; in asan_emit_stack_protection()
1499 last_offset = base_offset; in asan_emit_stack_protection()
[all …]
H A Dipa-param-manipulation.c305 poly_int64 base_offset; in ipa_modify_call_arguments() local
317 base = get_addr_base_and_unit_offset (base, &base_offset); in ipa_modify_call_arguments()
332 base_offset + byte_offset); in ipa_modify_call_arguments()
340 base_offset + byte_offset); in ipa_modify_call_arguments()
H A Ddwarf2cfi.c530 cfa->base_offset = 0; in get_cfa_from_loc_descr()
610 cfa->base_offset = ptr->dw_loc_oprnd1.v.val_int; in get_cfa_from_loc_descr()
614 cfa->base_offset = ptr->dw_loc_oprnd2.v.val_int; in get_cfa_from_loc_descr()
681 || known_eq (loc1->base_offset, loc2->base_offset))); in cfa_equal_p()
840 || !new_cfa->base_offset.is_constant ()) in def_cfa_0()
1149 pat = strip_offset (XEXP (pat, 0), &cur_cfa->base_offset); in dwarf2out_frame_debug_def_cfa()
1973 cur_cfa->base_offset = offset; in dwarf2out_frame_debug_expr()
1997 cur_cfa->base_offset = offset; in dwarf2out_frame_debug_expr()
H A Ddwarf2out.h121 poly_int64_pod base_offset; member
H A Dfunction.c576 poly_int64 base_offset; member
763 if (known_in_range_p (offset, p->base_offset, p->full_size)) in find_temp_slot_from_address()
842 p->base_offset = best_p->base_offset + rounded_size; in assign_stack_temp_for_type()
897 p->base_offset = frame_offset; in assign_stack_temp_for_type()
902 p->base_offset = frame_offset_old; in assign_stack_temp_for_type()
1060 if (known_eq (p->base_offset + p->full_size, q->base_offset)) in combine_temp_slots()
1067 else if (known_eq (q->base_offset + q->full_size, p->base_offset)) in combine_temp_slots()
H A Dtree-sra.c1716 poly_int64 base_offset; in build_ref_for_offset() local
1729 base = get_addr_base_and_unit_offset (base, &base_offset); in build_ref_for_offset()
1755 base_offset + byte_offset); in build_ref_for_offset()
1762 base_offset + byte_offset); in build_ref_for_offset()
1823 poly_int64 base_offset; in build_debug_ref_for_model() local
1830 base = get_addr_base_and_unit_offset (base, &base_offset); in build_debug_ref_for_model()
1836 base_offset + offset / BITS_PER_UNIT); in build_debug_ref_for_model()
1843 base_offset + offset / BITS_PER_UNIT); in build_debug_ref_for_model()
/dflybsd-src/contrib/gdb-7/gdb/
H A Dvalops.c2254 int base_offset; in search_struct_method() local
2295 base_offset = baseclass_offset (type, i, base_valaddr, in search_struct_method()
2301 base_offset = TYPE_BASECLASS_BITPOS (type, i) / 8; in search_struct_method()
2303 v = search_struct_method (name, arg1p, args, base_offset + offset, in search_struct_method()
2471 int base_offset; in find_method_list() local
2475 base_offset = baseclass_offset (type, i, in find_method_list()
2483 base_offset = TYPE_BASECLASS_BITPOS (type, i) / 8; in find_method_list()
2485 f = find_method_list (argp, method, base_offset + offset, in find_method_list()
3447 int base_offset; in value_struct_elt_for_reference() local
3450 base_offset = 0; in value_struct_elt_for_reference()
[all …]
H A Dgnu-v3-abi.c427 long int cur_base_offset, base_offset; in gnuv3_baseclass_offset() local
456 base_offset = value_as_long (value_subscript (vbase_array, cur_base_offset)); in gnuv3_baseclass_offset()
457 return base_offset; in gnuv3_baseclass_offset()
H A Ddwarf2loc.c212 CORE_ADDR base_offset = dwarf2_per_cu_text_offset (baton->per_cu); in dwarf2_find_location_expression() local
213 CORE_ADDR base_address = baton->base_address + base_offset; in dwarf2_find_location_expression()
242 base_address = high + base_offset; in dwarf2_find_location_expression()
3330 int64_t base_offset = 0; in locexpr_describe_location_piece() local
3357 &base_offset); in locexpr_describe_location_piece()
3367 base_offset = 0; in locexpr_describe_location_piece()
3379 plongest (base_offset), plongest (frame_offset)); in locexpr_describe_location_piece()
4047 CORE_ADDR base_offset = dwarf2_per_cu_text_offset (dlbaton->per_cu); in loclist_describe_location() local
4048 CORE_ADDR base_address = dlbaton->base_address + base_offset; in loclist_describe_location()
4080 base_address = high + base_offset; in loclist_describe_location()
/dflybsd-src/sys/vfs/tmpfs/
H A Dtmpfs_vnops.c549 off_t base_offset; in tmpfs_read() local
602 base_offset = (off_t)uio->uio_offset - offset; in tmpfs_read()
603 bp = getcacheblk(vp, base_offset, in tmpfs_read()
608 base_offset, in tmpfs_read()
615 error = bread_kvabio(vp, base_offset, in tmpfs_read()
676 off_t base_offset; in tmpfs_write() local
755 base_offset = (off_t)uio->uio_offset - offset; in tmpfs_write()
777 error = bread_kvabio(vp, base_offset, node->tn_blksize, &bp); in tmpfs_write()
/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dtree-vect-data-refs.c3285 tree base_offset = unshare_expr (DR_OFFSET (dr)); in vect_create_addr_base_for_vector_ref() local
3299 base_offset = unshare_expr (STMT_VINFO_DR_OFFSET (stmt_info)); in vect_create_addr_base_for_vector_ref()
3307 base_offset = ssize_int (0); in vect_create_addr_base_for_vector_ref()
3319 base_offset = size_binop (PLUS_EXPR, in vect_create_addr_base_for_vector_ref()
3320 fold_convert (sizetype, base_offset), in vect_create_addr_base_for_vector_ref()
3324 base_offset = force_gimple_operand (base_offset, &seq, true, dest); in vect_create_addr_base_for_vector_ref()
3334 base_offset = fold_build2 (PLUS_EXPR, sizetype, in vect_create_addr_base_for_vector_ref()
3335 base_offset, offset); in vect_create_addr_base_for_vector_ref()
3336 base_offset = force_gimple_operand (base_offset, &seq, false, tmp); in vect_create_addr_base_for_vector_ref()
3342 addr_base = fold_build_pointer_plus (data_ref_base, base_offset); in vect_create_addr_base_for_vector_ref()
H A Ddwarf2cfi.c466 cfa->base_offset = 0; in get_cfa_from_loc_descr()
546 cfa->base_offset = ptr->dw_loc_oprnd1.v.val_int; in get_cfa_from_loc_descr()
550 cfa->base_offset = ptr->dw_loc_oprnd2.v.val_int; in get_cfa_from_loc_descr()
614 || loc1->base_offset == loc2->base_offset)); in cfa_equal_p()
1073 cur_cfa->base_offset = INTVAL (XEXP (pat, 1)); in dwarf2out_frame_debug_def_cfa()
1864 cur_cfa->base_offset = offset; in dwarf2out_frame_debug_expr()
1888 cur_cfa->base_offset = offset; in dwarf2out_frame_debug_expr()
H A Ddwarf2out.h123 HOST_WIDE_INT base_offset; member
H A Dfunction.c575 HOST_WIDE_INT base_offset; member
761 if (INTVAL (XEXP (x, 1)) >= p->base_offset in find_temp_slot_from_address()
762 && INTVAL (XEXP (x, 1)) < p->base_offset + p->full_size) in find_temp_slot_from_address()
851 p->base_offset = best_p->base_offset + rounded_size; in assign_stack_temp_for_type()
907 p->base_offset = frame_offset; in assign_stack_temp_for_type()
912 p->base_offset = frame_offset_old; in assign_stack_temp_for_type()
1068 if (p->base_offset + p->full_size == q->base_offset) in combine_temp_slots()
1075 else if (q->base_offset + q->full_size == p->base_offset) in combine_temp_slots()

12