Searched refs:waitok (Results 1 - 25 of 63) sorted by relevance

123

/netbsd-6-1-5-RELEASE/sys/uvm/
H A Duvm_kmguard.c96 uvm_kmguard_alloc(struct uvm_kmguard *kg, size_t len, bool waitok) argument
116 flags = VM_BESTFIT | (waitok ? VM_SLEEP : VM_NOSLEEP);
131 if (waitok) {
H A Duvm_pglist.c444 struct pglist *rlist, int waitok)
493 if (waitok) {
514 paddr_t boundary, struct pglist *rlist, int nsegs, int waitok)
539 res = uvm_pglistalloc_simple(num, low, high, rlist, waitok);
443 uvm_pglistalloc_simple(int num, paddr_t low, paddr_t high, struct pglist *rlist, int waitok) argument
513 uvm_pglistalloc(psize_t size, paddr_t low, paddr_t high, paddr_t alignment, paddr_t boundary, struct pglist *rlist, int nsegs, int waitok) argument
H A Duvm_emap.c120 uvm_emap_alloc(vsize_t size, bool waitok) argument
128 VM_INSTANTFIT | (waitok ? VM_SLEEP : VM_NOSLEEP), &addr) == 0)
/netbsd-6-1-5-RELEASE/sys/kern/
H A Dsubr_hash.c53 hashinit(u_int elements, enum hashtype htype, bool waitok, u_long *hashmask) argument
85 p = kmem_alloc(hashsize * esize, (waitok ? KM_SLEEP : KM_NOSLEEP));
/netbsd-6-1-5-RELEASE/sys/dev/qbus/
H A Duba.c162 int waitok = (flags & UBA_CANTWAIT) == 0; local
166 ui->ui_size, 0, (waitok ? BUS_DMA_WAITOK : BUS_DMA_NOWAIT),
171 ui->ui_size, NULL, (waitok ? BUS_DMA_WAITOK : BUS_DMA_NOWAIT)))) {
185 int waitok = (flags & UBA_CANTWAIT ? BUS_DMA_NOWAIT : BUS_DMA_WAITOK); local
189 &ui->ui_seg, 1, &ui->ui_rseg, waitok)))
192 ui->ui_size, &ui->ui_vaddr, waitok|BUS_DMA_COHERENT))) {
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/gumstix/
H A Dgxlcd.c205 gxlcd_show_screen(void *v, void *cookie, int waitok, argument
210 error = pxa2x0_lcd_show_screen(v, cookie, waitok, cb_func, cb_arg);
/netbsd-6-1-5-RELEASE/sys/dev/wscons/
H A Dwsdisplay.c635 wsdisplay_swdone_cb(void *arg, int error, int waitok) argument
1746 wsdisplay_switch3_cb(void *arg, int error, int waitok) argument
1750 wsdisplay_switch3(dv, error, waitok);
1754 wsdisplay_switch3(device_t dv, int error, int waitok) argument
1790 return (wsdisplay_switch1(dv, 0, waitok));
1804 wsdisplay_switch2_cb(void *arg, int error, int waitok) argument
1808 wsdisplay_switch2(dv, error, waitok);
1812 wsdisplay_switch2(device_t dv, int error, int waitok) argument
1845 return (wsdisplay_switch1(dv, 0, waitok));
1858 error = (*scr->scr_syncops->attach)(scr->scr_synccookie, waitok,
1870 wsdisplay_switch1_cb(void *arg, int error, int waitok) argument
1878 wsdisplay_switch1(device_t dv, int error, int waitok) argument
1927 wsdisplay_switch(device_t dv, int no, int waitok) argument
[all...]
H A Dwsdisplay_compat_usl.c178 usl_detachproc(void *cookie, int waitok, argument
194 if (waitok) {
241 usl_attachproc(void *cookie, int waitok, argument
/netbsd-6-1-5-RELEASE/sys/dev/iscsi/
H A Discsi_send.c91 assign_connection(session_t *session, bool waitok) argument
109 if (waitok) {
1268 * waitok Whether it's OK to wait for an available PDU or not
1273 ccb_disp_t disp, bool waitok)
1293 tx_pdu = get_pdu_c(conn, waitok);
1343 send_command(ccb_t *ccb, ccb_disp_t disp, bool waitok, bool immed) argument
1352 PERF_BEGIN(ccb, !waitok);
1354 if (!waitok) {
1443 send_data_out(conn, NULL, ccb, disp, waitok);
1461 bool waitok; local
1272 send_data_out(connection_t *conn, pdu_t *rx_pdu, ccb_t *tx_ccb, ccb_disp_t disp, bool waitok) argument
[all...]
H A Discsi_utils.c212 * waitok Whether waiting for a CCB is OK
218 get_ccb(connection_t *conn, bool waitok) argument
230 DEB(100, ("get_ccb: ccb = %p, waitok = %d\n", ccb, waitok));
232 if (!waitok || conn->terminating) {
452 * waitok OK to wait for PDU if TRUE
454 * Returns: The PDU or NULL if none is available and waitok is FALSE.
458 get_pdu_c(connection_t *conn, bool waitok) argument
469 DEB(100, ("get_pdu_c: pdu = %p, waitok = %d\n", pdu, waitok));
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/acorn26/vidc/
H A Darcvideo.c79 static int arcvideo_show_screen(void *cookie, void *scookie, int waitok,
416 arcvideo_show_screen(void *cookie, void *scookie, int waitok,
417 void (*cb)(void *cbarg, int error, int waitok), void *cbarg)
415 arcvideo_show_screen(void *cookie, void *scookie, int waitok, void (*cb)(void *cbarg, int error, int waitok), void *cbarg) argument
/netbsd-6-1-5-RELEASE/sys/arch/zaurus/dev/
H A Dw100lcd.c323 w100lcd_show_screen(void *v, void *cookie, int waitok, argument
328 error = w100_show_screen(v, cookie, waitok, cb_func, cb_arg);
H A Dzlcd.c337 lcd_show_screen(void *v, void *cookie, int waitok, argument
342 error = pxa2x0_lcd_show_screen(v, cookie, waitok, cb_func, cb_arg);
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/g42xxeb/
H A Dg42xxeb_lcd.c278 lcd_show_screen(void *v, void *cookie, int waitok, argument
286 pxa2x0_lcd_show_screen(v,cookie,waitok,cb,cbarg);
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/lubbock/
H A Dlubbock_lcd.c249 lcd_show_screen(void *v, void *cookie, int waitok, argument
255 pxa2x0_lcd_show_screen(v,cookie,waitok,cb,cbarg);
/netbsd-6-1-5-RELEASE/sys/arch/hpcarm/dev/
H A Dwzero3_lcd.c430 wzero3lcd_show_screen(void *v, void *cookie, int waitok, void (*cb_func)(void *, int, int), void *cb_arg) argument
434 error = pxa2x0_lcd_show_screen(v, cookie, waitok, cb_func, cb_arg);
/netbsd-6-1-5-RELEASE/sys/arch/acorn26/ioc/
H A Darckbd.c99 enum arckbd_state newstate, int waitok);
316 arckbd_send(device_t self, int data, enum arckbd_state newstate, int waitok)
324 if (waitok) {
314 arckbd_send(device_t self, int data, enum arckbd_state newstate, int waitok) argument
/netbsd-6-1-5-RELEASE/sys/nfs/
H A Dnfs_srvsocket.c219 nfsdsock_lock(struct nfssvc_sock *slp, bool waitok) argument
224 if (!waitok) {
/netbsd-6-1-5-RELEASE/sys/dev/ic/
H A Dmlx.c538 mlx_configure(struct mlx_softc *mlx, int waitok) argument
553 sizeof(struct mlx_enquiry_old), NULL, waitok);
562 sizeof(struct mlx_enquiry), NULL, waitok);
572 sizeof(*mes) * MLX_MAX_DRIVES, NULL, waitok);
1510 void (*handler)(struct mlx_ccb *mc), int waitok)
1522 result = malloc(bufsize, M_DEVBUF, waitok ? M_WAITOK : M_NOWAIT);
1546 if (waitok)
1509 mlx_enquire(struct mlx_softc *mlx, int command, size_t bufsize, void (*handler)(struct mlx_ccb *mc), int waitok) argument
/netbsd-6-1-5-RELEASE/sys/arch/next68k/dev/
H A Dnextdisplay.c382 nextdisplay_show_screen(void *v, void *cookie, int waitok, argument
/netbsd-6-1-5-RELEASE/sys/arch/mac68k/dev/
H A Dmacfb.c324 macfb_show_screen(void *v, void *cookie, int waitok, argument
/netbsd-6-1-5-RELEASE/sys/fs/puffs/
H A Dpuffs_msgif.c136 puffs_msgpark_alloc(int waitok) argument
140 KASSERT(curlwp != uvm.pagedaemon_lwp || !waitok);
142 park = pool_cache_get(parkpc, waitok ? PR_WAITOK : PR_NOWAIT);
/netbsd-6-1-5-RELEASE/sys/rump/librump/rumpkern/
H A Dvm.c1136 rump_hypermalloc(size_t howmuch, int alignment, bool waitok, const char *wmsg) argument
1149 if (!waitok) {
1160 if (__predict_false(rv == NULL && waitok)) {
/netbsd-6-1-5-RELEASE/sys/arch/newsmips/apbus/
H A Dxafb.c327 xafb_show_screen(void *v, void *cookie, int waitok, argument
/netbsd-6-1-5-RELEASE/sys/arch/newsmips/dev/
H A Dfb.c317 fb_show_screen(void *v, void *cookie, int waitok, void (*cb)(void *, int, int), argument

Completed in 185 milliseconds

123