Searched refs:B_BENDIAN_TO_HOST_INT16 (Results 1 - 25 of 55) sorted by relevance

123

/haiku/src/add-ons/kernel/file_systems/xfs/
H A Dxfs.cpp350 sb_versionnum = B_BENDIAN_TO_HOST_INT16(sb_versionnum);
351 sb_sectsize = B_BENDIAN_TO_HOST_INT16(sb_sectsize);
352 sb_inodesize = B_BENDIAN_TO_HOST_INT16(sb_inodesize);
353 sb_inopblock = B_BENDIAN_TO_HOST_INT16(sb_inopblock);
360 sb_qflags = B_BENDIAN_TO_HOST_INT16(sb_qflags);
364 sb_logsectsize = B_BENDIAN_TO_HOST_INT16(sb_logsectsize);
H A DLeafAttribute.cpp154 uint16 valuelen = B_BENDIAN_TO_HOST_INT16(fLocalEntry->valuelen);
189 uint16 valuelen = B_BENDIAN_TO_HOST_INT16(fLocalEntry->valuelen);
251 uint32 offset = B_BENDIAN_TO_HOST_INT16(entry->nameidx);
298 uint32 offset = B_BENDIAN_TO_HOST_INT16(entry[left].nameidx);
395 fData.info.magic = B_BENDIAN_TO_HOST_INT16(fData.info.magic);
396 fData.info.pad = B_BENDIAN_TO_HOST_INT16(fData.info.pad);
397 fData.count = B_BENDIAN_TO_HOST_INT16(fData.count);
398 fData.usedbytes = B_BENDIAN_TO_HOST_INT16(fData.usedbytes);
399 fData.firstused = B_BENDIAN_TO_HOST_INT16(fData.firstused);
456 fData.info.magic = B_BENDIAN_TO_HOST_INT16(fDat
[all...]
H A DShortDirectory.cpp99 "(%" B_PRIu16 ")\n", entry->namelen, B_BENDIAN_TO_HOST_INT16(entry->offset.i));
144 "(%" B_PRIu16 ")\n", entry->namelen, B_BENDIAN_TO_HOST_INT16(entry->offset.i));
147 uint16 curOffset = B_BENDIAN_TO_HOST_INT16(entry->offset.i);
H A DBPlusTree.h28 { return B_BENDIAN_TO_HOST_INT16(bb_level); }
31 { return B_BENDIAN_TO_HOST_INT16(bb_numrecs); }
H A DNode.cpp314 if (B_BENDIAN_TO_HOST_INT16(unusedEntry->freetag) == DIR2_FREE_TAG) {
316 fOffset = fOffset + B_BENDIAN_TO_HOST_INT16(unusedEntry->length);
318 ((char*)entry + B_BENDIAN_TO_HOST_INT16(unusedEntry->length));
508 fData.info.magic = B_BENDIAN_TO_HOST_INT16(fData.info.magic);
509 fData.info.pad = B_BENDIAN_TO_HOST_INT16(fData.info.pad);
510 fData.count = B_BENDIAN_TO_HOST_INT16(fData.count);
511 fData.level = B_BENDIAN_TO_HOST_INT16(fData.level);
584 fData.info.magic = B_BENDIAN_TO_HOST_INT16(fData.info.magic);
585 fData.info.pad = B_BENDIAN_TO_HOST_INT16(fData.info.pad);
589 fData.count = B_BENDIAN_TO_HOST_INT16(fDat
[all...]
H A DLeafDirectory.cpp284 if (B_BENDIAN_TO_HOST_INT16(unusedEntry->freetag) == DIR2_FREE_TAG) {
286 fOffset = fOffset + B_BENDIAN_TO_HOST_INT16(unusedEntry->length);
288 ((char*)entry + B_BENDIAN_TO_HOST_INT16(unusedEntry->length));
457 fData.info.magic = B_BENDIAN_TO_HOST_INT16(fData.info.magic);
458 fData.info.pad = B_BENDIAN_TO_HOST_INT16(fData.info.pad);
459 fData.count = B_BENDIAN_TO_HOST_INT16(fData.count);
460 fData.stale = B_BENDIAN_TO_HOST_INT16(fData.stale);
531 fData.info.magic = B_BENDIAN_TO_HOST_INT16(fData.info.magic);
532 fData.info.pad = B_BENDIAN_TO_HOST_INT16(fData.info.pad);
536 fData.count = B_BENDIAN_TO_HOST_INT16(fDat
[all...]
H A DInode.cpp17 fNode->di_magic = B_BENDIAN_TO_HOST_INT16(fNode->di_magic);
18 fNode->di_mode = B_BENDIAN_TO_HOST_INT16(fNode->di_mode);
19 fNode->di_onlink = B_BENDIAN_TO_HOST_INT16(fNode->di_onlink);
23 fNode->di_projid = B_BENDIAN_TO_HOST_INT16(fNode->di_projid);
24 fNode->di_flushiter = B_BENDIAN_TO_HOST_INT16(fNode->di_flushiter);
35 fNode->di_naextents = B_BENDIAN_TO_HOST_INT16(fNode->di_naextents);
37 fNode->di_dmstate = B_BENDIAN_TO_HOST_INT16(fNode->di_dmstate);
38 fNode->di_flags = B_BENDIAN_TO_HOST_INT16(fNode->di_flags);
H A DNodeAttribute.cpp178 uint16 valuelen = B_BENDIAN_TO_HOST_INT16(fLocalEntry->valuelen);
213 uint16 valuelen = B_BENDIAN_TO_HOST_INT16(fLocalEntry->valuelen);
301 uint32 offset = B_BENDIAN_TO_HOST_INT16(entry->nameidx);
371 uint32 offset = B_BENDIAN_TO_HOST_INT16(entry[left].nameidx);
H A DVolume.cpp51 int version = B_BENDIAN_TO_HOST_INT16(superBlock->Version()) & XFS_SB_VERSION_NUMBITS;
H A DExtent.cpp172 if (B_BENDIAN_TO_HOST_INT16(unusedEntry->freetag) == DIR2_FREE_TAG) {
174 currentOffset += B_BENDIAN_TO_HOST_INT16(unusedEntry->length);
176 ((char*)entry + B_BENDIAN_TO_HOST_INT16(unusedEntry->length));
/haiku/src/add-ons/kernel/partitioning_systems/apple/
H A Dapple.h32 int16 BlockSize() { return B_BENDIAN_TO_HOST_INT16(block_size); }
35 bool HasValidSignature() { return B_BENDIAN_TO_HOST_INT16(signature) == kDriverDescriptorSignature; }
70 int16 sig = B_BENDIAN_TO_HOST_INT16(signature);
/haiku/src/add-ons/kernel/partitioning_systems/sun/
H A Dsun.cpp111 = B_BENDIAN_TO_HOST_INT16(vtoc->vtoc.partitionCount);
142 off_t headCount = B_BENDIAN_TO_HOST_INT16(vtoc->heads);
143 off_t sectorsPerTrack = B_BENDIAN_TO_HOST_INT16(vtoc->sectorsPerTrack);
149 for (int i = 0; i < B_BENDIAN_TO_HOST_INT16(vtoc->vtoc.partitionCount);
151 uint16_t type = B_BENDIAN_TO_HOST_INT16(vtoc->vtoc.partitions[i].type);
/haiku/src/system/boot/platform/riscv/
H A DFwCfg.cpp29 // gFwCfgRegs->selector = B_BENDIAN_TO_HOST_INT16(selector);
30 *(uint16*)0x10100008 = B_BENDIAN_TO_HOST_INT16(selector);
79 file.select = B_BENDIAN_TO_HOST_INT16(file.select);
80 file.reserved = B_BENDIAN_TO_HOST_INT16(file.reserved);
98 file.select = B_BENDIAN_TO_HOST_INT16(file.select);
99 file.reserved = B_BENDIAN_TO_HOST_INT16(file.reserved);
/haiku/src/add-ons/kernel/partitioning_systems/atari/
H A Datari.h58 uint32 MaxPartitionSize() const { return B_BENDIAN_TO_HOST_INT16(maximum_partition_size); }
61 uint16 Checksum() const { return B_BENDIAN_TO_HOST_INT16(checksum); }
/haiku/src/add-ons/kernel/bus_managers/ata/
H A DATAHelper.cpp75 *word = B_BENDIAN_TO_HOST_INT16(*word);
/haiku/src/add-ons/kernel/busses/scsi/virtio/
H A DVirtioSCSIHelper.cpp76 *word = B_BENDIAN_TO_HOST_INT16(*word);
/haiku/headers/os/support/
H A DByteOrder.h65 #define B_BENDIAN_TO_HOST_INT16(arg) __swap_int16(arg) macro
99 #define B_BENDIAN_TO_HOST_INT16(arg) (uint16)(arg) macro
/haiku/src/add-ons/kernel/network/protocols/tcp/
H A Dtcp.h67 uint16 AdvertisedWindow() const { return B_BENDIAN_TO_HOST_INT16(advertised_window); }
68 uint16 Checksum() const { return B_BENDIAN_TO_HOST_INT16(checksum); }
69 uint16 UrgentOffset() const { return B_BENDIAN_TO_HOST_INT16(urgent_offset); }
/haiku/headers/private/package/hpkg/
H A DReaderImplBase.h475 if (B_BENDIAN_TO_HOST_INT16(header.version) != kVersion) {
479 B_BENDIAN_TO_HOST_INT16(header.version));
484 fMinorFormatVersion = B_BENDIAN_TO_HOST_INT16(header.minor_version);
488 uint64 heapOffset = B_BENDIAN_TO_HOST_INT16(header.header_size);
517 B_BENDIAN_TO_HOST_INT16(header.heap_compression),
/haiku/src/add-ons/kernel/file_systems/iso9660/
H A Diso9660.cpp71 if ((B_BENDIAN_TO_HOST_INT16(uni_str[0])&0xff80) == 0)\
72 *str++ = B_BENDIAN_TO_HOST_INT16(*uni_str++);\
73 else if ((B_BENDIAN_TO_HOST_INT16(uni_str[0])&0xf800) == 0) {\
74 str[0] = 0xc0|(B_BENDIAN_TO_HOST_INT16(uni_str[0])>>6);\
75 str[1] = 0x80|(B_BENDIAN_TO_HOST_INT16(*uni_str++)&0x3f);\
77 } else if ((B_BENDIAN_TO_HOST_INT16(uni_str[0])&0xfc00) != 0xd800) {\
78 str[0] = 0xe0|(B_BENDIAN_TO_HOST_INT16(uni_str[0])>>12);\
79 str[1] = 0x80|((B_BENDIAN_TO_HOST_INT16(uni_str[0])>>6)&0x3f);\
80 str[2] = 0x80|(B_BENDIAN_TO_HOST_INT16(*uni_str++)&0x3f);\
84 val = ((B_BENDIAN_TO_HOST_INT16(uni_st
[all...]
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dparam.h107 # define ntohs(x) B_BENDIAN_TO_HOST_INT16(x)
/haiku/src/add-ons/kernel/bus_managers/scsi/
H A Demulation.cpp141 uint16 currentLength = B_BENDIAN_TO_HOST_INT16(cdb->length);
154 B_BENDIAN_TO_HOST_INT16(cdb->length));
334 header_6.mode_data_length = B_BENDIAN_TO_HOST_INT16(header_10->mode_data_length)
340 header_6.block_desc_length = B_BENDIAN_TO_HOST_INT16(header_10->block_desc_length);
/haiku/src/add-ons/kernel/file_systems/netfs/shared/
H A DRequestUnflattener.cpp120 data = B_BENDIAN_TO_HOST_INT16(data);
128 data = B_BENDIAN_TO_HOST_INT16(data);
/haiku/headers/private/kernel/boot/net/
H A DNetDefs.h23 # define ntohs(x) B_BENDIAN_TO_HOST_INT16(x)
/haiku/src/add-ons/kernel/generic/scsi_periph/
H A Dblock.cpp212 && B_BENDIAN_TO_HOST_INT16(vpdProvisioning.page_length) >= 2) {
240 && B_BENDIAN_TO_HOST_INT16(vpdBlockLimits.page_length) == 0x3c) {
570 uint16 scsiRangeCount = (uint16)B_BENDIAN_TO_HOST_INT16(
756 (uint16)B_BENDIAN_TO_HOST_INT16(cmd->length));

Completed in 214 milliseconds

123