Displaying 4 results from an estimated 4 matches for "bufpage".
Did you mean:
buf_page
2012 May 27
1
Thread Problem.
...stions on what I can do to fix
this problem.
-Note: I can't exactly send all the music code, but if you need to see more
let me know.
To start it off the main function for the music thread looks like this:
void ReadStrmData()
{
// Switch buffer page
char *buf;
if(strm.bufPage == 0)
{
buf = strm_buf;
strm.bufPage = 1;
}
else
{
buf = strm_buf + /*STRM_BUF_PAGESIZE*/4096;
strm.bufPage = 0;
}
long total_bytes_read = 0;
while(total_bytes_read < /*STRM_BUF_PAGESIZE*/40...
2015 Sep 03
2
Fuzzing complex programs
On Thu, Sep 3, 2015 at 6:45 PM, Kostya Serebryany <kcc at google.com> wrote:
> Did you build the Postgres code with -fsanitize-coverage=... ?
Yes:
CC = clang
CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
-fwrapv -Wno-unused-command-line-argument -g -O0 -fsanitize=address
2015 Sep 03
2
Fuzzing complex programs
...age/ipc/sinval.o storage/ipc/sinvaladt.o storage/ipc/standby.o
> storage/large_object/inv_api.o storage/lmgr/lmgr.o storage/lmgr/lock.o
> storage/lmgr/proc.o storage/lmgr/deadlock.o storage/lmgr/lwlock.o
> storage/lmgr/spin.o storage/lmgr/s_lock.o storage/lmgr/predicate.o
> storage/page/bufpage.o storage/page/checksum.o storage/page/itemptr.o
> storage/smgr/md.o storage/smgr/smgr.o storage/smgr/smgrtype.o
> tcop/dest.o tcop/fastpath.o tcop/postgres.o tcop/pquery.o
> tcop/utility.o tsearch/ts_locale.o tsearch/ts_parse.o
> tsearch/wparser.o tsearch/wparser_def.o tsearch/dict.o
&...
2003 Apr 11
14
PATCH: Forcible delaying of UFS (soft)updates
...if (cred->cr_uid != 0 &&
freespace(fs, fs->fs_minfree) - numfrags(fs, nsize - osize) < 0)
goto nospace;
--- /usr/src/sys.org/sys/buf.h Sat Jan 25 20:02:23 2003
+++ sys/buf.h Sat Apr 12 00:30:48 2003
@@ -478,6 +478,7 @@ extern char *buffers; /* The buffer con
extern int bufpages; /* Number of memory pages in the buffer pool. */
extern struct buf *swbuf; /* Swap I/O buffer headers. */
extern int nswbuf; /* Number of swap I/O buffer headers. */
+extern int stratcalls; /* I/O ops since last buffer sync */
extern TAILQ_HEAD(swqueue, buf) bswlist;
extern TAILQ_HEAD(bq...