/freebsd/share/man/man9/ |
H A D | mbuf.9 | 39 .Fn MGET "struct mbuf *mbuf" "int how" "short type" 40 .Fn MGETHDR "struct mbuf *mbuf" "int how" "short type" 42 .Fn MCLGET "struct mbuf *mbuf" "int how" 66 .Fn M_PREPEND "struct mbuf *mbuf" "int len" "int how" 73 .Fn m_get "int how" "short type" 75 .Fn m_get2 "int size" "int how" "short type" "int flags" 77 .Fn m_get3 "int size" "int how" "short type" "int flags" 79 .Fn m_getm "struct mbuf *orig" "int len" "int how" "short type" 81 .Fn m_getjcl "int how" "short type" "int flags" "int size" 83 .Fn m_getcl "int how" "short type" "int flags" [all …]
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | ratelim-internal.h | 35 /** A token bucket is an internal structure that tracks how many bytes we are 39 /** How many bytes are we willing to read or write right now? These 49 /** How many bytes are we willing to read on average per tick? */ 51 /** How many bytes are we willing to read at most in any one tick? */ 53 /** How many bytes are we willing to write on average per tick? */ 55 /** How many bytes are we willing to write at most in any one tick? */ 58 /* How long is a tick? Note that fractions of a millisecond are 62 /* How long is a tick, in milliseconds? Derived from tick_timeout. */
|
/freebsd/contrib/libevent/ |
H A D | ratelim-internal.h | 35 /** A token bucket is an internal structure that tracks how many bytes we are 39 /** How many bytes are we willing to read or write right now? These 49 /** How many bytes are we willing to read on average per tick? */ 51 /** How many bytes are we willing to read at most in any one tick? */ 53 /** How many bytes are we willing to write on average per tick? */ 55 /** How many bytes are we willing to write at most in any one tick? */ 58 /* How long is a tick? Note that fractions of a millisecond are 62 /* How long is a tick, in milliseconds? Derived from tick_timeout. */
|
/freebsd/sys/kern/ |
H A D | subr_memdesc.c | 341 vaddr_ext_mbuf(memdesc_alloc_ext_mbuf_t *ext_alloc, void *cb_arg, int how, in vaddr_ext_mbuf() argument 345 return (ext_alloc(cb_arg, how, buf, len)); in vaddr_ext_mbuf() 423 paddr_ext_mbuf(memdesc_alloc_extpg_mbuf_t *extpg_alloc, void *cb_arg, int how, in paddr_ext_mbuf() argument 442 m = tail = extpg_alloc(cb_arg, how); in paddr_ext_mbuf() 448 tail->m_next = extpg_alloc(cb_arg, how); in paddr_ext_mbuf() 470 vlist_ext_mbuf(memdesc_alloc_ext_mbuf_t *ext_alloc, void *cb_arg, int how, in vlist_ext_mbuf() argument 495 n = ext_alloc(cb_arg, how, (char *)(uintptr_t)vlist->ds_addr + in vlist_ext_mbuf() 521 plist_ext_mbuf(memdesc_alloc_extpg_mbuf_t *extpg_alloc, void *cb_arg, int how, in plist_ext_mbuf() argument 538 m = tail = extpg_alloc(cb_arg, how); in plist_ext_mbuf() 579 tail->m_next = extpg_alloc(cb_arg, how); in plist_ext_mbuf() [all …]
|
H A D | kern_mbuf.c | 640 mb_ctor_mbuf(void *mem, int size, void *arg, int how) in mb_ctor_mbuf() argument 662 error = m_init(m, how, type, flags); in mb_ctor_mbuf() 729 mb_ctor_clust(void *mem, int size, void *arg, int how) in mb_ctor_clust() argument 755 mb_zinit_pack(void *mem, int size, int how) in mb_zinit_pack() argument 760 if (uma_zalloc_arg(zone_clust, m, how) == NULL || in mb_zinit_pack() 765 trash_init(m->m_ext.ext_buf, MCLBYTES, how); in mb_zinit_pack() 793 mb_ctor_pack(void *mem, int size, void *arg, int how) in mb_ctor_pack() argument 807 trash_ctor(m->m_ext.ext_buf, MCLBYTES, zone_clust, how); in mb_ctor_pack() 810 error = m_init(m, how, type, flags); in mb_ctor_pack() 1136 mb_alloc_ext_pgs(int how, m_ext_free_t ext_free, int flags) in mb_alloc_ext_pgs() argument [all …]
|
H A D | uipc_mbuf.c | 403 m_pkthdr_init(struct mbuf *m, int how) in m_pkthdr_init() argument 415 error = mac_mbuf_init(m, how); in m_pkthdr_init() 464 m_dup_pkthdr(struct mbuf *to, const struct mbuf *from, int how) in m_dup_pkthdr() argument 479 MBUF_CHECKSLEEP(how); in m_dup_pkthdr() 492 return (m_tag_copy_chain(to, from, how)); in m_dup_pkthdr() 501 m_prepend(struct mbuf *m, int len, int how) in m_prepend() argument 506 mn = m_gethdr(how, m->m_type); in m_prepend() 508 mn = m_get(how, m->m_type); in m_prepend() 596 * An optimization of the common case `m_copym(m, 0, M_COPYALL, how)'. 604 m_copypacket(struct mbuf *m, int how) in m_copypacket() argument [all …]
|
/freebsd/lib/libc/gen/ |
H A D | getpwent.c | 798 enum nss_lookup_type how; in files_passwd() local 809 how = (enum nss_lookup_type)(uintptr_t)mdata; in files_passwd() 810 switch (how) { in files_passwd() 833 if (how == nss_lt_all && st->keynum < 0) { in files_passwd() 843 if (how == nss_lt_all) in files_passwd() 849 switch (how) { in files_passwd() 892 if (how == nss_lt_all) in files_passwd() 898 how, name, uid); in files_passwd() 909 } while (how == nss_lt_all && !(rv & NS_TERMINATE)); in files_passwd() 926 pwdb_match_entry_v3(char *entry, size_t entrysize, enum nss_lookup_type how, in pwdb_match_entry_v3() argument [all …]
|
H A D | getgrent.c | 842 enum nss_lookup_type how; in files_group() local 854 how = (enum nss_lookup_type)(uintptr_t)mdata; in files_group() 855 switch (how) { in files_group() 882 stayopen = (how == nss_lt_all || !fresh) ? 1 : st->stayopen; in files_group() 885 if (how != nss_lt_all && !fresh) in files_group() 891 rv = __gr_match_entry(line, linesize, how, name, gid); in files_group() 909 if (how == nss_lt_all) in files_group() 916 if (st->fp != NULL && how != nss_lt_all) in files_group() 963 enum nss_lookup_type how; in dns_group() local 970 how = (enum nss_lookup_type)(uintptr_t)mdata; in dns_group() [all …]
|
/freebsd/contrib/bmake/unit-tests/ |
H A D | suff-add-later.exp | 11 make: don't know how to make issue5a.d (continuing) 12 make: don't know how to make issue5b.c (continuing) 13 make: don't know how to make issue5c (continuing) 15 make: don't know how to make issue5d.e (continuing) 16 make: don't know how to make issue5e.d (continuing)
|
/freebsd/sys/dev/smbus/ |
H A D | smbconf.c | 87 smbus_poll(struct smbus_softc *sc, int how) in smbus_poll() argument 91 switch (how) { in smbus_poll() 113 * how : SMB_WAIT or SMB_DONTWAIT 116 smbus_request_bus(device_t bus, device_t dev, int how) in smbus_request_bus() argument 127 error = SMBUS_CALLBACK(parent, SMB_REQUEST_BUS, &how); in smbus_request_bus() 131 error = smbus_poll(sc, how); in smbus_request_bus() 136 error = smbus_poll(sc, how); in smbus_request_bus() 145 SMBUS_CALLBACK(parent, SMB_RELEASE_BUS, &how); in smbus_request_bus()
|
/freebsd/tools/tools/net80211/wesside/wesside/ |
H A D | aircrack-ptw-lib.h | 32 // How many sessions do we use to check if a guessed key is correct 39 // How long the IV is, 3 is the default value for WEP 42 // How many bytes of a keystream we collect, 16 are needed for a 104 bit key 50 // How often the value b appeard as an output of A_i 67 // How many unique packets or IVs have been collected 71 // How many sessions for checking a guessed key have been collected
|
/freebsd/sys/dev/nvme/ |
H A D | nvme_private.h | 489 _nvme_allocate_request(const int how, nvme_cb_fn_t cb_fn, void *cb_arg) in _nvme_allocate_request() argument 493 KASSERT(how == M_WAITOK || how == M_NOWAIT, in _nvme_allocate_request() 494 ("nvme_allocate_request: invalid how %d", how)); in _nvme_allocate_request() 496 req = malloc(sizeof(*req), M_NVME, how | M_ZERO); in _nvme_allocate_request() 507 const int how, nvme_cb_fn_t cb_fn, void *cb_arg) in nvme_allocate_request_vaddr() argument 511 req = _nvme_allocate_request(how, cb_fn, cb_arg); in nvme_allocate_request_vaddr() 520 nvme_allocate_request_null(const int how, nvme_cb_fn_t cb_fn, void *cb_arg) in nvme_allocate_request_null() argument 524 req = _nvme_allocate_request(how, cb_fn, cb_arg); in nvme_allocate_request_null() 529 nvme_allocate_request_bio(struct bio *bio, const int how, nvme_cb_fn_t cb_fn, in nvme_allocate_request_bio() argument 534 req = _nvme_allocate_request(how, cb_fn, cb_arg); in nvme_allocate_request_bio() [all …]
|
/freebsd/contrib/lib9p/pytest/ |
H A D | numalloc.py | 262 def _free_multi(self, how, values): argument 277 self._free_range(how, val, highval) 279 def _maybe_increase_max(self, how, val): argument 290 raise ValueError('{0}: {1} is outside range limit'.format(how, val)) 292 def _maybe_decrease_min(self, how, val): argument 303 raise ValueError('{0}: {1} is outside range limit'.format(how, val)) 305 def _free_range(self, how, val, highval): argument 316 raise ValueError('{0}: {1} already available'.format(how, val)) 322 'available'.format(how, val, highval)) 348 self._maybe_increase_max(how, highval) [all …]
|
/freebsd/usr.sbin/bhyve/aarch64/ |
H A D | vmexit.c | 107 enum vm_suspend_how how; in vmexit_suspend() local 111 how = vme->u.suspended.how; in vmexit_suspend() 115 switch (how) { in vmexit_suspend() 125 fprintf(stderr, "vmexit_suspend: invalid reason %d\n", how); in vmexit_suspend() 197 enum vm_suspend_how how; in vmexit_smccc() local 249 how = VM_SUSPEND_POWEROFF; in vmexit_smccc() 251 how = VM_SUSPEND_RESET; in vmexit_smccc() 252 error = vm_suspend(ctx, how); in vmexit_smccc()
|
/freebsd/sys/dev/nvmf/host/ |
H A D | nvmf_var.h | 172 uint8_t size, nvmf_request_complete_t *cb, void *cb_arg, int how); 175 int how); 177 void *cb_arg, int how); 180 void *req_cb_arg, nvmf_io_complete_t *io_cb, void *io_cb_arg, int how); 183 void *req_cb_arg, nvmf_io_complete_t *io_cb, void *io_cb_arg, int how); 186 void *req_cb_arg, nvmf_io_complete_t *io_cb, void *io_cb_arg, int how); 208 void *sqe, nvmf_request_complete_t *cb, void *cb_arg, int how);
|
/freebsd/lib/libsys/ |
H A D | sigprocmask.2 | 40 .Fa "int how" 56 .Fa how 62 .Fa how 86 .Fa how 111 .Fa how
|
/freebsd/usr.sbin/ppp/ |
H A D | systems.c | 287 /* Values for ``how'' in ReadSystem */ 317 struct prompt *prompt, struct datalink *cx, int how) in ReadSystem() argument 359 n = ReadSystem(bundle, name, arg, prompt, cx, how); in ReadSystem() 378 if (how == SYSTEM_EXISTS) { in ReadSystem() 391 if (*cp != '!' && how == SYSTEM_EXEC) in ReadSystem() 401 if ((how != SYSTEM_EXEC && allowcmd) || in ReadSystem() 402 (how == SYSTEM_EXEC && !allowcmd)) { in ReadSystem() 433 int def, how, rs; in system_IsValid() local 437 how = ID0realuid() == 0 ? SYSTEM_EXISTS : SYSTEM_VALIDATE; in system_IsValid() 442 rs = ReadSystem(NULL, "default", CONFFILE, prompt, NULL, how); in system_IsValid() [all …]
|
/freebsd/sys/contrib/vchiq/interface/vchi/ |
H A D | vchi_cfg.h | 76 /* How many connections can we support? A localhost implementation uses 2 connections, 83 /* How many services can we open per connection? Extending this doesn't cost processing time, just … 99 /* How many receive slots do we use. This times VCHI_MAX_MSG_SIZE gives the effective 114 /* How many transmit slots do we use. Generally don't need many, as the hardware driver 159 /* How many TX messages can we have pending in our transmit slots. Once exhausted, 165 /* How many RX messages can we have parsed in the receive slots. Once exhausted, parsing 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
|
/freebsd/sys/dev/nvmf/ |
H A D | nvmf_transport.c | 95 nvmf_allocate_command(struct nvmf_qpair *qp, const void *sqe, int how) in nvmf_allocate_command() argument 99 KASSERT(how == M_WAITOK || how == M_NOWAIT, in nvmf_allocate_command() 100 ("%s: invalid how", __func__)); in nvmf_allocate_command() 101 nc = qp->nq_ops->allocate_capsule(qp, how); in nvmf_allocate_command() 116 nvmf_allocate_response(struct nvmf_qpair *qp, const void *cqe, int how) in nvmf_allocate_response() argument 120 KASSERT(how == M_WAITOK || how == M_NOWAIT, in nvmf_allocate_response() 121 ("%s: invalid how", __func__)); in nvmf_allocate_response() 122 nc = qp->nq_ops->allocate_capsule(qp, how); in nvmf_allocate_response()
|
/freebsd/contrib/libpcap/ |
H A D | charconv.c | 51 * First, find out how big a buffer we'll need. in cp_to_utf_16le() 85 * MultiByteToWideChar() to find out how big in cp_to_utf_16le() 103 * First, find out how big a buffer we'll need. in utf_16le_to_cp() 139 * WideCharToMultiByte() to find out how big in utf_16le_to_cp() 173 * First, find out how big a buffer we'll need. in utf_8_to_acp_truncated() 194 * knowledge of all those code pages, including knowledge of how in utf_8_to_acp_truncated() 199 * then copying to the buffer, still requires knowledge of how in utf_8_to_acp_truncated()
|
/freebsd/usr.sbin/bhyve/riscv/ |
H A D | vmexit.c | 106 enum vm_suspend_how how; in vmexit_suspend() local 110 how = vme->u.suspended.how; in vmexit_suspend() 114 switch (how) { in vmexit_suspend() 124 fprintf(stderr, "vmexit_suspend: invalid reason %d\n", how); in vmexit_suspend() 289 enum vm_suspend_how how; in vmexit_ecall_srst() local 302 how = VM_SUSPEND_POWEROFF; in vmexit_ecall_srst() 303 vm_suspend(ctx, how); in vmexit_ecall_srst()
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | rwlock.h | 72 #define rw_enter(lock, how) do { \ argument 73 if ((how) == RW_READER) \ 75 else /* if ((how) == RW_WRITER) */ \ 79 #define rw_tryenter(lock, how) \ argument 80 ((how) == RW_READER ? sx_try_slock(lock) : sx_try_xlock(lock))
|
/freebsd/sys/cddl/compat/opensolaris/sys/ |
H A D | rwlock.h | 74 #define rw_enter(lock, how) do { \ argument 75 if ((how) == RW_READER) \ 77 else /* if ((how) == RW_WRITER) */ \ 80 #define rw_tryenter(lock, how) ((how) == RW_READER ? sx_try_slock(lock) : sx_try_xlock(lock)) argument
|
/freebsd/lib/libpmc/pmu-events/arch/x86/amdzen1/ |
H A D | floating-point.json | 6 …s dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipeli… 13 …s dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipeli… 20 …s dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipeli… 27 …s dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipeli… 34 …s dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipeli… 41 …s dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipeli… 48 …) dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipeli… 55 …) dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipeli… 62 …) dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipeli… 69 …) dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipeli…
|
/freebsd/sys/contrib/zlib/ |
H A D | gzread.c | 69 If this is the first time in, allocate required memory. state->how will be 126 state->how = GZIP; in gz_look() 147 state->how = COPY; in gz_look() 154 data. If the gzip stream completes, state->how is reset to LOOK to look for 197 state->how = LOOK; in gz_decomp() 205 file depending on state->how. If state->how is LOOK, then a gzip header is 207 otherwise 0. gz_fetch() will leave state->how as COPY or GZIP unless the 213 switch(state->how) { in gz_fetch() 217 if (state->how == LOOK) in gz_fetch() 309 else if (state->how == LOOK || n < (state->size << 1)) { in gz_read() [all …]
|