Home
last modified time | relevance | path

Searched refs:__db_jump (Results 1 – 13 of 13) sorted by relevance

/titanic_41/usr/src/cmd/sendmail/db/os/
H A Dos_config.c23 struct __db_jumptab __db_jump; variable
46 __db_jump.j_close = (int (*) __P((int)))func;
49 __db_jump.j_dirfree = (void (*) __P((char **, int)))func;
52 __db_jump.j_dirlist =
56 __db_jump.j_exists = (int (*) __P((const char *, int *)))func;
59 __db_jump.j_free = (void (*) __P((void *)))func;
62 __db_jump.j_fsync = (int (*) __P((int)))func;
65 __db_jump.j_ioinfo = (int (*) __P((const char *,
69 __db_jump.j_malloc = (void *(*) __P((size_t)))func;
72 __db_jump.j_map = (int (*)
[all …]
H A Dos_alloc.c116 else if (__db_jump.j_malloc != NULL)
117 p = __db_jump.j_malloc(size);
164 if (__db_jump.j_realloc != NULL)
165 p = __db_jump.j_realloc(ptr, size);
195 if (__db_jump.j_free != NULL)
196 __db_jump.j_free(ptr);
215 if (__db_jump.j_free != NULL)
216 __db_jump.j_free(ptr);
H A Dos_map.c125 if (__db_jump.j_map != NULL) {
127 return (__db_jump.j_map(path, infop->fd, infop->size,
233 if (__db_jump.j_unmap != NULL)
234 return (__db_jump.j_unmap(infop->addr, infop->size));
267 if (__db_jump.j_runlink != NULL)
268 return (__db_jump.j_runlink(name));
299 if (__db_jump.j_map != NULL)
300 return (__db_jump.j_map(path, fd, len, 0, 0, is_rdonly, addr));
320 if (__db_jump.j_unmap != NULL)
321 return (__db_jump.j_unmap(addr, len));
H A Dos_rw.c41 if (__db_jump.j_read != NULL)
47 if (__db_jump.j_write != NULL)
100 if ((nr = __db_jump.j_read != NULL ?
101 __db_jump.j_read(fd, taddr, len - offset) :
130 if ((nw = __db_jump.j_write != NULL ?
131 __db_jump.j_write(fd, taddr, len - offset) :
H A Dos_stat.c37 if (__db_jump.j_exists != NULL)
38 return (__db_jump.j_exists(path, isdirp));
72 if (__db_jump.j_ioinfo != NULL)
73 return (__db_jump.j_ioinfo(path, fd, mbytesp, bytesp, iosizep));
H A Dos_dir.c57 if (__db_jump.j_dirlist != NULL)
58 return (__db_jump.j_dirlist(dir, namesp, cntp));
95 if (__db_jump.j_dirfree != NULL)
96 __db_jump.j_dirfree(names, cnt);
H A Dos_open.c133 *fdp = __db_jump.j_open != NULL ?
134 __db_jump.j_open(name, flags, mode) : open(name, flags, mode);
150 ret = __db_jump.j_close != NULL ? __db_jump.j_close(fd) : close(fd);
H A Dos_unlink.c36 ret = __db_jump.j_unlink != NULL ?
37 __db_jump.j_unlink(path) : unlink(path);
H A Dos_sleep.c49 if (__db_jump.j_sleep != NULL)
50 return (__db_jump.j_sleep(secs, usecs));
H A Dos_fsync.c57 ret = __db_jump.j_fsync != NULL ? __db_jump.j_fsync(fd) : fsync(fd);
H A Dos_seek.c41 if (__db_jump.j_seek != NULL)
42 ret = __db_jump.j_seek(fd,
H A Dos_spin.c104 if (__db_jump.j_yield != NULL && __db_jump.j_yield() == 0)
/titanic_41/usr/src/cmd/sendmail/db/include/
H A Dos_jump.h42 extern struct __db_jumptab __db_jump;