/dports/security/doscan/doscan-0.3.3/src/ |
H A D | subnets.cc | 246 unsigned host_offset, length; in compute_next_address() local 258 host_offset = current_address - network; in compute_next_address() 261 host_offset = (host_offset * multipliers[length].multiplier + 1) & multipliers[length].mask; in compute_next_address() 263 if (host_offset == 0) { in compute_next_address() 274 next_address = network + host_offset; in compute_next_address()
|
/dports/security/snort3/snort3-3.1.19.0/src/network_inspectors/appid/ |
H A D | appid_dns_session.h | 43 host_offset = 0; in reset() 91 { return host_offset; } in get_host_offset() 94 { host_offset = hostOffset; } in set_host_offset() 103 uint16_t host_offset = 0; variable
|
/dports/emulators/qemu42/qemu-4.2.1/block/ |
H A D | qcow2-threads.c | 239 qcow2_co_encdec(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encdec() argument 246 .offset = s->crypt_physical_offset ? host_offset : guest_offset, in qcow2_co_encdec() 253 assert(QEMU_IS_ALIGNED(host_offset, BDRV_SECTOR_SIZE)); in qcow2_co_encdec() 286 qcow2_co_encrypt(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encrypt() argument 289 return qcow2_co_encdec(bs, host_offset, guest_offset, buf, len, in qcow2_co_encrypt() 300 qcow2_co_decrypt(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_decrypt() argument 303 return qcow2_co_encdec(bs, host_offset, guest_offset, buf, len, in qcow2_co_decrypt()
|
H A D | qcow2-cluster.c | 792 *host_offset = cluster_offset & s->cluster_offset_mask; in qcow2_alloc_compressed_cluster_offset() 1146 uint64_t *host_offset, uint64_t *bytes, QCowL2Meta **m) in handle_copied() argument 1227 *host_offset = (cluster_offset & L2E_OFFSET_MASK) in handle_copied() 1262 assert(*host_offset == INV_OFFSET || in do_alloc_cluster_offset() 1264 *host_offset = start_of_cluster(s, guest_offset); in do_alloc_cluster_offset() 1270 if (*host_offset == INV_OFFSET) { in do_alloc_cluster_offset() 1276 *host_offset = cluster_offset; in do_alloc_cluster_offset() 1309 uint64_t *host_offset, uint64_t *bytes, QCowL2Meta **m) in handle_alloc() argument 1355 (*host_offset == INV_OFFSET || in handle_alloc() 1496 *host_offset = INV_OFFSET; in qcow2_alloc_cluster_offset() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/block/ |
H A D | qcow2-threads.c | 239 qcow2_co_encdec(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encdec() argument 246 .offset = s->crypt_physical_offset ? host_offset : guest_offset, in qcow2_co_encdec() 253 assert(QEMU_IS_ALIGNED(host_offset, BDRV_SECTOR_SIZE)); in qcow2_co_encdec() 286 qcow2_co_encrypt(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encrypt() argument 289 return qcow2_co_encdec(bs, host_offset, guest_offset, buf, len, in qcow2_co_encrypt() 300 qcow2_co_decrypt(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_decrypt() argument 303 return qcow2_co_encdec(bs, host_offset, guest_offset, buf, len, in qcow2_co_decrypt()
|
H A D | qcow2-cluster.c | 792 *host_offset = cluster_offset & s->cluster_offset_mask; in qcow2_alloc_compressed_cluster_offset() 1146 uint64_t *host_offset, uint64_t *bytes, QCowL2Meta **m) in handle_copied() argument 1227 *host_offset = (cluster_offset & L2E_OFFSET_MASK) in handle_copied() 1262 assert(*host_offset == INV_OFFSET || in do_alloc_cluster_offset() 1264 *host_offset = start_of_cluster(s, guest_offset); in do_alloc_cluster_offset() 1270 if (*host_offset == INV_OFFSET) { in do_alloc_cluster_offset() 1276 *host_offset = cluster_offset; in do_alloc_cluster_offset() 1309 uint64_t *host_offset, uint64_t *bytes, QCowL2Meta **m) in handle_alloc() argument 1355 (*host_offset == INV_OFFSET || in handle_alloc() 1496 *host_offset = INV_OFFSET; in qcow2_alloc_cluster_offset() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/block/ |
H A D | qcow2-threads.c | 239 qcow2_co_encdec(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encdec() argument 246 .offset = s->crypt_physical_offset ? host_offset : guest_offset, in qcow2_co_encdec() 257 assert(QEMU_IS_ALIGNED(host_offset, sector_size)); in qcow2_co_encdec() 290 qcow2_co_encrypt(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encrypt() argument 293 return qcow2_co_encdec(bs, host_offset, guest_offset, buf, len, in qcow2_co_encrypt() 304 qcow2_co_decrypt(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_decrypt() argument 307 return qcow2_co_encdec(bs, host_offset, guest_offset, buf, len, in qcow2_co_decrypt()
|
H A D | qcow2-cluster.c | 800 *host_offset = cluster_offset & s->cluster_offset_mask; in qcow2_alloc_compressed_cluster_offset() 1157 uint64_t *host_offset, uint64_t *bytes, QCowL2Meta **m) in handle_copied() argument 1238 *host_offset = (cluster_offset & L2E_OFFSET_MASK) in handle_copied() 1273 assert(*host_offset == INV_OFFSET || in do_alloc_cluster_offset() 1275 *host_offset = start_of_cluster(s, guest_offset); in do_alloc_cluster_offset() 1281 if (*host_offset == INV_OFFSET) { in do_alloc_cluster_offset() 1287 *host_offset = cluster_offset; in do_alloc_cluster_offset() 1320 uint64_t *host_offset, uint64_t *bytes, QCowL2Meta **m) in handle_alloc() argument 1366 (*host_offset == INV_OFFSET || in handle_alloc() 1507 *host_offset = INV_OFFSET; in qcow2_alloc_cluster_offset() [all …]
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/block/ |
H A D | qcow2-threads.c | 239 qcow2_co_encdec(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encdec() argument 246 .offset = s->crypt_physical_offset ? host_offset : guest_offset, in qcow2_co_encdec() 257 assert(QEMU_IS_ALIGNED(host_offset, sector_size)); in qcow2_co_encdec() 290 qcow2_co_encrypt(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encrypt() argument 293 return qcow2_co_encdec(bs, host_offset, guest_offset, buf, len, in qcow2_co_encrypt() 304 qcow2_co_decrypt(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_decrypt() argument 307 return qcow2_co_encdec(bs, host_offset, guest_offset, buf, len, in qcow2_co_decrypt()
|
H A D | qcow2-cluster.c | 800 *host_offset = cluster_offset & s->cluster_offset_mask; in qcow2_alloc_compressed_cluster_offset() 1157 uint64_t *host_offset, uint64_t *bytes, QCowL2Meta **m) in handle_copied() argument 1238 *host_offset = (cluster_offset & L2E_OFFSET_MASK) in handle_copied() 1273 assert(*host_offset == INV_OFFSET || in do_alloc_cluster_offset() 1275 *host_offset = start_of_cluster(s, guest_offset); in do_alloc_cluster_offset() 1281 if (*host_offset == INV_OFFSET) { in do_alloc_cluster_offset() 1287 *host_offset = cluster_offset; in do_alloc_cluster_offset() 1320 uint64_t *host_offset, uint64_t *bytes, QCowL2Meta **m) in handle_alloc() argument 1366 (*host_offset == INV_OFFSET || in handle_alloc() 1507 *host_offset = INV_OFFSET; in qcow2_alloc_cluster_offset() [all …]
|
/dports/www/node10/node-v10.24.1/deps/v8/src/heap/ |
H A D | slot-set.h | 411 TypedSlot(SlotType type, uint32_t host_offset, uint32_t offset) in TypedSlot() 414 host_offset_(host_offset) {} in TypedSlot() 418 host_offset() == other.host_offset(); 437 uint32_t host_offset() const { in host_offset() function 474 void Insert(SlotType type, uint32_t host_offset, uint32_t offset) { in Insert() argument 475 TypedSlot slot(type, host_offset, offset); in Insert() 512 Address host_addr = page_start_ + buf[i].host_offset(); in Iterate() 559 uint32_t host_offset = buf[i].host_offset(); in RemoveInvaldSlots() local 561 invalid_ranges.upper_bound(host_offset); in RemoveInvaldSlots() 566 DCHECK_LE(upper_bound->first, host_offset); in RemoveInvaldSlots() [all …]
|
/dports/security/snort3/snort3-3.1.19.0/src/network_inspectors/appid/detector_plugins/ |
H A D | detector_dns.cc | 189 const uint8_t* host, uint8_t host_len, uint16_t host_offset, uint16_t record_type, in add_dns_query_info() argument 207 if ((host != nullptr) && (host_len > 0) && (host_offset > 0)) in add_dns_query_info() 213 dsession->set_host_offset(host_offset); in add_dns_query_info() 241 if ((host != nullptr) && (host_len > 0) && (host_offset > 0)) in add_dns_response_info() 247 dsession->set_host_offset(host_offset); in add_dns_response_info() 328 uint16_t host_offset; in dns_validate_query() local 331 host_offset = *offset; in dns_validate_query() 347 host_offset = 0; in dns_validate_query() 411 uint16_t host_offset = r_data_offset; in dns_validate_answer() local 423 host_offset = 0; in dns_validate_answer() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/soc/sof/ |
H A D | trace.c | 238 loff_t host_offset = READ_ONCE(sdev->host_offset); in sof_trace_avail() local 245 if (host_offset < pos) in sof_trace_avail() 249 if (host_offset > pos) in sof_trace_avail() 250 return host_offset - pos; in sof_trace_avail() 342 sdev->host_offset = 0; in sof_dfsentry_trace_release() 411 sdev->host_offset = 0; in snd_sof_init_trace_ipc() 513 if (sdev->dtrace_is_enabled && sdev->host_offset != posn->host_offset) { in snd_sof_trace_update_pos() 514 sdev->host_offset = posn->host_offset; in snd_sof_trace_update_pos()
|
/dports/multimedia/libv4l/linux-5.13-rc2/sound/soc/sof/ |
H A D | trace.c | 238 loff_t host_offset = READ_ONCE(sdev->host_offset); in sof_trace_avail() local 245 if (host_offset < pos) in sof_trace_avail() 249 if (host_offset > pos) in sof_trace_avail() 250 return host_offset - pos; in sof_trace_avail() 342 sdev->host_offset = 0; in sof_dfsentry_trace_release() 411 sdev->host_offset = 0; in snd_sof_init_trace_ipc() 513 if (sdev->dtrace_is_enabled && sdev->host_offset != posn->host_offset) { in snd_sof_trace_update_pos() 514 sdev->host_offset = posn->host_offset; in snd_sof_trace_update_pos()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/sound/soc/sof/ |
H A D | trace.c | 238 loff_t host_offset = READ_ONCE(sdev->host_offset); in sof_trace_avail() local 245 if (host_offset < pos) in sof_trace_avail() 249 if (host_offset > pos) in sof_trace_avail() 250 return host_offset - pos; in sof_trace_avail() 342 sdev->host_offset = 0; in sof_dfsentry_trace_release() 411 sdev->host_offset = 0; in snd_sof_init_trace_ipc() 513 if (sdev->dtrace_is_enabled && sdev->host_offset != posn->host_offset) { in snd_sof_trace_update_pos() 514 sdev->host_offset = posn->host_offset; in snd_sof_trace_update_pos()
|
/dports/emulators/qemu60/qemu-6.0.0/block/ |
H A D | qcow2-cluster.c | 599 *host_offset = 0; in qcow2_get_host_offset() 682 if (has_data_file(bs) && *host_offset != offset) { in qcow2_get_host_offset() 1508 if (*host_offset != INV_OFFSET && cluster_offset != *host_offset) { in handle_copied() 1576 assert(*host_offset == INV_OFFSET || in do_alloc_cluster_offset() 1584 if (*host_offset == INV_OFFSET) { in do_alloc_cluster_offset() 1590 *host_offset = cluster_offset; in do_alloc_cluster_offset() 1666 start_of_cluster(s, *host_offset); in handle_alloc() 1760 *host_offset = INV_OFFSET; in qcow2_alloc_host_offset() 1767 *host_offset = cluster_offset; in qcow2_alloc_host_offset() 1849 assert(*host_offset != INV_OFFSET); in qcow2_alloc_host_offset() [all …]
|
H A D | qcow2-threads.c | 457 qcow2_co_encdec(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encdec() argument 464 .offset = s->crypt_physical_offset ? host_offset : guest_offset, in qcow2_co_encdec() 475 assert(QEMU_IS_ALIGNED(host_offset, sector_size)); in qcow2_co_encdec() 508 qcow2_co_encrypt(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encrypt() argument 511 return qcow2_co_encdec(bs, host_offset, guest_offset, buf, len, in qcow2_co_encrypt() 522 qcow2_co_decrypt(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_decrypt() argument 525 return qcow2_co_encdec(bs, host_offset, guest_offset, buf, len, in qcow2_co_decrypt()
|
/dports/emulators/qemu5/qemu-5.2.0/block/ |
H A D | qcow2-cluster.c | 599 *host_offset = 0; in qcow2_get_host_offset() 682 if (has_data_file(bs) && *host_offset != offset) { in qcow2_get_host_offset() 1508 if (*host_offset != INV_OFFSET && cluster_offset != *host_offset) { in handle_copied() 1576 assert(*host_offset == INV_OFFSET || in do_alloc_cluster_offset() 1584 if (*host_offset == INV_OFFSET) { in do_alloc_cluster_offset() 1590 *host_offset = cluster_offset; in do_alloc_cluster_offset() 1666 start_of_cluster(s, *host_offset); in handle_alloc() 1760 *host_offset = INV_OFFSET; in qcow2_alloc_host_offset() 1767 *host_offset = cluster_offset; in qcow2_alloc_host_offset() 1849 assert(*host_offset != INV_OFFSET); in qcow2_alloc_host_offset() [all …]
|
H A D | qcow2-threads.c | 457 qcow2_co_encdec(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encdec() argument 464 .offset = s->crypt_physical_offset ? host_offset : guest_offset, in qcow2_co_encdec() 475 assert(QEMU_IS_ALIGNED(host_offset, sector_size)); in qcow2_co_encdec() 508 qcow2_co_encrypt(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encrypt() argument 511 return qcow2_co_encdec(bs, host_offset, guest_offset, buf, len, in qcow2_co_encrypt() 522 qcow2_co_decrypt(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_decrypt() argument 525 return qcow2_co_encdec(bs, host_offset, guest_offset, buf, len, in qcow2_co_decrypt()
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/block/ |
H A D | qcow2-cluster.c | 598 *host_offset = 0; in qcow2_get_host_offset() 662 *host_offset = l2_entry; in qcow2_get_host_offset() 1525 if (*host_offset != INV_OFFSET && cluster_offset != *host_offset) { in handle_copied() 1593 assert(*host_offset == INV_OFFSET || in do_alloc_cluster_offset() 1601 if (*host_offset == INV_OFFSET) { in do_alloc_cluster_offset() 1607 *host_offset = cluster_offset; in do_alloc_cluster_offset() 1683 start_of_cluster(s, *host_offset); in handle_alloc() 1777 *host_offset = INV_OFFSET; in qcow2_alloc_host_offset() 1784 *host_offset = cluster_offset; in qcow2_alloc_host_offset() 1866 assert(*host_offset != INV_OFFSET); in qcow2_alloc_host_offset() [all …]
|
H A D | qcow2-threads.c | 457 qcow2_co_encdec(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encdec() argument 464 .offset = s->crypt_physical_offset ? host_offset : guest_offset, in qcow2_co_encdec() 475 assert(QEMU_IS_ALIGNED(host_offset, sector_size)); in qcow2_co_encdec() 508 qcow2_co_encrypt(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encrypt() argument 511 return qcow2_co_encdec(bs, host_offset, guest_offset, buf, len, in qcow2_co_encrypt() 522 qcow2_co_decrypt(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_decrypt() argument 525 return qcow2_co_encdec(bs, host_offset, guest_offset, buf, len, in qcow2_co_decrypt()
|
/dports/emulators/qemu/qemu-6.2.0/block/ |
H A D | qcow2-threads.c | 457 qcow2_co_encdec(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encdec() argument 464 .offset = s->crypt_physical_offset ? host_offset : guest_offset, in qcow2_co_encdec() 475 assert(QEMU_IS_ALIGNED(host_offset, sector_size)); in qcow2_co_encdec() 508 qcow2_co_encrypt(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encrypt() argument 511 return qcow2_co_encdec(bs, host_offset, guest_offset, buf, len, in qcow2_co_encrypt() 522 qcow2_co_decrypt(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_decrypt() argument 525 return qcow2_co_encdec(bs, host_offset, guest_offset, buf, len, in qcow2_co_decrypt()
|
H A D | qcow2-cluster.c | 611 *host_offset = 0; in qcow2_get_host_offset() 675 *host_offset = l2_entry; in qcow2_get_host_offset() 1538 if (*host_offset != INV_OFFSET && cluster_offset != *host_offset) { in handle_copied() 1606 assert(*host_offset == INV_OFFSET || in do_alloc_cluster_offset() 1614 if (*host_offset == INV_OFFSET) { in do_alloc_cluster_offset() 1620 *host_offset = cluster_offset; in do_alloc_cluster_offset() 1696 start_of_cluster(s, *host_offset); in handle_alloc() 1790 *host_offset = INV_OFFSET; in qcow2_alloc_host_offset() 1797 *host_offset = cluster_offset; in qcow2_alloc_host_offset() 1879 assert(*host_offset != INV_OFFSET); in qcow2_alloc_host_offset() [all …]
|
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/lib/gpu/ |
H A D | lal_neighbor.cpp | 232 UCL_H_Vec<int> host_offset; in get_host() local 259 ucl_copy(nbor_offset,host_offset,true); in get_host() 269 host_offset.view_offset(IJ_SIZE*(copy_count%2),host_packed,ij_count); in get_host() 271 ucl_copy(nbor_offset,host_offset,true); in get_host() 301 UCL_H_Vec<int> host_offset; in get_host3() local 333 ucl_copy(nbor_offset,host_offset,true); in get_host3() 343 host_offset.view_offset(IJ_SIZE*(copy_count%2),host_packed,ij_count); in get_host3() 345 ucl_copy(nbor_offset,host_offset,true); in get_host3() 572 UCL_H_Vec<int> host_offset; in build_nbor_list() local 573 host_offset.view_offset(inum,host_acc,nt-inum); in build_nbor_list() [all …]
|
/dports/science/lammps/lammps-stable_29Sep2021/lib/gpu/ |
H A D | lal_gauss.cpp | 48 double **host_b, double **host_offset, in init() argument 78 host_cutsq,host_offset); in init() 92 double **host_b, double **host_offset) { in reinit() argument 102 host_cutsq,host_offset); in reinit()
|