Home
last modified time | relevance | path

Searched refs:bwrite (Results 1 – 25 of 64) sorted by relevance

123

/openbsd/games/hack/
H A Dhack.lev.c95 bwrite(fd, &hackpid,sizeof(hackpid)); in savelev()
96 bwrite(fd, &lev,sizeof(lev)); in savelev()
97 bwrite(fd, levl,sizeof(levl)); in savelev()
98 bwrite(fd, &moves,sizeof(long)); in savelev()
111 bwrite(fd, rooms,sizeof(rooms)); in savelev()
112 bwrite(fd, doors,sizeof(doors)); in savelev()
119 bwrite(fd, wsegs,sizeof(wsegs)); in savelev()
148 bwrite(fd, &xl, sizeof(int)); in saveobjchn()
153 bwrite(fd, &minusone, sizeof(int)); in saveobjchn()
169 bwrite(fd, &xl, sizeof(int)); in savemonchn()
[all …]
H A Dhack.o_init.c178 bwrite(fd, bases, sizeof bases); in savenames()
179 bwrite(fd, objects, sizeof objects); in savenames()
183 bwrite(fd, &len, sizeof len); in savenames()
184 bwrite(fd, objects[i].oc_name, len); in savenames()
186 bwrite(fd, &zero, sizeof len); in savenames()
189 bwrite(fd, &len, sizeof len); in savenames()
190 bwrite(fd, objects[i].oc_descr, len); in savenames()
192 bwrite(fd, &zero, sizeof len); in savenames()
195 bwrite(fd, &len, sizeof len); in savenames()
196 bwrite(fd, objects[i].oc_uname, len); in savenames()
[all …]
H A Dhack.save.c116 bwrite(fd, &tmp, sizeof tmp); in dosave0()
117 bwrite(fd, &flags, sizeof(struct flag)); in dosave0()
118 bwrite(fd, &dlevel, sizeof dlevel); in dosave0()
119 bwrite(fd, &maxdlevel, sizeof maxdlevel); in dosave0()
120 bwrite(fd, &moves, sizeof moves); in dosave0()
121 bwrite(fd, &u, sizeof(struct you)); in dosave0()
123 bwrite(fd, &(u.ustuck->m_id), sizeof u.ustuck->m_id); in dosave0()
124 bwrite(fd, pl_character, sizeof pl_character); in dosave0()
125 bwrite(fd, genocided, sizeof genocided); in dosave0()
126 bwrite(fd, fut_geno, sizeof fut_geno); in dosave0()
[all …]
H A Dhack.engrave.c348 bwrite(fd, &(ep->engr_lth), sizeof(ep->engr_lth)); in save_engravings()
349 bwrite(fd, ep, sizeof(struct engr) + ep->engr_lth); in save_engravings()
352 bwrite(fd, nul, sizeof(unsigned)); in save_engravings()
/openbsd/sys/ufs/ffs/
H A Dffs_balloc.c117 bwrite(*bpp); in ffs1_balloc()
298 bwrite(bp); in ffs1_balloc()
329 bwrite(bp); in ffs1_balloc()
384 bwrite(bp); in ffs1_balloc()
457 bwrite(*bpp); in ffs2_balloc()
593 error = bwrite(bp); in ffs2_balloc()
662 bwrite(bp); in ffs2_balloc()
701 bwrite(bp); in ffs2_balloc()
762 bwrite(bp); in ffs2_balloc()
766 bwrite(bp); in ffs2_balloc()
[all …]
H A Dffs_inode.c111 return (bwrite(bp)); in ffs_update()
193 bwrite(bp); in ffs_truncate()
228 bwrite(bp); in ffs_truncate()
475 error = bwrite(bp); in ffs_indirtrunc()
/openbsd/usr.sbin/makefs/ffs/
H A Dffs_balloc.c226 if ((error = bwrite(bp)) != 0) in ffs_balloc_ufs1()
269 if ((error = bwrite(nbp)) != 0) { in ffs_balloc_ufs1()
275 bwrite(bp); in ffs_balloc_ufs1()
303 bwrite(bp); in ffs_balloc_ufs1()
475 if ((error = bwrite(bp)) != 0) in ffs_balloc_ufs2()
518 if ((error = bwrite(nbp)) != 0) { in ffs_balloc_ufs2()
524 bwrite(bp); in ffs_balloc_ufs2()
552 bwrite(bp); in ffs_balloc_ufs2()
H A Dbuf.h79 int bwrite(struct mkfsbuf *);
82 #define bdwrite(bp) bwrite(bp)
/openbsd/sys/ufs/ext2fs/
H A Dext2fs_balloc.c139 if ((error = bwrite(bp)) != 0) in ext2fs_buf_alloc()
180 if ((error = bwrite(nbp)) != 0) { in ext2fs_buf_alloc()
192 bwrite(bp); in ext2fs_buf_alloc()
217 bwrite(bp); in ext2fs_buf_alloc()
265 bwrite(bp); in ext2fs_buf_alloc()
H A Dext2fs_inode.c192 return (bwrite(bp)); in ext2fs_update()
269 bwrite(bp); in ext2fs_truncate()
301 bwrite(bp); in ext2fs_truncate()
479 error = bwrite(bp); in ext2fs_indirtrunc()
/openbsd/sbin/tunefs/
H A Dtunefs.c70 static void bwrite(daddr_t, char *, int, const char *);
233 bwrite(sblockloc, buf, SBLOCKSIZE, special); in main()
236 bwrite(fsbtodb(&sblock, cgsblock(&sblock, i)), in main()
298 bwrite(daddr_t blk, char *buffer, int size, const char *file) in bwrite() function
/openbsd/usr.sbin/makefs/msdos/
H A Dmsdosfs_lookup.c149 else if ((error = bwrite(bp)) != 0) in createde()
178 else if ((error = bwrite(bp)) != 0) in createde()
230 else if ((rberror = bwrite(bp)) != 0) in createde()
256 (void) bwrite(bp); in createde()
H A Dmsdosfs_vnops.c395 error = bwrite(bp); in msdosfs_updatede()
479 bwrite(bp); in msdosfs_wfile()
596 if ((error = bwrite(bp)) != 0) in msdosfs_mkdire()
/openbsd/lib/libcrypto/bio/
H A Dbio_meth.c49 return biom->bwrite; in BIO_meth_get_write()
56 biom->bwrite = write; in BIO_meth_set_write()
H A Dbio_local.h69 int (*bwrite)(BIO *, const char *, int); member
H A Dbss_null.c78 .bwrite = null_write,
H A Dbf_null.c81 .bwrite = nullf_write,
H A Dbss_log.c89 .bwrite = slg_write,
H A Dbss_sock.c81 .bwrite = sock_write,
/openbsd/sbin/fsdb/
H A Dfsdb.h34 extern void bwrite(int fd, char *buf, daddr_t blk, long size);
/openbsd/sbin/fsck_ext2fs/
H A Dutilities.c208 bwrite(fd, bp->b_un.b_buf, bp->b_bno, (long)bp->b_size); in flush()
212 bwrite(fswritefd, (char *) in flush()
313 bwrite(int fd, char *buf, daddr32_t blk, long size) in bwrite() function
H A Dextern.h35 void bwrite(int, char *, daddr32_t, long);
/openbsd/sbin/fsck_ffs/
H A Dextern.h34 void bwrite(int, char *, daddr_t, long);
H A Dutilities.c270 bwrite(fd, bp->b_un.b_buf, bp->b_bno, (long)bp->b_size); in flush()
274 bwrite(fswritefd, (char *)sblock.fs_csp + i, in flush()
408 bwrite(int fd, char *buf, daddr_t blk, long size) in bwrite() function
/openbsd/sys/kern/
H A Dvfs_default.c156 return (bwrite(ap->a_bp)); in vop_generic_bwrite()

123