/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/seabios/src/hw/ |
H A D | virtio-blk.c | 51 .length = vdrive->drive.blksize * op->count, in virtio_blk_op() 140 vdrive->drive.blksize = in init_virtio_blk() 143 vdrive->drive.blksize = DISK_SECTOR_SIZE; in init_virtio_blk() 145 if (vdrive->drive.blksize != DISK_SECTOR_SIZE) { in init_virtio_blk() 147 pci, vdrive->drive.blksize); in init_virtio_blk() 151 pci, vdrive->drive.blksize, (u32)vdrive->drive.sectors); in init_virtio_blk() 164 vdrive->drive.blksize = (f & (1 << VIRTIO_BLK_F_BLK_SIZE)) ? in init_virtio_blk() 169 pci, vdrive->drive.blksize, (u32)vdrive->drive.sectors); in init_virtio_blk() 171 if (vdrive->drive.blksize != DISK_SECTOR_SIZE) { in init_virtio_blk() 173 pci, vdrive->drive.blksize); in init_virtio_blk()
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/openbios/packages/ |
H A D | deblocker.c | 28 int blksize; member 46 di->blksize = di->max_xfer = 512; in deblk_open() 49 di->blksize = POP(); in deblk_open() 58 di->buf = malloc( di->blksize ); in deblk_open() 118 w[0].offs = mark % di->blksize; in split() 122 w[0].len = MIN( len, di->blksize - w[0].offs ); in split() 129 w[1].nblks = (len / di->blksize); in split() 130 w[1].len = w[1].nblks * di->blksize; in split() 154 blk = mark / di->blksize; in do_readwrite() 173 w[i].len = MIN( n*di->blksize, w[i].len ); in do_readwrite()
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/seabios-hppa/src/hw/ |
H A D | virtio-blk.c | 51 .length = vdrive->drive.blksize * op->count, in virtio_blk_op() 140 vdrive->drive.blksize = in init_virtio_blk() 143 vdrive->drive.blksize = DISK_SECTOR_SIZE; in init_virtio_blk() 145 if (vdrive->drive.blksize != DISK_SECTOR_SIZE) { in init_virtio_blk() 147 pci, vdrive->drive.blksize); in init_virtio_blk() 151 pci, vdrive->drive.blksize, (u32)vdrive->drive.sectors); in init_virtio_blk() 164 vdrive->drive.blksize = (f & (1 << VIRTIO_BLK_F_BLK_SIZE)) ? in init_virtio_blk() 169 pci, vdrive->drive.blksize, (u32)vdrive->drive.sectors); in init_virtio_blk() 171 if (vdrive->drive.blksize != DISK_SECTOR_SIZE) { in init_virtio_blk() 173 pci, vdrive->drive.blksize); in init_virtio_blk()
|
/dports/emulators/qemu/qemu-6.2.0/roms/openbios/packages/ |
H A D | deblocker.c | 28 int blksize; member 46 di->blksize = di->max_xfer = 512; in deblk_open() 49 di->blksize = POP(); in deblk_open() 58 di->buf = malloc( di->blksize ); in deblk_open() 118 w[0].offs = mark % di->blksize; in split() 122 w[0].len = MIN( len, di->blksize - w[0].offs ); in split() 129 w[1].nblks = (len / di->blksize); in split() 130 w[1].len = w[1].nblks * di->blksize; in split() 154 blk = mark / di->blksize; in do_readwrite() 173 w[i].len = MIN( n*di->blksize, w[i].len ); in do_readwrite()
|
/dports/math/libmesh/libmesh-1.6.2/src/partitioning/ |
H A D | linear_partitioner.C | 58 const dof_id_type blksize = cast_int<dof_id_type> in partition_range() local 64 if ((e/blksize) < n) in partition_range() 65 elem->processor_id() = cast_int<processor_id_type>(e/blksize); in partition_range() 86 const dof_id_type blksize = cast_int<dof_id_type> in partition_range() local 95 if ((e/blksize) < n) in partition_range() 96 elem->processor_id() = cast_int<processor_id_type>(e/blksize); in partition_range()
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/libc/AOR_v20.02/networking/test/ |
H A D | chksum.c | 135 uint32_t blksize, in benchmark() argument 139 printf("%11u ", (unsigned int) blksize); fflush(stdout); in benchmark() 147 const void *data = &base[random % (poolsize - blksize)]; in benchmark() 148 SINK = CKSUM_FP(data, blksize); in benchmark() 156 uint64_t accbytes = (uint64_t) numops * blksize; in benchmark() 160 if (blksize != 0) in benchmark() 162 unsigned int cyc_per_byte = 1000 * cyc_per_blk / blksize; in benchmark() 186 int blksize = atoi(optarg); in main() local 187 if (blksize < 1 || blksize > POOLSIZE / 2) in main() 189 fprintf(stderr, "Invalid block size %d\n", blksize); in main() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/libc/AOR_v20.02/networking/test/ |
H A D | chksum.c | 135 uint32_t blksize, in benchmark() argument 139 printf("%11u ", (unsigned int) blksize); fflush(stdout); in benchmark() 147 const void *data = &base[random % (poolsize - blksize)]; in benchmark() 148 SINK = CKSUM_FP(data, blksize); in benchmark() 156 uint64_t accbytes = (uint64_t) numops * blksize; in benchmark() 160 if (blksize != 0) in benchmark() 162 unsigned int cyc_per_byte = 1000 * cyc_per_blk / blksize; in benchmark() 186 int blksize = atoi(optarg); in main() local 187 if (blksize < 1 || blksize > POOLSIZE / 2) in main() 189 fprintf(stderr, "Invalid block size %d\n", blksize); in main() [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/libc/AOR_v20.02/networking/test/ |
H A D | chksum.c | 135 uint32_t blksize, in benchmark() argument 139 printf("%11u ", (unsigned int) blksize); fflush(stdout); in benchmark() 147 const void *data = &base[random % (poolsize - blksize)]; in benchmark() 148 SINK = CKSUM_FP(data, blksize); in benchmark() 156 uint64_t accbytes = (uint64_t) numops * blksize; in benchmark() 160 if (blksize != 0) in benchmark() 162 unsigned int cyc_per_byte = 1000 * cyc_per_blk / blksize; in benchmark() 186 int blksize = atoi(optarg); in main() local 187 if (blksize < 1 || blksize > POOLSIZE / 2) in main() 189 fprintf(stderr, "Invalid block size %d\n", blksize); in main() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/libc/AOR_v20.02/networking/test/ |
H A D | chksum.c | 135 uint32_t blksize, in benchmark() argument 139 printf("%11u ", (unsigned int) blksize); fflush(stdout); in benchmark() 147 const void *data = &base[random % (poolsize - blksize)]; in benchmark() 148 SINK = CKSUM_FP(data, blksize); in benchmark() 156 uint64_t accbytes = (uint64_t) numops * blksize; in benchmark() 160 if (blksize != 0) in benchmark() 162 unsigned int cyc_per_byte = 1000 * cyc_per_blk / blksize; in benchmark() 186 int blksize = atoi(optarg); in main() local 187 if (blksize < 1 || blksize > POOLSIZE / 2) in main() 189 fprintf(stderr, "Invalid block size %d\n", blksize); in main() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/libc/AOR_v20.02/networking/test/ |
H A D | chksum.c | 135 uint32_t blksize, in benchmark() argument 139 printf("%11u ", (unsigned int) blksize); fflush(stdout); in benchmark() 147 const void *data = &base[random % (poolsize - blksize)]; in benchmark() 148 SINK = CKSUM_FP(data, blksize); in benchmark() 156 uint64_t accbytes = (uint64_t) numops * blksize; in benchmark() 160 if (blksize != 0) in benchmark() 162 unsigned int cyc_per_byte = 1000 * cyc_per_blk / blksize; in benchmark() 186 int blksize = atoi(optarg); in main() local 187 if (blksize < 1 || blksize > POOLSIZE / 2) in main() 189 fprintf(stderr, "Invalid block size %d\n", blksize); in main() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/libc/AOR_v20.02/networking/test/ |
H A D | chksum.c | 135 uint32_t blksize, in benchmark() argument 139 printf("%11u ", (unsigned int) blksize); fflush(stdout); in benchmark() 147 const void *data = &base[random % (poolsize - blksize)]; in benchmark() 148 SINK = CKSUM_FP(data, blksize); in benchmark() 156 uint64_t accbytes = (uint64_t) numops * blksize; in benchmark() 160 if (blksize != 0) in benchmark() 162 unsigned int cyc_per_byte = 1000 * cyc_per_blk / blksize; in benchmark() 186 int blksize = atoi(optarg); in main() local 187 if (blksize < 1 || blksize > POOLSIZE / 2) in main() 189 fprintf(stderr, "Invalid block size %d\n", blksize); in main() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/libc/AOR_v20.02/networking/test/ |
H A D | chksum.c | 135 uint32_t blksize, in benchmark() argument 139 printf("%11u ", (unsigned int) blksize); fflush(stdout); in benchmark() 147 const void *data = &base[random % (poolsize - blksize)]; in benchmark() 148 SINK = CKSUM_FP(data, blksize); in benchmark() 156 uint64_t accbytes = (uint64_t) numops * blksize; in benchmark() 160 if (blksize != 0) in benchmark() 162 unsigned int cyc_per_byte = 1000 * cyc_per_blk / blksize; in benchmark() 186 int blksize = atoi(optarg); in main() local 187 if (blksize < 1 || blksize > POOLSIZE / 2) in main() 189 fprintf(stderr, "Invalid block size %d\n", blksize); in main() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/libc/AOR_v20.02/networking/test/ |
H A D | chksum.c | 135 uint32_t blksize, in benchmark() argument 139 printf("%11u ", (unsigned int) blksize); fflush(stdout); in benchmark() 147 const void *data = &base[random % (poolsize - blksize)]; in benchmark() 148 SINK = CKSUM_FP(data, blksize); in benchmark() 156 uint64_t accbytes = (uint64_t) numops * blksize; in benchmark() 160 if (blksize != 0) in benchmark() 162 unsigned int cyc_per_byte = 1000 * cyc_per_blk / blksize; in benchmark() 186 int blksize = atoi(optarg); in main() local 187 if (blksize < 1 || blksize > POOLSIZE / 2) in main() 189 fprintf(stderr, "Invalid block size %d\n", blksize); in main() [all …]
|
/dports/math/vtk6/VTK-6.2.0/ThirdParty/mpi4py/vtkmpi4py/src/ |
H A D | fallback.h | 329 blksize = darg; in PyMPI_Type_block() 330 PyMPI_CHKARG(blksize > 0); in PyMPI_Type_block() 358 *offset = blksize * rank; in PyMPI_Type_block() 386 blksize = 1; in PyMPI_Type_cyclic() 388 blksize = darg; in PyMPI_Type_cyclic() 389 PyMPI_CHKARG(blksize > 0); in PyMPI_Type_cyclic() 391 st_index = rank*blksize; in PyMPI_Type_cyclic() 397 local_size = ((end_index - st_index + 1)/(nprocs*blksize))*blksize; in PyMPI_Type_cyclic() 402 count = local_size/blksize; in PyMPI_Type_cyclic() 403 rem = local_size % blksize; in PyMPI_Type_cyclic() [all …]
|
/dports/net/mpich/mpich-3.4.3/src/mpi/romio/adio/ad_gpfs/ |
H A D | ad_gpfs_aggrs.c | 201 blksize_t blksize; in ADIOI_GPFS_Calc_file_domains() local 211 if (fd->blksize <= 0) in ADIOI_GPFS_Calc_file_domains() 213 fd->blksize = 1048576; in ADIOI_GPFS_Calc_file_domains() 214 blksize = fd->blksize; in ADIOI_GPFS_Calc_file_domains() 233 ADIO_Offset gpfs_ub = (max_end_offset + blksize - 1) / blksize * blksize - 1; in ADIOI_GPFS_Calc_file_domains() 234 ADIO_Offset gpfs_lb = min_st_offset / blksize * blksize; in ADIOI_GPFS_Calc_file_domains() 236 (max_end_offset + blksize - 1) / blksize * blksize - 1 - max_end_offset; in ADIOI_GPFS_Calc_file_domains() 237 ADIO_Offset gpfs_lb_rdoff = min_st_offset - min_st_offset / blksize * blksize; in ADIOI_GPFS_Calc_file_domains() 298 fd_size[i] = nb_cn_small * blksize; in ADIOI_GPFS_Calc_file_domains() 369 fd_size[i] = nb_cn_small * blksize; in ADIOI_GPFS_Calc_file_domains() [all …]
|
/dports/math/octave/octave-6.4.0/liboctave/wrappers/ |
H A D | stat-wrappers.c | 79 long *blksize, long *blocks) in assign_stat_fields() argument 99 *blksize = buf->st_blksize; in assign_stat_fields() 101 *blksize = 0; in assign_stat_fields() 116 long *blksize, long *blocks) in octave_stat_wrapper() argument 129 atime, mtime, ctime, rdev, blksize, blocks); in octave_stat_wrapper() 139 long *blksize, long *blocks) in octave_lstat_wrapper() argument 153 atime, mtime, ctime, rdev, blksize, blocks); in octave_lstat_wrapper() 163 long *blksize, long *blocks) in octave_fstat_wrapper() argument 170 atime, mtime, ctime, rdev, blksize, blocks); in octave_fstat_wrapper()
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/heifutils/libde265/ |
H A D | util.cc | 181 void printBlk(const char* title, const int16_t* data, int blksize, int stride, in printBlk() argument 186 for (int y=0;y<blksize;y++) { in printBlk() 189 for (int x=0;x<blksize;x++) { in printBlk() 199 void printBlk(const char* title, const int32_t* data, int blksize, int stride, in printBlk() argument 204 for (int y=0;y<blksize;y++) { in printBlk() 207 for (int x=0;x<blksize;x++) { in printBlk() 217 void printBlk(const char* title, const uint8_t* data, int blksize, int stride, in printBlk() argument 222 for (int y=0;y<blksize;y++) { in printBlk() 225 for (int x=0;x<blksize;x++) { in printBlk()
|
/dports/games/warmux/warmux-11.04/build/symbian/lib/curl/lib/ |
H A D | tftp.c | 153 size_t blksize; member 341 state->blksize = TFTP_BLKSIZE_DEFAULT; in tftp_parse_option_ack() 355 int blksize; in tftp_parse_option_ack() local 359 if(!blksize) { in tftp_parse_option_ack() 382 state->blksize = blksize; in tftp_parse_option_ack() 483 state->blksize, in tftp_send_first() 833 int blksize, rc; in tftp_connect() local 835 blksize = TFTP_BLKSIZE_DEFAULT; in tftp_connect() 848 if(blksize > TFTP_BLKSIZE_MAX || blksize < TFTP_BLKSIZE_MIN ) in tftp_connect() 872 state->blksize = TFTP_BLKSIZE_DEFAULT; in tftp_connect() [all …]
|
/dports/mail/vpopmail/vpopmail-5.4.33/ |
H A D | seek.c | 45 int blksize; local 63 blksize = MAXBSIZE; 65 blksize = vmin(MAXBSIZE, st.st_blksize); 67 blksize = BUFSIZ; 69 while ((n = fread(buf, 1, blksize, f)) > 0) {
|
/dports/science/py-pyscf/pyscf-2.0.1/pyscf/cc/ |
H A D | uintermediates.py | 100 for p0,p1 in lib.prange(0, nocca, blksize): 112 for p0, p1 in lib.prange(0, noccb, blksize): 125 for p0,p1 in lib.prange(0, nocca, blksize): 137 for p0, p1 in lib.prange(0, noccb, blksize): 264 for p0,p1 in lib.prange(0, nocca, blksize): 274 for p0, p1 in lib.prange(0, noccb, blksize): 287 for p0,p1 in lib.prange(0, nocca, blksize): 300 for p0, p1 in lib.prange(0, noccb, blksize): 424 for p0,p1 in lib.prange(0, nocca, blksize): 449 for p0,p1 in lib.prange(0, nocca, blksize): [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/ipxe/src/arch/x86/interface/pxe/ |
H A D | pxe_tftp.c | 62 size_t blksize; member 88 return pxe_tftp->blksize; in pxe_tftp_xfer_window() 172 UINT8_t *filename, UINT16_t blksize ) { in pxe_tftp_open() argument 183 if ( blksize < TFTP_DEFAULT_BLKSIZE ) in pxe_tftp_open() 184 blksize = TFTP_DEFAULT_BLKSIZE; in pxe_tftp_open() 185 pxe_tftp.blksize = blksize; in pxe_tftp_open() 276 pxe_tftp.blksize = xfer_window ( &pxe_tftp.xfer ); in pxenv_tftp_open() 277 tftp_open->PacketSize = pxe_tftp.blksize; in pxenv_tftp_open() 383 pxe_tftp.size = pxe_tftp.blksize; in pxenv_tftp_read()
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/ipxe/src/arch/x86/interface/pxe/ |
H A D | pxe_tftp.c | 62 size_t blksize; member 88 return pxe_tftp->blksize; in pxe_tftp_xfer_window() 172 UINT8_t *filename, UINT16_t blksize ) { in pxe_tftp_open() argument 183 if ( blksize < TFTP_DEFAULT_BLKSIZE ) in pxe_tftp_open() 184 blksize = TFTP_DEFAULT_BLKSIZE; in pxe_tftp_open() 185 pxe_tftp.blksize = blksize; in pxe_tftp_open() 276 pxe_tftp.blksize = xfer_window ( &pxe_tftp.xfer ); in pxenv_tftp_open() 277 tftp_open->PacketSize = pxe_tftp.blksize; in pxenv_tftp_open() 383 pxe_tftp.size = pxe_tftp.blksize; in pxenv_tftp_read()
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/ipxe/src/arch/x86/interface/pxe/ |
H A D | pxe_tftp.c | 62 size_t blksize; member 88 return pxe_tftp->blksize; in pxe_tftp_xfer_window() 172 UINT8_t *filename, UINT16_t blksize ) { in pxe_tftp_open() argument 183 if ( blksize < TFTP_DEFAULT_BLKSIZE ) in pxe_tftp_open() 184 blksize = TFTP_DEFAULT_BLKSIZE; in pxe_tftp_open() 185 pxe_tftp.blksize = blksize; in pxe_tftp_open() 276 pxe_tftp.blksize = xfer_window ( &pxe_tftp.xfer ); in pxenv_tftp_open() 277 tftp_open->PacketSize = pxe_tftp.blksize; in pxenv_tftp_open() 383 pxe_tftp.size = pxe_tftp.blksize; in pxenv_tftp_read()
|
/dports/devel/upp/upp/bazaar/Urr/ |
H A D | Server.cpp | 14 blksize = 63000; in Reset() 83 Buffer<char> buffer(20 + r.blksize); in SendBack() 86 if(data.GetCount() <= r.blksize) { in SendBack() 95 int pos = part * r.blksize; in SendBack() 97 if(pos + r.blksize >= data.GetCount()) { in SendBack() 102 l = r.blksize; in SendBack() 145 Buffer<char> buffer(blksize); in Accept() 149 int q = Rcv(srvskt, ~buffer, blksize, Null, r.adr, &r.adrsz); in Accept() 168 r.blksize = max(min(Peek16le(b + 2), blksize), 512) - 20; in Accept()
|
/dports/emulators/qemu5/qemu-5.2.0/roms/ipxe/src/arch/x86/interface/pxe/ |
H A D | pxe_tftp.c | 62 size_t blksize; member 88 return pxe_tftp->blksize; in pxe_tftp_xfer_window() 172 UINT8_t *filename, UINT16_t blksize ) { in pxe_tftp_open() argument 183 if ( blksize < TFTP_DEFAULT_BLKSIZE ) in pxe_tftp_open() 184 blksize = TFTP_DEFAULT_BLKSIZE; in pxe_tftp_open() 185 pxe_tftp.blksize = blksize; in pxe_tftp_open() 276 pxe_tftp.blksize = xfer_window ( &pxe_tftp.xfer ); in pxenv_tftp_open() 277 tftp_open->PacketSize = pxe_tftp.blksize; in pxenv_tftp_open() 383 pxe_tftp.size = pxe_tftp.blksize; in pxenv_tftp_read()
|