Searched refs:amount (Results 26 - 50 of 74) sorted by relevance

123

/freebsd-13-stable/sys/dev/drm2/ttm/
H A Dttm_memory.c330 uint64_t amount)
340 zone->used_mem -= amount;
346 uint64_t amount)
348 return ttm_mem_global_free_zone(glob, NULL, amount);
353 uint64_t amount, bool reserve)
378 zone->used_mem += amount;
328 ttm_mem_global_free_zone(struct ttm_mem_global *glob, struct ttm_mem_zone *single_zone, uint64_t amount) argument
345 ttm_mem_global_free(struct ttm_mem_global *glob, uint64_t amount) argument
351 ttm_mem_global_reserve(struct ttm_mem_global *glob, struct ttm_mem_zone *single_zone, uint64_t amount, bool reserve) argument
/freebsd-13-stable/sys/dev/beri/
H A Dberi_ring.c271 int amount; local
285 amount = uio->uio_resid;
292 if (amount <= count) {
293 uiomove(dst + *ptr, amount, uio);
296 uiomove(dst, (amount - count), uio);
299 *ptr = (*ptr + amount) % sc->data_size;
/freebsd-13-stable/usr.bin/last/
H A Dlast.c264 static unsigned int amount = 0; local
276 if (amount % 128 == 0) {
277 buf = realloc(buf, (amount + 128) * sizeof *ut);
281 memcpy(&buf[amount++], ut, sizeof *ut);
289 while (amount > 0)
290 doentry(&buf[--amount]);
/freebsd-13-stable/sys/arm/ti/
H A Dti_i2c.c198 int amount, done, i; local
201 amount = 0;
242 amount = sc->sc_buffer->len - sc->sc_buffer_pos;
250 amount = min(sc->sc_fifo_trsh,
255 for (i = 0; i < amount; i++)
269 * the set threshold and the amount of data still to
278 amount = sc->sc_buffer->len - sc->sc_buffer_pos;
286 amount = min(sc->sc_fifo_trsh,
291 for (i = 0; i < amount; i++)
/freebsd-13-stable/usr.bin/tftp/
H A Dtftp.c164 if (tftp_stats.amount > 0)
271 if (tftp_stats.amount > 0)
/freebsd-13-stable/lib/libc/mips/string/
H A Dbzero.S57 blt a1, 3*SZREG, smallclr # small amount to clear?
/freebsd-13-stable/bin/sh/
H A Dmknodes.c378 indent(int amount, FILE *fp) argument
380 while (amount >= 8) {
382 amount -= 8;
384 while (--amount >= 0) {
H A Dexpand.c540 int amount; local
542 amount = ((str - 1) - (loc - startp)) - expdest;
543 STADJUST(amount, expdest);
556 int amount; local
594 amount = loc - expdest;
595 STADJUST(amount, expdest);
605 amount = loc - expdest;
606 STADJUST(amount, expdest);
616 amount = (expdest - stackblock() - strloc) + 1;
617 STADJUST(-amount, expdes
628 int amount; local
[all...]
H A Dshow.c260 indent(int amount, char *pfx, FILE *fp) argument
264 for (i = 0 ; i < amount ; i++) {
265 if (pfx && i == amount - 1)
/freebsd-13-stable/usr.bin/gzip/
H A Dunxz.c195 const size_t amount = read(fd, buf, size); local
196 if (amount == SIZE_MAX)
199 if (amount != size) {
229 /// Total amount of Stream Padding
/freebsd-13-stable/contrib/llvm-project/lldb/source/Utility/
H A DStream.cpp168 void Stream::IndentMore(unsigned amount) { m_indent_level += amount; } argument
171 void Stream::IndentLess(unsigned amount) { argument
172 if (m_indent_level >= amount)
173 m_indent_level -= amount;
/freebsd-13-stable/sys/isa/
H A Dpnp.c525 * Read 'amount' bytes of resources from the card, allocating memory
537 pnp_read_bytes(int amount, u_char **resourcesp, int *spacep, int *lenp) argument
551 if (len + amount > space) {
553 while (len + amount > space + extra)
566 if (pnp_get_resource_info(resources + len, amount) != amount)
568 len += amount;
/freebsd-13-stable/contrib/jemalloc/include/jemalloc/internal/
H A Demitter.h197 int amount = emitter->nesting_depth;
202 amount *= 2;
205 for (int i = 0; i < amount; i++) {
/freebsd-13-stable/sys/teken/
H A Dteken_subr.h91 teken_subr_do_scroll(const teken_t *t, int amount) argument
98 teken_assert(amount != 0);
101 if (amount > 0) {
105 if (t->t_scrollreg.ts_begin + amount < t->t_scrollreg.ts_end) {
106 tr.tr_begin.tp_row = t->t_scrollreg.ts_begin + amount;
114 tr.tr_begin.tp_row = t->t_scrollreg.ts_end - amount;
126 amount = -amount;
129 if (t->t_scrollreg.ts_begin + amount < t->t_scrollreg.ts_end) {
132 tr.tr_end.tp_row = t->t_scrollreg.ts_end - amount;
[all...]
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dfp_trunc_impl.inc106 // to get the shift amount for the denormalization.
112 // Right shift by the denormalization amount with sticky.
/freebsd-13-stable/sys/sys/
H A Drctl.h144 int rctl_enforce(struct proc *p, int resource, uint64_t amount);
/freebsd-13-stable/sys/kern/
H A Dkern_rctl.c357 * Return the amount of resource that can be allocated by 'p' before
377 * If the limit isn't exceeded, it decreases the usage amount to zero.
411 * if we changed the rule lowering the allowed amount, it could
493 * Check whether the proc 'p' can allocate 'amount' of 'resource' in addition
498 rctl_enforce(struct proc *p, int resource, uint64_t amount) argument
523 if (available >= (int64_t)amount) {
706 uint64_t amount = UINT64_MAX; local
721 if (rule->rr_amount < amount)
722 amount = rule->rr_amount;
725 return (amount);
1482 int64_t amount; local
1592 int64_t amount; local
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStream.h278 void IndentLess(unsigned amount = 2);
281 void IndentMore(unsigned amount = 2);
/freebsd-13-stable/contrib/apr/misc/unix/
H A Drandbyte_os2.inc18 * running at around 1.1MHz. The amount this changes in a time slice is
/freebsd-13-stable/stand/i386/btx/btxldr/
H A Dbtxldr.S81 call hexout # amount of
/freebsd-13-stable/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dabd_os.c57 * The amount of space wasted at the end of the last chunk across all
413 * Advance the iterator by a certain amount. Cannot be called when a chunk is
418 abd_iter_advance(struct abd_iter *aiter, size_t amount) argument
427 aiter->iter_pos += amount;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/Windows/
H A DDynamicLibrary.inc119 // to EnumProcessModulesEx that gets the amount of, then copies the HMODULES.
/freebsd-13-stable/usr.sbin/bhyve/
H A Dgdb.c319 io_buffer_advance(struct io_buffer *io, size_t amount) argument
322 assert(amount <= io->len);
323 io->start += amount;
324 io->len -= amount;
328 io_buffer_consume(struct io_buffer *io, size_t amount) argument
331 io_buffer_advance(io, amount);
/freebsd-13-stable/crypto/openssl/crypto/ec/curve448/
H A Dfield.h51 static INLINE_UNUSED void gf_bias(gf inout, int amount);
/freebsd-13-stable/libexec/tftpd/
H A Dtftpd.c824 (intmax_t)ts.amount, (intmax_t)time(NULL) - now);
856 (intmax_t)ts.amount, block, f);

Completed in 145 milliseconds

123