Searched refs:strnlen (Results 1 - 25 of 202) sorted by last modified time
123456789
/linux-master/drivers/usb/gadget/function/ |
H A D | f_fs.c | 3107 size_t length = strnlen(data, len);
|
/linux-master/drivers/usb/gadget/ |
H A D | composite.c | 900 if (strnlen(cdev->landing_page, sizeof(cdev->landing_page)) > 0) 2184 landing_page_length = strnlen(cdev->landing_page,
|
/linux-master/fs/btrfs/ |
H A D | ioctl.c | 4205 len = strnlen(label, BTRFS_LABEL_SIZE); 4234 if (strnlen(label, BTRFS_LABEL_SIZE) == BTRFS_LABEL_SIZE) {
|
/linux-master/drivers/nvme/host/ |
H A D | core.c | 2744 nqnlen = strnlen(id->subnqn, NVMF_NQN_SIZE);
|
H A D | fc.c | 3646 if (strnlen(buf, blen) == NVME_FC_TRADDR_MAXLENGTH && 3653 } else if ((strnlen(buf, blen) == NVME_FC_TRADDR_MINLENGTH &&
|
/linux-master/net/bluetooth/ |
H A D | mgmt.c | 1192 name_len = strnlen(hdev->dev_name, sizeof(hdev->dev_name)); 1196 name_len = strnlen(hdev->short_name, sizeof(hdev->short_name));
|
H A D | hci_event.c | 3576 strnlen(ev->name, HCI_MAX_NAME_LENGTH));
|
H A D | hci_sock.c | 492 strnlen(hdev->name, sizeof(ni->name)), '\0');
|
/linux-master/fs/smb/client/ |
H A D | misc.c | 1318 len = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1) + strlen(full_path) + 1;
|
H A D | connect.c | 3770 length = strnlen(bcc_ptr, bytes_left - 2);
|
H A D | fs_context.c | 1302 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 D | inode.c | 720 fattr->cf_eof = strnlen(data->symlink_target, PATH_MAX); 801 fattr->cf_eof = strnlen(data->symlink_target, PATH_MAX);
|
H A D | dir.c | 53 dfsplen = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1); 95 dfsplen = strnlen(tree, tree_len + 1);
|
H A D | cifssmb.c | 5828 name_len = strnlen(ea_name, 255);
|
/linux-master/net/netfilter/ |
H A D | nf_tables_api.c | 4480 if (strnlen(name, NFT_SET_MAX_ANONLEN) >= NFT_SET_MAX_ANONLEN)
|
/linux-master/net/core/ |
H A D | dev.c | 190 unsigned int hash = full_name_hash(net, name, strnlen(name, IFNAMSIZ)); 1029 if (strnlen(name, IFNAMSIZ) == IFNAMSIZ)
|
/linux-master/drivers/ata/ |
H A D | libata-core.c | 1128 p = s + strnlen(s, len - 1);
|
/linux-master/include/linux/ |
H A D | sockptr.h | 150 size_t len = min(strnlen(src.kernel, count - 1) + 1, count);
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_device.c | 3797 if (strnlen(input, AMDGPU_MAX_TIMEOUT_PARAM_LENGTH)) { 3799 strnlen(timeout_setting, AMDGPU_MAX_TIMEOUT_PARAM_LENGTH)) {
|
/linux-master/fs/romfs/ |
H A D | super.c | 522 len = strnlen(rsb->name, ROMFS_MAXFN);
|
/linux-master/drivers/nvme/target/ |
H A D | fc.c | 2832 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 D | block2mtd.c | 416 if (strnlen(val, sizeof(buf)) >= sizeof(buf)) {
|
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_init.c | 14644 if (strncmp(fwrev, image->revision, strnlen(image->revision, 16))) {
|
H A D | lpfc_debugfs.c | 490 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 D | lpfc_attr.c | 281 len = strnlen(buf, PAGE_SIZE); 688 len = strnlen(buf, PAGE_SIZE); 749 len = strnlen(buf, PAGE_SIZE);
|
Completed in 764 milliseconds
123456789