| /f-stack/freebsd/mips/ingenic/ |
| H A D | jz4780_efuse.c | 95 uint32_t abuf; in jz4780_efuse_read_chunk() local 111 abuf = CSR_READ_4(sc, JZ_EFUDATA0 + i); in jz4780_efuse_read_chunk() 112 memcpy(buf, &abuf, 4); in jz4780_efuse_read_chunk() 118 abuf = CSR_READ_4(sc, JZ_EFUDATA0 + i); in jz4780_efuse_read_chunk() 120 buf[i] = abuf & 0xff; in jz4780_efuse_read_chunk() 121 abuf >>= 8; in jz4780_efuse_read_chunk()
|
| /f-stack/freebsd/crypto/via/ |
| H A D | padlock_cipher.c | 190 u_char *buf, *abuf; in padlock_cipher_process() local 199 abuf = PADLOCK_ALIGN(buf); in padlock_cipher_process() 224 crp->crp_payload_length, abuf); in padlock_cipher_process() 229 padlock_cbc(abuf, abuf, crp->crp_payload_length / AES_BLOCK_LEN, key, in padlock_cipher_process() 235 crp->crp_payload_length, abuf); in padlock_cipher_process()
|
| /f-stack/freebsd/contrib/dpdk_rte_lpm/ |
| H A D | dpdk_lpm.c | 165 char abuf[INET_ADDRSTRLEN]; in handle_gu_change() local 169 inet_ntop(AF_INET, &addr, abuf, sizeof(abuf)); in handle_gu_change() 186 abuf, plen, nhidx, ret); in handle_gu_change() 197 "DEL", abuf, plen, nhidx, ret); in handle_gu_change() 254 char abuf[INET_ADDRSTRLEN]; in add_route_cb() local 255 inet_ntop(AF_INET, &addr4, abuf, sizeof(abuf)); in add_route_cb() 257 FIB_PRINTF(LOG_DEBUG, dd->fd, "Operating on %s/%d", abuf, plen); in add_route_cb() 276 dd->lpm, abuf, plen, nhidx, ret); in add_route_cb()
|
| H A D | dpdk_lpm6.c | 203 char abuf[INET6_ADDRSTRLEN]; in handle_gu_change() local 204 inet_ntop(AF_INET6, addr6, abuf, sizeof(abuf)); in handle_gu_change() 222 abuf, plen, nhidx, ret); in handle_gu_change() 233 "DEL", abuf, plen, ret); in handle_gu_change() 319 char abuf[INET6_ADDRSTRLEN]; in add_route_cb() local 320 inet_ntop(AF_INET6, &addr6, abuf, sizeof(abuf)); in add_route_cb() 321 FIB_PRINTF(LOG_DEBUG, dd->fd, "Operating on %s/%d", abuf, plen); in add_route_cb() 340 dd->lpm6, abuf, plen, nhidx, ret); in add_route_cb()
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_async.c | 81 u_char *abuf; /* Buffer to encode sync into */ member 190 sc->abuf = malloc(ASYNC_BUF_SIZE(sc->cfg.smru), in nga_constructor() 294 free(sc->abuf, M_NETGRAPH_ASYNC); in nga_rcvmsg() 295 sc->abuf = buf; in nga_rcvmsg() 341 free(sc->abuf, M_NETGRAPH_ASYNC); in nga_shutdown() 390 sc->abuf[(*len)++] = PPP_ESCAPE; in nga_async_add() 393 sc->abuf[(*len)++] = x; in nga_async_add() 455 sc->abuf[alen++] = PPP_FLAG; in nga_rcv_sync() 473 sc->abuf[alen++] = PPP_FLAG; in nga_rcv_sync() 476 if (!(m = m_devget(sc->abuf, alen, 0, rcvif, NULL))) { in nga_rcv_sync()
|
| /f-stack/dpdk/lib/librte_node/ |
| H A D | ip4_lookup.c | 130 char abuf[INET6_ADDRSTRLEN]; in rte_node_ip4_route_add() local 137 inet_ntop(AF_INET, &in, abuf, sizeof(abuf)); in rte_node_ip4_route_add() 140 node_dbg("ip4_lookup", "LPM: Adding route %s / %d nh (0x%x)", abuf, in rte_node_ip4_route_add() 152 abuf, depth, val, socket, ret); in rte_node_ip4_route_add()
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | dmu_diff.c | 136 arc_buf_t *abuf; in diff_cb() local 145 if (arc_read(NULL, spa, bp, arc_getbuf_func, &abuf, in diff_cb() 149 blk = abuf->b_data; in diff_cb() 157 arc_buf_destroy(abuf, &abuf); in diff_cb()
|
| H A D | zfs_vnops.c | 453 arc_buf_t *abuf = NULL; in zfs_write() local 466 abuf = dmu_request_arcbuf(sa_get_db(zp->z_sa_hdl), in zfs_write() 468 ASSERT(abuf != NULL); in zfs_write() 469 ASSERT(arc_buf_size(abuf) == max_blksz); in zfs_write() 470 if ((error = uiocopy(abuf->b_data, max_blksz, in zfs_write() 472 dmu_return_arcbuf(abuf); in zfs_write() 492 if (abuf != NULL) in zfs_write() 493 dmu_return_arcbuf(abuf); in zfs_write() 530 if (abuf == NULL) { in zfs_write() 577 sa_get_db(zp->z_sa_hdl), woff, abuf, tx); in zfs_write() [all …]
|
| H A D | dmu_send.c | 163 arc_buf_t *abuf; member 241 &range->sru.data.abuf); in range_free() 944 arc_buf_t *abuf = NULL; in do_dump() local 951 (abuf == NULL ? NULL : abuf->b_data)); in do_dump() 952 if (abuf != NULL) in do_dump() 953 arc_buf_destroy(abuf, &abuf); in do_dump() 980 srdp->abuf = arc_alloc_buf(spa, &srdp->abuf, in do_dump() 983 for (ptr = srdp->abuf->b_data; in do_dump() 1000 ASSERT3P(srdp->abuf, ==, NULL); in do_dump() 1002 data = srdp->abuf->b_data; in do_dump() [all …]
|
| H A D | zil.c | 223 arc_buf_t *abuf = NULL; in zil_read_log_block() local 240 &abuf, ZIO_PRIORITY_SYNC_READ, zio_flags, &aflags, &zb); in zil_read_log_block() 256 zil_chain_t *zilc = abuf->b_data; in zil_read_log_block() 270 char *lr = abuf->b_data; in zil_read_log_block() 287 arc_buf_destroy(abuf, &abuf); in zil_read_log_block() 302 arc_buf_t *abuf = NULL; in zil_read_log_data() local 326 error = arc_read(NULL, zilog->zl_spa, bp, arc_getbuf_func, &abuf, in zil_read_log_data() 331 bcopy(abuf->b_data, wbuf, arc_buf_size(abuf)); in zil_read_log_data() 332 arc_buf_destroy(abuf, &abuf); in zil_read_log_data()
|
| H A D | dbuf.c | 1143 arc_buf_t *abuf; in dbuf_loan_arcbuf() local 1152 abuf = arc_loan_buf(spa, B_FALSE, blksz); in dbuf_loan_arcbuf() 1153 bcopy(db->db.db_data, abuf->b_data, blksz); in dbuf_loan_arcbuf() 1155 abuf = db->db_buf; in dbuf_loan_arcbuf() 1156 arc_loan_inuse_buf(abuf, db); in dbuf_loan_arcbuf() 1161 return (abuf); in dbuf_loan_arcbuf() 3088 if (abuf != NULL) in dbuf_issue_final_prefetch_done() 3089 arc_buf_destroy(abuf, private); in dbuf_issue_final_prefetch_done() 3138 if (abuf == NULL) { in dbuf_prefetch_indirect_done() 3172 arc_buf_destroy(abuf, private); in dbuf_prefetch_indirect_done() [all …]
|
| H A D | zio.c | 3189 arc_buf_t *abuf = NULL; in zio_ddt_collision() local 3202 arc_getbuf_func, &abuf, ZIO_PRIORITY_SYNC_READ, in zio_ddt_collision() 3207 if (abd_cmp_buf(zio->io_orig_abd, abuf->b_data, in zio_ddt_collision() 3210 arc_buf_destroy(abuf, &abuf); in zio_ddt_collision() 3730 abd_t *abuf = abd_alloc_sametype(zio->io_abd, asize); in zio_vdev_io_start() local 3733 abd_copy(abuf, zio->io_abd, zio->io_size); in zio_vdev_io_start() 3734 abd_zero_off(abuf, zio->io_size, asize - zio->io_size); in zio_vdev_io_start() 3736 zio_push_transform(zio, abuf, asize, asize, zio_subblock); in zio_vdev_io_start()
|
| H A D | dmu_recv.c | 2192 arc_buf_t *abuf; in receive_spill() local 2198 abuf = arc_loan_raw_buf(dmu_objset_spa(rwa->os), in receive_spill() 2204 abuf = arc_loan_buf(dmu_objset_spa(rwa->os), in receive_spill() 2215 bcopy(abd_to_buf(abd), abuf->b_data, DRR_SPILL_PAYLOAD_SIZE(drrs)); in receive_spill() 2217 dbuf_assign_arcbuf((dmu_buf_impl_t *)db_spill, abuf, tx); in receive_spill()
|
| H A D | dmu_objset.c | 1533 dmu_objset_write_ready(zio_t *zio, arc_buf_t *abuf, void *arg) in dmu_objset_write_ready() argument 1564 dmu_objset_write_done(zio_t *zio, arc_buf_t *abuf, void *arg) in dmu_objset_write_done() argument
|
| /f-stack/freebsd/net/route/ |
| H A D | route_ddb.c | 208 char abuf[INET6_ADDRSTRLEN], *buf, *end; in _DB_FUNC() local 244 if (inet_ntop(af, dst_addrp, abuf, sizeof(abuf)) != NULL) in _DB_FUNC() 245 db_printf("Looking up route to destination '%s'\n", abuf); in _DB_FUNC()
|
| /f-stack/tools/ipfw/ |
| H A D | nptv6.c | 363 char abuf[INET6_ADDRSTRLEN]; in nptv6_show_cb() local 373 inet_ntop(AF_INET6, &cfg->internal, abuf, sizeof(abuf)); in nptv6_show_cb() 374 printf("nptv6 %s int_prefix %s ", cfg->name, abuf); in nptv6_show_cb() 378 inet_ntop(AF_INET6, &cfg->external, abuf, sizeof(abuf)); in nptv6_show_cb() 379 printf("ext_prefix %s ", abuf); in nptv6_show_cb()
|
| H A D | nat64lsn.c | 776 char abuf[INET6_ADDRSTRLEN]; in nat64lsn_show_cb() local 786 inet_ntop(AF_INET, &cfg->prefix4, abuf, sizeof(abuf)); in nat64lsn_show_cb() 787 printf("nat64lsn %s prefix4 %s/%u", cfg->name, abuf, cfg->plen4); in nat64lsn_show_cb() 788 inet_ntop(AF_INET6, &cfg->prefix6, abuf, sizeof(abuf)); in nat64lsn_show_cb() 789 printf(" prefix6 %s/%u", abuf, cfg->plen6); in nat64lsn_show_cb()
|
| H A D | nat64stl.c | 461 char abuf[INET6_ADDRSTRLEN]; in nat64stl_show_cb() local 474 inet_ntop(AF_INET6, &cfg->prefix6, abuf, sizeof(abuf)); in nat64stl_show_cb() 475 printf(" prefix6 %s/%u", abuf, cfg->plen6); in nat64stl_show_cb()
|
| H A D | tables.c | 1785 char abuf[INET6_ADDRSTRLEN + IF_NAMESIZE + 2]; in table_show_value() local 1838 inet_ntop(AF_INET, &a4, abuf, sizeof(abuf)); in table_show_value() 1839 l = snprintf(buf, sz, "%s,", abuf); in table_show_value() 1852 sa6.sin6_len, abuf, sizeof(abuf), NULL, 0, in table_show_value() 1855 if (inet_ntop(AF_INET6_LINUX, &sa6.sin6_addr, abuf, sizeof(abuf)) != NULL) in table_show_value() 1857 l = snprintf(buf, sz, "%s,", abuf); in table_show_value()
|
| /f-stack/dpdk/examples/l3fwd/ |
| H A D | l3fwd_lpm.c | 467 char abuf[INET6_ADDRSTRLEN]; in setup_lpm() local 503 inet_ntop(AF_INET, &in, abuf, sizeof(abuf)), in setup_lpm() 542 abuf, sizeof(abuf)), in setup_lpm()
|
| /f-stack/app/redis-5.0.5/deps/linenoise/ |
| H A D | linenoise.c | 451 struct abuf { struct 456 static void abInit(struct abuf *ab) { in abInit() argument 461 static void abAppend(struct abuf *ab, const char *s, int len) { in abAppend() 470 static void abFree(struct abuf *ab) { in abFree() 476 void refreshShowHints(struct abuf *ab, struct linenoiseState *l, int plen) { in refreshShowHints() 509 struct abuf ab; in refreshSingleLine() 552 struct abuf ab; in refreshMultiLine()
|
| /f-stack/dpdk/examples/l3fwd-graph/ |
| H A D | main.c | 1052 char abuf[INET6_ADDRSTRLEN]; in main() local 1065 inet_ntop(AF_INET, &in, abuf, sizeof(abuf)), in main()
|
| /f-stack/freebsd/contrib/openzfs/cmd/ztest/ |
| H A D | ztest.c | 2001 arc_buf_t *abuf = NULL; in ztest_replay_write() local 2044 abuf = dmu_request_arcbuf(db, length); in ztest_replay_write() 2048 if (abuf != NULL) in ztest_replay_write() 2049 dmu_return_arcbuf(abuf); in ztest_replay_write() 2096 if (abuf == NULL) { in ztest_replay_write() 2099 bcopy(data, abuf->b_data, length); in ztest_replay_write() 2100 dmu_assign_arcbuf_by_dbuf(db, offset, abuf, tx); in ztest_replay_write()
|