| /freebsd-9-stable/contrib/gcclibs/libcpp/ |
| D | charset.c | 101 size_t asize; member 467 outbytesleft = to->asize - to->len; in conversion_loop() 478 to->len = to->asize - outbytesleft; in conversion_loop() 488 to->asize += OUTBUF_BLOCK_SIZE; in conversion_loop() 489 to->text = XRESIZEVEC (uchar, to->text, to->asize); in conversion_loop() 490 outbuf = to->text + to->asize - outbytesleft; in conversion_loop() 538 if (to->len + flen > to->asize) in convert_no_conversion() 540 to->asize = to->len + flen; in convert_no_conversion() 541 to->text = XRESIZEVEC (uchar, to->text, to->asize); in convert_no_conversion() 566 outbytesleft = to->asize - to->len; in convert_using_iconv() [all …]
|
| D | pch.c | 377 size_t asize; member 390 if (nl->n_defs == nl->asize) in collect_ht_nodes() 392 nl->asize *= 2; in collect_ht_nodes() 393 nl->defs = XRESIZEVEC (cpp_hashnode *, nl->defs, nl->asize); in collect_ht_nodes() 497 nl.asize = 10; in cpp_valid_state() 498 nl.defs = XNEWVEC (cpp_hashnode *, nl.asize); in cpp_valid_state()
|
| /freebsd-9-stable/sys/dev/snc/ |
| D | dp83932subr.c | 589 size_t asize = 4 - (noffset & 3); in snc_nec16_copyfrombuf() local 592 bptr, asize); in snc_nec16_copyfrombuf() 593 bptr += asize; in snc_nec16_copyfrombuf() 594 noffset += asize; in snc_nec16_copyfrombuf() 595 size -= asize; in snc_nec16_copyfrombuf() 627 size_t asize = 4 - (noffset & 3); in snc_nec16_copytobuf() local 630 bptr, asize); in snc_nec16_copytobuf() 631 bptr += asize; in snc_nec16_copytobuf() 632 noffset += asize; in snc_nec16_copytobuf() 633 size -= asize; in snc_nec16_copytobuf() [all …]
|
| /freebsd-9-stable/usr.bin/sed/ |
| D | compile.c | 473 int asize, size; in compile_subst() local 484 asize = 2 * _POSIX2_LINE_MAX + 1; in compile_subst() 485 if ((text = malloc(asize)) == NULL) in compile_subst() 542 if (asize - size < _POSIX2_LINE_MAX + 1) { in compile_subst() 543 asize *= 2; in compile_subst() 544 if ((text = realloc(text, asize)) == NULL) in compile_subst() 738 int asize, esc_nl, size; in compile_text() local 742 asize = 2 * _POSIX2_LINE_MAX + 1; in compile_text() 743 if ((text = malloc(asize)) == NULL) in compile_text() 760 if (asize - size < _POSIX2_LINE_MAX + 1) { in compile_text() [all …]
|
| /freebsd-9-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| D | vdev_root.c | 57 vdev_root_open(vdev_t *vd, uint64_t *asize, uint64_t *max_asize, in vdev_root_open() argument 84 *asize = 0; in vdev_root_open()
|
| D | vdev_raidz.c | 461 uint64_t q, r, c, bc, col, acols, scols, coff, devidx, asize, tot; in vdev_raidz_map_alloc() local 511 asize = 0; in vdev_raidz_map_alloc() 535 asize += rm->rm_col[c].rc_size; in vdev_raidz_map_alloc() 538 ASSERT3U(asize, ==, tot << unit_shift); in vdev_raidz_map_alloc() 539 rm->rm_asize = roundup(asize, (nparity + 1) << unit_shift); in vdev_raidz_map_alloc() 541 ASSERT3U(rm->rm_asize - asize, ==, rm->rm_nskip << unit_shift); in vdev_raidz_map_alloc() 1484 vdev_raidz_open(vdev_t *vd, uint64_t *asize, uint64_t *max_asize, in vdev_raidz_open() argument 1512 *asize = MIN(*asize - 1, cvd->vdev_asize - 1) + 1; in vdev_raidz_open() 1519 *asize *= vd->vdev_children; in vdev_raidz_open() 1690 uint64_t asize; in vdev_raidz_asize() local [all …]
|
| D | dsl_dir.c | 1096 dsl_dir_tempreserve_impl(dsl_dir_t *dd, uint64_t asize, boolean_t netfree, in dsl_dir_tempreserve_impl() argument 1110 ASSERT3S(asize, >, 0); in dsl_dir_tempreserve_impl() 1133 asize, est_inflight, &used_on_disk, &ref_rsrv); in dsl_dir_tempreserve_impl() 1182 quota>>10, asize>>10, retval); in dsl_dir_tempreserve_impl() 1188 dd->dd_tempreserved[txgidx] += asize; in dsl_dir_tempreserve_impl() 1191 asize - ref_rsrv); in dsl_dir_tempreserve_impl() 1196 tr->tr_size = asize; in dsl_dir_tempreserve_impl() 1217 dsl_dir_tempreserve_space(dsl_dir_t *dd, uint64_t lsize, uint64_t asize, in dsl_dir_tempreserve_space() argument 1223 if (asize == 0) { in dsl_dir_tempreserve_space() 1231 ASSERT3S(asize, >, 0); in dsl_dir_tempreserve_space() [all …]
|
| D | metaslab.c | 1726 metaslab_group_alloc(metaslab_group_t *mg, uint64_t psize, uint64_t asize, in metaslab_group_alloc() argument 1750 if (msp->ms_weight < asize) { in metaslab_group_alloc() 1756 mg, msp, psize, asize, msp->ms_weight); in metaslab_group_alloc() 1794 if (msp->ms_weight < asize || (was_active && in metaslab_group_alloc() 1824 if ((offset = metaslab_block_alloc(msp, asize)) != -1ULL) in metaslab_group_alloc() 1834 range_tree_add(msp->ms_alloctree[txg & TXG_MASK], offset, asize); in metaslab_group_alloc() 1856 uint64_t asize; in metaslab_alloc_dva() local 1977 asize = vdev_psize_to_asize(vd, psize); in metaslab_alloc_dva() 1978 ASSERT(P2PHASE(asize, 1ULL << vd->vdev_ashift) == 0); in metaslab_alloc_dva() 1980 offset = metaslab_group_alloc(mg, psize, asize, txg, distance, in metaslab_alloc_dva() [all …]
|
| D | vdev_mirror.c | 134 vdev_mirror_open(vdev_t *vd, uint64_t *asize, uint64_t *max_asize, in vdev_mirror_open() argument 156 *asize = MIN(*asize - 1, cvd->vdev_asize - 1) + 1; in vdev_mirror_open()
|
| D | zio.c | 1819 uint64_t asize; in zio_write_gang_member_ready() local 1835 asize = DVA_GET_ASIZE(&pdva[d]); in zio_write_gang_member_ready() 1836 asize += DVA_GET_ASIZE(&cdva[d]); in zio_write_gang_member_ready() 1837 DVA_SET_ASIZE(&pdva[d], asize); in zio_write_gang_member_ready() 2552 uint64_t asize = P2ROUNDUP(zio->io_size, align); in zio_vdev_io_start() local 2556 abuf = zio_buf_alloc(asize); in zio_vdev_io_start() 2560 bzero(abuf + zio->io_size, asize - zio->io_size); in zio_vdev_io_start() 2562 zio_push_transform(zio, abuf, asize, abuf ? asize : 0, in zio_vdev_io_start() 3035 uint64_t asize = P2ROUNDUP(psize, align); in zio_done() local 3038 if (asize != psize) { in zio_done() [all …]
|
| D | vdev.c | 180 uint64_t asize = P2ROUNDUP(psize, 1ULL << vd->vdev_top->vdev_ashift); in vdev_default_asize() local 185 asize = MAX(asize, csize); in vdev_default_asize() 188 return (asize); in vdev_default_asize() 1204 uint64_t asize, max_asize, psize; in vdev_open() local 1309 asize = osize - (VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE); in vdev_open() 1320 asize = osize; in vdev_open() 1329 if (asize < vd->vdev_min_asize) { in vdev_open() 1351 vd->vdev_asize = asize; in vdev_open() 1371 if (vd->vdev_state == VDEV_STATE_HEALTHY && asize > vd->vdev_asize && in vdev_open() 1373 vd->vdev_asize = asize; in vdev_open()
|
| D | dmu_tx.c | 1087 uint64_t memory, asize, fsize, usize; in dmu_tx_try_assign() local 1164 asize = spa_get_asize(tx->tx_pool->dp_spa, towrite + tooverwrite); in dmu_tx_try_assign() 1178 tx->tx_space_towrite = asize + in dmu_tx_try_assign() 1185 if (tx->tx_dir && asize != 0) { in dmu_tx_try_assign() 1187 asize, fsize, usize, &tx->tx_tempreserve_cookie, tx); in dmu_tx_try_assign()
|
| D | spa_misc.c | 1678 uint64_t asize = DVA_GET_ASIZE(dva); in dva_get_dsize_sync() local 1679 uint64_t dsize = asize; in dva_get_dsize_sync() 1683 if (asize != 0 && spa->spa_deflate) { in dva_get_dsize_sync() 1685 dsize = (asize >> SPA_MINBLOCKSHIFT) * vd->vdev_deflate_ratio; in dva_get_dsize_sync()
|
| D | dsl_dataset.c | 969 uint64_t asize; in dsl_dataset_snapshot_reserve_space() local 980 asize = MIN(ds->ds_phys->ds_unique_bytes, ds->ds_reserved); in dsl_dataset_snapshot_reserve_space() 981 if (asize > dsl_dir_space_available(ds->ds_dir, NULL, 0, TRUE)) in dsl_dataset_snapshot_reserve_space() 988 if (asize > 0) in dsl_dataset_snapshot_reserve_space() 989 dsl_dir_willuse_space(ds->ds_dir, asize, tx); in dsl_dataset_snapshot_reserve_space() 2798 uint64_t asize, uint64_t inflight, uint64_t *used, uint64_t *ref_rsrv) in dsl_dataset_check_quota() argument 2802 ASSERT3S(asize, >, 0); in dsl_dataset_check_quota() 2819 asize - MIN(asize, parent_delta(ds, asize + inflight)); in dsl_dataset_check_quota()
|
| /freebsd-9-stable/lib/libc/rpc/ |
| D | clnt_bcast.c | 265 u_int asize; /* Size of the addr buf */ member 331 fdlist[fdlistno].asize = __rpc_get_a_size(si.si_af); 458 (size_t)fdlist[i].asize) != 483 (size_t)fdlist[i].asize) != 545 &fdlist[i].asize);
|
| /freebsd-9-stable/usr.sbin/rpc.ypupdated/ |
| D | ypupdated_main.c | 193 int asize = sizeof (saddr); in main() local 215 if (getsockname(0, (struct sockaddr *)&saddr, &asize) == 0) { in main()
|
| /freebsd-9-stable/usr.sbin/rpc.ypxfrd/ |
| D | ypxfrd_main.c | 200 int asize = sizeof (saddr); in main() local 216 if (getsockname(0, (struct sockaddr *)&saddr, &asize) == 0) { in main()
|
| /freebsd-9-stable/usr.sbin/rpc.yppasswdd/ |
| D | yppasswdd_main.c | 165 socklen_t asize = sizeof (saddr); in main() local 255 if (getsockname(0, (struct sockaddr *)&saddr, &asize) == 0) { in main()
|
| /freebsd-9-stable/contrib/gcc/ |
| D | tree-dfa.c | 969 tree asize = TYPE_SIZE (TREE_TYPE (TREE_OPERAND (exp, 0))); in get_ref_base_and_extent() local 974 && asize && host_integerp (asize, 1)) in get_ref_base_and_extent() 976 maxsize = (TREE_INT_CST_LOW (asize) in get_ref_base_and_extent()
|
| /freebsd-9-stable/sys/cddl/boot/zfs/ |
| D | zfssubr.c | 1110 uint64_t q, r, c, bc, col, acols, scols, coff, devidx, asize, tot; in vdev_raidz_map_alloc() local 1140 asize = 0; in vdev_raidz_map_alloc() 1163 asize += rm->rm_col[c].rc_size; in vdev_raidz_map_alloc() 1166 ASSERT3U(asize, ==, tot << unit_shift); in vdev_raidz_map_alloc() 1167 rm->rm_asize = roundup(asize, (nparity + 1) << unit_shift); in vdev_raidz_map_alloc() 1169 ASSERT3U(rm->rm_asize - asize, ==, rm->rm_nskip << unit_shift); in vdev_raidz_map_alloc()
|
| /freebsd-9-stable/sbin/dump/ |
| D | tape.c | 290 asize += tenths; in flushtape() 294 (blocksthisvol >= blocksperfile) : (asize > tsize))) { in flushtape() 635 asize = 0; in startnewtape()
|
| D | dump.h | 73 long asize; /* number of 0.1" units written on current tape */ variable
|
| /freebsd-9-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
| D | dsl_dir.h | 129 uint64_t asize, uint64_t fsize, uint64_t usize, void **tr_cookiep,
|
| D | dsl_dataset.h | 251 uint64_t asize, uint64_t inflight, uint64_t *used,
|
| /freebsd-9-stable/usr.sbin/bluetooth/hccontrol/ |
| D | host_controller_baseband.c | 69 hci_hexstring2array(char const *s, uint8_t *a, int asize) in hci_hexstring2array() argument 74 if (l > asize) in hci_hexstring2array() 75 l = asize; in hci_hexstring2array()
|