/kernel/linux/linux-5.10/fs/afs/ |
D | fsclient.c | 555 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 …]
|
D | cell.c | 52 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 …]
|
D | vlclient.c | 655 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/ |
D | symbol-minimal.c | 48 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()
|
D | genelf.c | 50 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()
|
D | symbol-elf.c | 511 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/ |
D | opal-core.c | 97 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/ |
D | prom_init.c | 1107 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/ |
D | hid-wiimote-modules.c | 342 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()
|