| /freebsd-13.1/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 292 def _maybe_decrease_min(self, how, val): argument 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) 353 self._maybe_decrease_min(how, val) 357 self._maybe_decrease_min(how, val) [all …]
|
| /freebsd-13.1/sys/dev/smbus/ |
| H A D | smbconf.c | 89 smbus_poll(struct smbus_softc *sc, int how) in smbus_poll() argument 93 switch (how) { in smbus_poll() 118 smbus_request_bus(device_t bus, device_t dev, int how) in smbus_request_bus() argument 129 error = SMBUS_CALLBACK(parent, SMB_REQUEST_BUS, &how); in smbus_request_bus() 133 error = smbus_poll(sc, how); in smbus_request_bus() 138 error = smbus_poll(sc, how); in smbus_request_bus() 147 SMBUS_CALLBACK(parent, SMB_RELEASE_BUS, &how); in smbus_request_bus()
|
| /freebsd-13.1/sys/kern/ |
| H A D | kern_mbuf.c | 671 error = m_init(m, how, type, flags); in mb_ctor_mbuf() 1148 m = m_get(how, MT_DATA); in mb_alloc_ext_pgs() 1322 m_clget(struct mbuf *m, int how) in m_clget() argument 1328 uma_zalloc_arg(zone_clust, m, how); in m_clget() 1337 MBUF_PROBE2(m__clget, m, how); in m_clget() 1413 return m_getcl(how, type, flags); in m_getjcl() 1423 n = uma_zalloc_arg(zone, m, how); in m_getjcl() 1463 mb = m_gethdr(how, type); in m_getm2() 1465 mb = m_get(how, type); in m_getm2() 1618 if (how == M_NOWAIT) { in mb_alloc_ext_plus_pages() [all …]
|
| H A D | uipc_mbuf.c | 444 MBUF_CHECKSLEEP(how); in m_dup_pkthdr() 473 mn = m_get(how, m->m_type); in m_prepend() 573 MBUF_CHECKSLEEP(how); in m_copypacket() 574 n = m_get(how, m->m_type); in m_copypacket() 579 if (!m_dup_pkthdr(n, m, how)) in m_copypacket() 592 o = m_get(how, m->m_type); in m_copypacket() 682 MBUF_CHECKSLEEP(how); in m_dup() 700 n = m_get(how, m->m_type); in m_dup() 1468 MBUF_CHECKSLEEP(how); in m_defrag() 1766 MPASS((how & M_ZERO) == 0); in m_uiotombuf_nomap() [all …]
|
| H A D | uipc_mbuf2.c | 398 m_tag_copy(struct m_tag *t, int how) in m_tag_copy() argument 402 MBUF_CHECKSLEEP(how); in m_tag_copy() 404 p = m_tag_alloc(t->m_tag_cookie, t->m_tag_id, t->m_tag_len, how); in m_tag_copy() 414 if (mac_mbuf_tag_init(p, how) != 0) { in m_tag_copy() 432 m_tag_copy_chain(struct mbuf *to, const struct mbuf *from, int how) in m_tag_copy_chain() argument 436 MBUF_CHECKSLEEP(how); in m_tag_copy_chain() 441 t = m_tag_copy(p, how); in m_tag_copy_chain()
|
| /freebsd-13.1/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)
|
| H A D | suff-clear-regular.exp | 1 make: don't know how to make .a (continuing) 2 make: don't know how to make .a.b (continuing) 3 make: don't know how to make .b.a (continuing)
|
| /freebsd-13.1/lib/libc/gen/ |
| H A D | getgrent.c | 858 switch (how) { in files_group() 912 if (how == nss_lt_all) in files_group() 974 switch (how) { in dns_group() 998 switch (how) { in dns_group() 1109 switch (how) { in nis_group() 1138 switch (how) { in nis_group() 1338 switch (how) { in compat_group() 1375 switch (how) { in compat_group() 1403 switch (how) { in compat_group() 1505 switch (how) { in __gr_match_entry() [all …]
|
| H A D | getpwent.c | 813 switch (how) { in files_passwd() 852 switch (how) { in files_passwd() 901 how, name, uid); in files_passwd() 1112 switch (how) { in dns_passwd() 1136 switch (how) { in dns_passwd() 1305 switch (how) { in nis_passwd() 1334 switch (how) { in nis_passwd() 1640 switch (how) { in compat_redispatch() 1752 switch (how) { in compat_passwd() 1797 rv = compat_redispatch(st, how, how, name, name, uid, pwd, in compat_passwd() [all …]
|
| H A D | dup3.c | 45 int how; in __dup3() local 57 how = (flags & O_CLOEXEC) ? F_DUP2FD_CLOEXEC : F_DUP2FD; in __dup3() 59 return (_fcntl(oldfd, how, newfd)); in __dup3()
|
| H A D | pmadvise.c | 14 posix_madvise(void *address, size_t size, int how) in posix_madvise() argument 19 if (madvise(address, size, how) == -1) { in posix_madvise()
|
| /freebsd-13.1/usr.sbin/ppp/ |
| H A D | systems.c | 319 struct prompt *prompt, struct datalink *cx, int how) in ReadSystem() argument 361 n = ReadSystem(bundle, name, arg, prompt, cx, how); in ReadSystem() 380 if (how == SYSTEM_EXISTS) { in ReadSystem() 393 if (*cp != '!' && how == SYSTEM_EXEC) in ReadSystem() 403 if ((how != SYSTEM_EXEC && allowcmd) || in ReadSystem() 404 (how == SYSTEM_EXEC && !allowcmd)) { in ReadSystem() 435 int def, how, rs; in system_IsValid() local 439 how = ID0realuid() == 0 ? SYSTEM_EXISTS : SYSTEM_VALIDATE; in system_IsValid() 444 rs = ReadSystem(NULL, "default", CONFFILE, prompt, NULL, how); in system_IsValid() 454 rs = ReadSystem(NULL, name, CONFFILE, prompt, NULL, how); in system_IsValid() [all …]
|
| /freebsd-13.1/sys/sys/ |
| H A D | mbuf.h | 777 if (how == M_WAITOK) \ 961 error = m_pkthdr_init(m, how); in m_init() 970 m_get(int how, short type) in m_get() argument 978 MBUF_PROBE3(m__get, how, type, m); in m_get() 983 m_gethdr(int how, short type) in m_gethdr() argument 991 MBUF_PROBE3(m__gethdr, how, type, m); in m_gethdr() 1089 #define MGET(m, how, type) ((m) = m_get((how), (type))) argument 1090 #define MGETHDR(m, how, type) ((m) = m_gethdr((how), (type))) argument 1091 #define MCLGET(m, how) m_clget((m), (how)) argument 1227 int __mhow = (how); \ [all …]
|
| /freebsd-13.1/sys/compat/cloudabi/ |
| H A D | cloudabi_sock.c | 55 int how; in cloudabi_sys_sock_shutdown() local 57 switch (uap->how) { in cloudabi_sys_sock_shutdown() 59 how = SHUT_RD; in cloudabi_sys_sock_shutdown() 62 how = SHUT_WR; in cloudabi_sys_sock_shutdown() 65 how = SHUT_RDWR; in cloudabi_sys_sock_shutdown() 71 return (kern_shutdown(td, uap->sock, how)); in cloudabi_sys_sock_shutdown()
|
| /freebsd-13.1/sys/dev/ppbus/ |
| H A D | ppb_base.c | 59 uint8_t mask, uint8_t status, int how) in ppb_poll_bus() argument 68 for (j = 0; j < ((how & PPB_POLL) ? max : 1); j++) { in ppb_poll_bus() 77 if (!(how & PPB_POLL)) { in ppb_poll_bus() 84 (how == PPB_NOINTR ? 0 : PCATCH), "ppbpoll", hz/100); in ppb_poll_bus() 150 ppb_write(device_t bus, char *buf, int len, int how) in ppb_write() argument 154 return (PPBUS_WRITE(device_get_parent(bus), buf, len, how)); in ppb_write()
|
| /freebsd-13.1/bin/sh/ |
| H A D | miscbltin.c | 499 printlimit(enum limithow how, const struct rlimit *limit, in printlimit() argument 504 if (how & SOFT) in printlimit() 506 else if (how & HARD) in printlimit() 521 enum limithow how = SOFT | HARD; in ulimitcmd() local 531 how = HARD; in ulimitcmd() 534 how = SOFT; in ulimitcmd() 588 printlimit(how, &limit, l); in ulimitcmd() 596 if (how & SOFT) in ulimitcmd() 598 if (how & HARD) in ulimitcmd() 603 printlimit(how, &limit, l); in ulimitcmd()
|
| /freebsd-13.1/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | rwlock.h | 76 #define rw_enter(lock, how) do { \ argument 77 if ((how) == RW_READER) \ 83 #define rw_tryenter(lock, how) \ argument 84 ((how) == RW_READER ? sx_try_slock(lock) : sx_try_xlock(lock))
|
| /freebsd-13.1/sys/cddl/compat/opensolaris/sys/ |
| H A D | rwlock.h | 76 #define rw_enter(lock, how) do { \ argument 77 if ((how) == RW_READER) \ 82 #define rw_tryenter(lock, how) ((how) == RW_READER ? sx_try_slock(lock) : sx_try_xlock(lock)) argument
|
| /freebsd-13.1/sys/netgraph/ |
| H A D | ng_message.h | 379 #define NG_MKMESSAGE(msg, cookie, cmdid, len, how) \ argument 382 + (len), M_NETGRAPH_MSG, (how) | M_ZERO); \ 397 #define NG_MKRESPONSE(rsp, msg, len, how) \ argument 400 + (len), M_NETGRAPH_MSG, (how) | M_ZERO); \ 416 #define NG_COPYMESSAGE(copy, msg, how) \ argument 419 + (msg)->header.arglen, M_NETGRAPH_MSG, (how) | M_ZERO); \
|
| /freebsd-13.1/lib/libc/net/ |
| H A D | getservent.c | 75 enum nss_lookup_type how; member 312 switch (serv_mdata->how) { in files_servent() 344 if (serv_mdata->how == nss_lt_all) in files_servent() 365 switch (serv_mdata->how) { in files_servent() 400 switch (serv_mdata->how) { in files_servent() 500 enum nss_lookup_type how; in db_servent() local 513 switch (how) { in db_servent() 552 switch (how) { in db_servent() 672 enum nss_lookup_type how; in nis_servent() local 686 switch (how) { in nis_servent() [all …]
|
| /freebsd-13.1/sys/dev/iicbus/ |
| H A D | iiconf.c | 109 iicbus_poll(struct iicbus_softc *sc, int how) in iicbus_poll() argument 114 switch (how & IIC_INTRWAIT) { in iicbus_poll() 138 iicbus_request_bus(device_t bus, device_t dev, int how) in iicbus_request_bus() argument 149 if ((how & IIC_RECURSIVE) && sc->owner == dev) in iicbus_request_bus() 151 if ((error = iicbus_poll(sc, how)) != 0) in iicbus_request_bus() 181 reqdata.flags = how | IIC_REQBUS_DEV; in iicbus_request_bus() 450 int how) in iicbus_transfer_excl() argument 456 error = iicbus_request_bus(bus, dev, how); in iicbus_transfer_excl()
|
| H A D | iicsmb.c | 92 static int iicsmb_quick(device_t dev, u_char slave, int how); 258 int how; in iicsmb_callback() local 263 how = *(int *)data; in iicsmb_callback() 264 error = iicbus_request_bus(parent, dev, how); in iicsmb_callback() 313 iicsmb_quick(device_t dev, u_char slave, int how) in iicsmb_quick() argument 316 { slave, how == SMB_QWRITE ? IIC_M_WR : IIC_M_RD, 0, NULL }, in iicsmb_quick() 320 switch (how) { in iicsmb_quick()
|
| /freebsd-13.1/lib/libc/rpc/ |
| H A D | getrpcent.c | 228 enum nss_lookup_type how; in files_rpcent() local 230 how = (enum nss_lookup_type)(uintptr_t)mdata; in files_rpcent() 231 switch (how) in files_rpcent() 259 if (how == nss_lt_all) in files_rpcent() 303 switch (how) in files_rpcent() 407 enum nss_lookup_type how; in nis_rpcent() local 410 how = (enum nss_lookup_type)(uintptr_t)mdata; in nis_rpcent() 411 switch (how) in nis_rpcent() 444 switch (how) in nis_rpcent() 462 how = nss_lt_all; in nis_rpcent() [all …]
|
| /freebsd-13.1/lib/libc/sys/ |
| H A D | sigprocmask.c | 45 sigprocmask(int how, const sigset_t *set, sigset_t *oset) in sigprocmask() argument 49 __libc_interposing[INTERPOS_sigprocmask])(how, set, oset)); in sigprocmask()
|
| /freebsd-13.1/sys/geom/raid/ |
| H A D | g_raid_ctl.c | 155 int error, how; in g_raid_ctl_stop() local 178 how = G_RAID_DESTROY_HARD; in g_raid_ctl_stop() 180 how = G_RAID_DESTROY_SOFT; in g_raid_ctl_stop() 183 error = g_raid_destroy(sc, how); in g_raid_ctl_stop()
|