Home
last modified time | relevance | path

Searched refs:namesz (Results 1 – 3 of 3) sorted by relevance

/fs/afs/
Dfsclient.c555 size_t namesz, reqsz, padsz; in afs_fs_create_file() local
560 namesz = name->len; in afs_fs_create_file()
561 padsz = (4 - (namesz & 3)) & 3; in afs_fs_create_file()
562 reqsz = (5 * 4) + namesz + padsz + (6 * 4); in afs_fs_create_file()
575 *bp++ = htonl(namesz); in afs_fs_create_file()
576 memcpy(bp, name->name, namesz); in afs_fs_create_file()
577 bp = (void *) bp + namesz; in afs_fs_create_file()
608 size_t namesz, reqsz, padsz; in afs_fs_make_dir() local
613 namesz = name->len; in afs_fs_make_dir()
614 padsz = (4 - (namesz & 3)) & 3; in afs_fs_make_dir()
[all …]
Dcell.c52 const char *name, unsigned int namesz, in afs_find_cell_locked() argument
59 _enter("%*.*s", namesz, namesz, name); in afs_find_cell_locked()
61 if (name && namesz == 0) in afs_find_cell_locked()
63 if (namesz > AFS_MAXCELLNAME) in afs_find_cell_locked()
78 min_t(size_t, cell->name_len, namesz)); in afs_find_cell_locked()
80 n = cell->name_len - namesz; in afs_find_cell_locked()
99 const char *name, unsigned int namesz, in afs_find_cell() argument
105 cell = afs_find_cell_locked(net, name, namesz, reason); in afs_find_cell()
233 const char *name, unsigned int namesz, in afs_lookup_cell() argument
244 cell = afs_find_cell(net, name, namesz, afs_cell_trace_use_lookup); in afs_lookup_cell()
[all …]
Dvlclient.c655 u32 namesz, paddedsz; in afs_deliver_yfsvl_get_cell_name() local
672 namesz = ntohl(call->tmp); in afs_deliver_yfsvl_get_cell_name()
673 if (namesz > AFS_MAXCELLNAME) in afs_deliver_yfsvl_get_cell_name()
675 paddedsz = (namesz + 3) & ~3; in afs_deliver_yfsvl_get_cell_name()
676 call->count = namesz; in afs_deliver_yfsvl_get_cell_name()
677 call->count2 = paddedsz - namesz; in afs_deliver_yfsvl_get_cell_name()
679 cell_name = kmalloc(namesz + 1, GFP_KERNEL); in afs_deliver_yfsvl_get_cell_name()
682 cell_name[namesz] = 0; in afs_deliver_yfsvl_get_cell_name()
685 afs_extract_begin(call, cell_name, namesz); in afs_deliver_yfsvl_get_cell_name()