Searched refs:wp (Results 1 - 25 of 116) sorted by relevance

12345

/freebsd-11.0-release/sys/geom/bde/
H A Dg_bde_work.c78 static void g_bde_delete_sector(struct g_bde_softc *wp, struct g_bde_sector *sp);
79 static struct g_bde_sector * g_bde_new_sector(struct g_bde_work *wp, u_int len);
80 static void g_bde_release_keysector(struct g_bde_work *wp);
81 static struct g_bde_sector *g_bde_get_keysector(struct g_bde_work *wp);
98 struct g_bde_work *wp; local
100 wp = malloc(sizeof *wp, M_GBDE, M_NOWAIT | M_ZERO);
101 if (wp == NULL)
102 return (wp);
103 wp
112 g_bde_delete_work(struct g_bde_work *wp) argument
144 g_bde_new_sector(struct g_bde_work *wp, u_int len) argument
201 g_bde_get_keysector(struct g_bde_work *wp) argument
266 g_bde_release_keysector(struct g_bde_work *wp) argument
332 g_bde_read_keysector(struct g_bde_softc *sc, struct g_bde_work *wp) argument
393 g_bde_work_done(struct g_bde_work *wp, int error) argument
413 struct g_bde_work *wp; local
551 struct g_bde_work *wp, *twp; local
677 g_bde_start2(struct g_bde_work *wp) argument
739 struct g_bde_work *wp; local
[all...]
H A Dg_bde_crypt.c116 g_bde_crypt_read(struct g_bde_work *wp) argument
128 sc = wp->softc;
130 for (n = 0; o < wp->length; n++, o += sc->sectorsize) {
131 d = (u_char *)wp->ksp->data + wp->ko + n * G_BDE_SKEYLEN;
132 g_bde_kkey(sc, &ki, DIR_DECRYPT, wp->offset + o);
134 d = (u_char *)wp->data + o;
151 g_bde_crypt_write(struct g_bde_work *wp) argument
161 sc = wp->softc;
164 for (n = 0; o < wp
193 g_bde_crypt_delete(struct g_bde_work *wp) argument
269 g_bde_map_sector(struct g_bde_work *wp) argument
[all...]
/freebsd-11.0-release/sys/dev/wds/
H A Dwd7000.c162 #define WDSTOPHYS(wp, a) ( ((uintptr_t)a) - ((uintptr_t)wp->dx) + (wp->dx_p) )
163 #define WDSTOVIRT(wp, a) ( ((a) - (wp->dx_p)) + ((char *)wp->dx) )
327 static void wds_intr_locked(struct wds *wp);
332 static int wds_preinit(struct wds *wp);
333 static int wds_init(struct wds *wp);
337 static void wds_free_resources(struct wds *wp);
458 struct wds *wp; local
514 struct wds *wp; local
650 wds_free_resources(struct wds *wp) argument
691 frag_alloc(struct wds *wp, int size, u_int8_t **res, u_int32_t *maskp) argument
726 frag_free(struct wds *wp, u_int32_t mask) argument
733 wdsr_alloc(struct wds *wp) argument
766 struct wds *wp; local
775 wds_intr_locked(struct wds *wp) argument
814 wds_done(struct wds *wp, struct wds_req *r, u_int8_t stat) argument
924 wds_runsense(struct wds *wp, struct wds_req *r) argument
970 wds_getvers(struct wds *wp) argument
1019 wdsr_ccb_done(struct wds *wp, struct wds_req *r, union ccb *ccb, u_int32_t status) argument
1048 struct wds *wp; local
1255 wds_preinit(struct wds *wp) argument
1291 wds_init(struct wds *wp) argument
1340 wds_cmd(struct wds *wp, u_int8_t * p, int l) argument
1357 wds_wait(struct wds *wp, int reg, int mask, int val) argument
1364 cmdtovirt(struct wds *wp, u_int32_t phys) argument
1384 struct wds *wp; local
[all...]
/freebsd-11.0-release/contrib/tcsh/
H A Dtc.who.c207 struct who *wp, *wpnew; local
298 for (wp = whohead.who_next; wp->who_next != NULL; wp = wp->who_next)
299 wp->who_status = OFFLINE | CLEARED;
329 wp = whohead.who_next;
330 while (wp->who_next && (comp = strncmp(wp->who_tty, utmp.ut_line, UTLINLEN)) < 0)
331 wp
476 debugwholist(struct who *new, struct who *wp) argument
510 print_who(struct who *wp) argument
535 struct who *wp = ptr; local
622 struct who *wp; local
649 struct who *wp; local
669 struct who *wp, *wpnew; local
[all...]
/freebsd-11.0-release/sys/geom/vinum/
H A Dgeom_vinum_raid5.c57 struct gv_raid5_packet *wp, *wp2; local
62 wp = g_malloc(sizeof(*wp), M_WAITOK | M_ZERO);
63 wp->bio = bp;
64 wp->waiting = NULL;
65 wp->parity = NULL;
66 TAILQ_INIT(&wp->bits);
69 err = gv_raid5_rebuild(p, wp, bp, addr, boff, bcount);
71 err = gv_raid5_check(p, wp, bp, addr, boff, bcount);
73 err = gv_raid5_request(p, wp, b
146 struct gv_raid5_packet *wp, *owp; local
173 gv_raid5_check(struct gv_plex *p, struct gv_raid5_packet *wp, struct bio *bp, caddr_t addr, off_t boff, off_t bcount) argument
251 gv_raid5_rebuild(struct gv_plex *p, struct gv_raid5_packet *wp, struct bio *bp, caddr_t addr, off_t boff, off_t bcount) argument
339 gv_raid5_request(struct gv_plex *p, struct gv_raid5_packet *wp, struct bio *bp, caddr_t addr, off_t boff, off_t bcount, int *delay) argument
640 gv_raid5_clone_bio(struct bio *bp, struct gv_sd *s, struct gv_raid5_packet *wp, caddr_t addr, int use_wp) argument
[all...]
H A Dgeom_vinum_plex.c58 struct gv_raid5_packet *wp; local
68 wp = NULL;
75 wp = gv_raid5_start(p, bp, addr, boff, bcount);
76 if (wp == NULL)
79 len = wp->length;
81 if (TAILQ_EMPTY(&wp->bits))
82 g_free(wp);
83 else if (wp->lockbase != -1)
84 TAILQ_INSERT_TAIL(&p->packets, wp, list);
332 struct gv_raid5_packet *wp; local
450 gv_check_parity(struct gv_plex *p, struct bio *bp, struct gv_raid5_packet *wp) argument
505 gv_normal_parity(struct gv_plex *p, struct bio *bp, struct gv_raid5_packet *wp) argument
[all...]
/freebsd-11.0-release/contrib/ncurses/ncurses/base/
H A Dlib_window.c97 WINDOW *wp; local
101 for (wp = win; wp->_parent; wp = wp->_parent) {
103 WINDOW *pp = wp->_parent;
105 assert((wp->_pary <= pp->_maxy) &&
106 ((wp->_pary + wp->_maxy) <= pp->_maxy));
108 for (y = 0; y <= wp
166 WINDOW *wp; local
[all...]
H A Dresizeterm.c70 WINDOWLIST *wp; local
78 for (each_window(sp, wp)) {
80 (void *) &(wp->win),
81 (long) wp->win._maxy + 1,
82 (long) wp->win._maxx + 1,
83 (long) wp->win._begy,
84 (long) wp->win._begx);
173 WINDOWLIST *wp; local
175 for (each_window(sp, wp)) {
176 WINDOW *tst = &(wp
276 WINDOWLIST *wp; local
310 WINDOWLIST *wp; local
[all...]
/freebsd-11.0-release/usr.sbin/ppp/
H A Dasync.c86 u_char *wp; local
88 wp = *cp;
91 *wp++ = HDLC_ESC;
95 *wp++ = HDLC_ESC;
98 *wp++ = c;
99 *cp = wp;
108 struct mbuf *wp; local
121 wp = bp;
123 while (wp) {
124 sp = MBUF_CTOP(wp);
[all...]
H A Dpred.c179 u_char *cp, *wp, *hp; local
186 hp = wp = MBUF_CTOP(mwp);
188 *wp++ = *cp++ = orglen >> 8;
189 *wp++ = *cp++ = orglen & 0377;
196 len = compress(state, bufp + 2, wp, orglen);
201 wp += len;
204 memcpy(wp, bufp + 2, orglen);
205 wp += orglen;
209 *wp++ = fcs & 0377;
210 *wp
222 struct mbuf *wp; local
[all...]
/freebsd-11.0-release/cddl/contrib/opensolaris/lib/libuutil/common/
H A Duu_avl.c309 _avl_walk_init(uu_avl_walk_t *wp, uu_avl_t *ap, uint32_t flags) argument
316 (void) memset(wp, 0, sizeof (*wp));
317 wp->uaw_avl = ap;
318 wp->uaw_robust = robust;
319 wp->uaw_dir = direction;
322 wp->uaw_next_result = avl_first(&ap->ua_tree);
324 wp->uaw_next_result = avl_last(&ap->ua_tree);
327 wp->uaw_next = next = &ap->ua_null_walk;
328 wp
335 _avl_walk_advance(uu_avl_walk_t *wp, uu_avl_t *ap) argument
351 _avl_walk_fini(uu_avl_walk_t *wp) argument
366 uu_avl_walk_t *wp; local
384 uu_avl_walk_next(uu_avl_walk_t *wp) argument
390 uu_avl_walk_end(uu_avl_walk_t *wp) argument
424 uu_avl_walk_t *wp; local
[all...]
H A Duu_list.c397 list_walk_init(uu_list_walk_t *wp, uu_list_t *lp, uint32_t flags) argument
404 (void) memset(wp, 0, sizeof (*wp));
405 wp->ulw_list = lp;
406 wp->ulw_robust = robust;
407 wp->ulw_dir = direction;
409 wp->ulw_next_result = lp->ul_null_node.uln_next;
411 wp->ulw_next_result = lp->ul_null_node.uln_prev;
419 wp->ulw_next = next = &lp->ul_null_walk;
420 wp
427 list_walk_advance(uu_list_walk_t *wp, uu_list_t *lp) argument
442 list_walk_fini(uu_list_walk_t *wp) argument
458 uu_list_walk_t *wp; local
476 uu_list_walk_next(uu_list_walk_t *wp) argument
488 uu_list_walk_end(uu_list_walk_t *wp) argument
543 uu_list_walk_t *wp; local
[all...]
/freebsd-11.0-release/contrib/libreadline/
H A Dnls.c161 char *wp, *retval; local
182 wp = retval;
186 *wp++ = 'i';
187 *wp++ = 's';
188 *wp++ = 'o';
193 *wp++ = _rl_to_lower (codeset[i]);
195 *wp++ = codeset[i];
196 *wp = '\0';
/freebsd-11.0-release/lib/libc/db/test/hash.tests/
H A Dtseq.c54 char wp[8192]; variable
77 bcopy ( res.data, wp, res.size );
78 wp[res.size] = 0;
82 printf ( "%s %s\n", wp, cp );
/freebsd-11.0-release/contrib/nvi/vi/
H A Dv_at.c44 CHAR_T *wp; local
107 CHAR2INT(sp, nbuf, len, wp, wlen);
108 MEMCPY(wbuf, wp, wlen);
109 if (v_event_push(sp, NULL, wp, wlen, 0))
/freebsd-11.0-release/usr.bin/mail/
H A Dhead.c250 nextword(char *wp, char *wbuf) argument
254 if (wp == NULL) {
258 while ((c = *wp++) != '\0' && c != ' ' && c != '\t') {
261 while ((c = *wp++) != '\0' && c != '"')
266 wp--;
270 for (; c == ' ' || c == '\t'; c = *wp++)
274 return (wp - 1);
/freebsd-11.0-release/contrib/libarchive/libarchive/
H A Darchive_acl.c60 static void next_field_w(const wchar_t **wp, const wchar_t **start,
64 static void append_entry_w(wchar_t **wp, const wchar_t *prefix, int tag,
66 static void append_id_w(wchar_t **wp, int id);
448 wchar_t *wp; local
493 wp = acl->acl_text_w = (wchar_t *)malloc(length * sizeof(wchar_t));
494 if (wp == NULL)
498 append_entry_w(&wp, NULL, ARCHIVE_ENTRY_ACL_USER_OBJ, NULL,
500 *wp++ = ',';
501 append_entry_w(&wp, NULL, ARCHIVE_ENTRY_ACL_GROUP_OBJ, NULL,
503 *wp
561 append_id_w(wchar_t **wp, int id) argument
571 append_entry_w(wchar_t **wp, const wchar_t *prefix, int tag, const wchar_t *wname, int perm, int id) argument
998 next_field_w(const wchar_t **wp, const wchar_t **start, const wchar_t **end, wchar_t *sep) argument
[all...]
/freebsd-11.0-release/contrib/nvi/cl/
H A Dcl_term.c96 CHAR_T *wp; local
103 CHAR2INT(sp, tkp->name, strlen(tkp->name), wp, wlen);
104 MEMCPY(name, wp, wlen);
105 CHAR2INT(sp, t, strlen(t), wp, wlen);
106 MEMCPY(ts, wp, wlen);
107 CHAR2INT(sp, tkp->output, strlen(tkp->output), wp, wlen);
108 MEMCPY(output, wp, wlen);
124 CHAR2INT(sp, tkp->name, strlen(tkp->name), wp, wlen);
125 MEMCPY(name, wp, wlen);
126 CHAR2INT(sp, t, strlen(t), wp, wle
235 CHAR_T *wp; local
[all...]
/freebsd-11.0-release/sys/compat/linux/
H A Dlinux_futex.c247 #define FUTEX_WP_REQUEUED 0x1 /* wp requeued - wp moved from wp_list
251 #define FUTEX_WP_REMOVED 0x2 /* wp is woken up and removed from futex
311 futex_put(struct futex *f, struct waiting_proc *wp) argument
313 LIN_SDT_PROBE2(futex, futex_put, entry, f, wp);
315 if (wp != NULL) {
316 if ((wp->wp_flags & FUTEX_WP_REMOVED) == 0)
317 TAILQ_REMOVE(&f->f_waiting_proc, wp, wp_list);
318 free(wp, M_FUTEX_WP);
452 futex_get(uint32_t *uaddr, struct waiting_proc **wp, struc argument
503 futex_sleep(struct futex *f, struct waiting_proc *wp, struct timespec *ts) argument
566 struct waiting_proc *wp, *wpt; local
604 struct waiting_proc *wp, *wpt; local
649 futex_wait(struct futex *f, struct waiting_proc *wp, struct timespec *ts, uint32_t bitset) argument
752 struct waiting_proc *wp; local
[all...]
/freebsd-11.0-release/release/picobsd/tinyware/msh/
H A Dsh3.c43 _PROTOTYPE(static int forkexec, (struct op *t, int *pin, int *pout, int act, char **wp, int *pforked ));
46 _PROTOTYPE(static void echo, (char **wp ));
70 _PROTOTYPE(static void rdexp, (char **wp, void (*f)(), int key));
84 char *cp, **wp, **wp2; local
92 wp = (wp2 = t->words) != NULL
99 rv = forkexec(t, pin, pout, act, wp, &child);
156 if (wp == NULL) {
157 wp = dolv+1;
162 while (*wp++ != NULL)
170 for (t1 = t->left; i-- && *wp !
458 register char **wp, *cp; local
816 register char *cp, **wp; local
[all...]
/freebsd-11.0-release/crypto/openssl/crypto/whrlpool/
H A DMakefile45 wp-mmx.s: asm/wp-mmx.pl ../perlasm/x86asm.pl
46 $(PERL) asm/wp-mmx.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
48 wp-x86_64.s: asm/wp-x86_64.pl
49 $(PERL) asm/wp-x86_64.pl $(PERLASM_SCHEME) > $@
/freebsd-11.0-release/contrib/ncurses/ncurses/widechar/
H A Dlib_cchar.c102 wchar_t *wp; local
114 len = ((wp = wmemchr(wcval->chars, L'\0', (size_t) CCHARW_MAX))
115 ? (int) (wp - wcval->chars)
/freebsd-11.0-release/contrib/nvi/ex/
H A Dex_source.c45 CHAR_T *wp; local
87 if (CHAR2INT(sp, bp, (size_t)sb.st_size + 1, wp, wlen))
90 rc = ex_run_str(sp, np, wp, wlen - 1, 1, 0);
H A Dex_visual.c44 CHAR_T *wp; local
87 CHAR2INT(sp, buf, len, wp, wlen);
88 (void)v_event_push(sp, NULL, wp, wlen, CH_NOMAP | CH_QUOTED);
/freebsd-11.0-release/contrib/libarchive/libarchive/test/
H A Dtest_archive_string_conversion.c135 unicode_to_wc(wchar_t *wp, uint32_t uc) argument
138 *wp = (wchar_t)uc;
145 *wp++ = (wchar_t)(((uc >> 10) & 0x3ff) + 0xD800);
146 *wp = (wchar_t)((uc & 0x3ff) + 0xDC00);
149 *wp = (wchar_t)uc;
319 const wchar_t *wp; local
415 archive_mstring_get_wcs(a, &mstr, &wp));
418 assertEqualWString(wc_nfc, wp);
426 archive_mstring_get_wcs(a, &mstr, &wp));
429 assertEqualWString(wc_nfc, wp);
530 const wchar_t *wp; local
[all...]

Completed in 205 milliseconds

12345