name_len 28 arch/s390/tools/gen_opcode_table.c unsigned int name_len; name_len 164 arch/s390/tools/gen_opcode_table.c insn.name_len = strlen(insn.name); name_len 165 arch/s390/tools/gen_opcode_table.c for (i = 0; i <= insn.name_len; i++) name_len 214 arch/s390/tools/gen_opcode_table.c if (insn->name_len < 6) name_len 224 arch/s390/tools/gen_opcode_table.c if (insn->name_len < 6) name_len 239 arch/s390/tools/gen_opcode_table.c if (insn->name_len < 6) name_len 54 arch/sparc/kernel/mdesc.c u8 name_len; name_len 963 crypto/asymmetric_keys/asym_tpm.c .name_len = sizeof("asym_tpm") - 1, name_len 338 crypto/asymmetric_keys/public_key.c .name_len = sizeof("public_key") - 1, name_len 107 drivers/android/binderfs.c size_t name_len; name_len 151 drivers/android/binderfs.c name_len = strlen(req->name); name_len 153 drivers/android/binderfs.c name = kmemdup(req->name, name_len + 1, GFP_KERNEL); name_len 177 drivers/android/binderfs.c dentry = lookup_one_len(name, root, name_len); name_len 114 drivers/firmware/google/gsmi.c u32 name_len; name_len 320 drivers/firmware/google/gsmi.c size_t name_len = ucs2_strnlen(name, GSMI_BUF_SIZE / 2); name_len 323 drivers/firmware/google/gsmi.c if (name_len >= GSMI_BUF_SIZE / 2) name_len 333 drivers/firmware/google/gsmi.c memcpy(gsmi_dev.name_buf->start, name, name_len * 2); name_len 378 drivers/firmware/google/gsmi.c .name_len = gsmi_dev.name_buf->length, name_len 443 drivers/firmware/google/gsmi.c size_t name_len = ucs2_strnlen(name, GSMI_BUF_SIZE / 2); name_len 448 drivers/firmware/google/gsmi.c if (name_len >= GSMI_BUF_SIZE / 2) name_len 458 drivers/firmware/google/gsmi.c memcpy(gsmi_dev.name_buf->start, name, name_len * 2); name_len 84 drivers/gpu/drm/drm_ioc32.c u32 name_len; /* Length of name buffer */ name_len 103 drivers/gpu/drm/drm_ioc32.c .name_len = v32.name_len, name_len 118 drivers/gpu/drm/drm_ioc32.c v32.name_len = v.name_len; name_len 513 drivers/gpu/drm/drm_ioctl.c err = drm_copy_field(version->name, &version->name_len, name_len 1664 drivers/hid/hid-input.c size_t suffix_len, name_len; name_len 1708 drivers/hid/hid-input.c name_len = strlen(hid->name); name_len 1710 drivers/hid/hid-input.c if ((name_len < suffix_len) || name_len 1711 drivers/hid/hid-input.c strcmp(hid->name + name_len - suffix_len, suffix)) { name_len 1972 drivers/hid/hid-sony.c size_t name_len; name_len 1984 drivers/hid/hid-sony.c name_len = strlen("::buzz#"); name_len 1996 drivers/hid/hid-sony.c name_len = 0; name_len 2002 drivers/hid/hid-sony.c name_len = 0; name_len 2011 drivers/hid/hid-sony.c name_len = strlen("::sony#"); name_len 2018 drivers/hid/hid-sony.c name_len = strlen("::sony#"); name_len 2029 drivers/hid/hid-sony.c name_sz = strlen(dev_name(&hdev->dev)) + name_len + 1; name_len 256 drivers/media/firewire/firedtv-fw.c int name_len, i, err; name_len 273 drivers/media/firewire/firedtv-fw.c name_len = fw_csr_string(unit->directory, CSR_MODEL, name_len 276 drivers/media/firewire/firedtv-fw.c if (strlen(model_names[i]) <= name_len && name_len 277 drivers/media/firewire/firedtv-fw.c strncmp(name, model_names[i], name_len) == 0) name_len 92 drivers/mtd/parsers/cmdlinepart.c int name_len; name_len 133 drivers/mtd/parsers/cmdlinepart.c name_len = p - name; name_len 137 drivers/mtd/parsers/cmdlinepart.c name_len = 13; /* Partition_000 */ name_len 141 drivers/mtd/parsers/cmdlinepart.c extra_mem_size += name_len + 1; name_len 188 drivers/mtd/parsers/cmdlinepart.c strlcpy(extra_mem, name, name_len + 1); name_len 192 drivers/mtd/parsers/cmdlinepart.c extra_mem += name_len + 1; name_len 599 drivers/mtd/ubi/cdev.c req->name_len < 0) name_len 630 drivers/mtd/ubi/cdev.c if (!req->name[0] || !req->name_len) name_len 633 drivers/mtd/ubi/cdev.c if (req->name_len > UBI_VOL_NAME_MAX) { name_len 638 drivers/mtd/ubi/cdev.c n = strnlen(req->name, req->name_len + 1); name_len 639 drivers/mtd/ubi/cdev.c if (n != req->name_len) name_len 697 drivers/mtd/ubi/cdev.c if (req->ents[i].name_len < 0) name_len 699 drivers/mtd/ubi/cdev.c if (req->ents[i].name_len > UBI_VOL_NAME_MAX) name_len 701 drivers/mtd/ubi/cdev.c req->ents[i].name[req->ents[i].name_len] = '\0'; name_len 703 drivers/mtd/ubi/cdev.c if (n != req->ents[i].name_len) name_len 727 drivers/mtd/ubi/cdev.c int name_len = req->ents[i].name_len; name_len 746 drivers/mtd/ubi/cdev.c if (re->desc->vol->name_len == name_len && name_len 747 drivers/mtd/ubi/cdev.c !memcmp(re->desc->vol->name, name, name_len)) { name_len 753 drivers/mtd/ubi/cdev.c re->new_name_len = name_len; name_len 754 drivers/mtd/ubi/cdev.c memcpy(re->new_name, name, name_len); name_len 775 drivers/mtd/ubi/cdev.c if (re->new_name_len == re1->desc->vol->name_len && name_len 777 drivers/mtd/ubi/cdev.c re1->desc->vol->name_len)) { name_len 103 drivers/mtd/ubi/debug.c pr_err("\tname_len %d\n", vol->name_len); name_len 111 drivers/mtd/ubi/debug.c if (vol->name_len <= UBI_VOL_NAME_MAX && name_len 112 drivers/mtd/ubi/debug.c strnlen(vol->name, vol->name_len + 1) == vol->name_len) { name_len 128 drivers/mtd/ubi/debug.c int name_len = be16_to_cpu(r->name_len); name_len 136 drivers/mtd/ubi/debug.c pr_err("\tname_len %d\n", name_len); name_len 143 drivers/mtd/ubi/debug.c if (name_len <= UBI_VOL_NAME_MAX && name_len 144 drivers/mtd/ubi/debug.c strnlen(&r->name[0], name_len + 1) == name_len) { name_len 201 drivers/mtd/ubi/debug.c pr_err("\tname_len %d\n", req->name_len); name_len 289 drivers/mtd/ubi/gluebi.c mtd->name = kmemdup(vi->name, vi->name_len + 1, GFP_KERNEL); name_len 79 drivers/mtd/ubi/kapi.c vi->name_len = vol->name_len; name_len 260 drivers/mtd/ubi/kapi.c if (vol && len == vol->name_len && !strcmp(name, vol->name)) { name_len 361 drivers/mtd/ubi/ubi-media.h __be16 name_len; name_len 357 drivers/mtd/ubi/ubi.h int name_len; name_len 199 drivers/mtd/ubi/vmt.c ubi->volumes[i]->name_len == req->name_len && name_len 229 drivers/mtd/ubi/vmt.c vol->name_len = req->name_len; name_len 230 drivers/mtd/ubi/vmt.c memcpy(vol->name, req->name, vol->name_len); name_len 287 drivers/mtd/ubi/vmt.c vtbl_rec.name_len = cpu_to_be16(vol->name_len); name_len 296 drivers/mtd/ubi/vmt.c memcpy(vtbl_rec.name, vol->name, vol->name_len); name_len 554 drivers/mtd/ubi/vmt.c vol->name_len = re->new_name_len; name_len 638 drivers/mtd/ubi/vmt.c int reserved_pebs, alignment, data_pad, vol_type, name_len, upd_marker; name_len 657 drivers/mtd/ubi/vmt.c vol->name_len < 0) { name_len 700 drivers/mtd/ubi/vmt.c if (vol->name_len > UBI_VOL_NAME_MAX) { name_len 706 drivers/mtd/ubi/vmt.c n = strnlen(vol->name, vol->name_len + 1); name_len 707 drivers/mtd/ubi/vmt.c if (n != vol->name_len) { name_len 754 drivers/mtd/ubi/vmt.c name_len = be16_to_cpu(ubi->vtbl[vol_id].name_len); name_len 764 drivers/mtd/ubi/vmt.c name_len != vol->name_len || strncmp(name, vol->name, name_len)) { name_len 137 drivers/mtd/ubi/vtbl.c vtbl_rec->name_len = cpu_to_be16(re->new_name_len); name_len 160 drivers/mtd/ubi/vtbl.c int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; name_len 173 drivers/mtd/ubi/vtbl.c name_len = be16_to_cpu(vtbl[i].name_len); name_len 194 drivers/mtd/ubi/vtbl.c name_len < 0) { name_len 234 drivers/mtd/ubi/vtbl.c if (name_len > UBI_VOL_NAME_MAX) { name_len 244 drivers/mtd/ubi/vtbl.c if (name_len != strnlen(name, name_len + 1)) { name_len 253 drivers/mtd/ubi/vtbl.c int len1 = be16_to_cpu(vtbl[i].name_len); name_len 254 drivers/mtd/ubi/vtbl.c int len2 = be16_to_cpu(vtbl[n].name_len); name_len 544 drivers/mtd/ubi/vtbl.c vol->name_len = be16_to_cpu(vtbl[i].name_len); name_len 546 drivers/mtd/ubi/vtbl.c memcpy(vol->name, vtbl[i].name, vol->name_len); name_len 547 drivers/mtd/ubi/vtbl.c vol->name[vol->name_len] = '\0'; name_len 633 drivers/mtd/ubi/vtbl.c vol->name_len = sizeof(UBI_LAYOUT_VOLUME_NAME) - 1; name_len 634 drivers/mtd/ubi/vtbl.c memcpy(vol->name, UBI_LAYOUT_VOLUME_NAME, vol->name_len + 1); name_len 290 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c int err, name_len; name_len 302 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c name_len = strlen(name) + 1; name_len 303 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c area = kzalloc(sizeof(*area) + cpp->op->area_priv_size + name_len, name_len 311 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c memcpy((char *)area->resource.name, name, name_len); name_len 1374 drivers/net/wireless/ath/ath10k/core.c size_t name_len, bool with_variant) name_len 1384 drivers/net/wireless/ath/ath10k/core.c scnprintf(name, name_len, name_len 1393 drivers/net/wireless/ath/ath10k/core.c scnprintf(name, name_len, name_len 1400 drivers/net/wireless/ath/ath10k/core.c scnprintf(name, name_len, name_len 1412 drivers/net/wireless/ath/ath10k/core.c size_t name_len) name_len 1415 drivers/net/wireless/ath/ath10k/core.c scnprintf(name, name_len, name_len 208 drivers/net/wireless/intel/iwlwifi/fw/api/dbg-tlv.h __le32 name_len; name_len 1684 drivers/net/wireless/intel/iwlwifi/fw/dbg.c header->name_len = cpu_to_le32(min_t(int, IWL_FW_INI_MAX_NAME, name_len 1685 drivers/net/wireless/intel/iwlwifi/fw/dbg.c le32_to_cpu(reg->name_len))); name_len 1686 drivers/net/wireless/intel/iwlwifi/fw/dbg.c memcpy(header->name, reg->name, le32_to_cpu(header->name_len)); name_len 355 drivers/net/wireless/intel/iwlwifi/fw/error-dump.h __le32 name_len; name_len 1147 drivers/pci/pci-sysfs.c int name_len = write_combine ? 13 : 10; name_len 1152 drivers/pci/pci-sysfs.c res_attr = kzalloc(sizeof(*res_attr) + name_len, GFP_ATOMIC); name_len 277 drivers/pinctrl/pinctrl-digicolor.c int name_len = strlen("GP_xx") + 1; name_len 293 drivers/pinctrl/pinctrl-digicolor.c pin_names = devm_kcalloc(&pdev->dev, PINS_COUNT, name_len, name_len 301 drivers/pinctrl/pinctrl-digicolor.c char *name = &pin_names[pin_id * name_len]; name_len 303 drivers/pinctrl/pinctrl-digicolor.c snprintf(name, name_len, "GP_%c%c", 'A'+i, '0'+j); name_len 370 drivers/remoteproc/keystone_remoteproc.c int name_len = 0; name_len 385 drivers/remoteproc/keystone_remoteproc.c name_len = strlen(template); /* assuming a single digit alias */ name_len 386 drivers/remoteproc/keystone_remoteproc.c fw_name = devm_kzalloc(dev, name_len, GFP_KERNEL); name_len 389 drivers/remoteproc/keystone_remoteproc.c snprintf(fw_name, name_len, template, dsp_id); name_len 1995 drivers/remoteproc/remoteproc_core.c int name_len; name_len 2005 drivers/remoteproc/remoteproc_core.c name_len = strlen(name) + strlen(template) - 2 + 1; name_len 2006 drivers/remoteproc/remoteproc_core.c p = kmalloc(name_len, GFP_KERNEL); name_len 2009 drivers/remoteproc/remoteproc_core.c snprintf(p, name_len, template, name); name_len 412 drivers/rpmsg/qcom_glink_native.c int name_len = strlen(channel->name) + 1; name_len 413 drivers/rpmsg/qcom_glink_native.c int req_len = ALIGN(sizeof(req.msg) + name_len, 8); name_len 431 drivers/rpmsg/qcom_glink_native.c req.msg.param2 = cpu_to_le32(name_len); name_len 2851 drivers/scsi/qla2xxx/qla_def.h uint8_t name_len; name_len 931 drivers/scsi/qla2xxx/qla_gs.c ct_req->req.rsnn_nn.name_len = name_len 935 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_size = 24 + 1 + ct_req->req.rsnn_nn.name_len; name_len 25 drivers/soc/qcom/glink_ssr.c __le32 name_len; name_len 98 drivers/soc/qcom/glink_ssr.c msg.name_len = cpu_to_le32(strlen(ssr_name)); name_len 465 drivers/staging/exfat/exfat.h u8 name_len; name_len 525 drivers/staging/exfat/exfat.h u8 name_len; name_len 1362 drivers/staging/exfat/exfat_core.c strm_ep->name_len = p_uniname->name_len; name_len 2325 drivers/staging/exfat/exfat_core.c p_uniname->name_len == strm_ep->name_len) { name_len 2869 drivers/staging/exfat/exfat_core.c len = p_uniname->name_len; name_len 2881 drivers/staging/exfat/exfat_core.c len = p_uniname->name_len; name_len 398 drivers/staging/exfat/exfat_nls.c p_uniname->name_len = j; name_len 236 drivers/staging/wusbcore/cbaf.c size_t name_len; name_len 245 drivers/staging/wusbcore/cbaf.c name_len = strlen(cbaf->host_name); name_len 246 drivers/staging/wusbcore/cbaf.c hi->HostFriendlyName_hdr.len = cpu_to_le16(name_len); name_len 247 drivers/staging/wusbcore/cbaf.c hi_size = sizeof(*hi) + name_len; name_len 1539 drivers/usb/gadget/composite.c ext_prop->name_len + 14; name_len 1545 drivers/usb/gadget/composite.c ext_prop->name_len); name_len 1058 drivers/usb/gadget/configfs.c ext_prop->name_len = 2 * strlen(ext_prop->name) + 2; name_len 1061 drivers/usb/gadget/configfs.c desc->ext_prop_len += ext_prop->name_len; name_len 1080 drivers/usb/gadget/configfs.c desc->ext_prop_len -= (ext_prop->name_len + ext_prop->data_len + 14); name_len 2998 drivers/usb/gadget/function/f_fs.c ext_prop->name_len = le16_to_cpu(desc->wPropertyNameLength); name_len 3000 drivers/usb/gadget/function/f_fs.c usb_ext_prop_data_len_ptr(data, ext_prop->name_len)); name_len 3001 drivers/usb/gadget/function/f_fs.c length = ext_prop->name_len + ext_prop->data_len + 14; name_len 3005 drivers/usb/gadget/function/f_fs.c ext_prop->name_len; name_len 3011 drivers/usb/gadget/function/f_fs.c usb_ext_prop_data_ptr(data, ext_prop->name_len), name_len 3025 drivers/usb/gadget/function/f_fs.c ext_prop->name_len); name_len 3027 drivers/usb/gadget/function/f_fs.c ext_prop->name_len *= 2; name_len 3031 drivers/usb/gadget/function/f_fs.c ext_prop->name_len + ext_prop->data_len + 14; name_len 28 drivers/usb/typec/mux.c const int name_len = strlen(name); name_len 31 drivers/usb/typec/mux.c if (suffix_len > name_len) name_len 34 drivers/usb/typec/mux.c return strcmp(name + (name_len - suffix_len), suffix) == 0; name_len 39 drivers/video/fbdev/core/fb_cmdline.c int name_len = strlen(name), i; name_len 41 drivers/video/fbdev/core/fb_cmdline.c if (name_len && ofonly && strncmp(name, "offb", 4)) name_len 44 drivers/video/fbdev/core/fb_cmdline.c if (name_len && !retval) { name_len 51 drivers/video/fbdev/core/fb_cmdline.c if (!strncmp(name, opt, name_len) && name_len 52 drivers/video/fbdev/core/fb_cmdline.c opt[name_len] == ':') name_len 53 drivers/video/fbdev/core/fb_cmdline.c options = opt + name_len + 1; name_len 118 fs/adfs/adfs.h unsigned int name_len; /* name length */ name_len 29 fs/adfs/dir.c for (i = dots = 0; i < obj->name_len; i++) name_len 35 fs/adfs/dir.c if (obj->name_len <= 2 && dots == obj->name_len) name_len 46 fs/adfs/dir.c obj->name[obj->name_len++] = ','; name_len 47 fs/adfs/dir.c obj->name[obj->name_len++] = hex_asc_lo(filetype >> 8); name_len 48 fs/adfs/dir.c obj->name[obj->name_len++] = hex_asc_lo(filetype >> 4); name_len 49 fs/adfs/dir.c obj->name[obj->name_len++] = hex_asc_lo(filetype >> 0); name_len 88 fs/adfs/dir.c if (!dir_emit(ctx, obj.name, obj.name_len, name_len 167 fs/adfs/dir.c u32 name_len; name_len 192 fs/adfs/dir.c name_len = qstr->len; name_len 194 fs/adfs/dir.c if (!__adfs_compare(name, name_len, obj->name, obj->name_len)) { name_len 196 fs/adfs/dir_f.c unsigned int name_len; name_len 198 fs/adfs/dir_f.c for (name_len = 0; name_len < ADFS_F_NAME_LEN; name_len++) { name_len 199 fs/adfs/dir_f.c if (de->dirobname[name_len] < ' ') name_len 202 fs/adfs/dir_f.c obj->name[name_len] = de->dirobname[name_len]; name_len 205 fs/adfs/dir_f.c obj->name_len = name_len; name_len 182 fs/adfs/dir_fplus.c obj->name_len = le32_to_cpu(bde.bigdirobnamelen); name_len 189 fs/adfs/dir_fplus.c dir_memcpy(dir, offset, obj->name, obj->name_len); name_len 357 fs/adfs/inode.c obj.name_len = 0; name_len 483 fs/adfs/super.c root_obj.name_len = 0; name_len 249 fs/afs/addr_list.c ret = dns_query(cell->net->net, "afsdb", cell->name, cell->name_len, name_len 89 fs/afs/cell.c min_t(size_t, cell->name_len, namesz)); name_len 91 fs/afs/cell.c n = cell->name_len - namesz; name_len 158 fs/afs/cell.c cell->name_len = namelen; name_len 268 fs/afs/cell.c min_t(size_t, cursor->name_len, namesz)); name_len 270 fs/afs/cell.c n = cursor->name_len - namesz; name_len 106 fs/afs/dynroot.c len = cell->name_len; name_len 200 fs/afs/dynroot.c subdir = lookup_one_len(cell->name, root, cell->name_len); name_len 230 fs/afs/dynroot.c subdir = try_lookup_one_len(cell->name, root, cell->name_len); name_len 398 fs/afs/internal.h u8 name_len; /* Length of name */ name_len 431 fs/afs/internal.h u16 name_len; /* Length of name */ name_len 480 fs/afs/internal.h u8 name_len; name_len 623 fs/afs/internal.h u8 name_len; name_len 12 fs/afs/vl_list.c struct afs_vlserver *afs_alloc_vlserver(const char *name, size_t name_len, name_len 17 fs/afs/vl_list.c vlserver = kzalloc(struct_size(vlserver, name, name_len + 1), name_len 24 fs/afs/vl_list.c vlserver->name_len = name_len; name_len 26 fs/afs/vl_list.c memcpy(vlserver->name, name, name_len); name_len 199 fs/afs/vl_list.c bs.name_len = afs_extract_le16(&b); name_len 209 fs/afs/vl_list.c bs.name_len, bs.priority, bs.weight, name_len 211 fs/afs/vl_list.c bs.name_len, bs.name_len, b); name_len 213 fs/afs/vl_list.c if (end - b < bs.name_len) name_len 236 fs/afs/vl_list.c if (p->name_len == bs.name_len && name_len 238 fs/afs/vl_list.c strncasecmp(b, p->name, bs.name_len) == 0) { name_len 246 fs/afs/vl_list.c server = afs_alloc_vlserver(b, bs.name_len, bs.port); name_len 251 fs/afs/vl_list.c b += bs.name_len; name_len 42 fs/afs/vlclient.c entry->name_len = strlen(entry->name); name_len 39 fs/afs/volume.c volume->name_len = vldb->name_len; name_len 45 fs/afs/volume.c memcpy(volume->name, vldb->name, vldb->name_len + 1); name_len 241 fs/afs/volume.c if (vldb->name_len != volume->name_len || name_len 242 fs/afs/volume.c memcmp(vldb->name, volume->name, vldb->name_len) != 0) { name_len 245 fs/afs/volume.c volume->name_len = vldb->name_len; name_len 343 fs/afs/xattr.c namelen = cell->name_len; name_len 1613 fs/btrfs/backref.c u32 name_len, unsigned long name_off, name_len 1631 fs/btrfs/backref.c bytes_left -= name_len; name_len 1634 fs/btrfs/backref.c name_off, name_len); name_len 1665 fs/btrfs/backref.c name_len = btrfs_inode_ref_name_len(eb, iref); name_len 1995 fs/btrfs/backref.c typedef int (iterate_irefs_t)(u64 parent, u32 name_len, unsigned long name_off, name_len 2006 fs/btrfs/backref.c u32 name_len; name_len 2040 fs/btrfs/backref.c name_len = btrfs_inode_ref_name_len(eb, iref); name_len 2046 fs/btrfs/backref.c ret = iterate(parent, name_len, name_len 2050 fs/btrfs/backref.c len = sizeof(*iref) + name_len; name_len 2100 fs/btrfs/backref.c u32 name_len; name_len 2104 fs/btrfs/backref.c name_len = btrfs_inode_extref_name_len(eb, extref); name_len 2105 fs/btrfs/backref.c ret = iterate(parent, name_len, name_len 2147 fs/btrfs/backref.c static int inode_to_path(u64 inum, u32 name_len, unsigned long name_off, name_len 2161 fs/btrfs/backref.c fspath = btrfs_ref_to_path(ipath->fs_root, ipath->btrfs_path, name_len, name_len 47 fs/btrfs/backref.h u32 name_len, unsigned long name_off, name_len 1540 fs/btrfs/ctree.h BTRFS_SETGET_FUNCS(inode_ref_name_len, struct btrfs_inode_ref, name_len, 16); name_len 1547 fs/btrfs/ctree.h name_len, 16); name_len 1780 fs/btrfs/ctree.h BTRFS_SETGET_FUNCS(root_ref_name_len, struct btrfs_root_ref, name_len, 16); name_len 1785 fs/btrfs/ctree.h BTRFS_SETGET_FUNCS(dir_name_len, struct btrfs_dir_item, name_len, 16); name_len 1791 fs/btrfs/ctree.h name_len, 16); name_len 2674 fs/btrfs/ctree.h int name_len); name_len 2677 fs/btrfs/ctree.h int name_len); name_len 2708 fs/btrfs/ctree.h const char *name, int name_len); name_len 2710 fs/btrfs/ctree.h int name_len, struct btrfs_inode *dir, name_len 2715 fs/btrfs/ctree.h const char *name, int name_len, name_len 2721 fs/btrfs/ctree.h u64 objectid, const char *name, int name_len, name_len 2726 fs/btrfs/ctree.h const char *name, int name_len); name_len 2734 fs/btrfs/ctree.h const char *name, u16 name_len, name_len 2739 fs/btrfs/ctree.h const char *name, u16 name_len, name_len 2744 fs/btrfs/ctree.h int name_len); name_len 2756 fs/btrfs/ctree.h const char *name, int name_len, name_len 2760 fs/btrfs/ctree.h const char *name, int name_len, name_len 2773 fs/btrfs/ctree.h const char *name, int name_len, name_len 2779 fs/btrfs/ctree.h int name_len); name_len 2782 fs/btrfs/ctree.h const char *name, int name_len); name_len 2828 fs/btrfs/ctree.h const char *name, int name_len); name_len 2831 fs/btrfs/ctree.h const char *name, int name_len, int add_backref, u64 index); name_len 1437 fs/btrfs/delayed-inode.c const char *name, int name_len, name_len 1451 fs/btrfs/delayed-inode.c delayed_item = btrfs_alloc_delayed_item(sizeof(*dir_item) + name_len); name_len 1465 fs/btrfs/delayed-inode.c btrfs_set_stack_dir_name_len(dir_item, name_len); name_len 1467 fs/btrfs/delayed-inode.c memcpy((char *)(dir_item + 1), name, name_len); name_len 1481 fs/btrfs/delayed-inode.c name_len, name, delayed_node->root->root_key.objectid, name_len 1690 fs/btrfs/delayed-inode.c int name_len; name_len 1715 fs/btrfs/delayed-inode.c name_len = btrfs_stack_dir_name_len(di); name_len 1720 fs/btrfs/delayed-inode.c over = !dir_emit(ctx, name, name_len, name_len 89 fs/btrfs/delayed-inode.h const char *name, int name_len, name_len 25 fs/btrfs/dir-item.c int name_len) name_len 36 fs/btrfs/dir-item.c di = btrfs_match_dir_item_name(fs_info, path, name, name_len); name_len 58 fs/btrfs/dir-item.c const char *name, u16 name_len, name_len 69 fs/btrfs/dir-item.c if (name_len + data_len > BTRFS_MAX_XATTR_SIZE(root->fs_info)) name_len 74 fs/btrfs/dir-item.c key.offset = btrfs_name_hash(name, name_len); name_len 76 fs/btrfs/dir-item.c data_size = sizeof(*dir_item) + name_len + data_len; name_len 78 fs/btrfs/dir-item.c name, name_len); name_len 87 fs/btrfs/dir-item.c btrfs_set_dir_name_len(leaf, dir_item, name_len); name_len 91 fs/btrfs/dir-item.c data_ptr = (unsigned long)((char *)name_ptr + name_len); name_len 93 fs/btrfs/dir-item.c write_extent_buffer(leaf, name, name_ptr, name_len); name_len 109 fs/btrfs/dir-item.c int name_len, struct btrfs_inode *dir, name_len 125 fs/btrfs/dir-item.c key.offset = btrfs_name_hash(name, name_len); name_len 134 fs/btrfs/dir-item.c data_size = sizeof(*dir_item) + name_len; name_len 136 fs/btrfs/dir-item.c name, name_len); name_len 148 fs/btrfs/dir-item.c btrfs_set_dir_name_len(leaf, dir_item, name_len); name_len 152 fs/btrfs/dir-item.c write_extent_buffer(leaf, name, name_ptr, name_len); name_len 163 fs/btrfs/dir-item.c ret2 = btrfs_insert_delayed_dir_index(trans, name, name_len, dir, name_len 182 fs/btrfs/dir-item.c const char *name, int name_len, name_len 193 fs/btrfs/dir-item.c key.offset = btrfs_name_hash(name, name_len); name_len 201 fs/btrfs/dir-item.c return btrfs_match_dir_item_name(root->fs_info, path, name, name_len); name_len 205 fs/btrfs/dir-item.c const char *name, int name_len) name_len 222 fs/btrfs/dir-item.c key.offset = btrfs_name_hash(name, name_len); name_len 237 fs/btrfs/dir-item.c di = btrfs_match_dir_item_name(root->fs_info, path, name, name_len); name_len 248 fs/btrfs/dir-item.c data_size = sizeof(*di) + name_len; name_len 275 fs/btrfs/dir-item.c u64 objectid, const char *name, int name_len, name_len 292 fs/btrfs/dir-item.c return btrfs_match_dir_item_name(root->fs_info, path, name, name_len); name_len 298 fs/btrfs/dir-item.c const char *name, int name_len) name_len 334 fs/btrfs/dir-item.c name, name_len); name_len 346 fs/btrfs/dir-item.c const char *name, u16 name_len, name_len 356 fs/btrfs/dir-item.c key.offset = btrfs_name_hash(name, name_len); name_len 363 fs/btrfs/dir-item.c return btrfs_match_dir_item_name(root->fs_info, path, name, name_len); name_len 373 fs/btrfs/dir-item.c const char *name, int name_len) name_len 392 fs/btrfs/dir-item.c if (btrfs_dir_name_len(leaf, dir_item) == name_len && name_len 393 fs/btrfs/dir-item.c memcmp_extent_buffer(leaf, name, name_ptr, name_len) == 0) name_len 236 fs/btrfs/export.c int name_len; name_len 279 fs/btrfs/export.c name_len = btrfs_root_ref_name_len(leaf, rref); name_len 284 fs/btrfs/export.c name_len = btrfs_inode_ref_name_len(leaf, iref); name_len 287 fs/btrfs/export.c read_extent_buffer(leaf, name, name_ptr, name_len); name_len 294 fs/btrfs/export.c name[name_len] = '\0'; name_len 13 fs/btrfs/inode-item.c int name_len) name_len 29 fs/btrfs/inode-item.c if (len != name_len) name_len 31 fs/btrfs/inode-item.c if (memcmp_extent_buffer(leaf, name, name_ptr, name_len) == 0) name_len 39 fs/btrfs/inode-item.c const char *name, int name_len) name_len 62 fs/btrfs/inode-item.c if (ref_name_len == name_len && name_len 64 fs/btrfs/inode-item.c (memcmp_extent_buffer(leaf, name, name_ptr, name_len) == 0)) name_len 77 fs/btrfs/inode-item.c const char *name, int name_len, name_len 86 fs/btrfs/inode-item.c key.offset = btrfs_extref_hash(ref_objectid, name, name_len); name_len 94 fs/btrfs/inode-item.c ref_objectid, name, name_len); name_len 100 fs/btrfs/inode-item.c const char *name, int name_len, name_len 109 fs/btrfs/inode-item.c int del_len = name_len + sizeof(*extref); name_len 116 fs/btrfs/inode-item.c key.offset = btrfs_extref_hash(ref_objectid, name, name_len); name_len 136 fs/btrfs/inode-item.c ref_objectid, name, name_len); name_len 173 fs/btrfs/inode-item.c const char *name, int name_len, name_len 186 fs/btrfs/inode-item.c int del_len = name_len + sizeof(*ref); name_len 208 fs/btrfs/inode-item.c name_len); name_len 225 fs/btrfs/inode-item.c sub_item_len = name_len + sizeof(*ref); name_len 239 fs/btrfs/inode-item.c return btrfs_del_inode_extref(trans, root, name, name_len, name_len 253 fs/btrfs/inode-item.c const char *name, int name_len, name_len 258 fs/btrfs/inode-item.c int ins_len = name_len + sizeof(*extref); name_len 267 fs/btrfs/inode-item.c key.offset = btrfs_extref_hash(ref_objectid, name, name_len); name_len 280 fs/btrfs/inode-item.c name, name_len)) name_len 295 fs/btrfs/inode-item.c btrfs_set_inode_extref_name_len(path->nodes[0], extref, name_len); name_len 300 fs/btrfs/inode-item.c write_extent_buffer(path->nodes[0], name, ptr, name_len); name_len 311 fs/btrfs/inode-item.c const char *name, int name_len, name_len 320 fs/btrfs/inode-item.c int ins_len = name_len + sizeof(*ref); name_len 337 fs/btrfs/inode-item.c name, name_len); name_len 346 fs/btrfs/inode-item.c btrfs_set_inode_ref_name_len(path->nodes[0], ref, name_len); name_len 354 fs/btrfs/inode-item.c name, name_len)) name_len 363 fs/btrfs/inode-item.c btrfs_set_inode_ref_name_len(path->nodes[0], ref, name_len); name_len 367 fs/btrfs/inode-item.c write_extent_buffer(path->nodes[0], name, ptr, name_len); name_len 380 fs/btrfs/inode-item.c name_len, name_len 4119 fs/btrfs/inode.c const char *name, int name_len) name_len 4137 fs/btrfs/inode.c name, name_len, -1); name_len 4165 fs/btrfs/inode.c ret = btrfs_del_inode_ref(trans, root, name, name_len, ino, name_len 4170 fs/btrfs/inode.c name_len, name, ino, dir_ino); name_len 4181 fs/btrfs/inode.c ret = btrfs_del_inode_ref_in_log(trans, root, name, name_len, inode, name_len 4188 fs/btrfs/inode.c ret = btrfs_del_dir_entries_in_log(trans, root, name, name_len, dir, name_len 4210 fs/btrfs/inode.c btrfs_i_size_write(dir, dir->vfs_inode.i_size - name_len * 2); name_len 4223 fs/btrfs/inode.c const char *name, int name_len) name_len 4226 fs/btrfs/inode.c ret = __btrfs_unlink_inode(trans, root, dir, inode, name, name_len); name_len 4298 fs/btrfs/inode.c int name_len = dentry->d_name.len; name_len 4318 fs/btrfs/inode.c name, name_len, -1); name_len 4345 fs/btrfs/inode.c name, name_len); name_len 4362 fs/btrfs/inode.c &index, name, name_len); name_len 4375 fs/btrfs/inode.c btrfs_i_size_write(BTRFS_I(dir), dir->i_size - name_len * 2); name_len 6068 fs/btrfs/inode.c int name_len; name_len 6078 fs/btrfs/inode.c if (!dir_emit(ctx, name, get_unaligned(&entry->name_len), name_len 6083 fs/btrfs/inode.c get_unaligned(&entry->name_len); name_len 6105 fs/btrfs/inode.c int name_len; name_len 6159 fs/btrfs/inode.c name_len = btrfs_dir_name_len(leaf, di); name_len 6160 fs/btrfs/inode.c if ((total_len + sizeof(struct dir_entry) + name_len) >= name_len 6173 fs/btrfs/inode.c put_unaligned(name_len, &entry->name_len); name_len 6176 fs/btrfs/inode.c name_len); name_len 6183 fs/btrfs/inode.c addr += sizeof(struct dir_entry) + name_len; name_len 6184 fs/btrfs/inode.c total_len += sizeof(struct dir_entry) + name_len; name_len 6414 fs/btrfs/inode.c const char *name, int name_len, name_len 6504 fs/btrfs/inode.c sizes[1] = name_len + sizeof(*ref); name_len 6540 fs/btrfs/inode.c btrfs_set_inode_ref_name_len(path->nodes[0], ref, name_len); name_len 6543 fs/btrfs/inode.c write_extent_buffer(path->nodes[0], name, ptr, name_len); name_len 6591 fs/btrfs/inode.c const char *name, int name_len, int add_backref, u64 index) name_len 6610 fs/btrfs/inode.c index, name, name_len); name_len 6612 fs/btrfs/inode.c ret = btrfs_insert_inode_ref(trans, root, name, name_len, ino, name_len 6620 fs/btrfs/inode.c ret = btrfs_insert_dir_item(trans, name, name_len, parent_inode, &key, name_len 6630 fs/btrfs/inode.c name_len * 2); name_len 6655 fs/btrfs/inode.c &local_index, name, name_len); name_len 6662 fs/btrfs/inode.c err = btrfs_del_inode_ref(trans, root, name, name_len, name_len 10360 fs/btrfs/inode.c int name_len; name_len 10366 fs/btrfs/inode.c name_len = strlen(symname); name_len 10367 fs/btrfs/inode.c if (name_len > BTRFS_MAX_INLINE_DATA_SIZE(fs_info)) name_len 10417 fs/btrfs/inode.c datasize = btrfs_file_extent_calc_inline_size(name_len); name_len 10433 fs/btrfs/inode.c btrfs_set_file_extent_ram_bytes(leaf, ei, name_len); name_len 10436 fs/btrfs/inode.c write_extent_buffer(leaf, symname, ptr, name_len); name_len 10442 fs/btrfs/inode.c inode_set_bytes(inode, name_len); name_len 10443 fs/btrfs/inode.c btrfs_i_size_write(BTRFS_I(inode), name_len); name_len 164 fs/btrfs/props.c u32 name_len = btrfs_dir_name_len(leaf, di); name_len 169 fs/btrfs/props.c this_len = sizeof(*di) + name_len + data_len; name_len 171 fs/btrfs/props.c data_ptr = name_ptr + name_len; name_len 173 fs/btrfs/props.c if (name_len <= XATTR_BTRFS_PREFIX_LEN || name_len 179 fs/btrfs/props.c if (name_len >= name_buf_len) { name_len 181 fs/btrfs/props.c name_buf_len = name_len + 1; name_len 188 fs/btrfs/props.c read_extent_buffer(leaf, name_buf, name_ptr, name_len); name_len 189 fs/btrfs/props.c name_buf[name_len] = '\0'; name_len 353 fs/btrfs/root-tree.c int name_len) name_len 381 fs/btrfs/root-tree.c (btrfs_root_ref_name_len(leaf, ref) != name_len) || name_len 382 fs/btrfs/root-tree.c memcmp_extent_buffer(leaf, name, ptr, name_len)) { name_len 426 fs/btrfs/root-tree.c int name_len) name_len 445 fs/btrfs/root-tree.c sizeof(*ref) + name_len); name_len 456 fs/btrfs/root-tree.c btrfs_set_root_ref_name_len(leaf, ref, name_len); name_len 458 fs/btrfs/root-tree.c write_extent_buffer(leaf, name, ptr, name_len); name_len 267 fs/btrfs/send.c int name_len; name_len 437 fs/btrfs/send.c static int fs_path_prepare_for_add(struct fs_path *p, int name_len, name_len 443 fs/btrfs/send.c new_len = p->end - p->start + name_len; name_len 453 fs/btrfs/send.c p->start -= name_len; name_len 459 fs/btrfs/send.c p->end += name_len; name_len 467 fs/btrfs/send.c static int fs_path_add(struct fs_path *p, const char *name, int name_len) name_len 472 fs/btrfs/send.c ret = fs_path_prepare_for_add(p, name_len, &prepared); name_len 475 fs/btrfs/send.c memcpy(prepared, name, name_len); name_len 902 fs/btrfs/send.c u32 name_len; name_len 940 fs/btrfs/send.c name_len = btrfs_inode_ref_name_len(eb, iref); name_len 946 fs/btrfs/send.c name_len = btrfs_inode_extref_name_len(eb, extref); name_len 953 fs/btrfs/send.c start = btrfs_ref_to_path(root, tmp_path, name_len, name_len 967 fs/btrfs/send.c name_len, name_off, name_len 979 fs/btrfs/send.c name_len); name_len 984 fs/btrfs/send.c cur += elem_size + name_len; name_len 998 fs/btrfs/send.c const char *name, int name_len, name_len 1019 fs/btrfs/send.c u32 name_len; name_len 1051 fs/btrfs/send.c name_len = btrfs_dir_name_len(eb, di); name_len 1057 fs/btrfs/send.c if (name_len > XATTR_NAME_MAX) { name_len 1061 fs/btrfs/send.c if (name_len + data_len > name_len 1070 fs/btrfs/send.c if (name_len + data_len > PATH_MAX) { name_len 1076 fs/btrfs/send.c if (name_len + data_len > buf_len) { name_len 1077 fs/btrfs/send.c buf_len = name_len + data_len; name_len 1099 fs/btrfs/send.c name_len + data_len); name_len 1101 fs/btrfs/send.c len = sizeof(*di) + name_len + data_len; name_len 1105 fs/btrfs/send.c ret = iterate(num, &di_key, buf, name_len, buf + name_len, name_len 1701 fs/btrfs/send.c u64 dir, const char *name, int name_len, name_len 1715 fs/btrfs/send.c dir, name, name_len, 0); name_len 1806 fs/btrfs/send.c const char *name, int name_len) name_len 1820 fs/btrfs/send.c if (dir != tmp_dir || name_len != fs_path_len(tmp_name)) { name_len 1825 fs/btrfs/send.c ret = !memcmp(tmp_name->start, name, name_len); name_len 1843 fs/btrfs/send.c const char *name, int name_len, name_len 1876 fs/btrfs/send.c ret = lookup_dir_item_inode(sctx->parent_root, dir, name, name_len, name_len 1917 fs/btrfs/send.c const char *name, int name_len) name_len 1945 fs/btrfs/send.c ret = lookup_dir_item_inode(sctx->send_root, dir, name, name_len, name_len 2165 fs/btrfs/send.c ret = fs_path_add(dest, nce->name, nce->name_len); name_len 2233 fs/btrfs/send.c nce->name_len = fs_path_len(dest); name_len 2767 fs/btrfs/send.c int name_len; name_len 2774 fs/btrfs/send.c ref->name_len = ref->full_path->end - ref->name; name_len 3475 fs/btrfs/send.c key.offset = btrfs_name_hash(parent_ref->name, parent_ref->name_len); name_len 3486 fs/btrfs/send.c parent_ref->name_len); name_len 3793 fs/btrfs/send.c ret = fs_path_add(new_path, ref->name, ref->name_len); name_len 3921 fs/btrfs/send.c cur->name, cur->name_len, name_len 3928 fs/btrfs/send.c cur->name_len); name_len 4116 fs/btrfs/send.c cur->name, cur->name_len); name_len 4489 fs/btrfs/send.c const char *name, int name_len, name_len 4499 fs/btrfs/send.c TLV_PUT_STRING(sctx, BTRFS_SEND_A_XATTR_NAME, name, name_len); name_len 4511 fs/btrfs/send.c const char *name, int name_len) name_len 4520 fs/btrfs/send.c TLV_PUT_STRING(sctx, BTRFS_SEND_A_XATTR_NAME, name, name_len); name_len 4530 fs/btrfs/send.c const char *name, int name_len, name_len 4549 fs/btrfs/send.c if (!strncmp(name, XATTR_NAME_POSIX_ACL_ACCESS, name_len) || name_len 4550 fs/btrfs/send.c !strncmp(name, XATTR_NAME_POSIX_ACL_DEFAULT, name_len)) { name_len 4563 fs/btrfs/send.c ret = send_set_xattr(sctx, p, name, name_len, data, data_len); name_len 4571 fs/btrfs/send.c const char *name, int name_len, name_len 4587 fs/btrfs/send.c ret = send_remove_xattr(sctx, p, name, name_len); name_len 4612 fs/btrfs/send.c int name_len; name_len 4619 fs/btrfs/send.c const char *name, int name_len, name_len 4625 fs/btrfs/send.c if (name_len == ctx->name_len && name_len 4626 fs/btrfs/send.c strncmp(name, ctx->name, name_len) == 0) { name_len 4640 fs/btrfs/send.c const char *name, int name_len, name_len 4647 fs/btrfs/send.c ctx.name_len = name_len; name_len 4669 fs/btrfs/send.c const char *name, int name_len, name_len 4679 fs/btrfs/send.c sctx->cmp_key, name, name_len, &found_data, name_len 4682 fs/btrfs/send.c ret = __process_new_xattr(num, di_key, name, name_len, data, name_len 4687 fs/btrfs/send.c ret = __process_new_xattr(num, di_key, name, name_len, name_len 4699 fs/btrfs/send.c const char *name, int name_len, name_len 4707 fs/btrfs/send.c name, name_len, NULL, NULL); name_len 4709 fs/btrfs/send.c ret = __process_deleted_xattr(num, di_key, name, name_len, data, name_len 325 fs/btrfs/tree-checker.c u32 name_len; name_len 368 fs/btrfs/tree-checker.c name_len = btrfs_dir_name_len(leaf, di); name_len 370 fs/btrfs/tree-checker.c if (name_len > max_name_len) { name_len 373 fs/btrfs/tree-checker.c name_len, max_name_len); name_len 376 fs/btrfs/tree-checker.c if (name_len + data_len > BTRFS_MAX_XATTR_SIZE(fs_info)) { name_len 379 fs/btrfs/tree-checker.c name_len + data_len, name_len 391 fs/btrfs/tree-checker.c total_size = sizeof(*di) + name_len + data_len; name_len 410 fs/btrfs/tree-checker.c (unsigned long)(di + 1), name_len); name_len 411 fs/btrfs/tree-checker.c name_hash = btrfs_name_hash(namebuf, name_len); name_len 858 fs/btrfs/tree-log.c int name_len; name_len 866 fs/btrfs/tree-log.c name_len = btrfs_dir_name_len(leaf, di); name_len 867 fs/btrfs/tree-log.c name = kmalloc(name_len, GFP_NOFS); name_len 871 fs/btrfs/tree-log.c read_extent_buffer(leaf, name, (unsigned long)(di + 1), name_len); name_len 885 fs/btrfs/tree-log.c name_len); name_len 904 fs/btrfs/tree-log.c const char *name, int name_len) name_len 911 fs/btrfs/tree-log.c index, name, name_len, 0); name_len 920 fs/btrfs/tree-log.c di = btrfs_lookup_dir_item(NULL, root, path, dirid, name, name_len, 0); name_len 1602 fs/btrfs/tree-log.c int name_len; name_len 1625 fs/btrfs/tree-log.c name_len = btrfs_inode_extref_name_len(leaf, extref); name_len 1629 fs/btrfs/tree-log.c cur_offset += name_len + sizeof(*extref); name_len 1650 fs/btrfs/tree-log.c int name_len; name_len 1679 fs/btrfs/tree-log.c name_len = btrfs_inode_ref_name_len(path->nodes[0], name_len 1681 fs/btrfs/tree-log.c ptr = (unsigned long)(ref + 1) + name_len; name_len 1861 fs/btrfs/tree-log.c char *name, int name_len, name_len 1879 fs/btrfs/tree-log.c name_len, 1, index); name_len 1893 fs/btrfs/tree-log.c const char *name, const int name_len, name_len 1901 fs/btrfs/tree-log.c if (backref_in_log(log_root, &search_key, dirid, name, name_len)) name_len 1905 fs/btrfs/tree-log.c search_key.offset = btrfs_extref_hash(dirid, name, name_len); name_len 1906 fs/btrfs/tree-log.c if (backref_in_log(log_root, &search_key, dirid, name, name_len)) name_len 1936 fs/btrfs/tree-log.c int name_len; name_len 1951 fs/btrfs/tree-log.c name_len = btrfs_dir_name_len(eb, di); name_len 1952 fs/btrfs/tree-log.c name = kmalloc(name_len, GFP_NOFS); name_len 1960 fs/btrfs/tree-log.c name_len); name_len 1972 fs/btrfs/tree-log.c name, name_len, 1); name_len 1977 fs/btrfs/tree-log.c name_len, 1); name_len 2018 fs/btrfs/tree-log.c btrfs_i_size_write(BTRFS_I(dir), dir->i_size + name_len * 2); name_len 2028 fs/btrfs/tree-log.c if (name_in_log_ref(root->log_root, name, name_len, name_len 2037 fs/btrfs/tree-log.c name, name_len, &log_key); name_len 2062 fs/btrfs/tree-log.c int name_len; name_len 2071 fs/btrfs/tree-log.c name_len = btrfs_dir_name_len(eb, di); name_len 2076 fs/btrfs/tree-log.c ptr += name_len; name_len 2229 fs/btrfs/tree-log.c int name_len; name_len 2244 fs/btrfs/tree-log.c name_len = btrfs_dir_name_len(eb, di); name_len 2245 fs/btrfs/tree-log.c name = kmalloc(name_len, GFP_NOFS); name_len 2251 fs/btrfs/tree-log.c name_len); name_len 2256 fs/btrfs/tree-log.c name, name_len, 0); name_len 2262 fs/btrfs/tree-log.c name, name_len, 0); name_len 2284 fs/btrfs/tree-log.c BTRFS_I(inode), name, name_len); name_len 2309 fs/btrfs/tree-log.c ptr += name_len; name_len 2360 fs/btrfs/tree-log.c u16 name_len = btrfs_dir_name_len(path->nodes[0], di); name_len 2362 fs/btrfs/tree-log.c u32 this_len = sizeof(*di) + name_len + data_len; name_len 2365 fs/btrfs/tree-log.c name = kmalloc(name_len, GFP_NOFS); name_len 2371 fs/btrfs/tree-log.c (unsigned long)(di + 1), name_len); name_len 2374 fs/btrfs/tree-log.c name, name_len, 0); name_len 2380 fs/btrfs/tree-log.c name, name_len, -1); name_len 3391 fs/btrfs/tree-log.c const char *name, int name_len, name_len 3419 fs/btrfs/tree-log.c name, name_len, -1); name_len 3426 fs/btrfs/tree-log.c bytes_del += name_len; name_len 3434 fs/btrfs/tree-log.c index, name, name_len, -1); name_len 3441 fs/btrfs/tree-log.c bytes_del += name_len; name_len 3499 fs/btrfs/tree-log.c const char *name, int name_len, name_len 3515 fs/btrfs/tree-log.c ret = btrfs_del_inode_ref(trans, log, name, name_len, btrfs_ino(inode), name_len 4744 fs/btrfs/tree-log.c u32 name_len = 0; name_len 4781 fs/btrfs/tree-log.c if (this_name_len > name_len) { name_len 4789 fs/btrfs/tree-log.c name_len = this_name_len; name_len 57 fs/btrfs/tree-log.h const char *name, int name_len, name_len 61 fs/btrfs/tree-log.h const char *name, int name_len, name_len 86 fs/btrfs/xattr.c size_t name_len = strlen(name); name_len 91 fs/btrfs/xattr.c if (name_len + size > BTRFS_MAX_XATTR_SIZE(root->fs_info)) name_len 101 fs/btrfs/xattr.c btrfs_ino(BTRFS_I(inode)), name, name_len, -1); name_len 121 fs/btrfs/xattr.c btrfs_ino(BTRFS_I(inode)), name, name_len, 0); name_len 133 fs/btrfs/xattr.c name, name_len, value, size); name_len 142 fs/btrfs/xattr.c di = btrfs_match_dir_item_name(fs_info, path, name, name_len); name_len 149 fs/btrfs/xattr.c di = btrfs_match_dir_item_name(fs_info, path, name, name_len); name_len 172 fs/btrfs/xattr.c const u32 data_size = sizeof(*di) + name_len + size; name_len 185 fs/btrfs/xattr.c if (old_data_len + name_len + sizeof(*di) == item_size) { name_len 204 fs/btrfs/xattr.c data_ptr = ((unsigned long)(di + 1)) + name_len; name_len 316 fs/btrfs/xattr.c u16 name_len = btrfs_dir_name_len(leaf, di); name_len 318 fs/btrfs/xattr.c u32 this_len = sizeof(*di) + name_len + data_len; name_len 321 fs/btrfs/xattr.c total_size += name_len + 1; name_len 329 fs/btrfs/xattr.c if (!buffer || (name_len + 1) > size_left) { name_len 334 fs/btrfs/xattr.c read_extent_buffer(leaf, buffer, name_ptr, name_len); name_len 335 fs/btrfs/xattr.c buffer[name_len] = '\0'; name_len 337 fs/btrfs/xattr.c size_left -= name_len + 1; name_len 338 fs/btrfs/xattr.c buffer += name_len + 1; name_len 470 fs/ceph/dir.c err = note_last_dentry(dfi, rde->name, rde->name_len, name_len 510 fs/ceph/dir.c rde->name_len, rde->name, &rde->inode.in); name_len 518 fs/ceph/dir.c if (!dir_emit(ctx, rde->name, rde->name_len, name_len 472 fs/ceph/export.c memcpy(name, rde->name, rde->name_len); name_len 473 fs/ceph/export.c name[rde->name_len] = '\0'; name_len 485 fs/ceph/export.c last_name = kstrndup(rde->name, rde->name_len, GFP_KERNEL); name_len 1629 fs/ceph/inode.c dname.len = rde->name_len; name_len 1637 fs/ceph/inode.c rde->name, rde->name_len); name_len 366 fs/ceph/mds_client.c ceph_decode_32_safe(p, end, rde->name_len, bad); name_len 367 fs/ceph/mds_client.c ceph_decode_need(p, end, rde->name_len, bad); name_len 369 fs/ceph/mds_client.c *p += rde->name_len; name_len 370 fs/ceph/mds_client.c dout("parsed dir dname '%.*s'\n", rde->name_len, rde->name); name_len 79 fs/ceph/mds_client.h u32 name_len; name_len 336 fs/ceph/mdsmap.c u32 name_len; name_len 339 fs/ceph/mdsmap.c ceph_decode_32_safe(p, end, name_len, bad_ext); name_len 340 fs/ceph/mdsmap.c ceph_decode_need(p, end, name_len, bad_ext); name_len 341 fs/ceph/mdsmap.c *p += name_len; name_len 258 fs/ceph/super.h int name_len; name_len 434 fs/ceph/xattr.c const char *name, int name_len, name_len 449 fs/ceph/xattr.c c = strncmp(name, xattr->name, min(name_len, xattr->name_len)); name_len 455 fs/ceph/xattr.c if (name_len == xattr->name_len) name_len 457 fs/ceph/xattr.c else if (name_len < xattr->name_len) name_len 491 fs/ceph/xattr.c xattr->name_len = name_len; name_len 506 fs/ceph/xattr.c ci->i_xattrs.names_size -= xattr->name_len; name_len 509 fs/ceph/xattr.c ci->i_xattrs.names_size += name_len; name_len 527 fs/ceph/xattr.c ceph_vinop(&ci->vfs_inode), xattr, name_len, name, val_len, val); name_len 538 fs/ceph/xattr.c int name_len = strlen(name); name_len 545 fs/ceph/xattr.c c = strncmp(name, xattr->name, xattr->name_len); name_len 546 fs/ceph/xattr.c if (c == 0 && name_len > xattr->name_len) name_len 589 fs/ceph/xattr.c ci->i_xattrs.names_size -= xattr->name_len; name_len 608 fs/ceph/xattr.c memcpy(dest, xattr->name, xattr->name_len); name_len 609 fs/ceph/xattr.c dest[xattr->name_len] = '\0'; name_len 612 fs/ceph/xattr.c xattr->name_len, ci->i_xattrs.names_size); name_len 614 fs/ceph/xattr.c dest += xattr->name_len + 1; name_len 635 fs/ceph/xattr.c xattr->name_len, xattr->name); name_len 782 fs/ceph/xattr.c ceph_encode_32(&dest, xattr->name_len); name_len 783 fs/ceph/xattr.c memcpy(dest, xattr->name, xattr->name_len); name_len 784 fs/ceph/xattr.c dest += xattr->name_len; name_len 1021 fs/ceph/xattr.c int name_len = strlen(name); name_len 1047 fs/ceph/xattr.c newname = kmemdup(name, name_len + 1, GFP_NOFS); name_len 1084 fs/ceph/xattr.c required_blob_size = __get_required_blob_size(ci, name_len, val_len); name_len 1104 fs/ceph/xattr.c err = __set_xattr(ci, newname, name_len, newval, val_len, name_len 1206 fs/ceph/xattr.c size_t name_len; name_len 1235 fs/ceph/xattr.c name_len = strlen(name); name_len 1237 fs/ceph/xattr.c 4 * 2 + name_len + as_ctx->sec_ctxlen); name_len 1257 fs/ceph/xattr.c ceph_pagelist_encode_32(pagelist, name_len); name_len 1258 fs/ceph/xattr.c ceph_pagelist_append(pagelist, name, name_len); name_len 2621 fs/cifs/cifspdu.h unsigned char name_len; name_len 2632 fs/cifs/cifspdu.h __u8 name_len; name_len 927 fs/cifs/cifssmb.c int name_len; name_len 940 fs/cifs/cifssmb.c name_len = name_len 943 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 944 fs/cifs/cifssmb.c name_len *= 2; name_len 946 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->FileName, fileName); name_len 949 fs/cifs/cifssmb.c params = 6 + name_len; name_len 1001 fs/cifs/cifssmb.c int name_len; name_len 1011 fs/cifs/cifssmb.c name_len = cifsConvertToUTF16((__le16 *) pSMB->fileName, name, name_len 1014 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 1015 fs/cifs/cifssmb.c name_len *= 2; name_len 1017 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->fileName, name); name_len 1022 fs/cifs/cifssmb.c inc_rfc1001_len(pSMB, name_len + 1); name_len 1023 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(name_len + 1); name_len 1045 fs/cifs/cifssmb.c int name_len; name_len 1056 fs/cifs/cifssmb.c name_len = cifsConvertToUTF16((__le16 *) pSMB->DirName, name, name_len 1059 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 1060 fs/cifs/cifssmb.c name_len *= 2; name_len 1062 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->DirName, name); name_len 1066 fs/cifs/cifssmb.c inc_rfc1001_len(pSMB, name_len + 1); name_len 1067 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(name_len + 1); name_len 1089 fs/cifs/cifssmb.c int name_len; name_len 1100 fs/cifs/cifssmb.c name_len = cifsConvertToUTF16((__le16 *) pSMB->DirName, name, name_len 1103 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 1104 fs/cifs/cifssmb.c name_len *= 2; name_len 1106 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->DirName, name); name_len 1110 fs/cifs/cifssmb.c inc_rfc1001_len(pSMB, name_len + 1); name_len 1111 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(name_len + 1); name_len 1133 fs/cifs/cifssmb.c int name_len; name_len 1148 fs/cifs/cifssmb.c name_len = name_len 1151 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 1152 fs/cifs/cifssmb.c name_len *= 2; name_len 1154 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->FileName, name); name_len 1157 fs/cifs/cifssmb.c params = 6 + name_len; name_len 1300 fs/cifs/cifssmb.c int name_len; name_len 1313 fs/cifs/cifssmb.c name_len = name_len 1316 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 1317 fs/cifs/cifssmb.c name_len *= 2; name_len 1320 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->fileName, fileName); name_len 1349 fs/cifs/cifssmb.c count += name_len; name_len 1401 fs/cifs/cifssmb.c int name_len; name_len 1424 fs/cifs/cifssmb.c name_len = cifsConvertToUTF16((__le16 *)(req->fileName + 1), name_len 1427 fs/cifs/cifssmb.c name_len++; name_len 1428 fs/cifs/cifssmb.c name_len *= 2; name_len 1429 fs/cifs/cifssmb.c req->NameLength = cpu_to_le16(name_len); name_len 1434 fs/cifs/cifssmb.c name_len = copy_path_name(req->fileName, path); name_len 1435 fs/cifs/cifssmb.c req->NameLength = cpu_to_le16(name_len); name_len 1473 fs/cifs/cifssmb.c count += name_len; name_len 2771 fs/cifs/cifssmb.c int name_len, name_len2; name_len 2788 fs/cifs/cifssmb.c name_len = cifsConvertToUTF16((__le16 *) pSMB->OldFileName, name_len 2791 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 2792 fs/cifs/cifssmb.c name_len *= 2; name_len 2793 fs/cifs/cifssmb.c pSMB->OldFileName[name_len] = 0x04; /* pad */ name_len 2795 fs/cifs/cifssmb.c pSMB->OldFileName[name_len + 1] = 0x00; name_len 2797 fs/cifs/cifssmb.c cifsConvertToUTF16((__le16 *)&pSMB->OldFileName[name_len+2], name_len 2803 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->OldFileName, from_name); name_len 2804 fs/cifs/cifssmb.c name_len2 = copy_path_name(pSMB->OldFileName+name_len+1, to_name); name_len 2805 fs/cifs/cifssmb.c pSMB->OldFileName[name_len] = 0x04; /* 2nd buffer format */ name_len 2809 fs/cifs/cifssmb.c count = 1 /* 1st signature byte */ + name_len + name_len2; name_len 2918 fs/cifs/cifssmb.c int name_len, name_len2; name_len 2934 fs/cifs/cifssmb.c name_len = cifsConvertToUTF16((__le16 *) pSMB->OldFileName, name_len 2937 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 2938 fs/cifs/cifssmb.c name_len *= 2; name_len 2939 fs/cifs/cifssmb.c pSMB->OldFileName[name_len] = 0x04; /* pad */ name_len 2941 fs/cifs/cifssmb.c pSMB->OldFileName[name_len + 1] = 0x00; name_len 2943 fs/cifs/cifssmb.c cifsConvertToUTF16((__le16 *)&pSMB->OldFileName[name_len+2], name_len 2948 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->OldFileName, fromName); name_len 2949 fs/cifs/cifssmb.c pSMB->OldFileName[name_len] = 0x04; /* 2nd buffer format */ name_len 2950 fs/cifs/cifssmb.c name_len2 = copy_path_name(pSMB->OldFileName+name_len+1, toName); name_len 2954 fs/cifs/cifssmb.c count = 1 /* 1st signature byte */ + name_len + name_len2; name_len 2980 fs/cifs/cifssmb.c int name_len; name_len 2994 fs/cifs/cifssmb.c name_len = name_len 2998 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 2999 fs/cifs/cifssmb.c name_len *= 2; name_len 3002 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->FileName, fromName); name_len 3004 fs/cifs/cifssmb.c params = 6 + name_len; name_len 3066 fs/cifs/cifssmb.c int name_len; name_len 3080 fs/cifs/cifssmb.c name_len = cifsConvertToUTF16((__le16 *) pSMB->FileName, toName, name_len 3082 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 3083 fs/cifs/cifssmb.c name_len *= 2; name_len 3086 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->FileName, toName); name_len 3088 fs/cifs/cifssmb.c params = 6 + name_len; name_len 3149 fs/cifs/cifssmb.c int name_len, name_len2; name_len 3170 fs/cifs/cifssmb.c name_len = name_len 3173 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 3174 fs/cifs/cifssmb.c name_len *= 2; name_len 3177 fs/cifs/cifssmb.c pSMB->OldFileName[name_len] = 0x04; name_len 3178 fs/cifs/cifssmb.c pSMB->OldFileName[name_len + 1] = 0x00; /* pad */ name_len 3180 fs/cifs/cifssmb.c cifsConvertToUTF16((__le16 *)&pSMB->OldFileName[name_len+2], name_len 3186 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->OldFileName, from_name); name_len 3187 fs/cifs/cifssmb.c pSMB->OldFileName[name_len] = 0x04; /* 2nd buffer format */ name_len 3188 fs/cifs/cifssmb.c name_len2 = copy_path_name(pSMB->OldFileName+name_len+1, to_name); name_len 3192 fs/cifs/cifssmb.c count = 1 /* string type byte */ + name_len + name_len2; name_len 3219 fs/cifs/cifssmb.c int name_len; name_len 3232 fs/cifs/cifssmb.c name_len = name_len 3236 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 3237 fs/cifs/cifssmb.c name_len *= 2; name_len 3239 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->FileName, searchName); name_len 3242 fs/cifs/cifssmb.c params = 2 /* level */ + 4 /* rsrvd */ + name_len /* incl null */ ; name_len 3636 fs/cifs/cifssmb.c int name_len; name_len 3648 fs/cifs/cifssmb.c name_len = name_len 3652 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 3653 fs/cifs/cifssmb.c name_len *= 2; name_len 3654 fs/cifs/cifssmb.c pSMB->FileName[name_len] = 0; name_len 3655 fs/cifs/cifssmb.c pSMB->FileName[name_len+1] = 0; name_len 3657 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->FileName, searchName); name_len 3660 fs/cifs/cifssmb.c params = 2 /* level */ + 4 /* rsrvd */ + name_len /* incl null */ ; name_len 3722 fs/cifs/cifssmb.c int name_len; name_len 3734 fs/cifs/cifssmb.c name_len = name_len 3737 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 3738 fs/cifs/cifssmb.c name_len *= 2; name_len 3740 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->FileName, fileName); name_len 3742 fs/cifs/cifssmb.c params = 6 + name_len; name_len 4128 fs/cifs/cifssmb.c int name_len; name_len 4138 fs/cifs/cifssmb.c name_len = name_len 4142 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 4143 fs/cifs/cifssmb.c name_len *= 2; name_len 4145 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->FileName, search_name); name_len 4148 fs/cifs/cifssmb.c name_len++; /* account for buffer type byte */ name_len 4149 fs/cifs/cifssmb.c inc_rfc1001_len(pSMB, (__u16)name_len); name_len 4150 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(name_len); name_len 4264 fs/cifs/cifssmb.c int name_len; name_len 4275 fs/cifs/cifssmb.c name_len = name_len 4278 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 4279 fs/cifs/cifssmb.c name_len *= 2; name_len 4281 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->FileName, search_name); name_len 4284 fs/cifs/cifssmb.c params = 2 /* level */ + 4 /* reserved */ + name_len /* includes NUL */; name_len 4431 fs/cifs/cifssmb.c int name_len; name_len 4442 fs/cifs/cifssmb.c name_len = name_len 4445 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 4446 fs/cifs/cifssmb.c name_len *= 2; name_len 4448 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->FileName, searchName); name_len 4451 fs/cifs/cifssmb.c params = 2 /* level */ + 4 /* reserved */ + name_len /* includes NUL */; name_len 4514 fs/cifs/cifssmb.c int name_len, remap; name_len 4530 fs/cifs/cifssmb.c name_len = name_len 4536 fs/cifs/cifssmb.c name_len *= 2; name_len 4538 fs/cifs/cifssmb.c pSMB->FileName[name_len] = CIFS_DIR_SEP(cifs_sb); name_len 4539 fs/cifs/cifssmb.c pSMB->FileName[name_len+1] = 0; name_len 4540 fs/cifs/cifssmb.c pSMB->FileName[name_len+2] = '*'; name_len 4541 fs/cifs/cifssmb.c pSMB->FileName[name_len+3] = 0; name_len 4542 fs/cifs/cifssmb.c name_len += 4; /* now the trailing null */ name_len 4544 fs/cifs/cifssmb.c pSMB->FileName[name_len] = 0; name_len 4545 fs/cifs/cifssmb.c pSMB->FileName[name_len+1] = 0; name_len 4546 fs/cifs/cifssmb.c name_len += 2; name_len 4549 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->FileName, searchName); name_len 4551 fs/cifs/cifssmb.c if (WARN_ON_ONCE(name_len > PATH_MAX-2)) name_len 4552 fs/cifs/cifssmb.c name_len = PATH_MAX-2; name_len 4554 fs/cifs/cifssmb.c pSMB->FileName[name_len-1] = CIFS_DIR_SEP(cifs_sb); name_len 4555 fs/cifs/cifssmb.c pSMB->FileName[name_len] = '*'; name_len 4556 fs/cifs/cifssmb.c pSMB->FileName[name_len+1] = 0; name_len 4557 fs/cifs/cifssmb.c name_len += 2; name_len 4561 fs/cifs/cifssmb.c params = 12 + name_len /* includes null */ ; name_len 4666 fs/cifs/cifssmb.c unsigned int name_len; name_len 4703 fs/cifs/cifssmb.c name_len = psrch_inf->resume_name_len; name_len 4704 fs/cifs/cifssmb.c params += name_len; name_len 4705 fs/cifs/cifssmb.c if (name_len < PATH_MAX) { name_len 4706 fs/cifs/cifssmb.c memcpy(pSMB->ResumeFileName, psrch_inf->presume_name, name_len); name_len 4707 fs/cifs/cifssmb.c byte_count += name_len; name_len 4709 fs/cifs/cifssmb.c pSMB->ResumeFileName[name_len] = 0; name_len 4710 fs/cifs/cifssmb.c pSMB->ResumeFileName[name_len+1] = 0; name_len 4832 fs/cifs/cifssmb.c int name_len, bytes_returned; name_len 4846 fs/cifs/cifssmb.c name_len = name_len 4850 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 4851 fs/cifs/cifssmb.c name_len *= 2; name_len 4853 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->FileName, search_name); name_len 4856 fs/cifs/cifssmb.c params = 2 /* level */ + 4 /* rsrvd */ + name_len /* incl null */ ; name_len 4926 fs/cifs/cifssmb.c int name_len; name_len 4953 fs/cifs/cifssmb.c name_len = name_len 4957 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 4958 fs/cifs/cifssmb.c name_len *= 2; name_len 4960 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->RequestFileName, search_name); name_len 4968 fs/cifs/cifssmb.c params = 2 /* level */ + name_len /*includes null */ ; name_len 5593 fs/cifs/cifssmb.c int name_len; name_len 5608 fs/cifs/cifssmb.c name_len = name_len 5611 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 5612 fs/cifs/cifssmb.c name_len *= 2; name_len 5614 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->FileName, file_name); name_len 5616 fs/cifs/cifssmb.c params = 6 + name_len; name_len 5887 fs/cifs/cifssmb.c int name_len; name_len 5902 fs/cifs/cifssmb.c name_len = name_len 5905 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 5906 fs/cifs/cifssmb.c name_len *= 2; name_len 5908 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->FileName, fileName); name_len 5911 fs/cifs/cifssmb.c params = 6 + name_len; name_len 5970 fs/cifs/cifssmb.c int name_len; name_len 5981 fs/cifs/cifssmb.c name_len = name_len 5984 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 5985 fs/cifs/cifssmb.c name_len *= 2; name_len 5987 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->fileName, fileName); name_len 5991 fs/cifs/cifssmb.c inc_rfc1001_len(pSMB, name_len + 1); name_len 5992 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(name_len + 1); name_len 6128 fs/cifs/cifssmb.c int name_len; name_len 6142 fs/cifs/cifssmb.c name_len = name_len 6145 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 6146 fs/cifs/cifssmb.c name_len *= 2; name_len 6148 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->FileName, file_name); name_len 6151 fs/cifs/cifssmb.c params = 6 + name_len; name_len 6322 fs/cifs/cifssmb.c unsigned int name_len; name_len 6334 fs/cifs/cifssmb.c name_len = temp_fea->name_len; name_len 6336 fs/cifs/cifssmb.c list_len -= name_len + 1 + value_len; name_len 6344 fs/cifs/cifssmb.c if (ea_name_len == name_len && name_len 6345 fs/cifs/cifssmb.c memcmp(ea_name, temp_ptr, name_len) == 0) { name_len 6346 fs/cifs/cifssmb.c temp_ptr += name_len + 1; name_len 6359 fs/cifs/cifssmb.c rc += (5 + 1 + name_len); name_len 6363 fs/cifs/cifssmb.c memcpy(EAData, temp_ptr, name_len); name_len 6364 fs/cifs/cifssmb.c EAData += name_len; name_len 6376 fs/cifs/cifssmb.c temp_ptr += name_len + 1 + value_len; name_len 6401 fs/cifs/cifssmb.c int name_len; name_len 6415 fs/cifs/cifssmb.c name_len = name_len 6418 fs/cifs/cifssmb.c name_len++; /* trailing null */ name_len 6419 fs/cifs/cifssmb.c name_len *= 2; name_len 6421 fs/cifs/cifssmb.c name_len = copy_path_name(pSMB->FileName, fileName); name_len 6424 fs/cifs/cifssmb.c params = 6 + name_len; name_len 6430 fs/cifs/cifssmb.c name_len = 0; name_len 6432 fs/cifs/cifssmb.c name_len = strnlen(ea_name, 255); name_len 6434 fs/cifs/cifssmb.c count = sizeof(*parm_data) + ea_value_len + name_len; name_len 6460 fs/cifs/cifssmb.c parm_data->list[0].name_len = (__u8)name_len; name_len 6463 fs/cifs/cifssmb.c strncpy(parm_data->list[0].name, ea_name, name_len); name_len 6464 fs/cifs/cifssmb.c parm_data->list[0].name[name_len] = 0; name_len 6473 fs/cifs/cifssmb.c memcpy(parm_data->list[0].name+name_len+1, name_len 1022 fs/cifs/misc.c int name_len; name_len 1028 fs/cifs/misc.c name_len = strscpy(dst, src, PATH_MAX); name_len 1029 fs/cifs/misc.c if (WARN_ON_ONCE(name_len < 0)) name_len 1030 fs/cifs/misc.c name_len = PATH_MAX-1; name_len 1033 fs/cifs/misc.c name_len++; name_len 1034 fs/cifs/misc.c return name_len; name_len 942 fs/cifs/smb2ops.c size_t name_len, value_len, user_name_len; name_len 946 fs/cifs/smb2ops.c name_len = (size_t)src->ea_name_length; name_len 950 fs/cifs/smb2ops.c if (name_len == 0) name_len 953 fs/cifs/smb2ops.c if (src_size < 8 + name_len + 1 + value_len) { name_len 960 fs/cifs/smb2ops.c if (ea_name_len == name_len && name_len 961 fs/cifs/smb2ops.c memcmp(ea_name, name, name_len) == 0) { name_len 974 fs/cifs/smb2ops.c user_name_len = 5 + 1 + name_len; name_len 983 fs/cifs/smb2ops.c memcpy(dst, src->ea_data, name_len); name_len 984 fs/cifs/smb2ops.c dst += name_len; name_len 2329 fs/cifs/smb2pdu.c int name_len; name_len 2333 fs/cifs/smb2pdu.c &name_len, name_len 2338 fs/cifs/smb2pdu.c req->NameLength = cpu_to_le16(name_len * 2); name_len 2459 fs/cifs/smb2pdu.c int name_len; name_len 2463 fs/cifs/smb2pdu.c &name_len, name_len 2467 fs/cifs/smb2pdu.c req->NameLength = cpu_to_le16(name_len * 2); name_len 142 fs/ext2/dir.c if (unlikely(rec_len < EXT2_DIR_REC_LEN(p->name_len))) name_len 183 fs/ext2/dir.c rec_len, p->name_len); name_len 226 fs/ext2/dir.c if (len != de->name_len) name_len 318 fs/ext2/dir.c if (!dir_emit(ctx, de->name, de->name_len, name_len 468 fs/ext2/dir.c unsigned short rec_len, name_len; name_len 497 fs/ext2/dir.c name_len = 0; name_len 512 fs/ext2/dir.c name_len = EXT2_DIR_REC_LEN(de->name_len); name_len 516 fs/ext2/dir.c if (rec_len >= name_len + reclen) name_len 533 fs/ext2/dir.c ext2_dirent *de1 = (ext2_dirent *) ((char *) de + name_len); name_len 534 fs/ext2/dir.c de1->rec_len = ext2_rec_len_to_disk(rec_len - name_len); name_len 535 fs/ext2/dir.c de->rec_len = ext2_rec_len_to_disk(name_len); name_len 538 fs/ext2/dir.c de->name_len = namelen; name_len 622 fs/ext2/dir.c de->name_len = 1; name_len 629 fs/ext2/dir.c de->name_len = 2; name_len 675 fs/ext2/dir.c if (de->name_len > 2) name_len 677 fs/ext2/dir.c if (de->name_len < 2) { name_len 588 fs/ext2/ext2.h __le16 name_len; /* Name length */ name_len 601 fs/ext2/ext2.h __u8 name_len; /* Name length */ name_len 613 fs/ext2/ext2.h #define EXT2_DIR_REC_LEN(name_len) (((name_len) + 8 + EXT2_DIR_ROUND) & \ name_len 171 fs/ext2/xattr.c ext2_xattr_cmp_entry(int name_index, size_t name_len, const char *name, name_len 178 fs/ext2/xattr.c cmp = name_len - entry->e_name_len; name_len 180 fs/ext2/xattr.c cmp = memcmp(name, entry->e_name, name_len); name_len 201 fs/ext2/xattr.c size_t name_len, size; name_len 211 fs/ext2/xattr.c name_len = strlen(name); name_len 212 fs/ext2/xattr.c if (name_len > 255) name_len 243 fs/ext2/xattr.c not_found = ext2_xattr_cmp_entry(name_index, name_len, name, name_len 414 fs/ext2/xattr.c size_t name_len, free, min_offs = sb->s_blocksize; name_len 437 fs/ext2/xattr.c name_len = strlen(name); name_len 438 fs/ext2/xattr.c if (name_len > 255 || value_len > sb->s_blocksize) name_len 476 fs/ext2/xattr.c name_len, name_len 508 fs/ext2/xattr.c free += EXT2_XATTR_LEN(name_len); name_len 511 fs/ext2/xattr.c if (free < EXT2_XATTR_LEN(name_len) + EXT2_XATTR_SIZE(value_len)) name_len 563 fs/ext2/xattr.c size_t size = EXT2_XATTR_LEN(name_len); name_len 568 fs/ext2/xattr.c here->e_name_len = name_len; name_len 569 fs/ext2/xattr.c memcpy(here->e_name, name, name_len); name_len 606 fs/ext2/xattr.c size_t size = EXT2_XATTR_LEN(name_len); name_len 48 fs/ext2/xattr.h #define EXT2_XATTR_LEN(name_len) \ name_len 49 fs/ext2/xattr.h (((name_len) + EXT2_XATTR_ROUND + \ name_len 80 fs/ext4/dir.c else if (unlikely(rlen < EXT4_DIR_REC_LEN(de->name_len))) name_len 100 fs/ext4/dir.c rlen, de->name_len, size); name_len 106 fs/ext4/dir.c rlen, de->name_len, size); name_len 259 fs/ext4/dir.c de->name_len, name_len 267 fs/ext4/dir.c de->name_len); name_len 394 fs/ext4/dir.c __u8 name_len; name_len 465 fs/ext4/dir.c new_fn->name_len = ent_name->len; name_len 523 fs/ext4/dir.c fname->name_len, name_len 1972 fs/ext4/ext4.h __le16 name_len; /* Name length */ name_len 1985 fs/ext4/ext4.h __u8 name_len; /* Name length */ name_len 2031 fs/ext4/ext4.h #define EXT4_DIR_REC_LEN(name_len) (((name_len) + 8 + EXT4_DIR_ROUND) & \ name_len 996 fs/ext4/inline.c offset, de_len, de->name_len, de->name, name_len 997 fs/ext4/inline.c de->name_len, le32_to_cpu(de->inode)); name_len 1378 fs/ext4/inline.c fake.name_len = 1; name_len 1381 fs/ext4/inline.c EXT4_DIR_REC_LEN(fake.name_len), name_len 1388 fs/ext4/inline.c fake.name_len = 2; name_len 1391 fs/ext4/inline.c EXT4_DIR_REC_LEN(fake.name_len), name_len 1407 fs/ext4/inline.c ext4fs_dirhash(dir, de->name, de->name_len, hinfo); name_len 1415 fs/ext4/inline.c tmp_str.len = de->name_len; name_len 1556 fs/ext4/inline.c if (!dir_emit(ctx, de->name, de->name_len, name_len 1797 fs/ext4/inline.c le16_to_cpu(de->rec_len), de->name_len, name_len 192 fs/ext4/namei.c u8 name_len; name_len 638 fs/ext4/namei.c len = de->name_len; name_len 648 fs/ext4/namei.c de->name_len, &h); name_len 681 fs/ext4/namei.c de->name_len, &h); name_len 689 fs/ext4/namei.c int len = de->name_len; name_len 691 fs/ext4/namei.c ext4fs_dirhash(dir, de->name, de->name_len, &h); name_len 696 fs/ext4/namei.c space += EXT4_DIR_REC_LEN(de->name_len); name_len 1029 fs/ext4/namei.c ext4fs_dirhash(dir, de->name, de->name_len, hinfo); name_len 1038 fs/ext4/namei.c tmp_str.len = de->name_len; name_len 1045 fs/ext4/namei.c de->name_len); name_len 1131 fs/ext4/namei.c tmp_str.len = de->name_len; name_len 1142 fs/ext4/namei.c tmp_str.len = de->name_len; name_len 1217 fs/ext4/namei.c if (de->name_len && de->inode) { name_len 1218 fs/ext4/namei.c ext4fs_dirhash(dir, de->name, de->name_len, &h); name_len 1348 fs/ext4/namei.c const struct qstr entry = {.name = de->name, .len = de->name_len}; name_len 1372 fs/ext4/namei.c return fscrypt_match_name(&f, de->name, de->name_len); name_len 1391 fs/ext4/namei.c if ((char *) de + de->name_len <= dlimit && name_len 1770 fs/ext4/namei.c rec_len = EXT4_DIR_REC_LEN(de->name_len); name_len 1793 fs/ext4/namei.c if (de->inode && de->name_len) { name_len 1794 fs/ext4/namei.c rec_len = EXT4_DIR_REC_LEN(de->name_len); name_len 1937 fs/ext4/namei.c nlen = EXT4_DIR_REC_LEN(de->name_len); name_len 1959 fs/ext4/namei.c nlen = EXT4_DIR_REC_LEN(de->name_len); name_len 1971 fs/ext4/namei.c de->name_len = fname_len(fname); name_len 2692 fs/ext4/namei.c de->name_len = 1; name_len 2693 fs/ext4/namei.c de->rec_len = ext4_rec_len_to_disk(EXT4_DIR_REC_LEN(de->name_len), name_len 2700 fs/ext4/namei.c de->name_len = 2; name_len 2707 fs/ext4/namei.c EXT4_DIR_REC_LEN(de->name_len), blocksize); name_len 3568 fs/ext4/namei.c ent->de->name_len != ent->dentry->d_name.len || name_len 3570 fs/ext4/namei.c ent->de->name_len) || name_len 82 fs/ext4/xattr.c static __le32 ext4_xattr_hash_entry(char *name, size_t name_len, __le32 *value, name_len 285 fs/ext4/xattr.c size_t name_len; name_len 290 fs/ext4/xattr.c name_len = strlen(name); name_len 299 fs/ext4/xattr.c cmp = name_len - entry->e_name_len; name_len 301 fs/ext4/xattr.c cmp = memcmp(name, entry->e_name, name_len); name_len 1567 fs/ext4/xattr.c size_t min_offs = s->end - s->base, name_len = strlen(i->name); name_len 1620 fs/ext4/xattr.c free += EXT4_XATTR_LEN(name_len) + old_size; name_len 1622 fs/ext4/xattr.c if (free < EXT4_XATTR_LEN(name_len) + new_size) { name_len 1723 fs/ext4/xattr.c size_t size = EXT4_XATTR_LEN(name_len); name_len 1731 fs/ext4/xattr.c size_t size = EXT4_XATTR_LEN(name_len); name_len 1737 fs/ext4/xattr.c here->e_name_len = name_len; name_len 1738 fs/ext4/xattr.c memcpy(here->e_name, i->name, name_len); name_len 3085 fs/ext4/xattr.c static __le32 ext4_xattr_hash_entry(char *name, size_t name_len, __le32 *value, name_len 3090 fs/ext4/xattr.c while (name_len--) { name_len 57 fs/ext4/xattr.h #define EXT4_XATTR_LEN(name_len) \ name_len 58 fs/ext4/xattr.h (((name_len) + EXT4_XATTR_ROUND + \ name_len 185 fs/f2fs/dir.c entry.len = de->name_len; name_len 198 fs/f2fs/dir.c le16_to_cpu(de->name_len))) name_len 227 fs/f2fs/dir.c if (unlikely(!de->name_len)) { name_len 239 fs/f2fs/dir.c bit_pos += GET_DENTRY_SLOTS(le16_to_cpu(de->name_len)); name_len 591 fs/f2fs/dir.c de->name_len = cpu_to_le16(name->len); name_len 599 fs/f2fs/dir.c (de + i)->name_len = 0; name_len 814 fs/f2fs/dir.c int slots = GET_DENTRY_SLOTS(le16_to_cpu(dentry->name_len)); name_len 918 fs/f2fs/dir.c if (de->name_len == 0) { name_len 931 fs/f2fs/dir.c de_name.len = le16_to_cpu(de->name_len); name_len 934 fs/f2fs/dir.c bit_pos += GET_DENTRY_SLOTS(le16_to_cpu(de->name_len)); name_len 936 fs/f2fs/dir.c le16_to_cpu(de->name_len) > F2FS_NAME_LEN)) { name_len 938 fs/f2fs/dir.c __func__, le16_to_cpu(de->name_len)); name_len 457 fs/f2fs/inline.c if (unlikely(!de->name_len)) { name_len 463 fs/f2fs/inline.c new_name.len = le16_to_cpu(de->name_len); name_len 473 fs/f2fs/inline.c bit_pos += GET_DENTRY_SLOTS(le16_to_cpu(de->name_len)); name_len 614 fs/f2fs/inline.c int slots = GET_DENTRY_SLOTS(le16_to_cpu(dentry->name_len)); name_len 363 fs/fat/dir.c int name_len = 0, uni_len = 0; name_len 390 fs/fat/dir.c name_len = i; name_len 402 fs/fat/dir.c name_len = i; name_len 406 fs/fat/dir.c i = name_len; name_len 427 fs/fat/dir.c name_len = i; name_len 443 fs/fat/dir.c name_len = i; name_len 447 fs/fat/dir.c if (name_len > 0) { name_len 448 fs/fat/dir.c name_len += dotoffset; name_len 452 fs/fat/dir.c name_len = fat_uni_to_x8(sb, uni_name, name, name_len 457 fs/fat/dir.c return name_len; name_len 464 fs/fat/dir.c int name_len, struct fat_slot_info *sinfo) name_len 512 fs/fat/dir.c if (fat_name_match(sbi, name, name_len, bufname, len)) name_len 521 fs/fat/dir.c if (fat_name_match(sbi, name, name_len, longname, len)) name_len 708 fs/fat/dir.c static int func(struct dir_context *ctx, const char *name, int name_len, \ name_len 722 fs/fat/dir.c if (name_len >= sizeof(d1->d_name)) \ name_len 723 fs/fat/dir.c name_len = sizeof(d1->d_name) - 1; \ name_len 727 fs/fat/dir.c copy_to_user(d1->d_name, name, name_len) || \ name_len 728 fs/fat/dir.c put_user(0, d1->d_name + name_len) || \ name_len 729 fs/fat/dir.c put_user(name_len, &d1->d_reclen)) \ name_len 326 fs/fat/fat.h int name_len, struct fat_slot_info *sinfo); name_len 404 fs/hfsplus/xattr.c static int copy_name(char *buffer, const char *xattr_name, int name_len) name_len 406 fs/hfsplus/xattr.c int len = name_len; name_len 415 fs/hfsplus/xattr.c strncpy(buffer + offset, xattr_name, name_len); name_len 416 fs/hfsplus/xattr.c memset(buffer + offset + name_len, 0, 1); name_len 654 fs/hfsplus/xattr.c name_len(HFSPLUS_XATTR_FINDER_INFO_NAME, symbols_count); name_len 747 fs/hfsplus/xattr.c res += name_len(strbuf, xattr_name_len); name_len 749 fs/hfsplus/xattr.c if (size < (res + name_len(strbuf, xattr_name_len))) { name_len 20 fs/isofs/dir.c int len = de->name_len[0]; name_len 59 fs/isofs/dir.c std = sizeof(struct iso_directory_record) + de->name_len[0]; name_len 150 fs/isofs/dir.c if (de_len < de->name_len[0] + name_len 174 fs/isofs/dir.c if (de->name_len[0] == 1 && de->name[0] == 0) { name_len 184 fs/isofs/dir.c if (de->name_len[0] == 1 && de->name[0] == 1) { name_len 229 fs/isofs/dir.c len = de->name_len[0]; name_len 92 fs/isofs/export.c if ((isonum_711(de->name_len) != 1) || (de->name[0] != 1)) { name_len 53 fs/isofs/joliet.c de->name_len[0] >> 1, UTF16_BIG_ENDIAN, name_len 57 fs/isofs/joliet.c de->name_len[0] >> 1, nls); name_len 98 fs/isofs/namei.c dlen = de->name_len[0]; name_len 56 fs/isofs/rock.c rs->len = sizeof(struct iso_directory_record) + de->name_len[0]; name_len 911 fs/jffs2/gc.c int name_len = strlen(fd->name); name_len 912 fs/jffs2/gc.c uint32_t name_crc = crc32(0, fd->name, name_len); name_len 968 fs/jffs2/gc.c if (rd->nsize != name_len || !je32_to_cpu(rd->ino)) name_len 972 fs/jffs2/gc.c if (memcmp(rd->name, fd->name, name_len)) name_len 348 fs/jffs2/scan.c + rx->name_len + 1 + je16_to_cpu(rx->value_len)); name_len 369 fs/jffs2/scan.c xd->name_len = rx->name_len; name_len 66 fs/jffs2/xattr.c int name_len = strlen(xname); name_len 68 fs/jffs2/xattr.c return crc32(xprefix, xname, name_len) ^ crc32(xprefix, xvalue, xsize); name_len 92 fs/jffs2/xattr.c c->xdatum_mem_usage -= (xd->name_len + 1 + xd->value_len); name_len 161 fs/jffs2/xattr.c totlen = PAD(sizeof(rx) + rx.name_len + 1 + je16_to_cpu(rx.value_len)); name_len 178 fs/jffs2/xattr.c xd->name_len = rx.name_len; name_len 215 fs/jffs2/xattr.c length = xd->name_len + 1 + xd->value_len; name_len 230 fs/jffs2/xattr.c data[xd->name_len] = '\0'; name_len 243 fs/jffs2/xattr.c xd->xvalue = data + xd->name_len+1; name_len 299 fs/jffs2/xattr.c vecs[1].iov_len = xd->name_len + 1 + xd->value_len; name_len 312 fs/jffs2/xattr.c rx.name_len = xd->name_len; name_len 342 fs/jffs2/xattr.c uint32_t hashkey, name_len; name_len 361 fs/jffs2/xattr.c name_len = strlen(xname); name_len 367 fs/jffs2/xattr.c data = kmalloc(name_len + 1 + xsize, GFP_KERNEL); name_len 373 fs/jffs2/xattr.c memcpy(data + name_len + 1, xvalue, xsize); name_len 382 fs/jffs2/xattr.c xd->xvalue = data + name_len + 1; name_len 383 fs/jffs2/xattr.c xd->name_len = name_len; name_len 385 fs/jffs2/xattr.c xd->data_crc = crc32(0, data, xd->name_len + 1 + xd->value_len); name_len 398 fs/jffs2/xattr.c c->xdatum_mem_usage += (xd->name_len + 1 + xd->value_len); name_len 1006 fs/jffs2/xattr.c rc = prefix_len + xd->name_len + 1; name_len 1015 fs/jffs2/xattr.c memcpy(buffer, xd->xname, xd->name_len); name_len 1016 fs/jffs2/xattr.c buffer += xd->name_len; name_len 1238 fs/jffs2/xattr.c + xd->name_len + 1 + xd->value_len); name_len 39 fs/jffs2/xattr.h uint32_t name_len; /* length of xname */ name_len 2966 fs/jfs/jfs_dtree.c u16 name_len; name_len 2977 fs/jfs/jfs_dtree.c ((sizeof (struct jfs_dirent) + dirent->name_len + 1 + name_len 3240 fs/jfs/jfs_dtree.c jfs_dirent->name_len = outlen; name_len 3260 fs/jfs/jfs_dtree.c jfs_dirent->name_len += outlen; name_len 3295 fs/jfs/jfs_dtree.c jfs_dirent->name_len, name_len 142 fs/nilfs2/dir.c if (rec_len < NILFS_DIR_REC_LEN(p->name_len)) name_len 176 fs/nilfs2/dir.c rec_len, p->name_len); name_len 216 fs/nilfs2/dir.c if (len != de->name_len) name_len 303 fs/nilfs2/dir.c if (!dir_emit(ctx, de->name, de->name_len, name_len 445 fs/nilfs2/dir.c unsigned short rec_len, name_len; name_len 474 fs/nilfs2/dir.c name_len = 0; name_len 489 fs/nilfs2/dir.c name_len = NILFS_DIR_REC_LEN(de->name_len); name_len 493 fs/nilfs2/dir.c if (rec_len >= name_len + reclen) name_len 512 fs/nilfs2/dir.c de1 = (struct nilfs_dir_entry *)((char *)de + name_len); name_len 513 fs/nilfs2/dir.c de1->rec_len = nilfs_rec_len_to_disk(rec_len - name_len); name_len 514 fs/nilfs2/dir.c de->rec_len = nilfs_rec_len_to_disk(name_len); name_len 517 fs/nilfs2/dir.c de->name_len = namelen; name_len 599 fs/nilfs2/dir.c de->name_len = 1; name_len 606 fs/nilfs2/dir.c de->name_len = 2; name_len 649 fs/nilfs2/dir.c if (de->name_len > 2) name_len 651 fs/nilfs2/dir.c if (de->name_len < 2) { name_len 11 fs/notify/inotify/inotify.h int name_len; name_len 43 fs/notify/inotify/inotify_fsnotify.c (old->name_len == new->name_len) && name_len 44 fs/notify/inotify/inotify_fsnotify.c (!old->name_len || !strcmp(old->name, new->name))) name_len 125 fs/notify/inotify/inotify_fsnotify.c event->name_len = len; name_len 120 fs/notify/inotify/inotify_user.c if (!event->name_len) name_len 122 fs/notify/inotify/inotify_user.c return roundup(event->name_len + 1, sizeof(struct inotify_event)); name_len 169 fs/notify/inotify/inotify_user.c size_t name_len; name_len 175 fs/notify/inotify/inotify_user.c name_len = event->name_len; name_len 199 fs/notify/inotify/inotify_user.c if (copy_to_user(buf, event->name, name_len)) name_len 201 fs/notify/inotify/inotify_user.c buf += name_len; name_len 204 fs/notify/inotify/inotify_user.c if (clear_user(buf, pad_name_len - name_len)) name_len 642 fs/notify/inotify/inotify_user.c oevent->name_len = 0; name_len 431 fs/ntfs/aops.c BUG_ON(ni->name_len); name_len 475 fs/ntfs/aops.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, name_len 1384 fs/ntfs/aops.c BUG_ON(ni->name_len); name_len 1458 fs/ntfs/aops.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, name_len 121 fs/ntfs/attrib.c a->name_length == ni->name_len && name_len 123 fs/ntfs/attrib.c ni->name, ni->name_len) && name_len 152 fs/ntfs/attrib.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, name_len 576 fs/ntfs/attrib.c const u32 name_len, const IGNORE_CASE_BOOL ic, name_len 614 fs/ntfs/attrib.c } else if (!ntfs_are_names_equal(name, name_len, name_len 619 fs/ntfs/attrib.c rc = ntfs_collate_names(name, name_len, name_len 633 fs/ntfs/attrib.c rc = ntfs_collate_names(name, name_len, name_len 844 fs/ntfs/attrib.c const ntfschar *name, const u32 name_len, name_len 915 fs/ntfs/attrib.c name_len, ic, vol->upcase, vol->upcase_len)) { name_len 918 fs/ntfs/attrib.c rc = ntfs_collate_names(name, name_len, al_name, name_len 938 fs/ntfs/attrib.c rc = ntfs_collate_names(name, name_len, al_name, name_len 1093 fs/ntfs/attrib.c return ntfs_attr_find(AT_END, name, name_len, ic, val, val_len, name_len 1127 fs/ntfs/attrib.c err = ntfs_attr_find(type, name, name_len, ic, val, val_len, name_len 1174 fs/ntfs/attrib.c const u32 name_len, const IGNORE_CASE_BOOL ic, name_len 1189 fs/ntfs/attrib.c return ntfs_attr_find(type, name, name_len, ic, val, val_len, name_len 1191 fs/ntfs/attrib.c return ntfs_external_attr_find(type, name, name_len, ic, lowest_vcn, name_len 1610 fs/ntfs/attrib.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, name_len 1779 fs/ntfs/attrib.c !ni->name_len) ? "FILE": "ATTRIBUTE"); name_len 2016 fs/ntfs/attrib.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, name_len 2316 fs/ntfs/attrib.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, name_len 2371 fs/ntfs/attrib.c if (ntfs_attr_lookup(ni->type, ni->name, ni->name_len, CASE_SENSITIVE, name_len 60 fs/ntfs/attrib.h const u32 name_len, const IGNORE_CASE_BOOL ic, name_len 513 fs/ntfs/compress.c BUG_ON(ni->name_len); name_len 1016 fs/ntfs/dir.c int name_len; name_len 1034 fs/ntfs/dir.c name_len = ntfs_ucstonls(vol, (ntfschar*)&ie->key.file_name.file_name, name_len 1037 fs/ntfs/dir.c if (name_len <= 0) { name_len 1055 fs/ntfs/dir.c "0x%lx, DT_%s.", name, name_len, actor->pos, mref, name_len 1057 fs/ntfs/dir.c if (!dir_emit(actor, name, name_len, mref, dt_type)) name_len 1505 fs/ntfs/dir.c na.name_len = 4; name_len 142 fs/ntfs/file.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, name_len 186 fs/ntfs/file.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, name_len 283 fs/ntfs/file.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, name_len 356 fs/ntfs/file.c BUG_ON(ni->name_len); name_len 1026 fs/ntfs/file.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, name_len 1133 fs/ntfs/file.c ni->name_len, CASE_SENSITIVE, name_len 1229 fs/ntfs/file.c if (ntfs_attr_lookup(ni->type, ni->name, ni->name_len, name_len 1465 fs/ntfs/file.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, name_len 1591 fs/ntfs/file.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, name_len 150 fs/ntfs/index.c err = ntfs_attr_lookup(AT_INDEX_ROOT, idx_ni->name, idx_ni->name_len, name_len 62 fs/ntfs/inode.c if (ni->name_len != na->name_len) name_len 64 fs/ntfs/inode.c if (na->name_len && memcmp(ni->name, na->name, name_len 65 fs/ntfs/inode.c na->name_len * sizeof(ntfschar))) name_len 101 fs/ntfs/inode.c ni->name_len = na->name_len; name_len 106 fs/ntfs/inode.c BUG_ON(na->name_len); name_len 120 fs/ntfs/inode.c if (na->name_len && na->name != I30) { name_len 124 fs/ntfs/inode.c i = na->name_len * sizeof(ntfschar); name_len 129 fs/ntfs/inode.c ni->name[na->name_len] = 0; name_len 165 fs/ntfs/inode.c na.name_len = 0; name_len 214 fs/ntfs/inode.c ntfschar *name, u32 name_len) name_len 226 fs/ntfs/inode.c na.name_len = name_len; name_len 272 fs/ntfs/inode.c u32 name_len) name_len 281 fs/ntfs/inode.c na.name_len = name_len; name_len 413 fs/ntfs/inode.c ni->name_len = 0; name_len 871 fs/ntfs/inode.c ni->name_len = 4; name_len 989 fs/ntfs/inode.c ni->name_len = 0; name_len 1232 fs/ntfs/inode.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, name_len 1241 fs/ntfs/inode.c ni->name_len)) { name_len 1417 fs/ntfs/inode.c "Run chkdsk.", err, vi->i_ino, ni->type, ni->name_len, name_len 1497 fs/ntfs/inode.c err = ntfs_attr_lookup(AT_INDEX_ROOT, ni->name, ni->name_len, name_len 1590 fs/ntfs/inode.c err = ntfs_attr_lookup(AT_INDEX_ALLOCATION, ni->name, ni->name_len, name_len 1650 fs/ntfs/inode.c bvi = ntfs_attr_iget(base_vi, AT_BITMAP, ni->name, ni->name_len); name_len 1698 fs/ntfs/inode.c ni->name_len); name_len 1767 fs/ntfs/inode.c ni->name_len = 0; name_len 2184 fs/ntfs/inode.c if (ni->name_len && ni->name != I30) { name_len 2377 fs/ntfs/inode.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, name_len 54 fs/ntfs/inode.h u32 name_len; /* Attribute name length of this fake inode. */ name_len 252 fs/ntfs/inode.h u32 name_len; name_len 262 fs/ntfs/inode.h ntfschar *name, u32 name_len); name_len 264 fs/ntfs/inode.h u32 name_len); name_len 943 fs/ntfs/mft.c na.name_len = 0; name_len 1396 fs/ntfs/mft.c mftbmp_ni->name_len, CASE_SENSITIVE, rl[1].vcn, NULL, name_len 1470 fs/ntfs/mft.c mftbmp_ni->name_len, CASE_SENSITIVE, 0, NULL, name_len 1495 fs/ntfs/mft.c mftbmp_ni->name_len, CASE_SENSITIVE, rl[1].vcn, NULL, name_len 1600 fs/ntfs/mft.c mftbmp_ni->name_len, CASE_SENSITIVE, 0, NULL, 0, ctx); name_len 1653 fs/ntfs/mft.c mftbmp_ni->name_len, CASE_SENSITIVE, 0, NULL, 0, ctx)) { name_len 1828 fs/ntfs/mft.c ret = ntfs_attr_lookup(mft_ni->type, mft_ni->name, mft_ni->name_len, name_len 1909 fs/ntfs/mft.c mft_ni->name_len, CASE_SENSITIVE, 0, NULL, 0, name_len 1933 fs/ntfs/mft.c if (ntfs_attr_lookup(mft_ni->type, mft_ni->name, mft_ni->name_len, name_len 2467 fs/ntfs/mft.c err = ntfs_attr_lookup(mft_ni->type, mft_ni->name, mft_ni->name_len, name_len 2657 fs/ntfs/mft.c ni->name_len = 4; name_len 2677 fs/ntfs/mft.c ni->name_len = 0; name_len 105 fs/ntfs/ntfs.h extern void ntfs_upcase_name(ntfschar *name, u32 name_len, name_len 192 fs/ntfs/unistr.c void ntfs_upcase_name(ntfschar *name, u32 name_len, const ntfschar *upcase, name_len 198 fs/ntfs/unistr.c for (i = 0; i < name_len; i++) name_len 311 fs/ocfs2/dir.c else if (unlikely(rlen < OCFS2_DIR_REC_LEN(de->name_len))) name_len 322 fs/ocfs2/dir.c de->name_len); name_len 331 fs/ocfs2/dir.c if (len != de->name_len) name_len 1180 fs/ocfs2/dir.c OCFS2_DIR_REC_LEN(de->name_len); name_len 1420 fs/ocfs2/dir.c de_really_used = OCFS2_DIR_REC_LEN(de->name_len); name_len 1696 fs/ocfs2/dir.c OCFS2_DIR_REC_LEN(de->name_len)); name_len 1699 fs/ocfs2/dir.c OCFS2_DIR_REC_LEN(de->name_len)); name_len 1700 fs/ocfs2/dir.c de->rec_len = cpu_to_le16(OCFS2_DIR_REC_LEN(de->name_len)); name_len 1709 fs/ocfs2/dir.c de->name_len = namelen; name_len 1788 fs/ocfs2/dir.c if (!dir_emit(ctx, de->name, de->name_len, name_len 1882 fs/ocfs2/dir.c de->name_len, name_len 2038 fs/ocfs2/dir.c int name_len, loff_t pos, u64 ino, name_len 2055 fs/ocfs2/dir.c if (name_len == 1 && !strncmp(".", name, 1) && pos == 0) { name_len 2060 fs/ocfs2/dir.c if (name_len == 2 && !strncmp("..", name, 2) && name_len 2161 fs/ocfs2/dir.c de->name_len = 1; name_len 2163 fs/ocfs2/dir.c cpu_to_le16(OCFS2_DIR_REC_LEN(de->name_len)); name_len 2170 fs/ocfs2/dir.c de->name_len = 2; name_len 2606 fs/ocfs2/dir.c namelen = de->name_len; name_len 2653 fs/ocfs2/dir.c if (!de->name_len || !de->inode) name_len 2656 fs/ocfs2/dir.c ocfs2_dx_dir_name_hash(dir, de->name, de->name_len, &hinfo); name_len 2661 fs/ocfs2/dir.c de->name_len, de->name, name_len 2692 fs/ocfs2/dir.c if (de->name_len && de->inode) name_len 3400 fs/ocfs2/dir.c if (new_rec_len < (rec_len + OCFS2_DIR_REC_LEN(last_de->name_len))) name_len 82 fs/ocfs2/dlm/dlmcommon.h static inline int dlm_is_recovery_lock(const char *lock_name, int name_len) name_len 84 fs/ocfs2/dlm/dlmcommon.h if (name_len == DLM_RECOVERY_LOCK_NAME_LEN && name_len 85 fs/ocfs2/dlm/dlmcommon.h memcmp(lock_name, DLM_RECOVERY_LOCK_NAME, name_len)==0) name_len 699 fs/ocfs2/dlm/dlmcommon.h u8 name_len; name_len 710 fs/ocfs2/dlm/dlmcommon.h u8 name_len; name_len 718 fs/ocfs2/dlm/dlmcommon.h u8 name_len; name_len 823 fs/ocfs2/dlm/dlmdomain.c dlm = __dlm_lookup_domain_full(query->domain, query->name_len); name_len 923 fs/ocfs2/dlm/dlmdomain.c dlm = __dlm_lookup_domain_full(assert->domain, assert->name_len); name_len 1335 fs/ocfs2/dlm/dlmdomain.c dlm = __dlm_lookup_domain_full(cancel->domain, cancel->name_len); name_len 1360 fs/ocfs2/dlm/dlmdomain.c cancel_msg.name_len = strlen(dlm->name); name_len 1361 fs/ocfs2/dlm/dlmdomain.c memcpy(cancel_msg.domain, dlm->name, cancel_msg.name_len); name_len 1427 fs/ocfs2/dlm/dlmdomain.c join_msg.name_len = strlen(dlm->name); name_len 1428 fs/ocfs2/dlm/dlmdomain.c memcpy(join_msg.domain, dlm->name, join_msg.name_len); name_len 1512 fs/ocfs2/dlm/dlmdomain.c assert_msg.name_len = strlen(dlm->name); name_len 1513 fs/ocfs2/dlm/dlmdomain.c memcpy(assert_msg.domain, dlm->name, assert_msg.name_len); name_len 2035 fs/ocfs2/journal.c int name_len, loff_t pos, u64 ino, name_len 2042 fs/ocfs2/journal.c if (name_len == 1 && !strncmp(".", name, 1)) name_len 2044 fs/ocfs2/journal.c if (name_len == 2 && !strncmp("..", name, 2)) name_len 389 fs/ocfs2/ocfs2_fs.h #define OCFS2_DIR_REC_LEN(name_len) (((name_len) + OCFS2_DIR_MEMBER_LEN + \ name_len 745 fs/ocfs2/ocfs2_fs.h __u8 name_len; /* Name length */ name_len 2160 fs/ocfs2/ocfs2_trace.h TP_PROTO(void *dir, void *dentry, int name_len, const char *name, name_len 2162 fs/ocfs2/ocfs2_trace.h TP_ARGS(dir, dentry, name_len, name, dir_blkno, extra), name_len 2166 fs/ocfs2/ocfs2_trace.h __field(int, name_len) name_len 2174 fs/ocfs2/ocfs2_trace.h __entry->name_len = name_len; name_len 2180 fs/ocfs2/ocfs2_trace.h __entry->name_len, __get_str(name), name_len 2186 fs/ocfs2/ocfs2_trace.h TP_PROTO(void *dir, void *dentry, int name_len, const char *name, \ name_len 2188 fs/ocfs2/ocfs2_trace.h TP_ARGS(dir, dentry, name_len, name, dir_blkno, extra)) name_len 2205 fs/ocfs2/ocfs2_trace.h TP_PROTO(void *dir, void *dentry, int name_len, const char *name, name_len 2207 fs/ocfs2/ocfs2_trace.h TP_ARGS(dir, dentry, name_len, name, dir_blkno, dev, mode), name_len 2211 fs/ocfs2/ocfs2_trace.h __field(int, name_len) name_len 2220 fs/ocfs2/ocfs2_trace.h __entry->name_len = name_len; name_len 2227 fs/ocfs2/ocfs2_trace.h __entry->name_len, __get_str(name), name_len 2233 fs/ocfs2/ocfs2_trace.h int name_len, const char *name), name_len 2234 fs/ocfs2/ocfs2_trace.h TP_ARGS(ino, old_len, old_name, name_len, name), name_len 2239 fs/ocfs2/ocfs2_trace.h __field(int, name_len) name_len 2246 fs/ocfs2/ocfs2_trace.h __entry->name_len = name_len; name_len 2251 fs/ocfs2/ocfs2_trace.h __entry->name_len, __get_str(name)) name_len 2541 fs/ocfs2/ocfs2_trace.h TP_PROTO(void *dentry, int name_len, const char *name, name_len 2543 fs/ocfs2/ocfs2_trace.h TP_ARGS(dentry, name_len, name, fh, len, connectable), name_len 2546 fs/ocfs2/ocfs2_trace.h __field(int, name_len) name_len 2554 fs/ocfs2/ocfs2_trace.h __entry->name_len = name_len; name_len 2560 fs/ocfs2/ocfs2_trace.h TP_printk("%p %.*s %p %d %d", __entry->dentry, __entry->name_len, name_len 220 fs/ocfs2/xattr.c static int namevalue_size(int name_len, uint64_t value_len) name_len 223 fs/ocfs2/xattr.c return OCFS2_XATTR_SIZE(name_len) + OCFS2_XATTR_ROOT_SIZE; name_len 225 fs/ocfs2/xattr.c return OCFS2_XATTR_SIZE(name_len) + OCFS2_XATTR_SIZE(value_len); name_len 544 fs/ocfs2/xattr.c int name_len) name_len 551 fs/ocfs2/xattr.c for (i = 0; i < name_len; i++) { name_len 560 fs/ocfs2/xattr.c static int ocfs2_xattr_entry_real_size(int name_len, size_t value_len) name_len 562 fs/ocfs2/xattr.c return namevalue_size(name_len, value_len) + name_len 884 fs/ocfs2/xattr.c const char *name, int name_len) name_len 913 fs/ocfs2/xattr.c total_len = prefix_len + name_len + 1; name_len 924 fs/ocfs2/xattr.c memcpy(p + prefix_len, name, name_len); name_len 925 fs/ocfs2/xattr.c p[prefix_len + name_len] = '\0'; name_len 1076 fs/ocfs2/xattr.c size_t name_len; name_len 1082 fs/ocfs2/xattr.c name_len = strlen(name); name_len 1087 fs/ocfs2/xattr.c cmp = name_len - entry->xe_name_len; name_len 1091 fs/ocfs2/xattr.c name_len); name_len 1213 fs/ocfs2/xattr.c int ret = -ENODATA, name_offset, name_len, i; name_len 1242 fs/ocfs2/xattr.c name_len = OCFS2_XATTR_SIZE(xs->here->xe_name_len); name_len 1259 fs/ocfs2/xattr.c name_offset + name_len, size); name_len 1262 fs/ocfs2/xattr.c (xs->base + name_offset + name_len); name_len 3051 fs/ocfs2/xattr.c int name_offset, name_len = 0; name_len 3080 fs/ocfs2/xattr.c name_len = OCFS2_XATTR_SIZE(xe->xe_name_len); name_len 3088 fs/ocfs2/xattr.c name_len = OCFS2_XATTR_SIZE(xe->xe_name_len); name_len 3149 fs/ocfs2/xattr.c (base + name_offset + name_len); name_len 3758 fs/ocfs2/xattr.c size_t name_len = strlen(name); name_len 3776 fs/ocfs2/xattr.c cmp = name_len - xe->xe_name_len; name_len 3792 fs/ocfs2/xattr.c if (!memcmp(name, xe_name, name_len)) { name_len 5774 fs/ocfs2/xattr.c int name_offset, name_len; name_len 5785 fs/ocfs2/xattr.c name_len = OCFS2_XATTR_SIZE(xe->xe_name_len); name_len 5794 fs/ocfs2/xattr.c name_len = OCFS2_XATTR_SIZE(xe->xe_name_len); name_len 5830 fs/ocfs2/xattr.c (base + name_offset + name_len); name_len 114 fs/squashfs/xattr.c int name_len = strlen(name); name_len 116 fs/squashfs/xattr.c char *target = kmalloc(name_len, GFP_KERNEL); name_len 136 fs/squashfs/xattr.c if (prefix == name_index && name_size == name_len) name_len 145 fs/squashfs/xattr.c if (prefix == name_index && name_size == name_len && name_len 111 fs/ubifs/ubifs.h #define CALC_DENT_SIZE(name_len) ALIGN(UBIFS_DENT_NODE_SZ + (name_len) + 1, 8) name_len 313 fs/ufs/dir.c unsigned short rec_len, name_len; name_len 344 fs/ufs/dir.c name_len = 0; name_len 359 fs/ufs/dir.c name_len = UFS_DIR_REC_LEN(ufs_get_de_namlen(sb, de)); name_len 363 fs/ufs/dir.c if (rec_len >= name_len + reclen) name_len 381 fs/ufs/dir.c (struct ufs_dir_entry *) ((char *) de + name_len); name_len 382 fs/ufs/dir.c de1->d_reclen = cpu_to_fs16(sb, rec_len - name_len); name_len 383 fs/ufs/dir.c de->d_reclen = cpu_to_fs16(sb, name_len); name_len 284 fs/ufs/ufs_fs.h #define UFS_DIR_REC_LEN(name_len) (((name_len) + 1 + 8 + UFS_DIR_ROUND) & ~UFS_DIR_ROUND) name_len 27 include/keys/asymmetric-subtype.h unsigned short name_len; /* length of name */ name_len 103 include/linux/ceph/osd_client.h u32 name_len; name_len 113 include/linux/ceph/osdmap.h int name_len; name_len 128 include/linux/ceph/osdmap.h return oid->name == oid->inline_name && !oid->name_len; name_len 485 include/linux/ceph/rados.h __le32 name_len; name_len 530 include/linux/f2fs_fs.h __le16 name_len; /* length of file name */ name_len 110 include/linux/mtd/ubi.h int name_len; name_len 1399 include/linux/perf_event.h typedef int (perf_ksymbol_get_name_f)(char *name, int name_len, void *data); name_len 76 include/linux/usb/composite.h int name_len; name_len 1533 include/net/bluetooth/hci_core.h u32 flags, u8 *name, u8 name_len); name_len 1574 include/net/bluetooth/hci_core.h u8 addr_type, s8 rssi, u8 *name, u8 name_len); name_len 1214 include/trace/events/afs.h __len = min_t(int, cell->name_len, 23); name_len 1217 include/trace/events/afs.h __len = min_t(int, volume->name_len, 23); name_len 144 include/uapi/drm/drm.h __kernel_size_t name_len; /**< Length of name buffer */ name_len 542 include/uapi/linux/btrfs_tree.h __le16 name_len; name_len 549 include/uapi/linux/btrfs_tree.h __le16 name_len; name_len 596 include/uapi/linux/btrfs_tree.h __le16 name_len; name_len 659 include/uapi/linux/btrfs_tree.h __le16 name_len; name_len 98 include/uapi/linux/dns_resolver.h __u16 name_len; /* Length of name (LE) */ name_len 309 include/uapi/linux/gfs2_ondisk.h #define GFS2_DIRENT_SIZE(name_len) ((sizeof(struct gfs2_dirent) + (name_len) + 7) & ~7) name_len 137 include/uapi/linux/iso_fs.h __u8 name_len[2]; /* 721 */ name_len 156 include/uapi/linux/iso_fs.h __u8 name_len [ISODCL (33, 33)]; /* 711 */ name_len 169 include/uapi/linux/jffs2.h __u8 name_len; name_len 303 include/uapi/linux/nilfs2_ondisk.h __u8 name_len; /* Name length */ name_len 332 include/uapi/linux/nilfs2_ondisk.h #define NILFS_DIR_REC_LEN(name_len) (((name_len) + 12 + NILFS_DIR_ROUND) & \ name_len 344 include/uapi/mtd/ubi-user.h __s16 name_len; name_len 401 include/uapi/mtd/ubi-user.h __s16 name_len; name_len 149 init/initramfs.c static __initdata unsigned long body_len, name_len; name_len 175 init/initramfs.c name_len = parsed[11]; name_len 254 init/initramfs.c next_header = this_header + N_ALIGN(name_len) + body_len; name_len 257 init/initramfs.c if (name_len <= 0 || name_len > PATH_MAX) name_len 263 init/initramfs.c remains = N_ALIGN(name_len) + body_len; name_len 269 init/initramfs.c read_into(name_buf, N_ALIGN(name_len), GotName); name_len 385 init/initramfs.c collected[N_ALIGN(name_len) + body_len] = '\0'; name_len 387 init/initramfs.c ksys_symlink(collected + N_ALIGN(name_len), collected); name_len 71 kernel/audit.h int name_len; /* number of chars to log */ name_len 1331 kernel/auditsc.c switch (n->name_len) { name_len 1347 kernel/auditsc.c n->name_len); name_len 1888 kernel/auditsc.c n->name_len = AUDIT_NAME_FULL; name_len 2030 kernel/auditsc.c n->name_len = n->name ? parent_len(n->name->name) : AUDIT_NAME_FULL; name_len 2035 kernel/auditsc.c n->name_len = AUDIT_NAME_FULL; name_len 2104 kernel/auditsc.c n->name->name, n->name_len)) { name_len 2122 kernel/auditsc.c found_parent->name_len : name_len 2149 kernel/auditsc.c found_child->name_len = AUDIT_NAME_FULL; name_len 7901 kernel/events/core.c int name_len; name_len 7934 kernel/events/core.c __output_copy(&handle, ksymbol_event->name, ksymbol_event->name_len); name_len 7946 kernel/events/core.c int name_len; name_len 7956 kernel/events/core.c name_len = strlen(name) + 1; name_len 7957 kernel/events/core.c while (!IS_ALIGNED(name_len, sizeof(u64))) name_len 7958 kernel/events/core.c name[name_len++] = '\0'; name_len 7966 kernel/events/core.c .name_len = name_len, name_len 7971 kernel/events/core.c name_len, name_len 814 kernel/params.c unsigned int name_len; name_len 827 kernel/params.c name_len = 0; name_len 829 kernel/params.c name_len = dot - kp->name + 1; name_len 830 kernel/params.c strlcpy(modname, kp->name, name_len); name_len 832 kernel/params.c kernel_add_sysfs_param(modname, kp, name_len); name_len 140 net/batman-adv/bat_algo.c size_t name_len = strlen(algo_name); name_len 142 net/batman-adv/bat_algo.c if (name_len > 0 && algo_name[name_len - 1] == '\n') name_len 143 net/batman-adv/bat_algo.c algo_name[name_len - 1] = '\0'; name_len 1956 net/bluetooth/hci_event.c bdaddr_t *bdaddr, u8 *name, u8 name_len) name_len 1969 net/bluetooth/hci_event.c mgmt_device_connected(hdev, conn, 0, name, name_len); name_len 1992 net/bluetooth/hci_event.c e->data.rssi, name, name_len); name_len 579 net/bluetooth/hci_request.c size_t name_len; name_len 581 net/bluetooth/hci_request.c name_len = strlen(hdev->dev_name); name_len 583 net/bluetooth/hci_request.c if (name_len > 0) { name_len 585 net/bluetooth/hci_request.c if (name_len > 48) { name_len 586 net/bluetooth/hci_request.c name_len = 48; name_len 592 net/bluetooth/hci_request.c ptr[0] = name_len + 1; name_len 594 net/bluetooth/hci_request.c memcpy(ptr + 2, hdev->dev_name, name_len); name_len 596 net/bluetooth/hci_request.c ptr += (name_len + 2); name_len 999 net/bluetooth/mgmt.c size_t name_len; name_len 1009 net/bluetooth/mgmt.c name_len = strlen(hdev->dev_name); name_len 1011 net/bluetooth/mgmt.c hdev->dev_name, name_len); name_len 1013 net/bluetooth/mgmt.c name_len = strlen(hdev->short_name); name_len 1015 net/bluetooth/mgmt.c hdev->short_name, name_len); name_len 7234 net/bluetooth/mgmt.c u32 flags, u8 *name, u8 name_len) name_len 7254 net/bluetooth/mgmt.c if (name_len > 0) name_len 7256 net/bluetooth/mgmt.c name, name_len); name_len 7904 net/bluetooth/mgmt.c u8 addr_type, s8 rssi, u8 *name, u8 name_len) name_len 7919 net/bluetooth/mgmt.c name_len); name_len 30 net/ceph/cls_lock_client.c int name_len = strlen(lock_name); name_len 39 net/ceph/cls_lock_client.c lock_op_buf_size = name_len + sizeof(__le32) + name_len 60 net/ceph/cls_lock_client.c ceph_encode_string(&p, end, lock_name, name_len); name_len 95 net/ceph/cls_lock_client.c int name_len = strlen(lock_name); name_len 101 net/ceph/cls_lock_client.c unlock_op_buf_size = name_len + sizeof(__le32) + name_len 117 net/ceph/cls_lock_client.c ceph_encode_string(&p, end, lock_name, name_len); name_len 145 net/ceph/cls_lock_client.c int name_len = strlen(lock_name); name_len 151 net/ceph/cls_lock_client.c break_op_buf_size = name_len + sizeof(__le32) + name_len 168 net/ceph/cls_lock_client.c ceph_encode_string(&p, end, lock_name, name_len); name_len 191 net/ceph/cls_lock_client.c int name_len = strlen(lock_name); name_len 199 net/ceph/cls_lock_client.c cookie_op_buf_size = name_len + sizeof(__le32) + name_len 217 net/ceph/cls_lock_client.c ceph_encode_string(&p, end, lock_name, name_len); name_len 335 net/ceph/cls_lock_client.c int name_len = strlen(lock_name); name_len 341 net/ceph/cls_lock_client.c get_info_op_buf_size = name_len + sizeof(__le32) + name_len 362 net/ceph/cls_lock_client.c ceph_encode_string(&p, end, lock_name, name_len); name_len 387 net/ceph/cls_lock_client.c int name_len = strlen(lock_name); name_len 394 net/ceph/cls_lock_client.c assert_op_buf_size = name_len + sizeof(__le32) + name_len 415 net/ceph/cls_lock_client.c ceph_encode_string(&p, end, lock_name, name_len); name_len 198 net/ceph/debugfs.c t->target_oid.name_len, t->target_oid.name, t->flags); name_len 200 net/ceph/debugfs.c seq_printf(s, "%*pE\t0x%x", t->target_oid.name_len, name_len 634 net/ceph/osd_client.c msg_size += 4 + req->r_base_oid.name_len; /* oid */ name_len 655 net/ceph/osd_client.c msg_size += req->r_base_oid.name_len; name_len 897 net/ceph/osd_client.c op->xattr.name_len = payload_len; name_len 1024 net/ceph/osd_client.c dst->xattr.name_len = cpu_to_le32(src->xattr.name_len); name_len 1899 net/ceph/osd_client.c hoid->oid_len = t->target_oid.name_len; name_len 1960 net/ceph/osd_client.c WARN_ON(op->indata_len != op->xattr.name_len + name_len 2079 net/ceph/osd_client.c req->r_t.target_oid.name_len); name_len 2115 net/ceph/osd_client.c req->r_t.target_oid.name, req->r_t.target_oid.name_len); name_len 5336 net/ceph/osd_client.c ceph_encode_string(&p, end, src_oid->name, src_oid->name_len); name_len 1930 net/ceph/osdmap.c dest->name = kmalloc(src->name_len + 1, name_len 1935 net/ceph/osdmap.c memcpy(dest->name, src->name, src->name_len + 1); name_len 1936 net/ceph/osdmap.c dest->name_len = src->name_len; name_len 1951 net/ceph/osdmap.c oid->name_len = len; name_len 1988 net/ceph/osdmap.c oid->name_len = len; name_len 2189 net/ceph/osdmap.c oid->name_len); name_len 2196 net/ceph/osdmap.c size_t total = nsl + 1 + oid->name_len; name_len 2202 net/ceph/osdmap.c memcpy(buf + nsl + 1, oid->name, oid->name_len); name_len 2180 net/socket.c unsigned int name_len; name_len 2291 net/socket.c used_address->name_len == msg_sys->msg_namelen && name_len 2293 net/socket.c used_address->name_len)) { name_len 2303 net/socket.c used_address->name_len = msg_sys->msg_namelen; name_len 2306 net/socket.c used_address->name_len); name_len 2436 net/socket.c used_address.name_len = UINT_MAX; name_len 41 samples/qmi/qmi_sample_client.c u32 name_len; name_len 53 samples/qmi/qmi_sample_client.c name_len), name_len 370 scripts/dtc/libfdt/fdt_overlay.c const char *name, uint32_t name_len, name_len 403 scripts/dtc/libfdt/fdt_overlay.c name, name_len, poffset, name_len 446 scripts/dtc/libfdt/fdt_overlay.c uint32_t path_len, name_len; name_len 474 scripts/dtc/libfdt/fdt_overlay.c name_len = sep - name; name_len 475 scripts/dtc/libfdt/fdt_overlay.c if (!name_len) name_len 483 scripts/dtc/libfdt/fdt_overlay.c path, path_len, name, name_len, name_len 190 security/tomoyo/realpath.c int name_len; name_len 196 security/tomoyo/realpath.c name_len = strlen(name); name_len 197 security/tomoyo/realpath.c pos -= name_len; name_len 200 security/tomoyo/realpath.c memmove(pos, name, name_len); name_len 207 security/tomoyo/realpath.c const int name_len = strlen(name); name_len 209 security/tomoyo/realpath.c pos -= name_len + 1; name_len 212 security/tomoyo/realpath.c memmove(pos, name, name_len); name_len 213 security/tomoyo/realpath.c pos[name_len] = ':'; name_len 1163 sound/core/control.c size_t buf_len, name_len; name_len 1179 sound/core/control.c name_len = strnlen(p, buf_len); name_len 1180 sound/core/control.c if (name_len == 0 || name_len >= 64 || name_len == buf_len) { name_len 1184 sound/core/control.c p += name_len + 1; name_len 1185 sound/core/control.c buf_len -= name_len + 1; name_len 2698 sound/pci/hda/hda_generic.c char *name, size_t name_len) name_len 2703 sound/pci/hda/hda_generic.c snd_hda_get_pin_label(codec, pin, &spec->autocfg, name, name_len, &idx); name_len 2704 sound/pci/hda/hda_generic.c strlcat(name, " Jack Mode", name_len); name_len 203 sound/soc/codecs/sigmadsp.c size_t name_len; name_len 212 sound/soc/codecs/sigmadsp.c name_len = length - sizeof(*ctrl_chunk); name_len 213 sound/soc/codecs/sigmadsp.c if (name_len >= SNDRV_CTL_ELEM_ID_NAME_MAXLEN) name_len 214 sound/soc/codecs/sigmadsp.c name_len = SNDRV_CTL_ELEM_ID_NAME_MAXLEN - 1; name_len 217 sound/soc/codecs/sigmadsp.c if (!sigma_fw_validate_control_name(ctrl_chunk->name, name_len)) name_len 225 sound/soc/codecs/sigmadsp.c name = kzalloc(name_len + 1, GFP_KERNEL); name_len 230 sound/soc/codecs/sigmadsp.c memcpy(name, ctrl_chunk->name, name_len); name_len 231 sound/soc/codecs/sigmadsp.c name[name_len] = '\0'; name_len 1522 sound/soc/codecs/wm_adsp.c int name_len; name_len 1530 sound/soc/codecs/wm_adsp.c int name_len; name_len 1592 sound/soc/codecs/wm_adsp.c blk->name_len = strlen(raw->name); name_len 1597 sound/soc/codecs/wm_adsp.c blk->name_len = wm_coeff_parse_string(sizeof(u8), data, name_len 1605 sound/soc/codecs/wm_adsp.c adsp_dbg(dsp, "Algorithm name: %.*s\n", blk->name_len, blk->name); name_len 1625 sound/soc/codecs/wm_adsp.c blk->name_len = strlen(raw->name); name_len 1635 sound/soc/codecs/wm_adsp.c blk->name_len = wm_coeff_parse_string(sizeof(u8), &tmp, name_len 1649 sound/soc/codecs/wm_adsp.c adsp_dbg(dsp, "\tCoefficient name: %.*s\n", blk->name_len, blk->name); name_len 1730 sound/soc/codecs/wm_adsp.c coeff_blk.name_len, name_len 1735 sound/soc/codecs/wm_adsp.c coeff_blk.name_len, coeff_blk.name, ret); name_len 1743 sound/usb/mixer.c int name_len = get_term_name(mixer->chip, term, name, name_size, 0); name_len 1745 sound/usb/mixer.c if (name_len == 0) name_len 144 tools/include/uapi/drm/drm.h __kernel_size_t name_len; /**< Length of name buffer */ name_len 210 tools/lib/api/fs/fs.c size_t name_len = strlen(fs->name); name_len 212 tools/lib/api/fs/fs.c char upper_name[name_len + 5 + 1]; name_len 214 tools/lib/api/fs/fs.c memcpy(upper_name, fs->name, name_len); name_len 215 tools/lib/api/fs/fs.c mem_toupper(upper_name, name_len); name_len 216 tools/lib/api/fs/fs.c strcpy(&upper_name[name_len], "_PATH"); name_len 254 tools/lib/api/fs/fs.c size_t name_len = strlen(fs->name); name_len 256 tools/lib/api/fs/fs.c char upper_name[5 + name_len + 12 + 1]; name_len 258 tools/lib/api/fs/fs.c snprintf(upper_name, name_len, "PERF_%s_ENVIRONMENT", fs->name); name_len 259 tools/lib/api/fs/fs.c mem_toupper(upper_name, name_len); name_len 126 tools/perf/util/bpf-event.c int name_len; name_len 128 tools/perf/util/bpf-event.c name_len = snprintf(buf, size, "bpf_prog_"); name_len 129 tools/perf/util/bpf-event.c name_len += snprintf_hex(buf + name_len, size - name_len, name_len 142 tools/perf/util/bpf-event.c name_len += snprintf(buf + name_len, size - name_len, name_len 144 tools/perf/util/bpf-event.c return name_len; name_len 231 tools/perf/util/bpf-event.c int name_len; name_len 244 tools/perf/util/bpf-event.c name_len = synthesize_bpf_prog_name(ksymbol_event->name, name_len 246 tools/perf/util/bpf-event.c ksymbol_event->header.size += PERF_ALIGN(name_len + 1, name_len 296 tools/perf/util/build-id.c static int write_buildid(const char *name, size_t name_len, u8 *build_id, name_len 303 tools/perf/util/build-id.c len = name_len + 1; name_len 316 tools/perf/util/build-id.c return write_padded(fd, name, name_len + 1, len); name_len 334 tools/perf/util/build-id.c size_t name_len; name_len 342 tools/perf/util/build-id.c name_len = pos->short_name_len; name_len 345 tools/perf/util/build-id.c name_len = strlen(name); name_len 348 tools/perf/util/build-id.c name_len = pos->long_name_len; name_len 354 tools/perf/util/build-id.c err = write_buildid(name, name_len, pos->build_id, machine->pid, name_len 309 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c amd_fam14h_monitor.name_len = strlen(amd_fam14h_monitor.name); name_len 187 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c cpuidle_sysfs_monitor.name_len = strlen(cpuidle_sysfs_monitor.name); name_len 55 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.h int name_len; name_len 168 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c intel_hsw_ext_monitor.name_len = strlen(intel_hsw_ext_monitor.name); name_len 315 tools/power/cpupower/utils/idle_monitor/mperf_monitor.c mperf_monitor.name_len = strlen(mperf_monitor.name); name_len 188 tools/power/cpupower/utils/idle_monitor/nhm_idle.c intel_nhm_monitor.name_len = strlen(intel_nhm_monitor.name); name_len 173 tools/power/cpupower/utils/idle_monitor/snb_idle.c intel_snb_monitor.name_len = strlen(intel_snb_monitor.name); name_len 25 tools/testing/selftests/android/ion/ionmap_test.c version.name_len = 4; name_len 24 tools/testing/selftests/bpf/prog_tests/obj_name.c size_t name_len = strlen(tests[i].name) + 1; name_len 30 tools/testing/selftests/bpf/prog_tests/obj_name.c ncopy = name_len < sizeof(attr.prog_name) ? name_len 31 tools/testing/selftests/bpf/prog_tests/obj_name.c name_len : sizeof(attr.prog_name); name_len 51 tools/testing/selftests/bpf/prog_tests/obj_name.c ncopy = name_len < sizeof(attr.map_name) ? name_len 52 tools/testing/selftests/bpf/prog_tests/obj_name.c name_len : sizeof(attr.map_name); name_len 35 usr/gen_init_cpio.c unsigned int name_len = strlen(name) + 1; name_len 39 usr/gen_init_cpio.c offset += name_len; name_len 52 usr/gen_init_cpio.c unsigned int name_len = strlen(name) + 1; name_len 57 usr/gen_init_cpio.c offset += name_len; name_len 59 usr/gen_init_cpio.c tmp_ofs = name_len + 110;