| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/ |
| H A D | ARMUtils.h | 92 if (amount == 0) { in LSL_C() 97 carry_out = amount <= 32 ? Bit32(value, 32 - amount) : 0; in LSL_C() 104 if (amount == 0) in LSL() 116 if (amount == 0) { in LSR_C() 121 carry_out = amount <= 32 ? Bit32(value, amount - 1) : 0; in LSR_C() 128 if (amount == 0) in LSR() 140 if (amount == 0 || amount > 32) { in ASR_C() 149 return UnsignedBits(extended, amount + 31, amount); in ASR_C() 159 if (amount == 0) in ASR() 171 if (amount == 0) { in ROR_C() [all …]
|
| /freebsd-12.1/sys/sys/ |
| H A D | racct.h | 176 int racct_add(struct proc *p, int resource, uint64_t amount); 178 void racct_add_force(struct proc *p, int resource, uint64_t amount); 180 int racct_set(struct proc *p, int resource, uint64_t amount); 182 void racct_sub(struct proc *p, int resource, uint64_t amount); 205 racct_add(struct proc *p, int resource, uint64_t amount) in racct_add() argument 212 racct_add_cred(struct ucred *cred, int resource, uint64_t amount) in racct_add_cred() argument 217 racct_add_force(struct proc *p, int resource, uint64_t amount) in racct_add_force() argument 222 racct_set(struct proc *p, int resource, uint64_t amount) in racct_set() argument 229 racct_set_force(struct proc *p, int resource, uint64_t amount) in racct_set_force() argument 234 racct_sub(struct proc *p, int resource, uint64_t amount) in racct_sub() argument [all …]
|
| /freebsd-12.1/sys/kern/ |
| H A D | kern_racct.c | 103 uint64_t amount); 105 uint64_t amount); 517 int64_t amount) in racct_adjust_resource() argument 524 racct->r_resources[resource] += amount; in racct_adjust_resource() 606 racct_add_locked(p, resource, amount, 1); in racct_add_force() 620 amount); in racct_add_cred_locked() 685 diff_proc = amount - old_amount; in racct_set_locked() 694 diff_cred = amount - decayed_amount; in racct_set_locked() 707 amount); in racct_set_locked() 754 racct_set_locked(p, resource, amount, 1); in racct_set_force() [all …]
|
| /freebsd-12.1/sys/dev/ed/ |
| H A D | if_ed_hpp.c | 425 uint16_t amount) in ed_hpp_readmem() argument 456 dst += (amount & ~3); in ed_hpp_readmem() 457 amount &= 3; in ed_hpp_readmem() 462 if (amount > 1) { in ed_hpp_readmem() 472 dst += (amount & ~1); in ed_hpp_readmem() 473 amount &= 1; in ed_hpp_readmem() 481 if (amount == 1) { in ed_hpp_readmem() 494 dst += (amount & ~3); in ed_hpp_readmem() 495 amount &= 3; in ed_hpp_readmem() 497 if (amount > 1) { in ed_hpp_readmem() [all …]
|
| H A D | if_ed.c | 1297 if (src + amount > sc->mem_end) { in ed_ring_copy() 1301 amount -= tmp_amount; in ed_ring_copy() 1305 sc->readmem(sc, src, dst, amount); in ed_ring_copy() 1372 uint16_t amount) in ed_shmem_readmem16() argument 1375 (amount + 1) / 2); in ed_shmem_readmem16() 1385 uint16_t amount) in ed_shmem_readmem8() argument 1399 uint16_t amount) in ed_pio_readmem() argument 1410 if (amount & 1) in ed_pio_readmem() 1411 ++amount; in ed_pio_readmem() 1414 ed_nic_outb(sc, ED_P0_RBCR0, amount); in ed_pio_readmem() [all …]
|
| /freebsd-12.1/contrib/xz/src/liblzma/lz/ |
| H A D | lz_encoder.h | 267 mf_skip(lzma_mf *mf, uint32_t amount) in mf_skip() argument 269 if (amount != 0) { in mf_skip() 270 mf->skip(mf, amount); in mf_skip() 271 mf->read_ahead += amount; in mf_skip() 313 extern void lzma_mf_hc3_skip(lzma_mf *dict, uint32_t amount); 316 extern void lzma_mf_hc4_skip(lzma_mf *dict, uint32_t amount); 319 extern void lzma_mf_bt2_skip(lzma_mf *dict, uint32_t amount); 322 extern void lzma_mf_bt3_skip(lzma_mf *dict, uint32_t amount); 325 extern void lzma_mf_bt4_skip(lzma_mf *dict, uint32_t amount);
|
| H A D | lz_encoder_mf.c | 338 lzma_mf_hc3_skip(lzma_mf *mf, uint32_t amount) in lzma_mf_hc3_skip() argument 359 } while (--amount != 0); in lzma_mf_hc3_skip() 417 lzma_mf_hc4_skip(lzma_mf *mf, uint32_t amount) in lzma_mf_hc4_skip() argument 439 } while (--amount != 0); in lzma_mf_hc4_skip() 601 lzma_mf_bt2_skip(lzma_mf *mf, uint32_t amount) in lzma_mf_bt2_skip() argument 613 } while (--amount != 0); in lzma_mf_bt2_skip() 653 lzma_mf_bt3_skip(lzma_mf *mf, uint32_t amount) in lzma_mf_bt3_skip() argument 668 } while (--amount != 0); in lzma_mf_bt3_skip() 726 lzma_mf_bt4_skip(lzma_mf *mf, uint32_t amount) in lzma_mf_bt4_skip() argument 742 } while (--amount != 0); in lzma_mf_bt4_skip()
|
| /freebsd-12.1/usr.bin/rctl/ |
| H A D | rctl.c | 133 amount = strsep(©, "/"); in expand_amount() 136 if (amount == NULL || strlen(amount) == 0) { in expand_amount() 154 if (expand_number(amount, &num)) { in expand_amount() 156 unexpanded_rule, amount); in expand_amount() 326 amount = strsep(©, "/"); in humanize_amount() 329 if (amount == NULL || strlen(amount) == 0 || in humanize_amount() 330 str2int64(amount, &num) != 0) { in humanize_amount() 466 const char *resource, *amount; in humanize_usage_amount() local 475 amount = copy; in humanize_usage_amount() 478 assert(amount != NULL); in humanize_usage_amount() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/UnwindAssembly/x86/ |
| H A D | x86AssemblyInspectionEngine.h | 104 bool sub_rsp_pattern_p(int &amount); 105 bool add_rsp_pattern_p(int &amount); 106 bool lea_rsp_pattern_p(int &amount); 107 bool lea_rbp_rsp_pattern_p(int &amount); 108 bool lea_rbx_rsp_pattern_p(int &amount);
|
| H A D | x86AssemblyInspectionEngine.cpp | 438 amount = (int8_t) * (p + 2); in sub_rsp_pattern_p() 443 amount = (int32_t)extract_4(p + 2); in sub_rsp_pattern_p() 456 amount = (int8_t) * (p + 2); in add_rsp_pattern_p() 461 amount = (int32_t)extract_4(p + 2); in add_rsp_pattern_p() 480 amount = (int8_t) * (p + 3); in lea_rsp_pattern_p() 486 amount = (int32_t)extract_4(p + 3); in lea_rsp_pattern_p() 507 amount = (int8_t)p[1]; in lea_rbp_rsp_pattern_p() 513 amount = (int32_t)extract_4(p + 1); in lea_rbp_rsp_pattern_p() 534 amount = (int8_t)p[1]; in lea_rbx_rsp_pattern_p() 540 amount = (int32_t)extract_4(p + 1); in lea_rbx_rsp_pattern_p() [all …]
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/cli_user/zfs_list/ |
| H A D | zfs_list_005_pos.ksh | 79 amount=$($ECHO $AMOUNT | $AWK '{print $1}') 80 log_must $ZFS set f:amount=$amount $basefs/$ds 82 log_must $ZFS set f:amount=$amount $basefs/${ds}-vol
|
| /freebsd-12.1/contrib/ncurses/ncurses/tinfo/ |
| H A D | doalloc.c | 45 _nc_doalloc(void *oldp, size_t amount) in NCURSES_EXPORT() 50 if ((newp = realloc(oldp, amount)) == 0) { in NCURSES_EXPORT() 55 newp = malloc(amount); in NCURSES_EXPORT()
|
| /freebsd-12.1/contrib/gcc/config/arm/ |
| H A D | aout.h | 245 register int amount = 1 << (POWER); \ 247 if (amount == 2) \ 249 else if (amount != 1) \ 250 fprintf (STREAM, "\t.align\t%d\n", amount - 4); \
|
| H A D | aof.h | 285 int amount = 1 << (POWER); \ 287 if (amount == 2) \ 289 else if (amount == 4) \ 292 fprintf ((STREAM), "\tALIGN %d\n", amount); \
|
| /freebsd-12.1/sys/arm64/arm64/ |
| H A D | disassem.c | 342 int shift, rm, rt, rd, rn, imm, sf, idx, option, scale, amount; in disasm() local 351 shift = rd = rm = rn = imm = idx = option = amount = scale = 0; in disasm() 487 amount = (insn >> ARM_INSN_SIZE_OFFSET) & in disasm() 492 di->di_printf(", uxtw #%d", amount); in disasm() 496 di->di_printf(", lsl #%d", amount); in disasm() 499 di->di_printf(", sxtw #%d", amount); in disasm() 502 di->di_printf(", sxts #%d", amount); in disasm()
|
| /freebsd-12.1/libexec/tftpd/ |
| H A D | tftp-transfer.c | 65 ts->amount = 0; in tftp_send() 117 ts->amount += size; in tftp_send() 168 ts->amount = 0; in tftp_receive() 172 ts->amount += writesize; in tftp_receive() 272 ts->amount += writesize; in tftp_receive()
|
| H A D | tftp-utils.c | 297 ts->amount = 0; in stats_init() 301 ts->amount = 0; in stats_init() 315 direction, ts->amount, delta, ts->blocks); in printstats() 322 printf(" [%.0f bits/sec]", (ts->amount*8.)/delta); in printstats()
|
| /freebsd-12.1/contrib/xz/src/xz/ |
| H A D | file_io.c | 1121 const ssize_t amount = read(pair->src_fd, buf, left); in io_read() local 1123 if (amount == 0) { in io_read() 1128 if (amount == -1) { in io_read() 1163 buf += (size_t)(amount); in io_read() 1164 left -= (size_t)(amount); in io_read() 1182 const size_t amount = io_read(pair, buf, size); in io_pread() local 1183 if (amount == SIZE_MAX) in io_pread() 1186 if (amount != size) { in io_pread() 1216 if (amount == -1) { in io_write_buf() 1252 buf += (size_t)(amount); in io_write_buf() [all …]
|
| /freebsd-12.1/contrib/unbound/sldns/ |
| H A D | sbuffer.c | 93 sldns_buffer_reserve(sldns_buffer *buffer, size_t amount) in sldns_buffer_reserve() argument 97 if (buffer->_capacity < buffer->_position + amount) { in sldns_buffer_reserve() 100 if (new_capacity < buffer->_position + amount) { in sldns_buffer_reserve() 101 new_capacity = buffer->_position + amount; in sldns_buffer_reserve()
|
| /freebsd-12.1/contrib/ldns/ |
| H A D | buffer.c | 79 ldns_buffer_reserve(ldns_buffer *buffer, size_t amount) in ldns_buffer_reserve() argument 83 if (buffer->_capacity < buffer->_position + amount) { in ldns_buffer_reserve() 86 if (new_capacity < buffer->_position + amount) { in ldns_buffer_reserve() 87 new_capacity = buffer->_position + amount; in ldns_buffer_reserve()
|
| /freebsd-12.1/crypto/openssl/crypto/ |
| H A D | threads_pthread.c | 163 int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock) in CRYPTO_atomic_add() argument 168 *ret = __atomic_add_fetch(val, amount, __ATOMIC_ACQ_REL); in CRYPTO_atomic_add() 175 *val += amount; in CRYPTO_atomic_add()
|
| /freebsd-12.1/sys/dev/drm2/ttm/ |
| H A D | ttm_memory.c | 330 uint64_t amount) in ttm_mem_global_free_zone() argument 340 zone->used_mem -= amount; in ttm_mem_global_free_zone() 346 uint64_t amount) in ttm_mem_global_free() argument 348 return ttm_mem_global_free_zone(glob, NULL, amount); in ttm_mem_global_free() 353 uint64_t amount, bool reserve) in ttm_mem_global_reserve() argument 378 zone->used_mem += amount; in ttm_mem_global_reserve()
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | standalone.c | 433 sbrk (int amount) in sbrk() argument 435 if (next_free + amount > memory_limit) in sbrk() 437 next_free += amount; in sbrk() 438 return next_free - amount; in sbrk()
|
| /freebsd-12.1/sys/arm/ti/ |
| H A D | ti_i2c.c | 200 int amount, done, i; in ti_i2c_transfer_intr() local 203 amount = 0; in ti_i2c_transfer_intr() 244 amount = sc->sc_buffer->len - sc->sc_buffer_pos; in ti_i2c_transfer_intr() 252 amount = min(sc->sc_fifo_trsh, in ti_i2c_transfer_intr() 257 for (i = 0; i < amount; i++) in ti_i2c_transfer_intr() 280 amount = sc->sc_buffer->len - sc->sc_buffer_pos; in ti_i2c_transfer_intr() 288 amount = min(sc->sc_fifo_trsh, in ti_i2c_transfer_intr() 293 for (i = 0; i < amount; i++) in ti_i2c_transfer_intr()
|
| /freebsd-12.1/sys/dev/beri/ |
| H A D | beri_ring.c | 271 int amount; in beri_rdwr() local 285 amount = uio->uio_resid; in beri_rdwr() 292 if (amount <= count) { in beri_rdwr() 293 uiomove(dst + *ptr, amount, uio); in beri_rdwr() 296 uiomove(dst, (amount - count), uio); in beri_rdwr() 299 *ptr = (*ptr + amount) % sc->data_size; in beri_rdwr()
|