Home
last modified time | relevance | path

Searched refs:bufp (Results 1 – 14 of 14) sorted by relevance

/f-stack/freebsd/opencrypto/
H A Dcryptodeflate.c117 bufh = bufp = malloc(sizeof(*bufp) + (size_t)(size * i), in deflate_global()
176 bufp->next = p; in deflate_global()
177 bufp = p; in deflate_global()
202 for (bufp = bufh; bufp != NULL; ) { in deflate_global()
206 bcopy(bufp->data, *out, bufp->size); in deflate_global()
209 p = bufp; in deflate_global()
210 bufp = bufp->next; in deflate_global()
217 bufp = NULL; in deflate_global()
230 for (bufp = bufh; bufp != NULL; ) { in deflate_global()
233 p = bufp; in deflate_global()
[all …]
/f-stack/dpdk/lib/librte_eventdev/
H A Drte_event_timer_adapter.c445 return (bufp->head - bufp->tail) == EVENT_BUFFER_SZ; in event_buffer_full()
451 return (bufp->head - bufp->tail) >= EVENT_BUFFER_BATCHSZ; in event_buffer_batch_ready()
457 bufp->head = bufp->tail = 0; in event_buffer_init()
467 if (event_buffer_full(bufp)) in event_buffer_add()
471 head_idx = bufp->head & EVENT_BUFFER_MASK; in event_buffer_add()
472 buf_eventp = &bufp->events[head_idx]; in event_buffer_add()
476 bufp->head++; in event_buffer_add()
486 struct rte_event *events = bufp->events; in event_buffer_flush()
491 head_idx = bufp->head & EVENT_BUFFER_MASK; in event_buffer_flush()
503 else if (event_buffer_full(bufp)) in event_buffer_flush()
[all …]
/f-stack/tools/sysctl/
H A Dsysctl.c508 char *cp, *bufp, *buf, fmt[BUFSIZ], line[BUFSIZ]; local
524 bufp = strsep(&cp, "=:");
546 cp = bufp + strlen(bufp) - 1;
547 while (cp >= bufp && isspace((int)*cp)) {
555 len = name2oid(bufp, mib);
563 warnx("unknown oid '%s'%s", bufp, line);
565 warn("unknown oid '%s'%s", bufp, line);
573 warn("couldn't find format of oid '%s'%s", bufp, line);
613 warnx("oid '%s' isn't a leaf node%s", bufp, line);
623 warnx("oid '%s' is read only%s", bufp, line);
[all …]
/f-stack/tools/netstat/
H A Dunix.c78 pcblist_sysctl(int type, char **bufp) in pcblist_sysctl() argument
101 *bufp = buf; in pcblist_sysctl()
107 pcblist_kvm(u_long count_off, u_long gencnt_off, u_long head_off, char **bufp) in pcblist_kvm() argument
190 *bufp = buf; in pcblist_kvm()
H A Dinet.c99 pcblist_sysctl(int proto, const char *name, char **bufp) in pcblist_sysctl() argument
136 *bufp = buf; in pcblist_sysctl()
/f-stack/dpdk/drivers/raw/octeontx2_dma/
H A Dotx2_dpi_test.c64 struct rte_rawdev_buf *bufp[1]; in dma_test_internal() local
93 bufp[0] = &buf; in dma_test_internal()
100 (struct rte_rawdev_buf **)bufp, 1, in dma_test_internal()
/f-stack/dpdk/drivers/net/cxgbe/
H A Dcxgbe_main.c715 char *bufp = buf; in cxgbe_print_port_info() local
718 bufp += sprintf(bufp, "100M/"); in cxgbe_print_port_info()
720 bufp += sprintf(bufp, "1G/"); in cxgbe_print_port_info()
722 bufp += sprintf(bufp, "10G/"); in cxgbe_print_port_info()
724 bufp += sprintf(bufp, "25G/"); in cxgbe_print_port_info()
726 bufp += sprintf(bufp, "40G/"); in cxgbe_print_port_info()
728 bufp += sprintf(bufp, "50G/"); in cxgbe_print_port_info()
730 bufp += sprintf(bufp, "100G/"); in cxgbe_print_port_info()
731 if (bufp != buf) in cxgbe_print_port_info()
732 --bufp; in cxgbe_print_port_info()
[all …]
/f-stack/freebsd/net/
H A Dslcompress.c409 sl_uncompress_tcp(u_char **bufp, int len, u_int type, struct slcompress *comp) in sl_uncompress_tcp() argument
414 cp = bufp? *bufp: NULL; in sl_uncompress_tcp()
441 *bufp = cp; in sl_uncompress_tcp()
/f-stack/freebsd/sys/
H A Dracct.h180 void racct_add_buf(struct proc *p, const struct buf *bufp, int is_write);
/f-stack/freebsd/contrib/openzfs/module/nvpair/
H A Dnvpair.c2657 nvlist_pack(nvlist_t *nvl, char **bufp, size_t *buflen, int encoding, in nvlist_pack() argument
2660 return (nvlist_xpack(nvl, bufp, buflen, encoding, in nvlist_pack()
2665 nvlist_xpack(nvlist_t *nvl, char **bufp, size_t *buflen, int encoding, in nvlist_xpack() argument
2673 if (nva == NULL || nvl == NULL || bufp == NULL || buflen == NULL) in nvlist_xpack()
2676 if (*bufp != NULL) in nvlist_xpack()
2677 return (nvlist_common(nvl, *bufp, buflen, encoding, in nvlist_xpack()
2705 *bufp = buf; in nvlist_xpack()
/f-stack/freebsd/kern/
H A Dvfs_mount.c1075 void *bufp; in vfs_domount_update() local
1157 if (error == 0 && vfs_getopt(mp->mnt_optnew, "export", &bufp, in vfs_domount_update()
1165 bcopy(bufp, &o2export, len); in vfs_domount_update()
1200 bcopy(bufp, &export, len); in vfs_domount_update()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Darc.c3093 arc_buf_t **bufp = &hdr->b_l1hdr.b_buf; in arc_buf_remove() local
3100 while (*bufp != NULL) { in arc_buf_remove()
3101 if (*bufp == buf) in arc_buf_remove()
3102 *bufp = buf->b_next; in arc_buf_remove()
3109 if (*bufp != NULL) { in arc_buf_remove()
3110 lastbuf = *bufp; in arc_buf_remove()
3111 bufp = &(*bufp)->b_next; in arc_buf_remove()
5629 arc_buf_t **bufp = arg; in arc_getbuf_func() local
5633 *bufp = NULL; in arc_getbuf_func()
5636 *bufp = buf; in arc_getbuf_func()
/f-stack/dpdk/drivers/net/cxgbe/base/
H A Dt4_hw.c1947 u32 *bufp = (u32 *)((char *)buf + reg); in t4_get_regs() local
1952 while (reg <= last_reg && bufp < buf_end) { in t4_get_regs()
1953 *bufp++ = t4_read_reg(adap, reg); in t4_get_regs()
/f-stack/freebsd/contrib/openzfs/lib/libnvpair/
H A Dlibnvpair.abi1756 …<parameter type-id='type-id-132' name='bufp' filepath='../../module/nvpair/nvpair.c' line='2657' c…
2386 …<parameter type-id='type-id-132' name='bufp' filepath='../../module/nvpair/nvpair.c' line='2665' c…