Searched refs:dbm_pagf (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | ndbm.c | 71 (void) lseek(db->dbm_pagf, (long)(db->dbm_pagbno*PBLKSIZ), L_SET); in dbm_flushpag() 72 if (write(db->dbm_pagf, db->dbm_pagbuf, PBLKSIZ) != PBLKSIZ) { in dbm_flushpag() 122 db->dbm_pagf = open(db->dbm_pagbuf, flags, mode); in dbm_open() 123 if (db->dbm_pagf < 0) { in dbm_open() 144 (void) close(db->dbm_pagf); in dbm_open() 166 if ( close(db->dbm_pagf)<0) ok= -1; in dbm_close_status() 227 (void) lseek(db->dbm_pagf, (long)(db->dbm_blkno*PBLKSIZ), L_SET); in dbm_delete() 228 if (write(db->dbm_pagf, db->dbm_pagbuf, PBLKSIZ) != PBLKSIZ) { in dbm_delete() 268 (void) lseek(db->dbm_pagf, (long)(db->dbm_blkno*PBLKSIZ), L_SET); in dbm_store() 269 if (write(db->dbm_pagf, db->dbm_pagbuf, PBLKSIZ) != PBLKSIZ) { in dbm_store() [all …]
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | ndbm.c | 129 if ((lseek64(db->dbm_pagf, where, L_SET) != where) || in dbm_flushpag() 130 (write(db->dbm_pagf, db->dbm_pagbuf, PBLKSIZ) != PBLKSIZ)) { in dbm_flushpag() 183 db->dbm_pagf = open64(db->dbm_pagbuf, flags, mode); in dbm_open() 184 if (db->dbm_pagf < 0) { in dbm_open() 205 (void) close(db->dbm_pagf); in dbm_open() 229 if (close(db->dbm_pagf) < 0) in dbm_close_status() 292 if ((lseek64(db->dbm_pagf, where, L_SET) != where) || in dbm_delete() 293 (write(db->dbm_pagf, db->dbm_pagbuf, PBLKSIZ) != PBLKSIZ)) { in dbm_delete() 335 if ((lseek64(db->dbm_pagf, where, L_SET) != where) || in dbm_store() 336 (write(db->dbm_pagf, db->dbm_pagbuf, PBLKSIZ) != PBLKSIZ)) { in dbm_store() [all …]
|
/titanic_41/usr/src/lib/libbc/inc/include/ |
H A D | ndbm.h | 21 int dbm_pagf; /* open page file */ member 46 #define dbm_pagfno(db) ((db)->dbm_pagf)
|
/titanic_41/usr/src/head/ |
H A D | ndbm.h | 67 int dbm_pagf; /* open page file */ member 112 #define dbm_pagfno(__db) ((__db)->dbm_pagf)
|
/titanic_41/usr/src/cmd/ypcmd/ |
H A D | ypxfrd_client.c | 108 (void) lseek64(db->dbm_pagf, where, L_SET); 113 if (write(db->dbm_pagf,
|