/openbsd/games/hack/ |
H A D | hack.lev.c | 95 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 D | hack.o_init.c | 178 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 D | hack.save.c | 116 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 D | hack.engrave.c | 348 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 D | ffs_balloc.c | 117 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 D | ffs_inode.c | 111 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 D | ffs_balloc.c | 226 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 D | buf.h | 79 int bwrite(struct mkfsbuf *); 82 #define bdwrite(bp) bwrite(bp)
|
/openbsd/sys/ufs/ext2fs/ |
H A D | ext2fs_balloc.c | 139 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 D | ext2fs_inode.c | 192 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 D | tunefs.c | 70 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 D | msdosfs_lookup.c | 149 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 D | msdosfs_vnops.c | 395 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 D | bio_meth.c | 49 return biom->bwrite; in BIO_meth_get_write() 56 biom->bwrite = write; in BIO_meth_set_write()
|
H A D | bio_local.h | 69 int (*bwrite)(BIO *, const char *, int); member
|
H A D | bss_null.c | 78 .bwrite = null_write,
|
H A D | bf_null.c | 81 .bwrite = nullf_write,
|
H A D | bss_log.c | 89 .bwrite = slg_write,
|
H A D | bss_sock.c | 81 .bwrite = sock_write,
|
/openbsd/sbin/fsdb/ |
H A D | fsdb.h | 34 extern void bwrite(int fd, char *buf, daddr_t blk, long size);
|
/openbsd/sbin/fsck_ext2fs/ |
H A D | utilities.c | 208 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 D | extern.h | 35 void bwrite(int, char *, daddr32_t, long);
|
/openbsd/sbin/fsck_ffs/ |
H A D | extern.h | 34 void bwrite(int, char *, daddr_t, long);
|
H A D | utilities.c | 270 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 D | vfs_default.c | 156 return (bwrite(ap->a_bp)); in vop_generic_bwrite()
|