Lines Matching refs:namesz
665 size_t namesz, reqsz, padsz; in afs_fs_create() local
670 namesz = strlen(name); in afs_fs_create()
671 padsz = (4 - (namesz & 3)) & 3; in afs_fs_create()
672 reqsz = (5 * 4) + namesz + padsz + (6 * 4); in afs_fs_create()
693 *bp++ = htonl(namesz); in afs_fs_create()
694 memcpy(bp, name, namesz); in afs_fs_create()
695 bp = (void *) bp + namesz; in afs_fs_create()
758 size_t namesz, reqsz, padsz; in afs_fs_remove() local
763 namesz = strlen(name); in afs_fs_remove()
764 padsz = (4 - (namesz & 3)) & 3; in afs_fs_remove()
765 reqsz = (5 * 4) + namesz + padsz; in afs_fs_remove()
782 *bp++ = htonl(namesz); in afs_fs_remove()
783 memcpy(bp, name, namesz); in afs_fs_remove()
784 bp = (void *) bp + namesz; in afs_fs_remove()
842 size_t namesz, reqsz, padsz; in afs_fs_link() local
847 namesz = strlen(name); in afs_fs_link()
848 padsz = (4 - (namesz & 3)) & 3; in afs_fs_link()
849 reqsz = (5 * 4) + namesz + padsz + (3 * 4); in afs_fs_link()
867 *bp++ = htonl(namesz); in afs_fs_link()
868 memcpy(bp, name, namesz); in afs_fs_link()
869 bp = (void *) bp + namesz; in afs_fs_link()
933 size_t namesz, reqsz, padsz, c_namesz, c_padsz; in afs_fs_symlink() local
938 namesz = strlen(name); in afs_fs_symlink()
939 padsz = (4 - (namesz & 3)) & 3; in afs_fs_symlink()
944 reqsz = (6 * 4) + namesz + padsz + c_namesz + c_padsz + (6 * 4); in afs_fs_symlink()
964 *bp++ = htonl(namesz); in afs_fs_symlink()
965 memcpy(bp, name, namesz); in afs_fs_symlink()
966 bp = (void *) bp + namesz; in afs_fs_symlink()