/titanic_41/usr/src/uts/common/syscall/ |
H A D | rw.c | 85 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 D | sendfile.c | 86 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 D | kt_srvtab.c | 292 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 D | kt_file.c | 451 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 D | socksyscalls.c | 2103 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 D | socksubr.c | 1879 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 D | nl7curi.c | 1278 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 D | config.c | 60 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 D | nca.h | 418 int fileoff; /* file include offset */ member
|