Searched refs:buf_size (Results 1 - 10 of 10) sorted by relevance

/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dpipes_tests.c781 int buf_size = current_buf_size / 2; local
783 assert(buf_size == pipe_write_data(p, &data[0], buf_size ), 1, "cycle write failed");
784 assert(buf_size == pipe_read_data(p, &readbuf[0], buf_size+200), 1, "reading from cycle read failed");
785 assert(verify_data(data, readbuf, buf_size), 1, "data verification failed");
787 assert(buf_size == pipe_write_data(p, &data[0], buf_size ), 1, "cycle write failed");
788 assert(buf_size == pipe_read_data(p, &readbuf[0], buf_size
806 int buf_size = current_buf_size / 2; local
[all...]
/darwin-on-arm/xnu/tools/
H A Dcred_dump_creds.c38 void dump_cred_hash_table( debug_ucred * credp, size_t buf_size );
74 void dump_cred_hash_table( debug_ucred * credp, size_t buf_size )
76 int i, my_count = (buf_size / sizeof(debug_ucred));
/darwin-on-arm/xnu/bsd/sys/
H A Dbuf.h434 @function buf_size
440 uint32_t buf_size(buf_t);
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_journal.c563 bufsize = buf_size(bp);
788 if (buf_size(oblock_bp) != bsize) {
2587 // bp, buf_vnode(bp), buf_lblkno(bp), buf_blkno(bp), buf_size(bp), tr->total_bytes);
2591 if ((buf_size(bp) % jnl->jhdr->jhdr_size) != 0) {
2599 phys_blksz, buf_size(bp), jnl->jhdr->jhdr_size);
2602 if ((buf_size(bp) % phys_blksz) != 0) {
2633 buf_size(bp), jnl->jhdr->jhdr_size);
2639 if (tr->total_bytes+buf_size(bp) >= (jnl->jhdr->size - jnl->jhdr->jhdr_size)) {
2641 tr->total_bytes, (tr->jnl->jhdr->size - jnl->jhdr->jhdr_size), buf_size(bp), tr, bp);
2760 // bp, buf_vnode(bp), buf_lblkno(bp), buf_blkno(bp), buf_size(b
[all...]
H A Dvfs_bio.c569 buf_size(buf_t bp) { function
4353 if ((ISSET(bp->b_flags, B_ZALLOC)) && (buf_size(bp) >= PAGE_SIZE)) {
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_btreeio.c762 if (buf_size(bp) != nodesize)
763 panic("hfs_create_attr_btree: bad buffer size (%d)\n", buf_size(bp));
H A Dhfs_catalog.c2373 bzero(alias, buf_size(bp));
H A Dhfs_vnops.c4405 bzero(datap, buf_size(bp));
/darwin-on-arm/xnu/bsd/netat/
H A Dddp_nbp.c969 int buf_size = tuples_size + DDP_X_HDR_SIZE + NBP_HDR_SIZE; local
970 nbp_req->response = gbuf_alloc(AT_WR_OFFSET+buf_size, PRI_MED);
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_fw2.c3594 int i, len = 0, buf_size; local
3609 buf_size = static_count * ipfwcompsize +
3612 buf2 = _MALLOC(buf_size, M_TEMP, M_WAITOK);

Completed in 68 milliseconds