/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | reclen.c | 34 reclen(Recfmt_t f, const void* b, size_t n) function
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | getdents.c | 134 uint32_t reclen, namlen; local 154 reclen = DIRENT32_RECLEN(namlen); 155 op->d_reclen = (uint16_t)reclen; 160 DIRENT32_NAMELEN(reclen));
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | uniq.c | 90 int reclen,oreclen= -1,count=0,cwidth=0,sep,next; local 125 if ((reclen = n - (cp - bufp)) <= 0) 127 reclen = 1; 130 else if (width >= 0 && width < reclen) 134 reclen = 0; 136 while (reclen < width && mp < ep) 138 reclen++; 141 reclen = mp - cp; 144 reclen = width; 148 reclen [all...] |
H A D | cut.c | 57 "[R|r:reclen]#[reclen?If \areclen\a > 0, the input will be read as fixed length " 96 int reclen; member in struct:Cut_s 133 cutinit(int mode, char* str, Delim_t* wdelim, Delim_t* ldelim, size_t reclen) argument 161 cut->reclen = reclen; 268 if (len = cut->reclen) 352 if (!cut->nlflag && (skip || must || cut->reclen)) 583 size_t reclen = 0; local 656 reclen [all...] |
H A D | join.c | 135 int reclen; member in struct:File_s 317 fp->reclen = sfvalue(fp->iop); 321 cp += fp->reclen; 680 if (sfseek(jp->file[0].iop, (Sfoff_t)-jp->file[0].reclen, SEEK_CUR) < 0 || !(cp1 = getrec(jp, 0, 0))) 695 lo -= jp->file[1].reclen; 761 (hi -= jp->file[1].reclen) < 0 ||
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | pass2.c | 400 short reclen, entrysize; local 477 reclen = dirp->d_reclen - entrysize; 502 dirp->d_reclen += reclen; 513 (void) memset((void *)dirp, 0, (size_t)reclen); 514 dirp->d_reclen = reclen; 566 reclen = DIRSIZ(dirp); 567 if ((int)dirp->d_reclen < reclen + entrysize) { 583 proto.d_reclen = dirp->d_reclen - reclen; 584 dirp->d_reclen = reclen; 614 /* LINTED pointer cast alignment (reclen i [all...] |
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | dgrpent.c | 223 int reclen; /* Number of chars in record */ local 243 if ((reclen = (int)strlen(recp)) != 0) { 246 if (*(recp+reclen-1) == '\n') done = TRUE; 255 if (reclen == recbufsz-1) { 289 if (fgets(recbuf+reclen, recbufsz-reclen, oam_dgroup)) { 290 reclen = (int)strlen(recbuf); 292 if (*(recp+reclen-1) == '\n') done = TRUE;
|
H A D | devtab.c | 416 int reclen; /* Number of chars in record */ local 436 if ((reclen = (int)strlen(recp)) != 0) { 439 if ((*(recp+reclen-1) == '\n') && 440 ((reclen == 1) || (*(recp+reclen-2) != '\\'))) done = TRUE; 450 if (reclen == recbufsz-1) { 484 if (fgets(recbuf+reclen, recbufsz-reclen, oam_devtab)) { 485 reclen = (int)strlen(recbuf); 487 if ((*(recp+reclen [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | syncloop.c | 58 static int reclen = 100; variable 130 reclen = atoi(argv[1]); 201 if (reclen < 0 || reclen > MAXPACKET) { 202 (void) printf("invalid packet length: %d\n", reclen); 353 for (i = 0; i < reclen; i++) 366 if (write(dfd, packet, reclen) != reclen) { 379 len = read(dfd, bigbuf, reclen); 380 if (len == reclen [all...] |
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_xdr.c | 443 #define reclen(namlen) DIRENT64_RECLEN((namlen)) macro 473 if (reclen(namlen) > size) { 482 dp->d_reclen = reclen(namlen);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | fhtab.h | 84 short reclen; /* length of record */ member in struct:fhlist_ent 108 short reclen; /* Actual record length */ member in struct:linkinfo_ent 123 #define LN_PREV_LEN(link) ((link)->reclen - (link)->prev_offset)
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_cmd.c | 500 size_t reclen; local 503 for (nents = 0, curlen = 0; curlen < len; curlen += reclen, nents++) { 504 reclen = dp->d_reclen;
|
H A D | nfs_log_xdr.c | 150 unsigned int reclen, 167 if (!xdr_u_int(xdrs, &reclen)) 144 xdr_nfslog_request_record( XDR *xdrs, struct exportinfo *exi, struct svc_req *req, cred_t *cr, struct netbuf *pnb, unsigned int reclen, unsigned int record_id) argument
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_mangle_name.c | 371 int err, eof, bufsize, reclen; local 411 reclen = 0; 413 while ((bufptr += reclen) < buf + bufsize) { 415 reclen = edp->ed_reclen; 420 reclen = dp->d_reclen;
|
H A D | smb_odir.c | 1046 int reclen; local 1059 reclen = od->d_edp->ed_reclen; 1061 reclen = od->d_dp->d_reclen; 1063 if (reclen == 0) { 1066 od->d_bufptr += reclen;
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa_history.c | 126 uint64_t firstread, reclen, phys_bof; local 127 char buf[sizeof (reclen)]; 131 firstread = MIN(sizeof (reclen), shpp->sh_phys_max_off - phys_bof); 136 if (firstread != sizeof (reclen)) { 138 shpp->sh_pool_create_len, sizeof (reclen) - firstread, 143 reclen = LE_64(*((uint64_t *)buf)); 144 shpp->sh_bof += reclen + sizeof (reclen); 206 size_t reclen; local 263 record_packed = fnvlist_pack(nvl, &reclen); [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/ |
H A D | db.h | 155 size_t reclen; /* record length (fixed-length records) */ member in struct:__anon2517
|
/illumos-gate/usr/src/uts/common/inet/kssl/ |
H A D | ksslapi.c | 1260 int reclen; local 1294 reclen = len + mac_sz; 1297 (reclen & (spec->cipher_bsize - 1)); 1298 ASSERT(reclen + pad_sz <= 1300 reclen += pad_sz; 1302 recstart[3] = (reclen >> 8) & 0xff; 1303 recstart[4] = reclen & 0xff;
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_traverse.c | 157 int reclen = sizeof (fs_dent_info_t) + namelen; local 160 if ((darg->da_end + reclen) > darg->da_size) 170 dent->fd_len = reclen; 171 darg->da_end += reclen;
|
/illumos-gate/usr/src/cmd/awk_xpg4/ |
H A D | awk2.c | 42 static int reclen; /* Length of last record */ variable 99 lbuflen = reclen; 105 if (reclen > NLINE - 2) { 245 if (*(endp = (bp + (reclen = wcslen(bp))-1)) == '\n') { 247 reclen--; 270 reclen = bp-abp; 297 reclen = bp-abp;
|
/illumos-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_vnops.c | 1148 int reclen; local 1156 reclen = (int)DIRENT64_RECLEN(namelen); 1157 if (outcount + reclen > alloc_count) { 1161 dp->d_reclen = (ushort_t)reclen; 1179 DIRENT64_NAMELEN(reclen));
|
/illumos-gate/usr/src/uts/common/fs/devfs/ |
H A D | devfs_vnops.c | 869 size_t reclen, movesz; local 918 reclen = DIRENT64_RECLEN(strlen(".")); 919 if ((movesz + reclen) > bufsz) 923 de->d_reclen = (ushort_t)reclen; 927 (void) strncpy(de->d_name, ".", DIRENT64_NAMELEN(reclen)); 928 movesz += reclen; 929 de = (dirent64_t *)(intptr_t)((char *)de + reclen); 931 "reclen %lu\n", diroff, soff, ".", reclen)); 936 reclen [all...] |
/illumos-gate/usr/src/uts/common/fs/fd/ |
H A D | fdops.c | 233 int reclen, nentries; local 258 reclen = DIRENT64_RECLEN(1); 264 reclen = DIRENT64_RECLEN(2); 274 reclen = DIRENT64_RECLEN(strlen(dirent->d_name)); 277 dirent->d_reclen = (ushort_t)reclen; 279 if (reclen > uiop->uio_resid) { 294 if (uiomove((caddr_t)dirent, reclen, UIO_READ, uiop))
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | gfs.c | 260 int reclen; local 266 reclen = EDIRENT_RECLEN(strlen(edp->ed_name)); 269 reclen = DIRENT64_RECLEN(strlen(dp->d_name)); 272 if (reclen > uiop->uio_resid) { 283 edp->ed_reclen = (ushort_t)reclen; 286 dp->d_reclen = (ushort_t)reclen; 289 if (uiomove((caddr_t)st->grd_dirent, reclen, UIO_READ, uiop))
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | module.c | 772 int *intp, bestver, blen, clen, found, ival, modnamelen, reclen; local 787 reclen = *intp++; 815 recptr += reclen + sizeof(int);
|