Searched refs:bufs (Results 1 - 25 of 39) sorted by relevance

12

/freebsd-10.0-release/contrib/xz/src/xz/
H A Dutil.c18 static char bufs[4][128]; variable
141 bufs[slot][0] = '\0';
142 snprintf(bufs[slot], sizeof(bufs[slot]), "%'u", 1U);
143 thousand = bufs[slot][0] == '1' ? WORKS : BROKEN;
153 assert(slot < ARRAY_SIZE(bufs));
158 snprintf(bufs[slot], sizeof(bufs[slot]), "%'" PRIu64, value);
160 snprintf(bufs[slot], sizeof(bufs[slo
[all...]
/freebsd-10.0-release/sys/dev/drm/
H A Ddrm_dma.c66 if (dma->bufs[i].seg_count) {
68 " seg_count = %d\n", i, dma->bufs[i].buf_count,
69 dma->bufs[i].seg_count);
70 for (j = 0; j < dma->bufs[i].seg_count; j++) {
71 drm_pci_free(dev, dma->bufs[i].seglist[j]);
73 free(dma->bufs[i].seglist, DRM_MEM_SEGS);
76 if (dma->bufs[i].buf_count) {
77 for (j = 0; j < dma->bufs[i].buf_count; j++) {
78 free(dma->bufs[i].buflist[j].dev_private,
81 free(dma->bufs[
[all...]
H A Ddrm_sysctl.c50 {"bufs", drm_bufs_info},
250 if (dma->bufs[i].buf_count)
253 dma->bufs[i].buf_size,
254 dma->bufs[i].buf_count,
255 atomic_read(&dma->bufs[i]
257 dma->bufs[i].seg_count,
258 dma->bufs[i].seg_count
259 *(1 << dma->bufs[i].page_order),
260 (dma->bufs[i].seg_count
261 * (1 << dma->bufs[
[all...]
H A Ddrm_bufs.c467 entry = &dma->bufs[order];
569 entry = &dma->bufs[order];
726 entry = &dma->bufs[order];
819 if (dev->dma->bufs[order].buf_count != 0) {
853 if (dev->dma->bufs[order].buf_count != 0) {
887 if (dev->dma->bufs[order].buf_count != 0) {
927 if (dma->bufs[i].buf_count)
935 if (dma->bufs[i].buf_count) {
938 from.count = dma->bufs[i].buf_count;
939 from.size = dma->bufs[
[all...]
/freebsd-10.0-release/sys/dev/drm2/
H A Ddrm_dma.c66 if (dma->bufs[i].seg_count) {
68 " seg_count = %d\n", i, dma->bufs[i].buf_count,
69 dma->bufs[i].seg_count);
70 for (j = 0; j < dma->bufs[i].seg_count; j++) {
71 drm_pci_free(dev, dma->bufs[i].seglist[j]);
73 free(dma->bufs[i].seglist, DRM_MEM_SEGS);
76 if (dma->bufs[i].buf_count) {
77 for (j = 0; j < dma->bufs[i].buf_count; j++) {
78 free(dma->bufs[i].buflist[j].dev_private,
81 free(dma->bufs[
[all...]
H A Ddrm_sysctl.c50 {"bufs", drm_bufs_info},
286 if (dma->bufs[i].buf_count)
289 dma->bufs[i].buf_size,
290 dma->bufs[i].buf_count,
291 atomic_read(&dma->bufs[i]
293 dma->bufs[i].seg_count,
294 dma->bufs[i].seg_count
295 *(1 << dma->bufs[i].page_order),
296 (dma->bufs[i].seg_count
297 * (1 << dma->bufs[
[all...]
H A Ddrm_bufs.c467 entry = &dma->bufs[order];
569 entry = &dma->bufs[order];
726 entry = &dma->bufs[order];
819 if (dev->dma->bufs[order].buf_count != 0) {
853 if (dev->dma->bufs[order].buf_count != 0) {
887 if (dev->dma->bufs[order].buf_count != 0) {
927 if (dma->bufs[i].buf_count)
935 if (dma->bufs[i].buf_count) {
938 from.count = dma->bufs[i].buf_count;
939 from.size = dma->bufs[
[all...]
/freebsd-10.0-release/contrib/wpa/src/crypto/
H A Dtls_schannel.c474 SecBuffer bufs[4]; local
495 os_memset(&bufs, 0, sizeof(bufs));
496 bufs[0].pvBuffer = wpabuf_put(out, sizes.cbHeader);
497 bufs[0].cbBuffer = sizes.cbHeader;
498 bufs[0].BufferType = SECBUFFER_STREAM_HEADER;
500 bufs[1].pvBuffer = wpabuf_put(out, 0);
502 bufs[1].cbBuffer = wpabuf_len(in_data);
503 bufs[1].BufferType = SECBUFFER_DATA;
505 bufs[
556 SecBuffer bufs[4]; local
[all...]
/freebsd-10.0-release/sys/boot/i386/libi386/
H A Dbiossmap.c47 STAILQ_ENTRY(smap_buf) bufs;
50 #define SMAP_BUFSIZE offsetof(struct smap_buf, bufs)
90 STAILQ_INSERT_TAIL(&head, next, bufs);
99 STAILQ_FOREACH(cur, &head, bufs)
106 STAILQ_FOREACH(cur, &head, bufs)
114 next = STAILQ_NEXT(cur, bufs);
/freebsd-10.0-release/sys/contrib/octeon-sdk/
H A Dcvmx-wqe.h83 uint64_t bufs : 8; /**< HW sets this to the number of buffers used by this packet */ member in struct:__anon7159::__anon7160
139 uint64_t bufs : 8; /**< HW sets this to the number of buffers used by this packet */ member in struct:__anon7159::__anon7161
197 uint64_t bufs : 8; /**< HW sets this to the number of buffers used by this packet */ member in struct:__anon7159::__anon7162
266 uint64_t bufs : 8; /**< HW sets this to the number of buffers used by this packet */ member in struct:__anon7159::__anon7164
321 uint64_t bufs : 8; /**< HW sets this to the number of buffers used by this packet */ member in struct:__anon7159::__anon7165
376 uint64_t bufs : 8; /**< HW sets this to the number of buffers used by this packet */ member in struct:__anon7159::__anon7166
H A Dcvmx-helper-util.h275 number_buffers = work->word2.s.bufs;
H A Dcvmx-helper-errata.c260 uint64_t number_buffers = work->word2.s.bufs;
/freebsd-10.0-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_strtab.c41 char *ptr, **bufs; local
46 bufs = realloc(sp->str_bufs, (sp->str_nbufs + 1) * sizeof (char *));
48 if (bufs == NULL) {
54 sp->str_bufs = bufs;
H A Ddt_link.c1077 dt_link_error(dtrace_hdl_t *dtp, Elf *elf, int fd, dt_link_pair_t *bufs, argument
1093 while ((pair = bufs) != NULL) {
1094 bufs = pair->dlp_next;
1125 dt_link_pair_t *pair, *bufs = NULL; local
1129 return (dt_link_error(dtp, elf, fd, bufs,
1134 return (dt_link_error(dtp, elf, fd, bufs,
1142 return (dt_link_error(dtp, elf, fd, bufs, "archives are not "
1146 return (dt_link_error(dtp, elf, fd, bufs,
1151 return (dt_link_error(dtp, elf, fd, bufs, "corrupt file: %s",
1187 return (dt_link_error(dtp, elf, fd, bufs,
[all...]
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Ddmu_impl.h245 struct arc_buf **bufs; member in struct:dmu_xuio
/freebsd-10.0-release/usr.bin/tsort/
H A Dtsort.c119 BUF bufs[2]; local
152 for (b = bufs, n = 2; --n >= 0; b++)
163 b = &bufs[n];
175 add_arc(bufs[0].b_buf, bufs[1].b_buf);
/freebsd-10.0-release/sys/mips/cavium/octe/
H A Dethernet-rx.c196 mbuf_in_hw = work->word2.s.bufs == 1;
240 if ((work->word2.s.bufs == 0)) {
254 int segments = work->word2.s.bufs;
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Frontend/
H A DChainedIncludesSource.cpp127 SmallVector<llvm::MemoryBuffer *, 4> bufs; local
129 bufs.push_back(llvm::MemoryBuffer::getMemBufferCopy(
142 Reader.reset(createASTReader(*Clang, pchName, bufs, serialBufNames,
/freebsd-10.0-release/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_cma.c172 ssk->max_bufs = ntohs(h->bsdh.bufs);
204 ssk->max_bufs = ntohs(h->bsdh.bufs);
321 hh.bsdh.bufs = htons(rx_ring_posted(sdp_sk(sk)));
351 hah.bsdh.bufs = htons(rx_ring_posted(ssk));
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/
H A Ddtrace.c1119 } bufs[] = { local
1131 for (i = 0; bufs[i].name != NULL; i++) {
1132 if (dtrace_getopt(g_dtp, bufs[i].optname, &bufs[i].val) == -1)
1133 fatal("couldn't get option %s", bufs[i].optname);
1144 for (i = 0; bufs[i].name != NULL; i++) {
1148 if (bufs[i].val == DTRACEOPT_UNSET)
1151 (void) dtrace_getopt(g_dtp, bufs[i].optname, &nsize);
1156 if (nsize >= bufs[i].val - sizeof (uint64_t))
1163 error("%s lowered to %lld%c\n", bufs[
[all...]
/freebsd-10.0-release/crypto/openssl/crypto/idea/
H A Dideatest.c219 static char bufs[10][20]; local
225 ret= &(bufs[bnum++][0]);
/freebsd-10.0-release/crypto/openssl/crypto/rc2/
H A Drc2test.c256 static char bufs[10][20]; local
262 ret= &(bufs[bnum++][0]);
/freebsd-10.0-release/contrib/gcclibs/libmudflap/
H A Dmf-hooks1.c83 static char bufs[NB][BS]; local
92 return & bufs[i][0];
/freebsd-10.0-release/sys/dev/hatm/
H A Dif_hatm_tx.c309 tpd->tpd.bufs[n].addr = segs[i].ds_addr;
310 tpd->tpd.bufs[n].len = segs[i].ds_len;
313 tpd_cnt, n, tpd->tpd.bufs[n].addr, tpd->tpd.bufs[n].len));
316 tpd->tpd.bufs[n].len |= HE_REGM_TPD_LST;
/freebsd-10.0-release/sbin/routed/
H A Dtrace.c127 } bufs[NUM_BUFS]; local
132 s = strcpy(bufs[bufno].str, inet_ntoa(addr));
439 } bufs[NUM_BUFS]; local
444 s = strcpy(bufs[bufno].str, naddr_ntoa(addr));

Completed in 369 milliseconds

12