Home
last modified time | relevance | path

Searched refs:DIRENT64_RECLEN (Results 1 – 25 of 27) sorted by relevance

12

/titanic_41/usr/src/uts/common/fs/fd/
H A Dfdops.c231 u_offset_t bp[DIRENT64_RECLEN(FDNSIZE) / sizeof (u_offset_t)]; in fdreaddir()
258 reclen = DIRENT64_RECLEN(1); in fdreaddir()
264 reclen = DIRENT64_RECLEN(2); in fdreaddir()
274 reclen = DIRENT64_RECLEN(strlen(dirent->d_name)); in fdreaddir()
/titanic_41/usr/src/uts/common/sys/
H A Ddirent.h80 #define DIRENT64_RECLEN(namelen) \ macro
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_cmd.c405 DIRENT64_RECLEN(ret + 1); in nfscmd_convdirent()
479 ndp->d_reclen = DIRENT64_RECLEN(strlen(ndp->d_name) + 1); in nfscmd_convdirplus()
H A Dnfs4_srv_readdir.c91 (DIRENT64_RECLEN(1) + DIRENT64_RECLEN(2) + DIRENT64_RECLEN(MAXNAMELEN))
824 dircount -= DIRENT64_RECLEN(namelen); in rfs4_op_readdir()
H A Dnfs4_xdr.c2106 nfs4_dot_entries = kmem_zalloc(DIRENT64_RECLEN(1) + DIRENT64_RECLEN(2), in nfs4_init_dot_entries()
2111 odp->d_reclen = DIRENT64_RECLEN(1); in nfs4_init_dot_entries()
2115 nfs4_dot_dot_entry = nfs4_dot_entries + DIRENT64_RECLEN(1); in nfs4_init_dot_entries()
2119 odp->d_reclen = DIRENT64_RECLEN(2); in nfs4_init_dot_entries()
2129 kmem_free(nfs4_dot_entries, DIRENT64_RECLEN(1) + in nfs4_destroy_dot_entries()
2130 DIRENT64_RECLEN(2)); in nfs4_destroy_dot_entries()
2182 DIRENT64_RECLEN(1) + DIRENT64_RECLEN(2)); in xdr_READDIR4res_clnt()
2185 DIRENT64_RECLEN(1)); in xdr_READDIR4res_clnt()
2188 DIRENT64_RECLEN(2)); in xdr_READDIR4res_clnt()
2189 space_left -= DIRENT64_RECLEN(1) + DIRENT64_RECLEN(2); in xdr_READDIR4res_clnt()
[all …]
H A Dnfs3_srv.c3166 if (args->count < DIRENT64_RECLEN(MAXNAMELEN)) in rfs3_readdir()
3167 count = DIRENT64_RECLEN(MAXNAMELEN); in rfs3_readdir()
3439 if (args->dircount < DIRENT64_RECLEN(MAXNAMELEN)) in rfs3_readdirplus()
3440 args->dircount = DIRENT64_RECLEN(MAXNAMELEN); in rfs3_readdirplus()
3570 if (space_left >= DIRENT64_RECLEN(MAXNAMELEN)) in rfs3_readdirplus()
H A Dnfs3_xdr.c2210 this_reclen = DIRENT64_RECLEN(namlen); in xdr_READDIR3vres()
2455 this_reclen = DIRENT64_RECLEN(namlen); in xdr_READDIRPLUS3vres()
H A Dnfs_xdr.c860 this_reclen = DIRENT64_RECLEN(namlen); in xdr_getrddirres()
H A Dnfs4_srv.c132 (DIRENT64_RECLEN(1) + DIRENT64_RECLEN(2) + DIRENT64_RECLEN(MAXNAMELEN))
/titanic_41/usr/src/uts/common/fs/
H A Dgfs.c240 dirent_size = DIRENT64_RECLEN(st->grd_namlen); in gfs_readdir_init()
269 reclen = DIRENT64_RECLEN(strlen(dp->d_name)); in gfs_readdir_emit_int()
403 dirent_size = DIRENT64_RECLEN(st->grd_namlen); in gfs_readdir_fini()
H A Dlookup.c997 size_t dlen = DIRENT64_RECLEN(MAXPATHLEN); in dirtopath()
/titanic_41/usr/src/uts/common/fs/autofs/
H A Dauto_xdr.c472 if (DIRENT64_RECLEN(namlen) > size) { in xdr_autofs_getrddirres()
480 dp->d_reclen = (ushort_t)DIRENT64_RECLEN(namlen); in xdr_autofs_getrddirres()
H A Dauto_vnops.c1108 this_reclen = DIRENT64_RECLEN(1); in auto_readdir()
1124 this_reclen = DIRENT64_RECLEN(2); in auto_readdir()
1156 reclen = (int)DIRENT64_RECLEN(namelen); in auto_readdir()
/titanic_41/usr/src/cmd/fs.d/autofs/
H A Dautod_xdr.c441 #define DIRENT64_RECLEN(namelen) \ macro
443 #define reclen(namlen) DIRENT64_RECLEN((namlen))
H A Dautod_readdir.c218 #define DIRENT64_RECLEN(namelen) \ macro
289 this_reclen = DIRENT64_RECLEN(namelen); in create_dirents()
/titanic_41/usr/src/uts/common/fs/devfs/
H A Ddevfs_vnops.c918 reclen = DIRENT64_RECLEN(strlen(".")); in devfs_readdir()
936 reclen = DIRENT64_RECLEN(strlen("..")); in devfs_readdir()
974 reclen = DIRENT64_RECLEN(strlen(dv->dv_name)); in devfs_readdir()
/titanic_41/usr/src/uts/common/fs/pcfs/
H A Dpc_vnops.c1352 ld->d_reclen = DIRENT64_RECLEN(1); in pcfs_readdir()
1365 ld->d_reclen = DIRENT64_RECLEN(2); in pcfs_readdir()
2336 ld->d_reclen = DIRENT64_RECLEN(strlen(ld->d_name)); in pc_read_long_fn()
2381 ld->d_reclen = DIRENT64_RECLEN(strlen(ld->d_name)); in pc_read_short_fn()
/titanic_41/usr/src/uts/common/fs/proc/
H A Dprvnops.c5266 longlong_t bp[DIRENT64_RECLEN(64) / sizeof (longlong_t)]; in pr_readdir_pathdir()
5327 reclen = DIRENT64_RECLEN(1); in pr_readdir_pathdir()
5333 reclen = DIRENT64_RECLEN(2); in pr_readdir_pathdir()
5337 reclen = DIRENT64_RECLEN(4); in pr_readdir_pathdir()
5341 reclen = DIRENT64_RECLEN(3); in pr_readdir_pathdir()
5351 reclen = DIRENT64_RECLEN(PLNSIZ); in pr_readdir_pathdir()
5385 reclen = DIRENT64_RECLEN(strlen(dirent->d_name)); in pr_readdir_pathdir()
5701 size_t dlen = DIRENT64_RECLEN(MAXPATHLEN); in prreadlink_lookup()
/titanic_41/usr/src/uts/common/fs/dev/
H A Dsdev_subr.c2385 size_t reclen = DIRENT64_RECLEN(strlen(nm)); in add_dir_entry()
2540 this_reclen = DIRENT64_RECLEN(1); in devname_readdir_func()
2558 this_reclen = DIRENT64_RECLEN(2); in devname_readdir_func()
2623 reclen = DIRENT64_RECLEN(namelen); in devname_readdir_func()
/titanic_41/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vnops.c2590 static const size_t dbufsiz = DIRENT64_RECLEN(SMB_MAXFNAMELEN); in smbfs_readvdir()
2645 reclen = DIRENT64_RECLEN(offset + 1); in smbfs_readvdir()
2741 reclen = DIRENT64_RECLEN(nmlen); in smbfs_readvdir()
/titanic_41/usr/src/uts/common/fs/udfs/
H A Dudf_vnops.c1141 len = DIRENT64_RECLEN(1); in udf_readdir()
1167 len = DIRENT64_RECLEN(2); in udf_readdir()
1191 len = DIRENT64_RECLEN(length); in udf_readdir()
/titanic_41/usr/src/uts/common/fs/cachefs/
H A Dcachefs_dir.c682 this_reclen = DIRENT64_RECLEN(dep->d_namelen); in cachefs_dir_getentrys()
/titanic_41/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vnops.c571 ndlen = (long)DIRENT64_RECLEN((dnamelen)); in hsfs_readdir()
/titanic_41/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vnops.c1507 reclen = (int)DIRENT64_RECLEN(namelen); in tmp_readdir()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_vnops.c2403 reclen = DIRENT64_RECLEN(strlen(zap.za_name)); in zfs_readdir()

12