Searched refs:offset (Results 151 - 175 of 1236) sorted by relevance

1234567891011>>

/haiku/src/system/kernel/vm/
H A DVMAnonymousNoSwapCache.cpp96 VMAnonymousNoSwapCache::HasPage(off_t offset) argument
103 VMAnonymousNoSwapCache::Read(off_t offset, const generic_io_vec* vecs, size_t count, argument
112 VMAnonymousNoSwapCache::Write(off_t offset, const generic_io_vec* vecs, size_t count, argument
121 VMAnonymousNoSwapCache::Fault(struct VMAddressSpace* aspace, off_t offset) argument
134 if (offset >= guardOffset && offset < guardOffset + fGuardedSize) {
/haiku/src/apps/drivesetup/
H A DCreateParametersPanel.cpp44 BPartition* partition, off_t offset, off_t size)
48 _CreateCreateControls(partition, offset, size);
60 CreateParametersPanel::Go(off_t& offset, off_t& size, BString& name, argument
74 offset = storage.GetInt64("offset", 0);
118 status = storage.SetInt64("offset", fSizeSlider->Offset());
140 CreateParametersPanel::_CreateCreateControls(BPartition* parent, off_t offset, argument
147 offset, size, kMegaByte);
43 CreateParametersPanel(BWindow* window, BPartition* partition, off_t offset, off_t size) argument
/haiku/src/add-ons/kernel/busses/scsi/ahci/
H A Dutil.cpp62 uint32 offset; local
70 offset = phy & (B_PAGE_SIZE - 1);
71 phyadr = phy - offset;
72 size = round_to_pagesize(size + offset);
81 *virt = (char *)mapadr + offset;
83 TRACE("physical = %#" B_PRIxPHYSADDR ", virtual = %p, offset = %"
85 B_PRIuSIZE ", area = 0x%08" B_PRIx32 "\n", phy, *virt, offset, phyadr,
/haiku/src/bin/
H A Dhd.c123 uint32 offset = 0; local
127 display(offset, data);
128 offset += 16;
133 display(offset, data);
139 display(uint32 offset, uint8 *data) argument
141 printf("%08" B_PRIx32 " ", offset);
/haiku/src/add-ons/kernel/partitioning_systems/intel/
H A Dwrite_support.cpp112 get_partition_from_offset_ep(partition_data* partition, off_t offset, argument
117 if (sibling != NULL && sibling->offset == offset) {
132 sector_align(off_t offset, int32 blockSize) argument
134 return offset / blockSize * blockSize;
140 sector_align_up(off_t offset, int32 blockSize) argument
142 return (offset + blockSize - 1) / blockSize * blockSize;
169 // If child->offset is relative to parent, then yes!
170 off_t currentEnd = partition->offset + newSize;
173 if (child && child->offset
647 off_t offset = startOffset + headerSize; local
1015 pm_move(int fd, partition_id partitionID, off_t offset, disk_job_id job) argument
1119 pm_move_child(int fd, partition_id partitionID, partition_id childID, off_t offset, disk_job_id job) argument
1399 pm_create_child(int fd, partition_id partitionID, off_t offset, off_t size, const char* type, const char* name, const char* parameters, disk_job_id job, partition_id* childID) argument
1731 ep_validate_create_child(partition_data* partition, off_t* offset, off_t* size, const char* type, const char* name, const char* parameters, int32* index) argument
1819 check_partition_location_ep(partition_data* partition, off_t offset, off_t size, off_t ptsOffset) argument
1959 ep_move(int fd, partition_id partitionID, off_t offset, disk_job_id job) argument
1987 ep_move_child(int fd, partition_id partitionID, partition_id childID, off_t offset, disk_job_id job) argument
2192 ep_create_child(int fd, partition_id partitionID, off_t offset, off_t size, const char* type, const char* name, const char* parameters, disk_job_id job, partition_id* childID) argument
[all...]
H A DPartitionMapParser.h44 off_t offset);
45 status_t _ReadPartitionTable(off_t offset,
/haiku/src/libs/print/libprint/
H A DGraphicsDriver.cpp329 BPoint offset; local
330 offset.x = 0;
331 offset.y = 0;
342 offset.x = width;
344 offset.y = height;
350 offset.x = width * (index / 2);
351 offset.y = height * (index % 2);
353 offset.x = width * (index % 2);
354 offset.y = height * (index / 2);
359 offset
426 BPoint offset; local
492 _PrintBand(BBitmap* band, BPoint* offset) argument
[all...]
/haiku/src/apps/diskprobe/
H A DDataEditor.cpp52 virtual void Apply(off_t offset, uint8 *buffer, size_t size) = 0;
53 virtual void Revert(off_t offset, uint8 *buffer, size_t size) = 0;
60 ReplaceChange(off_t offset, const uint8 *data, size_t size);
63 virtual void Apply(off_t offset, uint8 *buffer, size_t size);
64 virtual void Revert(off_t offset, uint8 *buffer, size_t size);
70 off_t &offset, size_t &dataOffset, size_t &size);
193 ReplaceChange::ReplaceChange(off_t offset, const uint8 *data, size_t size) argument
195 fOffset = offset;
214 /** Normalizes the supplied offset & size pair to be limited by
215 * the buffer offset an
221 Normalize(off_t bufferOffset, size_t bufferSize, off_t &offset, size_t &dataOffset, size_t &size) argument
245 off_t offset = fOffset; local
274 off_t offset = fOffset; local
571 Replace(off_t offset, const uint8 *data, size_t length) argument
597 Remove(off_t offset, off_t length) argument
612 Insert(off_t offset, const uint8 *text, size_t length) argument
698 off_t offset, size; local
699 change->GetRange(FileSize(), offset, size); local
714 off_t offset = *list.ItemAt(i); local
852 SetViewOffset(off_t offset, bool sendNotices) argument
884 SetViewOffset(off_t offset) argument
1160 size_t offset = i + 1; local
1211 off_t offset, size; local
1212 change->GetRange(FileSize(), offset, size); local
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A De1000_phy.c39 static s32 e1000_access_phy_wakeup_reg_bm(struct e1000_hw *hw, u32 offset,
42 static s32 e1000_access_phy_debug_regs_hv(struct e1000_hw *hw, u32 offset,
119 * @offset: dummy variable
123 u32 E1000_UNUSEDARG offset, u16 E1000_UNUSEDARG *data)
154 * @offset: dummy variable
158 u32 E1000_UNUSEDARG offset, u16 E1000_UNUSEDARG data)
167 * @byte_offset: byte offset to write
184 * @byte_offset: byte offset to write
285 * @offset: register offset t
122 e1000_null_read_reg(struct e1000_hw E1000_UNUSEDARG *hw, u32 E1000_UNUSEDARG offset, u16 E1000_UNUSEDARG *data) argument
157 e1000_null_write_reg(struct e1000_hw E1000_UNUSEDARG *hw, u32 E1000_UNUSEDARG offset, u16 E1000_UNUSEDARG data) argument
291 e1000_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) argument
356 e1000_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) argument
422 e1000_read_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 *data) argument
469 e1000_write_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 data) argument
530 e1000_read_sfp_data_byte(struct e1000_hw *hw, u16 offset, u8 *data) argument
585 e1000_write_sfp_data_byte(struct e1000_hw *hw, u16 offset, u8 data) argument
655 e1000_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data) argument
685 e1000_write_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 data) argument
737 __e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data, bool locked) argument
777 e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data) argument
791 e1000_read_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 *data) argument
806 __e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data, bool locked) argument
845 e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data) argument
859 e1000_write_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 data) argument
875 __e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data, bool locked) argument
919 e1000_read_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 *data) argument
934 e1000_read_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 *data) argument
950 __e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data, bool locked) argument
990 e1000_write_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 data) argument
1004 e1000_write_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 data) argument
2176 u16 phy_data, offset, mask; local
2248 u16 data, offset, mask; local
2291 u16 phy_data, offset, mask; local
3124 e1000_write_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 data) argument
3184 e1000_read_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 *data) argument
3243 e1000_read_phy_reg_bm2(struct e1000_hw *hw, u32 offset, u16 *data) argument
3288 e1000_write_phy_reg_bm2(struct e1000_hw *hw, u32 offset, u16 data) argument
3441 e1000_access_phy_wakeup_reg_bm(struct e1000_hw *hw, u32 offset, u16 *data, bool read, bool page_set) argument
3545 __e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data, bool locked, bool page_set) argument
3611 e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data) argument
3625 e1000_read_phy_reg_hv_locked(struct e1000_hw *hw, u32 offset, u16 *data) argument
3639 e1000_read_phy_reg_page_hv(struct e1000_hw *hw, u32 offset, u16 *data) argument
3655 __e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data, bool locked, bool page_set) argument
3737 e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data) argument
3751 e1000_write_phy_reg_hv_locked(struct e1000_hw *hw, u32 offset, u16 data) argument
3765 e1000_write_phy_reg_page_hv(struct e1000_hw *hw, u32 offset, u16 data) argument
3796 e1000_access_phy_debug_regs_hv(struct e1000_hw *hw, u32 offset, u16 *data, bool read) argument
4059 e1000_write_phy_reg_gs40g(struct e1000_hw *hw, u32 offset, u16 data) argument
4091 e1000_read_phy_reg_gs40g(struct e1000_hw *hw, u32 offset, u16 *data) argument
[all...]
/haiku/src/kits/interface/textview_support/
H A DInlineInput.h31 void SetOffset(int32 offset);
37 void SetSelectionOffset(int32 offset);
H A DLineBuffer.h18 long offset; // offset of first character of line member in struct:STELine
36 int32 OffsetToLine(int32 offset) const;
/haiku/src/system/boot/platform/bios_ia32/
H A Dbios.h31 #define LINEAR_ADDRESS(segment, offset) \
32 (((addr_t)(segment) << 4) + (addr_t)(offset))
/haiku/src/tools/restest/
H A DOffsetFile.h12 OffsetFile(const BFile& file, off_t offset);
15 status_t SetTo(const BFile& file, off_t offset);
/haiku/src/add-ons/kernel/file_systems/packagefs/nodes/
H A DUnpackingAttributeCookie.h31 virtual status_t ReadAttribute(off_t offset, void* buffer,
37 off_t offset, void* buffer,
/haiku/src/bin/keymap/
H A DKeymap.h44 static bool GetKey(const char* chars, int32 offset,
56 int& offset);
/haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/
H A DInode.cpp31 Inode::FindBlockRun(off_t pos, block_run &run, off_t &offset) argument
35 offset = 0;
/haiku/headers/private/storage/
H A DOffsetFile.h25 data of a file past a certain offset. This is very handy e.g. for dealing
36 OffsetFile(BFile *file, off_t offset);
39 status_t SetTo(BFile *file, off_t offset);
/haiku/src/add-ons/kernel/file_systems/udf/drive_setup_addon/
H A Dudf-ds.cpp28 uint64 offset; // in logical blocks from start of session member in struct:partition_data
53 status_t error = Udf::udf_recognize(device, (data->offset + sessionOffset), data->blocks, blockSize, name);
/haiku/src/system/kernel/arch/riscv64/
H A Darch_real_time_clock.cpp42 arch_rtc_set_system_time_offset(struct real_time_data *data, bigtime_t offset) argument
44 atomic_set64(&data->arch_data.system_time_offset, offset);
/haiku/src/system/libroot/os/arch/x86_64/
H A Dtls.cpp20 unsigned long int offset; member in struct:tls_index
73 return __gRuntimeLoader->get_tls_address(ti->module, ti->offset);
/haiku/src/system/libroot/os/arch/x86/
H A Dtls.c18 unsigned long int offset; member in struct:tls_index
79 return __gRuntimeLoader->get_tls_address(ti->module, ti->offset);
/haiku/src/add-ons/kernel/partitioning_systems/common/
H A DPartitionMapWriter.h61 status_t _ReadBlock(off_t offset,
63 status_t _WriteBlock(off_t offset,
/haiku/src/add-ons/kernel/busses/pci/x86/
H A DX86PCIController.h34 uint16 offset, uint8 size, uint32 &value) = 0;
38 uint16 offset, uint8 size, uint32 value) = 0;
74 uint16 offset, uint8 size, uint32 &value) override;
78 uint16 offset, uint8 size, uint32 value) override;
92 uint16 offset, uint8 size, uint32 &value) final;
96 uint16 offset, uint8 size, uint32 value) final;
110 uint16 offset, uint8 size, uint32 &value) final;
114 uint16 offset, uint8 size, uint32 value) final;
/haiku/src/add-ons/kernel/bus_managers/pci/
H A Dpci_device.cpp111 .read_pci_config = [](pci_device *device, uint16 offset, uint8 size) {
112 return gPCI->ReadConfig(device->device, offset, size);
114 .write_pci_config = [](pci_device *device, uint16 offset, uint8 size, uint32 value) {
115 gPCI->WriteConfig(device->device, offset, size, value);
117 .find_pci_capability = [](pci_device *device, uint8 capID, uint8 *offset) {
118 return gPCI->FindCapability(device->device, capID, offset);
125 .find_pci_extended_capability = [](pci_device *device, uint16 capID, uint16 *offset) {
126 return gPCI->FindExtendedCapability(device->device, capID, offset);
/haiku/src/add-ons/input_server/devices/keyboard/
H A DKeymap.cpp26 print_key(char* chars, int32 offset, bool last = false) argument
28 int size = chars[offset++];
38 fputc(chars[offset], stdout);
48 strncpy(str, &(chars[offset]), size);

Completed in 143 milliseconds

1234567891011>>