Home
last modified time | relevance | path

Searched refs:bytecnt (Results 1 – 15 of 15) sorted by relevance

/freebsd-12.1/usr.bin/split/
H A Dsplit.c68 static off_t bytecnt; /* Byte count to split on. */ variable
123 error = expand_number(optarg, &bytecnt); in main()
177 else if (bytecnt != 0 || chunks != 0) in main()
180 if (bytecnt && chunks) in main()
186 if (bytecnt) { in main()
227 if (bcnt + len >= bytecnt) { in split1()
228 dist = bytecnt - bcnt; in split1()
232 for (C = bfr + dist; len >= bytecnt; in split1()
233 len -= bytecnt, C += bytecnt) { in split1()
239 C, bytecnt) != bytecnt) in split1()
[all …]
/freebsd-12.1/usr.bin/head/
H A Dhead.c81 off_t bytecnt = -1; in main() local
88 bytecnt = strtoimax(optarg, &ep, 10); in main()
89 if (*ep || bytecnt <= 0) in main()
104 if (linecnt != -1 && bytecnt != -1) in main()
120 if (bytecnt == -1) in main()
123 head_bytes(fp, bytecnt); in main()
126 } else if (bytecnt == -1) in main()
129 head_bytes(stdin, bytecnt); in main()
/freebsd-12.1/contrib/ofed/libmlx4/
H A Dmmio.h70 unsigned bytecnt) in mlx4_bf_copy() argument
72 mmio_write((unsigned long)dst, src, bytecnt); in mlx4_bf_copy()
106 unsigned bytecnt) in mlx4_bf_copy() argument
108 while (bytecnt > 0) { in mlx4_bf_copy()
111 bytecnt -= 2 * sizeof(long); in mlx4_bf_copy()
/freebsd-12.1/usr.sbin/lpr/common_source/
H A Dcommon.c562 trstat_write(struct printer *pp, tr_sendrecv sendrecv, size_t bytecnt, in trstat_write() argument
687 (unsigned long)bytecnt); in trstat_write()
694 if ((bytecnt > 25000) && (trtime > 1.1)) { in trstat_write()
696 ((double)bytecnt/trtime)); in trstat_write()
/freebsd-12.1/contrib/file/src/
H A Dsoftmagic.c1274 size_t lines, linecnt, bytecnt; in mcopy() local
1284 bytecnt = linecnt * 80; in mcopy()
1287 bytecnt = m->str_range; in mcopy()
1290 if (bytecnt == 0 || bytecnt > nbytes - offset) in mcopy()
1291 bytecnt = nbytes - offset; in mcopy()
1292 if (bytecnt > ms->regex_max) in mcopy()
1293 bytecnt = ms->regex_max; in mcopy()
1296 end = last = RCAST(const char *, s) + bytecnt + offset; in mcopy()
/freebsd-12.1/sys/dev/neta/
H A Dif_mvnetareg.h829 uint16_t bytecnt; /* 0ff 0x04: buffer byte count */ member
842 uint16_t bytecnt; /* buffer byte count */ member
H A Dif_mvneta.c2746 t->bytecnt = txsegs[i].ds_len; in mvneta_tx_queue()
3031 pktlen = r->bytecnt - ETHER_CRC_LEN - MVNETA_HWHEADER_SIZE; in mvneta_rx_queue()
/freebsd-12.1/sys/netinet6/
H A Dip6_mroute.h184 u_quad_t bytecnt; member
H A Dip6_mroute.c504 req->bytecnt = rt->mf6c_byte_cnt; in get_sg_cnt()
/freebsd-12.1/sys/netinet/
H A Dip_mroute.h239 u_long bytecnt; member
H A Dip_mroute.c575 req->pktcnt = req->bytecnt = req->wrong_if = 0xffffffff; in get_sg_cnt()
579 req->bytecnt = rt->mfc_byte_cnt; in get_sg_cnt()
/freebsd-12.1/contrib/ofed/libmlx5/
H A Dqp.c239 unsigned bytecnt, struct mlx5_qp *qp) in mlx5_bf_copy() argument
241 while (bytecnt > 0) { in mlx5_bf_copy()
250 bytecnt -= 8 * sizeof(unsigned long long); in mlx5_bf_copy()
/freebsd-12.1/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_tx.c626 static void mlx4_bf_copy(void __iomem *dst, volatile unsigned long *src, unsigned bytecnt) in mlx4_bf_copy() argument
628 __iowrite64_copy(dst, __DEVOLATILE(void *, src), bytecnt / 8); in mlx4_bf_copy()
/freebsd-12.1/contrib/elftoolchain/readelf/
H A Dreadelf.c5586 Dwarf_Unsigned off, bytecnt; in dump_dwarf_ranges_foreach() local
5608 &bytecnt, &de) != DW_DLV_OK) in dump_dwarf_ranges_foreach()
5654 Dwarf_Unsigned bytecnt; in dump_dwarf_ranges() local
5660 if (dwarf_get_ranges(re->dbg, 0, &ranges, &cnt, &bytecnt, &de) != in dump_dwarf_ranges()
/freebsd-12.1/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_qp.c3721 unsigned bytecnt, struct mlx5_ib_qp *qp) in mlx5_bf_copy() argument
3723 while (bytecnt > 0) { in mlx5_bf_copy()
3732 bytecnt -= 64; in mlx5_bf_copy()