Home
last modified time | relevance | path

Searched refs:fileoff (Results 1 – 9 of 9) sorted by relevance

/titanic_41/usr/src/uts/common/syscall/
H A Drw.c85 u_offset_t fileoff; in read() local
138 fileoff = (u_offset_t)fp->f_offset; in read()
139 if (fileoff >= OFFSET_MAX(fp) && (vp->v_type == VREG)) { in read()
146 if (fileoff >= va.va_size) { in read()
157 (fileoff + cnt > OFFSET_MAX(fp))) { in read()
158 cnt = (ssize_t)(OFFSET_MAX(fp) - fileoff); in read()
160 auio.uio_loffset = fileoff; in read()
221 u_offset_t fileoff; in write() local
263 fileoff = fp->f_offset; in write()
270 if (fileoff >= curproc->p_fsz_ctl) { in write()
[all …]
H A Dsendfile.c86 sendvec_chunk64(file_t *fp, u_offset_t *fileoff, struct ksendfilevec64 *sfv, in sendvec_chunk64() argument
122 if (*fileoff >= curproc->p_fsz_ctl) { in sendvec_chunk64()
131 if (*fileoff >= OFFSET_MAX(fp)) in sendvec_chunk64()
134 if (*fileoff + sfv_len > OFFSET_MAX(fp)) in sendvec_chunk64()
148 auio.uio_loffset = *fileoff; in sendvec_chunk64()
163 *fileoff += cnt; in sendvec_chunk64()
305 auio.uio_loffset = *fileoff; in sendvec_chunk64()
327 *fileoff += cnt; in sendvec_chunk64()
350 u_offset_t fileoff; in sendvec64() local
362 fileoff = fp->f_offset; in sendvec64()
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_srvtab.c292 long *fileoff; in krb5_ktsrvtab_start_seq_get() local
297 if (!(fileoff = (long *)malloc(sizeof(*fileoff)))) { in krb5_ktsrvtab_start_seq_get()
301 *fileoff = ftell(KTFILEP(id)); in krb5_ktsrvtab_start_seq_get()
302 *cursorp = (krb5_kt_cursor)fileoff; in krb5_ktsrvtab_start_seq_get()
314 long *fileoff = (long *)*cursor; in krb5_ktsrvtab_get_next() local
318 if (fseek(KTFILEP(id), *fileoff, 0) == -1) in krb5_ktsrvtab_get_next()
322 *fileoff = ftell(KTFILEP(id)); in krb5_ktsrvtab_get_next()
H A Dkt_file.c451 long *fileoff; in krb5_ktfile_start_seq_get() local
462 if (!(fileoff = (long *)malloc(sizeof(*fileoff)))) { in krb5_ktfile_start_seq_get()
467 *fileoff = ftell(KTFILEP(id)); in krb5_ktfile_start_seq_get()
468 *cursorp = (krb5_kt_cursor)fileoff; in krb5_ktfile_start_seq_get()
481 long *fileoff = (long *)*cursor; in krb5_ktfile_get_next() local
492 if (fseek(KTFILEP(id), *fileoff, 0) == -1) { in krb5_ktfile_get_next()
500 *fileoff = ftell(KTFILEP(id)); in krb5_ktfile_get_next()
/titanic_41/usr/src/uts/common/fs/sockfs/
H A Dsocksyscalls.c2103 u_offset_t fileoff; in snf_async_read() local
2117 fileoff = sr->sr_file_off; in snf_async_read()
2171 ret_size = soreadfile(fp, mp->b_rptr, fileoff, &error, iosize); in snf_async_read()
2182 fileoff += ret_size; in snf_async_read()
2235 u_offset_t fileoff, u_offset_t size) in create_thread() argument
2257 sr->sr_file_off = fileoff; in create_thread()
2289 snf_direct_io(file_t *fp, file_t *rfp, u_offset_t fileoff, u_offset_t size, in snf_direct_io() argument
2307 if ((sr = create_thread(READ_OP, vp, rfp, fileoff, size)) == NULL) in snf_direct_io()
2451 snf_segmap(file_t *fp, vnode_t *fvp, u_offset_t fileoff, u_offset_t total_size, in snf_segmap() argument
2485 mapoff = fileoff & PAGEOFFSET; in snf_segmap()
[all …]
H A Dsocksubr.c1879 soreadfile(file_t *fp, uchar_t *buf, u_offset_t fileoff, int *err, size_t size) in soreadfile() argument
1900 auio.uio_loffset = fileoff; in soreadfile()
H A Dnl7curi.c1278 nl7c_sendfilev(struct sonode *so, u_offset_t *fileoff, sendfilevec_t *sfvp, in nl7c_sendfilev() argument
1420 *fileoff += len; in nl7c_sendfilev()
/titanic_41/usr/src/cmd/sgs/crle/common/
H A Dconfig.c60 size_t diroff = 0, fileoff = 0, envoff = 0; in genconfig() local
118 fileoff = size; in genconfig()
224 head->ch_file = fileoff; in genconfig()
/titanic_41/usr/src/uts/common/inet/nca/
H A Dnca.h418 int fileoff; /* file include offset */ member