Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/perf/util/
Dsymbol-minimal.c48 size_t namesz, descsz; in read_build_id() local
57 namesz = NOTE_ALIGN(nhdr->n_namesz); in read_build_id()
62 ptr += namesz; in read_build_id()
Dgenelf.c50 unsigned int namesz; /* Size of entry's owner string */ member
461 bnote.desc.namesz = sizeof(bnote.name); /* must include 0 termination */ in jit_write_elf()
Dsymbol-elf.c511 size_t namesz = NOTE_ALIGN(nhdr->n_namesz), in elf_read_build_id() local
517 ptr += namesz; in elf_read_build_id()
610 size_t namesz, descsz; in sysfs__read_build_id() local
615 namesz = NOTE_ALIGN(nhdr.n_namesz); in sysfs__read_build_id()
619 if (read(fd, bf, namesz) != (ssize_t)namesz) in sysfs__read_build_id()
632 int n = namesz + descsz; in sysfs__read_build_id()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dopal-core.c97 Elf64_Word namesz = strlen(name) + 1; in append_elf64_note() local
99 note->n_namesz = cpu_to_be32(namesz); in append_elf64_note()
103 memcpy(buf, name, namesz); in append_elf64_note()
104 buf += DIV_ROUND_UP(namesz, sizeof(Elf64_Word)); in append_elf64_note()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dprom_init.c1107 u32 namesz; member
1121 u32 namesz; member
1159 .namesz = sizeof("PowerPC"),
1173 .namesz = sizeof("IBM,RPA-Client-Config"),
/kernel/linux/linux-5.10/drivers/hid/
Dhid-wiimote-modules.c342 size_t namesz = strlen(dev_name(dev)) + 9; in wiimod_led_probe() local
348 led = kzalloc(sizeof(struct led_classdev) + namesz, GFP_KERNEL); in wiimod_led_probe()
353 snprintf(name, namesz, "%s:blue:p%lu", dev_name(dev), ops->arg); in wiimod_led_probe()