| /freebsd/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_fs_counters.c | 38 /* Max number of counters to query in bulk read is 32K */ 61 struct mlx5_fc_bulk *bulk; member 184 /* first id must be aligned to 4 when using bulk query */ in mlx5_fc_stats_query_counter_range() 194 mlx5_core_err(dev, "Error doing bulk query: %d\n", err); in mlx5_fc_stats_query_counter_range() 223 if (counter->bulk) in mlx5_fc_release() 245 "Can't increase flow counters bulk query buffer size, insufficient memory, bulk_size(%d)\n", in mlx5_fc_stats_bulk_query_size_increase() 258 "Flow counters bulk query buffer size increased, bulk_size(%d)\n", in mlx5_fc_stats_bulk_query_size_increase() 531 static void mlx5_fc_init(struct mlx5_fc *counter, struct mlx5_fc_bulk *bulk, in mlx5_fc_init() argument 534 counter->bulk = bulk; in mlx5_fc_init() 538 mlx5_fc_bulk_get_free_fcs_amount(struct mlx5_fc_bulk * bulk) mlx5_fc_bulk_get_free_fcs_amount() argument 546 struct mlx5_fc_bulk *bulk; mlx5_fc_bulk_create() local 586 mlx5_fc_bulk_destroy(struct mlx5_core_dev * dev,struct mlx5_fc_bulk * bulk) mlx5_fc_bulk_destroy() argument 600 mlx5_fc_bulk_acquire_fc(struct mlx5_fc_bulk * bulk) mlx5_fc_bulk_acquire_fc() argument 611 mlx5_fc_bulk_release_fc(struct mlx5_fc_bulk * bulk,struct mlx5_fc * fc) mlx5_fc_bulk_release_fc() argument 639 struct mlx5_fc_bulk *bulk; mlx5_fc_pool_cleanup() local 670 mlx5_fc_pool_free_bulk(struct mlx5_fc_pool * fc_pool,struct mlx5_fc_bulk * bulk) mlx5_fc_pool_free_bulk() argument 684 struct mlx5_fc_bulk *bulk; mlx5_fc_pool_acquire_from_list() local 732 struct mlx5_fc_bulk *bulk = fc->bulk; mlx5_fc_pool_release_counter() local [all...] |
| /freebsd/crypto/openssl/providers/implementations/ciphers/ |
| H A D | cipher_aes_gcm_hw.c | 67 size_t bulk = 0; in generic_aes_gcm_cipher_update() local 75 bulk = AES_gcm_encrypt(in + res, out + res, len - res, in generic_aes_gcm_cipher_update() 79 ctx->gcm.len.u[1] += bulk; in generic_aes_gcm_cipher_update() 80 bulk += res; in generic_aes_gcm_cipher_update() 82 if (CRYPTO_gcm128_encrypt_ctr32(&ctx->gcm, in + bulk, out + bulk, in generic_aes_gcm_cipher_update() 83 len - bulk, ctx->ctr)) in generic_aes_gcm_cipher_update() 96 size_t bulk = 0; in generic_aes_gcm_cipher_update() local 104 bulk = AES_gcm_decrypt(in + res, out + res, len - res, in generic_aes_gcm_cipher_update() 108 ctx->gcm.len.u[1] += bulk; in generic_aes_gcm_cipher_update() 109 bulk += res; in generic_aes_gcm_cipher_update() [all …]
|
| H A D | cipher_aes_gcm_hw_ppc.inc | 92 size_t bulk = 0; 100 bulk = ppc_aes_gcm_crypt(in + res, out + res, len - res, 104 ctx->gcm.len.u[1] += bulk; 105 bulk += res; 107 if (CRYPTO_gcm128_encrypt_ctr32(&ctx->gcm, in + bulk, out + bulk, 108 len - bulk, ctx->ctr)) 116 size_t bulk = 0; 124 bulk = ppc_aes_gcm_crypt(in + res, out + res, len - res, 128 ctx->gcm.len.u[1] += bulk; 129 bulk += res; [all …]
|
| /freebsd/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_environment.cpp | 244 char *bulk = NULL; in ___kmp_env_blk_parse_string() local 250 bulk = __kmp_str_format("%s", env); in ___kmp_env_blk_parse_string() 255 char const *ptr = bulk; in ___kmp_env_blk_parse_string() 275 var = __kmp_str_token(bulk, str_delimiter, &buf); // Get the first var. in ___kmp_env_blk_parse_string() 289 block->bulk = bulk; in ___kmp_env_blk_parse_string() 310 char *bulk = NULL; in ___kmp_env_blk_parse_windows() local 313 int size = 0; // Size of bulk. in ___kmp_env_blk_parse_windows() 340 // Copy original block to bulk, we will modify bulk, no in ___kmp_env_blk_parse_windows() 384 char *bulk = NULL; ___kmp_env_blk_parse_unix() local 430 __kmp_env_blk_init(kmp_env_blk_t * block,char const * bulk) __kmp_env_blk_init() argument [all...] |
| H A D | kmp_str.cpp | 51 * For performance reasons, buffer uses stack memory (buffer.bulk) first. If 62 KMP_DEBUG_ASSERT((b)->size >= sizeof((b)->bulk)); \ 63 KMP_DEBUG_ASSERT((b)->size % sizeof((b)->bulk) == 0); \ 66 (b)->size == sizeof((b)->bulk) ? (b)->str == &(b)->bulk[0] : 1); \ 67 KMP_DEBUG_ASSERT((b)->size > sizeof((b)->bulk) ? (b)->str != &(b)->bulk[0] \ 91 if (buffer->str == &buffer->bulk[0]) { in __kmp_str_buf_reserve() 96 KMP_MEMCPY_S(buffer->str, buffer->size, buffer->bulk, buffer->used + 1); in __kmp_str_buf_reserve() 113 // If internal bulk i in __kmp_str_buf_detach() [all...] |
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | sa.c | 319 * Operates on bulk array, first failure will abort further processing 322 sa_attr_op(sa_handle_t *hdl, sa_bulk_attr_t *bulk, int count, in sa_attr_op() argument 334 ASSERT(bulk[i].sa_attr <= hdl->sa_os->os_sa->sa_num_attrs); in sa_attr_op() 336 bulk[i].sa_addr = NULL; in sa_attr_op() 340 hdl->sa_bonus_tab->sa_idx_tab[bulk[i].sa_attr])) { in sa_attr_op() 343 bulk[i].sa_attr, bulk[i], SA_BONUS, hdl); in sa_attr_op() 349 if (bulk[i].sa_addr == NULL && in sa_attr_op() 352 hdl->sa_spill_tab->sa_idx_tab[bulk[i].sa_attr])) { in sa_attr_op() 355 bulk[i].sa_attr, bulk[i], SA_SPILL, hdl); in sa_attr_op() 357 bulk[i].sa_size == bulk[i].sa_length) { in sa_attr_op() [all …]
|
| H A D | zfs_sa.c | 273 sa_bulk_attr_t bulk[2]; in zfs_sa_set_xattr() local 281 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_DXATTR(zfsvfs), in zfs_sa_set_xattr() 283 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_CTIME(zfsvfs), in zfs_sa_set_xattr() 285 VERIFY0(sa_bulk_update(zp->z_sa_hdl, bulk, count, tx)); in zfs_sa_set_xattr() 312 sa_bulk_attr_t *bulk, *sa_attrs; in zfs_sa_upgrade() local 346 /* First do a bulk query of the attributes that aren't cached */ in zfs_sa_upgrade() 347 bulk = kmem_alloc(sizeof (sa_bulk_attr_t) * ZPL_END, KM_SLEEP); in zfs_sa_upgrade() 348 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_ATIME(zfsvfs), NULL, &atime, 16); in zfs_sa_upgrade() 349 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_MTIME(zfsvfs), NULL, &mtime, 16); in zfs_sa_upgrade() 350 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_CTIME(zfsvfs), NULL, &ctime, 16); in zfs_sa_upgrade() [all …]
|
| H A D | zfs_znode.c | 106 sa_bulk_attr_t bulk[3]; in zfs_obj_to_pobj() local 112 SA_ADD_BULK_ATTR(bulk, count, sa_table[ZPL_PARENT], NULL, in zfs_obj_to_pobj() 114 SA_ADD_BULK_ATTR(bulk, count, sa_table[ZPL_FLAGS], NULL, in zfs_obj_to_pobj() 116 SA_ADD_BULK_ATTR(bulk, count, sa_table[ZPL_MODE], NULL, in zfs_obj_to_pobj() 119 if ((error = sa_bulk_lookup(hdl, bulk, count)) != 0) in zfs_obj_to_pobj() 158 sa_bulk_attr_t bulk[4]; in zfs_obj_to_stats_impl() local 161 SA_ADD_BULK_ATTR(bulk, count, sa_table[ZPL_MODE], NULL, in zfs_obj_to_stats_impl() 163 SA_ADD_BULK_ATTR(bulk, count, sa_table[ZPL_GEN], NULL, in zfs_obj_to_stats_impl() 165 SA_ADD_BULK_ATTR(bulk, count, sa_table[ZPL_LINKS], NULL, in zfs_obj_to_stats_impl() 167 SA_ADD_BULK_ATTR(bulk, count, sa_table[ZPL_CTIME], NULL, in zfs_obj_to_stats_impl() [all …]
|
| /freebsd/share/examples/libusb20/ |
| H A D | Makefile | 3 TARGETS= bulk control 8 bulk: bulk.o util.o target 9 $(CC) $(CFLAGS) -o bulk bulk.o util.o -lusb
|
| H A D | bulk.c | 16 * Issues a bulk output, and then requests a bulk input. 22 * ./bulk 25 * ./bulk -o 2 -i 0x82 -v 0x03eb -p 0x2103 0x1b 0 0 1 0 0 0 0x0e 1 0xf3 0x97 31 …* ./bulk -v 0x5e3 -p 0x723 -i 0x81 -o 2 0x55 0x53 0x42 0x43 1 2 3 4 31 12 0x80 0x24 0 0 0 0x12 0 0… 70 * Open the device, allocating memory for two possible (bulk or in doit()
|
| /freebsd/sys/contrib/vchiq/interface/vchi/ |
| H A D | vchi_cfg.h | 42 /* Required alignment of base addresses for bulk transfer, if unaligned transfers are not enabled */ 52 /* Required length multiple for bulk transfers, if unaligned transfers are not enabled */ 66 …ne VCHI_MAX_MSG_SIZE 16384 // makes file transfers fast, but should they be using bulk? 136 /* A size below which a bulk transfer omits the handshake completely and always goes 137 * via the message channel, if bulk auxiliary is being sent on that service. (The user 144 /* Maximum size of bulk transmission chunks, for each interface type. A trade-off between 146 * bulk transmissions getting in when big bulk transfers are happening. Set to 0 to not 179 /* How many bulk transmits can we have pending. Once exhausted, vchi_bulk_queue_transmit 185 /* How many bulk receives can we have pending. Once exhausted, vchi_bulk_queue_receive 191 /* A limit on how many outstanding bulk requests we expect the peer to give us. If [all …]
|
| /freebsd/sys/contrib/vchiq/interface/vchiq_arm/ |
| H A D | vchiq_core.c | 1168 /* Called by the slot handler - don't hold the bulk mutex */ 1183 VCHIQ_BULK_T *bulk = in notify_bulks() local 1185 int msgtype = (bulk->dir == VCHIQ_BULK_TRANSMIT) ? in notify_bulks() 1189 VCHIQ_ELEMENT_T element = { &bulk->actual, 4 }; in notify_bulks() 1190 /* Only reply to non-dummy bulk requests */ in notify_bulks() 1191 if (bulk->remote_data) { in notify_bulks() 1205 VCHIQ_BULK_T *bulk = in notify_bulks() local 1208 /* Only generate callbacks for non-dummy bulk in notify_bulks() 1210 if (bulk->data && service->instance) { in notify_bulks() 1211 if (bulk->actual != VCHIQ_BULK_ACTUAL_ABORTED) { in notify_bulks() [all …]
|
| H A D | vchiq_kern_lib.c | 411 VCHIQ_BULK_T *bulk = waiter->bulk_waiter.bulk; in vchiq_blocking_bulk_transfer() local 412 if (bulk) { in vchiq_blocking_bulk_transfer() 413 /* This thread has an outstanding bulk transfer. */ in vchiq_blocking_bulk_transfer() 414 if ((bulk->data != data) || in vchiq_blocking_bulk_transfer() 415 (bulk->size != size)) { in vchiq_blocking_bulk_transfer() 420 bulk->userdata = NULL; in vchiq_blocking_bulk_transfer() 439 !waiter->bulk_waiter.bulk) { in vchiq_blocking_bulk_transfer() 440 VCHIQ_BULK_T *bulk = waiter->bulk_waiter.bulk; in vchiq_blocking_bulk_transfer() local 441 if (bulk) { in vchiq_blocking_bulk_transfer() 445 bulk->userdata = NULL; in vchiq_blocking_bulk_transfer()
|
| H A D | vchiq_2835_arm.c | 273 vchiq_prepare_bulk_data(VCHIQ_BULK_T *bulk, VCHI_MEM_HANDLE_T memhandle, in vchiq_prepare_bulk_data() argument 291 bulk->handle = memhandle; in vchiq_prepare_bulk_data() 292 bulk->data = VCHIQ_ARM_ADDRESS(bi->pagelist); in vchiq_prepare_bulk_data() 296 bulk->remote_data = bi; in vchiq_prepare_bulk_data() 302 vchiq_complete_bulk(VCHIQ_BULK_T *bulk) in vchiq_complete_bulk() argument 304 if (bulk && bulk->remote_data && bulk->actual) in vchiq_complete_bulk() 305 free_pagelist((BULKINFO_T *)bulk->remote_data, bulk->actual); in vchiq_complete_bulk() 309 vchiq_transfer_bulk(VCHIQ_BULK_T *bulk) in vchiq_transfer_bulk() argument
|
| H A D | vchiq_core.h | 256 int local_insert; /* Where to insert the next local bulk */ 257 int remote_insert; /* Where to insert the next remote bulk (master) */ 258 int process; /* Bulk to transfer next */ 259 int remote_notify; /* Bulk to notify the remote client of next (mstr) */ 260 int remove; /* Bulk to notify the local client of, and remove, 494 /* Incremented when there are bulk transfers which cannot be processed 514 VCHIQ_BULK_T *bulk; member 628 vchiq_prepare_bulk_data(VCHIQ_BULK_T *bulk, 632 vchiq_transfer_bulk(VCHIQ_BULK_T *bulk); 635 vchiq_complete_bulk(VCHIQ_BULK_T *bulk);
|
| /freebsd/sys/dev/usb/serial/ |
| H A D | umcs.h | 109 #define MCS7840_DEV_REG_BI_FIFO_STAT1 0x32 /* Bulk-In FIFO Stat for Port 112 #define MCS7840_DEV_REG_BO_FIFO_STAT1 0x33 /* Bulk-out FIFO Stat for Port 115 #define MCS7840_DEV_REG_BI_FIFO_STAT2 0x34 /* Bulk-In FIFO Stat for Port 118 #define MCS7840_DEV_REG_BO_FIFO_STAT2 0x35 /* Bulk-out FIFO Stat for Port 121 #define MCS7840_DEV_REG_BI_FIFO_STAT3 0x36 /* Bulk-In FIFO Stat for Port 124 #define MCS7840_DEV_REG_BO_FIFO_STAT3 0x37 /* Bulk-out FIFO Stat for Port 127 #define MCS7840_DEV_REG_BI_FIFO_STAT4 0x38 /* Bulk-In FIFO Stat for Port 130 #define MCS7840_DEV_REG_BO_FIFO_STAT4 0x39 /* Bulk-out FIFO Stat for Port 144 * value for Bulk-Out for Port 147 * value for Bulk-Out and [all …]
|
| /freebsd/share/man/man4/ |
| H A D | ubtbcmfw.4 | 71 Only outgoing bulk transfers are supported on a bulk endpoint. 72 To perform I/O on a bulk endpoint, 75 All I/O operations on a bulk endpoint are unbuffered. 76 Outgoing bulk endpoint is always endpoint 2.
|
| /freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_dir.c | 587 sa_bulk_attr_t bulk[5]; in zfs_link_create() local 609 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_LINKS(zfsvfs), NULL, in zfs_link_create() 640 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_PARENT(zfsvfs), NULL, in zfs_link_create() 642 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_FLAGS(zfsvfs), NULL, in zfs_link_create() 646 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_CTIME(zfsvfs), NULL, in zfs_link_create() 651 error = sa_bulk_update(zp->z_sa_hdl, bulk, count, tx); in zfs_link_create() 657 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_SIZE(zfsvfs), NULL, in zfs_link_create() 659 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_LINKS(zfsvfs), NULL, in zfs_link_create() 661 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_MTIME(zfsvfs), NULL, in zfs_link_create() 663 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_CTIME(zfsvfs), NULL, in zfs_link_create() [all …]
|
| H A D | zfs_znode_os.c | 416 sa_bulk_attr_t bulk[9]; in zfs_znode_alloc() local 458 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_MODE(zfsvfs), NULL, &mode, 8); in zfs_znode_alloc() 459 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_GEN(zfsvfs), NULL, &zp->z_gen, 8); in zfs_znode_alloc() 460 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_SIZE(zfsvfs), NULL, in zfs_znode_alloc() 462 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_LINKS(zfsvfs), NULL, in zfs_znode_alloc() 464 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_FLAGS(zfsvfs), NULL, in zfs_znode_alloc() 466 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_PARENT(zfsvfs), NULL, &parent, 8); in zfs_znode_alloc() 467 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_ATIME(zfsvfs), NULL, in zfs_znode_alloc() 470 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_MTIME(zfsvfs), NULL, in zfs_znode_alloc() 472 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_CTIME(zfsvfs), NULL, in zfs_znode_alloc() [all …]
|
| /freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zfs_znode_os.c | 523 sa_bulk_attr_t bulk[12]; in zfs_znode_alloc() local 549 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_MODE(zfsvfs), NULL, &mode, 8); in zfs_znode_alloc() 550 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_GEN(zfsvfs), NULL, &tmp_gen, 8); in zfs_znode_alloc() 551 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_SIZE(zfsvfs), NULL, in zfs_znode_alloc() 553 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_LINKS(zfsvfs), NULL, &links, 8); in zfs_znode_alloc() 554 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_FLAGS(zfsvfs), NULL, in zfs_znode_alloc() 556 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_PARENT(zfsvfs), NULL, in zfs_znode_alloc() 558 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_UID(zfsvfs), NULL, &z_uid, 8); in zfs_znode_alloc() 559 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_GID(zfsvfs), NULL, &z_gid, 8); in zfs_znode_alloc() 560 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_ATIME(zfsvfs), NULL, &atime, 16); in zfs_znode_alloc() [all …]
|
| H A D | zfs_dir.c | 811 sa_bulk_attr_t bulk[5]; in zfs_link_create() local 832 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_LINKS(zfsvfs), in zfs_link_create() 863 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_PARENT(zfsvfs), NULL, in zfs_link_create() 865 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_FLAGS(zfsvfs), NULL, in zfs_link_create() 869 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_CTIME(zfsvfs), NULL, in zfs_link_create() 874 error = sa_bulk_update(zp->z_sa_hdl, bulk, count, tx); in zfs_link_create() 885 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_SIZE(zfsvfs), NULL, in zfs_link_create() 887 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_LINKS(zfsvfs), NULL, in zfs_link_create() 889 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_MTIME(zfsvfs), NULL, in zfs_link_create() 891 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_CTIME(zfsvfs), NULL, in zfs_link_create() [all …]
|
| /freebsd/usr.sbin/bluetooth/bcmfw/ |
| H A D | bcmfw.c | 162 int intr = -1, bulk = -1, fd = -1, error = -1, len; in bcmfw_load_firmware() local 172 /* Open bulk endpoint device */ in bcmfw_load_firmware() 174 if ((bulk = open(buf, O_WRONLY)) < 0) { in bcmfw_load_firmware() 200 len = write(bulk, buf, len); in bcmfw_load_firmware() 218 if (write(bulk, "#", 1) < 0) { in bcmfw_load_firmware() 255 len = write(bulk, buf, len); in bcmfw_load_firmware() 284 if (bulk != -1) in bcmfw_load_firmware() 285 close(bulk); in bcmfw_load_firmware()
|
| /freebsd/sys/contrib/vchiq/interface/vchi/connections/ |
| H A D | connection.h | 152 // Routine to transmit bulk data 175 // Callback to indicate that the other side has added a buffer to the rx bulk DMA FIFO 190 // Callback to indicate that bulk auxiliary messages have arrived 193 // Callback to indicate that bulk auxiliary messages have arrived 266 // Routine to transmit bulk data 281 // Callback to indicate that the other side has added a buffer to the rx bulk DMA FIFO 290 // Callback to indicate that bulk auxiliary messages have arrived 293 // Callback to indicate that a bulk auxiliary message has been transmitted
|
| /freebsd/sys/crypto/openssl/ |
| H A D | ossl_aes_gcm.c | 386 size_t bulk = 0, res; in gcm_encrypt_op() local 393 bulk = AES_gcm_encrypt(in + res, out + res, len - res, in gcm_encrypt_op() 395 ctx->gcm.len.u[1] += bulk; in gcm_encrypt_op() 396 bulk += res; in gcm_encrypt_op() 398 if ((error = gcm_encrypt_ctr32(ctx, in + bulk, out + bulk, in gcm_encrypt_op() 399 len - bulk)) != 0) in gcm_encrypt_op() 548 size_t bulk = 0, res; in gcm_decrypt_op() local 555 bulk = AES_gcm_decrypt(in + res, out + res, len - res, &ctx->aes_ks, in gcm_decrypt_op() 557 ctx->gcm.len.u[1] += bulk; in gcm_decrypt_op() 558 bulk += res; in gcm_decrypt_op() [all …]
|
| /freebsd/usr.sbin/diskinfo/ |
| H A D | diskinfo.c | 418 int bulk, i; in speeddisk() local 433 bulk = mediasize / (1024 * 1024); in speeddisk() 434 if (bulk > 100) in speeddisk() 435 bulk = 100; in speeddisk() 513 for (i = 0; i < bulk; i++) { in speeddisk() 516 TR(bulk * 1024); in speeddisk() 519 b0 = sectorcount / 2 - bulk * (1024*1024 / sectorsize) / 2 - 1; in speeddisk() 522 for (i = 0; i < bulk; i++) { in speeddisk() 525 TR(bulk * 1024); in speeddisk() 528 b0 = sectorcount - bulk * (1024*1024 / sectorsize) - 1; in speeddisk() [all …]
|