Searched refs:namesz (Results 1 – 9 of 9) sorted by relevance
/linux-6.3-rc2/fs/afs/ |
A D | fsclient.c | 533 namesz = name->len; in afs_fs_create_file() 548 *bp++ = htonl(namesz); in afs_fs_create_file() 586 namesz = name->len; in afs_fs_make_dir() 601 *bp++ = htonl(namesz); in afs_fs_make_dir() 665 namesz = name->len; in afs_fs_remove_file() 680 *bp++ = htonl(namesz); in afs_fs_remove_file() 712 namesz = name->len; in afs_fs_remove_dir() 727 *bp++ = htonl(namesz); in afs_fs_remove_dir() 790 namesz = name->len; in afs_fs_link() 804 *bp++ = htonl(namesz); in afs_fs_link() [all …]
|
A 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() 235 const char *name, unsigned int namesz, in afs_lookup_cell() argument 276 min_t(size_t, cursor->name_len, namesz)); in afs_lookup_cell() [all …]
|
A D | vlclient.c | 656 u32 namesz, paddedsz; in afs_deliver_yfsvl_get_cell_name() local 673 namesz = ntohl(call->tmp); in afs_deliver_yfsvl_get_cell_name() 674 if (namesz > AFS_MAXCELLNAME) in afs_deliver_yfsvl_get_cell_name() 676 paddedsz = (namesz + 3) & ~3; in afs_deliver_yfsvl_get_cell_name() 677 call->count = namesz; in afs_deliver_yfsvl_get_cell_name() 678 call->count2 = paddedsz - namesz; in afs_deliver_yfsvl_get_cell_name() 680 cell_name = kmalloc(namesz + 1, GFP_KERNEL); in afs_deliver_yfsvl_get_cell_name() 683 cell_name[namesz] = 0; in afs_deliver_yfsvl_get_cell_name() 686 afs_extract_begin(call, cell_name, namesz); in afs_deliver_yfsvl_get_cell_name()
|
/linux-6.3-rc2/tools/perf/util/ |
A 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()
|
A D | genelf.c | 51 unsigned int namesz; /* Size of entry's owner string */ member 482 bnote.desc.namesz = sizeof(bnote.name); /* must include 0 termination */ in jit_write_elf()
|
A D | symbol-elf.c | 893 size_t namesz = NOTE_ALIGN(nhdr->n_namesz), in elf_read_build_id() local 899 ptr += namesz; in elf_read_build_id() 1025 size_t namesz, descsz; in sysfs__read_build_id() local 1030 namesz = NOTE_ALIGN(nhdr.n_namesz); in sysfs__read_build_id() 1034 if (read(fd, bf, namesz) != (ssize_t)namesz) in sysfs__read_build_id() 1047 int n = namesz + descsz; in sysfs__read_build_id()
|
/linux-6.3-rc2/arch/powerpc/platforms/powernv/ |
A 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()
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | prom_init.c | 1134 u32 namesz; member 1148 u32 namesz; member 1186 .namesz = sizeof("PowerPC"), 1200 .namesz = sizeof("IBM,RPA-Client-Config"),
|
/linux-6.3-rc2/drivers/hid/ |
A 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()
|
Completed in 39 milliseconds