Home
last modified time | relevance | path

Searched refs:how (Results 1 – 25 of 1086) sorted by relevance

12345678910>>...44

/freebsd/contrib/lib9p/pytest/
H A Dnumalloc.py262 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/sys/dev/nvmf/host/
H A Dnvmf_cmd.c18 nvmf_request_complete_t *cb, void *cb_arg, int how) in nvmf_cmd_get_property() argument
38 req = nvmf_allocate_request(sc->admin, &cmd, cb, cb_arg, how); in nvmf_cmd_get_property()
46 uint64_t value, nvmf_request_complete_t *cb, void *cb_arg, int how) in nvmf_cmd_set_property() argument
68 req = nvmf_allocate_request(sc->admin, &cmd, cb, cb_arg, how); in nvmf_cmd_set_property()
76 void *cb_arg, int how) in nvmf_cmd_keep_alive() argument
84 req = nvmf_allocate_request(sc->admin, &cmd, cb, cb_arg, how); in nvmf_cmd_keep_alive()
93 void *req_cb_arg, nvmf_io_complete_t *io_cb, void *io_cb_arg, int how) in nvmf_cmd_identify_active_namespaces() argument
106 req = nvmf_allocate_request(sc->admin, &cmd, req_cb, req_cb_arg, how); in nvmf_cmd_identify_active_namespaces()
119 void *req_cb_arg, nvmf_io_complete_t *io_cb, void *io_cb_arg, int how) in nvmf_cmd_identify_namespace() argument
132 req = nvmf_allocate_request(sc->admin, &cmd, req_cb, req_cb_arg, how); in nvmf_cmd_identify_namespace()
[all …]
H A Dnvmf_var.h161 uint8_t size, nvmf_request_complete_t *cb, void *cb_arg, int how);
164 int how);
166 void *cb_arg, int how);
169 void *req_cb_arg, nvmf_io_complete_t *io_cb, void *io_cb_arg, int how);
172 void *req_cb_arg, nvmf_io_complete_t *io_cb, void *io_cb_arg, int how);
175 void *req_cb_arg, nvmf_io_complete_t *io_cb, void *io_cb_arg, int how);
197 void *sqe, nvmf_request_complete_t *cb, void *cb_arg, int how);
/freebsd/sys/kern/
H A Dkern_mbuf.c1126 m = m_get(how, MT_DATA); in mb_alloc_ext_pgs()
1301 m_clget(struct mbuf *m, int how) in m_clget() argument
1307 uma_zalloc_arg(zone_clust, m, how); in m_clget()
1316 MBUF_PROBE2(m__clget, m, how); in m_clget()
1409 n = uma_zalloc_arg(zone, m, how); in m_get3()
1430 return m_getcl(how, type, flags); in m_getjcl()
1440 n = uma_zalloc_arg(zone, m, how); in m_getjcl()
1482 mb = m_gethdr(how, type); in mc_get()
1484 mb = m_get(how, type); in mc_get()
1703 if (how == M_NOWAIT) { in mb_alloc_ext_plus_pages()
[all …]
H A Dsubr_memdesc.c345 return (ext_alloc(cb_arg, how, buf, len)); in vaddr_ext_mbuf()
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()
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()
626 m = tail = extpg_alloc(cb_arg, how); in vmpages_ext_mbuf()
645 tail->m_next = extpg_alloc(cb_arg, how); in vmpages_ext_mbuf()
663 tail->m_next = extpg_alloc(cb_arg, how); in vmpages_ext_mbuf()
704 m = m_get(how, MT_DATA); in mbuf_subchain()
725 tail->m_next = m_get(how, MT_DATA); in mbuf_subchain()
[all …]
H A Duipc_mbuf.c476 MBUF_CHECKSLEEP(how); in m_dup_pkthdr()
505 mn = m_get(how, m->m_type); in m_prepend()
605 MBUF_CHECKSLEEP(how); in m_copypacket()
606 n = m_get(how, m->m_type); in m_copypacket()
624 o = m_get(how, m->m_type); in m_copypacket()
714 MBUF_CHECKSLEEP(how); in m_dup()
732 n = m_get(how, m->m_type); in m_dup()
1566 MBUF_CHECKSLEEP(how); in m_defrag()
1911 if (how & M_NOWAIT) { in m_uiotombuf_nomap()
1962 m = m_get(how, MT_DATA); in m_uiotombuf()
[all …]
H A Duipc_mbuf2.c394 m_tag_copy(struct m_tag *t, int how) in m_tag_copy() argument
398 MBUF_CHECKSLEEP(how); in m_tag_copy()
400 p = m_tag_alloc(t->m_tag_cookie, t->m_tag_id, t->m_tag_len, how); in m_tag_copy()
410 if (mac_mbuf_tag_init(p, how) != 0) { in m_tag_copy()
428 m_tag_copy_chain(struct mbuf *to, const struct mbuf *from, int how) in m_tag_copy_chain() argument
432 MBUF_CHECKSLEEP(how); in m_tag_copy_chain()
437 t = m_tag_copy(p, how); in m_tag_copy_chain()
/freebsd/usr.sbin/bhyve/aarch64/
H A Dvmexit.c90 enum vm_suspend_how how; in vmexit_suspend() local
94 how = vme->u.suspended.how; in vmexit_suspend()
98 switch (how) { in vmexit_suspend()
108 fprintf(stderr, "vmexit_suspend: invalid reason %d\n", how); in vmexit_suspend()
174 enum vm_suspend_how how; in vmexit_smccc() local
226 how = VM_SUSPEND_POWEROFF; in vmexit_smccc()
228 how = VM_SUSPEND_RESET; in vmexit_smccc()
229 vm_suspend(ctx, how); in vmexit_smccc()
/freebsd/sys/dev/smbus/
H A Dsmbconf.c87 smbus_poll(struct smbus_softc *sc, int how) in smbus_poll() argument
91 switch (how) { in smbus_poll()
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/contrib/bmake/unit-tests/
H A Dsuff-add-later.exp11 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 Dsuff-clear-regular.exp1 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/lib/libc/gen/
H A Dgetgrent.c855 switch (how) { in files_group()
909 if (how == nss_lt_all) in files_group()
971 switch (how) { in dns_group()
995 switch (how) { in dns_group()
1106 switch (how) { in nis_group()
1135 switch (how) { in nis_group()
1335 switch (how) { in compat_group()
1372 switch (how) { in compat_group()
1400 switch (how) { in compat_group()
1502 switch (how) { in __gr_match_entry()
[all …]
H A Dgetpwent.c810 switch (how) { in files_passwd()
849 switch (how) { in files_passwd()
898 how, name, uid); in files_passwd()
1109 switch (how) { in dns_passwd()
1133 switch (how) { in dns_passwd()
1302 switch (how) { in nis_passwd()
1331 switch (how) { in nis_passwd()
1637 switch (how) { in compat_redispatch()
1749 switch (how) { in compat_passwd()
1794 rv = compat_redispatch(st, how, how, name, name, uid, pwd, in compat_passwd()
[all …]
H A Ddup3.c42 int how; in __dup3() local
54 how = (flags & O_CLOEXEC) ? F_DUP2FD_CLOEXEC : F_DUP2FD; in __dup3()
56 return (_fcntl(oldfd, how, newfd)); in __dup3()
/freebsd/usr.sbin/ppp/
H A Dsystems.c317 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()
452 rs = ReadSystem(NULL, name, CONFFILE, prompt, NULL, how); in system_IsValid()
[all …]
/freebsd/sys/sys/
H A Dmbuf.h788 if (how == M_WAITOK) \
969 error = m_pkthdr_init(m, how); in m_init()
978 m_get_raw(int how, short type) in m_get_raw() argument
991 m_get(int how, short type) in m_get() argument
1004 m_gethdr_raw(int how, short type) in m_gethdr_raw() argument
1017 m_gethdr(int how, short type) in m_gethdr() argument
1121 #define MGET(m, how, type) ((m) = m_get((how), (type))) argument
1122 #define MGETHDR(m, how, type) ((m) = m_gethdr((how), (type))) argument
1123 #define MCLGET(m, how) m_clget((m), (how)) argument
1267 int __mhow = (how); \
[all …]
/freebsd/sys/dev/ppbus/
H A Dppb_base.c56 uint8_t mask, uint8_t status, int how) in ppb_poll_bus() argument
65 for (j = 0; j < ((how & PPB_POLL) ? max : 1); j++) { in ppb_poll_bus()
74 if (!(how & PPB_POLL)) { in ppb_poll_bus()
81 (how == PPB_NOINTR ? 0 : PCATCH), "ppbpoll", hz/100); in ppb_poll_bus()
147 ppb_write(device_t bus, char *buf, int len, int how) in ppb_write() argument
151 return (PPBUS_WRITE(device_get_parent(bus), buf, len, how)); in ppb_write()
/freebsd/bin/sh/
H A Dmiscbltin.c493 printlimit(enum limithow how, const struct rlimit *limit, in printlimit() argument
498 if (how & SOFT) in printlimit()
500 else if (how & HARD) in printlimit()
515 enum limithow how = SOFT | HARD; in ulimitcmd() local
525 how = HARD; in ulimitcmd()
528 how = SOFT; in ulimitcmd()
582 printlimit(how, &limit, l); in ulimitcmd()
590 if (how & SOFT) in ulimitcmd()
592 if (how & HARD) in ulimitcmd()
597 printlimit(how, &limit, l); in ulimitcmd()
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Drwlock.h72 #define rw_enter(lock, how) do { \ argument
73 if ((how) == RW_READER) \
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 Drwlock.h74 #define rw_enter(lock, how) do { \ argument
75 if ((how) == RW_READER) \
80 #define rw_tryenter(lock, how) ((how) == RW_READER ? sx_try_slock(lock) : sx_try_xlock(lock)) argument
/freebsd/sys/dev/nvmf/
H A Dnvmf_transport.c95 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()
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()
122 nc = qp->nq_ops->allocate_capsule(qp, how); in nvmf_allocate_response()
/freebsd/sys/netgraph/
H A Dng_message.h380 #define NG_MKMESSAGE(msg, cookie, cmdid, len, how) \ argument
383 + (len), M_NETGRAPH_MSG, (how) | M_ZERO); \
398 #define NG_MKRESPONSE(rsp, msg, len, how) \ argument
401 + (len), M_NETGRAPH_MSG, (how) | M_ZERO); \
417 #define NG_COPYMESSAGE(copy, msg, how) \ argument
420 + (msg)->header.arglen, M_NETGRAPH_MSG, (how) | M_ZERO); \
/freebsd/lib/libc/net/
H A Dgetservent.c69 enum nss_lookup_type how; member
306 switch (serv_mdata->how) { in files_servent()
338 if (serv_mdata->how == nss_lt_all) in files_servent()
359 switch (serv_mdata->how) { in files_servent()
394 switch (serv_mdata->how) { in files_servent()
494 enum nss_lookup_type how; in db_servent() local
507 switch (how) { in db_servent()
546 switch (how) { in db_servent()
666 enum nss_lookup_type how; in nis_servent() local
680 switch (how) { in nis_servent()
[all …]
/freebsd/sys/dev/iicbus/
H A Diiconf.c106 iicbus_poll(struct iicbus_softc *sc, int how) in iicbus_poll() argument
111 switch (how & IIC_INTRWAIT) { in iicbus_poll()
135 iicbus_request_bus(device_t bus, device_t dev, int how) in iicbus_request_bus() argument
146 if ((how & IIC_RECURSIVE) && sc->owner == dev) in iicbus_request_bus()
148 if ((error = iicbus_poll(sc, how)) != 0) in iicbus_request_bus()
178 reqdata.flags = how | IIC_REQBUS_DEV; in iicbus_request_bus()
447 int how) in iicbus_transfer_excl() argument
453 error = iicbus_request_bus(bus, dev, how); in iicbus_transfer_excl()
/freebsd/lib/libc/rpc/
H A Dgetrpcent.c222 enum nss_lookup_type how; in files_rpcent() local
224 how = (enum nss_lookup_type)(uintptr_t)mdata; in files_rpcent()
225 switch (how) in files_rpcent()
253 if (how == nss_lt_all) in files_rpcent()
297 switch (how) in files_rpcent()
401 enum nss_lookup_type how; in nis_rpcent() local
404 how = (enum nss_lookup_type)(uintptr_t)mdata; in nis_rpcent()
405 switch (how) in nis_rpcent()
438 switch (how) in nis_rpcent()
456 how = nss_lt_all; in nis_rpcent()
[all …]

12345678910>>...44