Searched refs:strnlen (Results 1 - 25 of 202) sorted by last modified time

123456789

/linux-master/drivers/usb/gadget/function/
H A Df_fs.c3107 size_t length = strnlen(data, len);
/linux-master/drivers/usb/gadget/
H A Dcomposite.c900 if (strnlen(cdev->landing_page, sizeof(cdev->landing_page)) > 0)
2184 landing_page_length = strnlen(cdev->landing_page,
/linux-master/fs/btrfs/
H A Dioctl.c4205 len = strnlen(label, BTRFS_LABEL_SIZE);
4234 if (strnlen(label, BTRFS_LABEL_SIZE) == BTRFS_LABEL_SIZE) {
/linux-master/drivers/nvme/host/
H A Dcore.c2744 nqnlen = strnlen(id->subnqn, NVMF_NQN_SIZE);
H A Dfc.c3646 if (strnlen(buf, blen) == NVME_FC_TRADDR_MAXLENGTH &&
3653 } else if ((strnlen(buf, blen) == NVME_FC_TRADDR_MINLENGTH &&
/linux-master/net/bluetooth/
H A Dmgmt.c1192 name_len = strnlen(hdev->dev_name, sizeof(hdev->dev_name));
1196 name_len = strnlen(hdev->short_name, sizeof(hdev->short_name));
H A Dhci_event.c3576 strnlen(ev->name, HCI_MAX_NAME_LENGTH));
H A Dhci_sock.c492 strnlen(hdev->name, sizeof(ni->name)), '\0');
/linux-master/fs/smb/client/
H A Dmisc.c1318 len = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1) + strlen(full_path) + 1;
H A Dconnect.c3770 length = strnlen(bcc_ptr, bytes_left - 2);
H A Dfs_context.c1302 if (strnlen(param->string, CIFS_MAX_USERNAME_LEN) >
1351 if (strnlen(param->string, CIFS_MAX_DOMAINNAME_LEN)
1375 if (strnlen(param->string, 1024) >= 65) {
1663 for (i = 0; i < strnlen(nodename, RFC1001_NAME_LEN); i++)
H A Dinode.c720 fattr->cf_eof = strnlen(data->symlink_target, PATH_MAX);
801 fattr->cf_eof = strnlen(data->symlink_target, PATH_MAX);
H A Ddir.c53 dfsplen = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1);
95 dfsplen = strnlen(tree, tree_len + 1);
H A Dcifssmb.c5828 name_len = strnlen(ea_name, 255);
/linux-master/net/netfilter/
H A Dnf_tables_api.c4480 if (strnlen(name, NFT_SET_MAX_ANONLEN) >= NFT_SET_MAX_ANONLEN)
/linux-master/net/core/
H A Ddev.c190 unsigned int hash = full_name_hash(net, name, strnlen(name, IFNAMSIZ));
1029 if (strnlen(name, IFNAMSIZ) == IFNAMSIZ)
/linux-master/drivers/ata/
H A Dlibata-core.c1128 p = s + strnlen(s, len - 1);
/linux-master/include/linux/
H A Dsockptr.h150 size_t len = min(strnlen(src.kernel, count - 1) + 1, count);
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_device.c3797 if (strnlen(input, AMDGPU_MAX_TIMEOUT_PARAM_LENGTH)) {
3799 strnlen(timeout_setting, AMDGPU_MAX_TIMEOUT_PARAM_LENGTH)) {
/linux-master/fs/romfs/
H A Dsuper.c522 len = strnlen(rsb->name, ROMFS_MAXFN);
/linux-master/drivers/nvme/target/
H A Dfc.c2832 if (strnlen(buf, blen) == NVME_FC_TRADDR_MAXLENGTH &&
2839 } else if ((strnlen(buf, blen) == NVME_FC_TRADDR_MINLENGTH &&
/linux-master/drivers/mtd/devices/
H A Dblock2mtd.c416 if (strnlen(val, sizeof(buf)) >= sizeof(buf)) {
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_init.c14644 if (strncmp(fwrev, image->revision, strnlen(image->revision, 16))) {
H A Dlpfc_debugfs.c490 return strnlen(buf, size);
507 return strnlen(buf, size);
517 return strnlen(buf, size);
522 return strnlen(buf, size);
566 return strnlen(buf, size);
1291 len = strnlen(buf, size);
1796 len = strnlen(buf, size);
H A Dlpfc_attr.c281 len = strnlen(buf, PAGE_SIZE);
688 len = strnlen(buf, PAGE_SIZE);
749 len = strnlen(buf, PAGE_SIZE);

Completed in 764 milliseconds

123456789