Home
last modified time | relevance | path

Searched refs:wcount (Results 1 – 10 of 10) sorted by relevance

/freebsd/bin/cp/
H A Dutils.c75 ssize_t rcount, wresid, wcount = 0; in copy_fallback() local
90 for (bufp = buf, wresid = rcount; ; bufp += wcount, wresid -= wcount) { in copy_fallback()
91 wcount = write(to_fd, bufp, wresid); in copy_fallback()
92 if (wcount <= 0) in copy_fallback()
94 if (wcount >= wresid) in copy_fallback()
97 return (wcount < 0 ? wcount : rcount); in copy_fallback()
104 ssize_t wcount; in copy_file() local
205 if (wcount < 0 && errno == EINVAL) { in copy_file()
213 wtotal += wcount; in copy_file()
221 } while (wcount > 0); in copy_file()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_clear/
H A Dzpool_clear_001_pos.ksh114 typeset -i wcount=0
119 (( wcount = size*1024*1024 - 512 ))
123 (( wcount = size*1024 - 512 ))
127 (( wcount = size - 512 ))
130 (( wcount = FILESIZE/1024 - 512 ))
133 dd if=/dev/zero of=$fbase.$i seek=512 bs=1024 count=$wcount conv=notrunc 2>/dev/null
/freebsd/sys/dev/smbus/
H A Dsmb.c63 int wcount; member
183 CP(*uaddr, *kaddr, wcount); in smbcopyincmd32()
353 if (s->wcount < 0) { in smbioctl()
357 if (s->wcount > SMB_MAXBLOCKSIZE) in smbioctl()
358 s->wcount = SMB_MAXBLOCKSIZE; in smbioctl()
359 if (s->wcount) in smbioctl()
360 error = copyin(s->wbuf, buf, s->wcount); in smbioctl()
364 s->wcount, buf)); in smbioctl()
H A Dsmbconf.h117 #define smbus_trans(bus,slave,cmd,op,wbuf,wcount,rbuf,rcount,actualp) \ argument
119 wbuf, wcount, rbuf, rcount, actualp))
H A Dsmb.h50 int wcount; member
/freebsd/usr.bin/mail/
H A Dcmd1.c163 char headline[LINESIZE], wcount[LINESIZE], *subjline, dispc, curind; in printhead() local
189 sprintf(wcount, "%3ld/%-5ld", mp->m_lines, mp->m_size); in printhead()
190 subjlen = screenwidth - 50 - strlen(wcount); in printhead()
195 curind, dispc, mesg, name, hl.l_date, wcount); in printhead()
198 curind, dispc, mesg, name, hl.l_date, wcount, in printhead()
/freebsd/usr.sbin/smbmsg/
H A Dsmbmsg.c139 c.wcount = 0; in do_io()
215 c.wcount = oflag; in do_io()
/freebsd/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c577 int from_fd, rcount, to_fd, wcount; in cp() local
584 wcount = write(to_fd, buf, rcount); in cp()
585 if (rcount != wcount || wcount == -1) { in cp()
/freebsd/usr.bin/sdiff/
H A Dsdiff.c184 ssize_t wcount; in mktmpcpy() local
186 wcount = write(ofd, buf, (size_t)rcount); in mktmpcpy()
187 if (-1 == wcount || rcount != wcount) { in mktmpcpy()
/freebsd/libexec/rtld-elf/
H A Drtld.h96 volatile int wcount; /* Number of writers holding lock */ member