id_len           4544 drivers/mtd/nand/raw/nand_base.c 	return type->id_len;
id_len           4556 drivers/mtd/nand/raw/nand_base.c 	if (!strncmp(type->id, id_data, type->id_len)) {
id_len            188 drivers/mtd/spi-nor/spi-nor.c 	u8		id_len;
id_len           2043 drivers/mtd/spi-nor/spi-nor.c 		.id_len = (!(_jedec_id) ? 0 : (3 + ((_ext_id) ? 2 : 0))),	\
id_len           2058 drivers/mtd/spi-nor/spi-nor.c 		.id_len = 6,						\
id_len           2077 drivers/mtd/spi-nor/spi-nor.c 		.id_len = 3,						\
id_len           2534 drivers/mtd/spi-nor/spi-nor.c 		if (info->id_len) {
id_len           2535 drivers/mtd/spi-nor/spi-nor.c 			if (!memcmp(info->id, id, info->id_len))
id_len           4783 drivers/mtd/spi-nor/spi-nor.c 					 info->id_len, info->id);
id_len           4803 drivers/mtd/spi-nor/spi-nor.c 	if (name && info->id_len) {
id_len           12964 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	ppid->id_len = sizeof(bp->phys_port_id);
id_len           12965 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	memcpy(ppid->id, bp->phys_port_id, ppid->id_len);
id_len           11320 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	ppid->id_len = sizeof(bp->switch_id);
id_len           11321 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	memcpy(ppid->id, bp->switch_id, ppid->id_len);
id_len           3199 drivers/net/ethernet/cavium/liquidio/lio_main.c 	ppid->id_len = ETH_ALEN;
id_len            455 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c 	ppid->id_len = ETH_ALEN;
id_len            575 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	u8 id_len[2];
id_len           2846 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	ppid->id_len = sizeof(phy_port_id);
id_len           2847 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	memcpy(ppid->id, &phy_port_id, ppid->id_len);
id_len           2755 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 	unsigned int vpdr_len, kw_offset, id_len;
id_len           2786 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 	id_len = pci_vpd_lrdt_size(vpd);
id_len           2787 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 	if (id_len > ID_LEN)
id_len           2788 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 		id_len = ID_LEN;
id_len           2832 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 	memcpy(p->id, vpd + PCI_VPD_LRDT_TAG_SIZE, id_len);
id_len           5263 drivers/net/ethernet/emulex/benet/be_main.c 	int i, id_len = CNTL_SERIAL_NUM_WORDS * CNTL_SERIAL_NUM_WORD_SZ + 1;
id_len           5267 drivers/net/ethernet/emulex/benet/be_main.c 	if (MAX_PHYS_ITEM_ID_LEN < id_len)
id_len           5276 drivers/net/ethernet/emulex/benet/be_main.c 	ppid->id_len = id_len;
id_len           12269 drivers/net/ethernet/intel/i40e/i40e_main.c 	ppid->id_len = min_t(int, sizeof(hw->mac.port_addr), sizeof(ppid->id));
id_len           12270 drivers/net/ethernet/intel/i40e/i40e_main.c 	memcpy(ppid->id, hw->mac.port_addr, ppid->id_len);
id_len           2632 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	ppid->id_len = sizeof(phys_port_id);
id_len            404 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 	ppid->id_len = sizeof(parent_id);
id_len           1829 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 				       &ppid.id[0], ppid.id_len);
id_len           1833 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 					      &ppid.id[0], ppid.id_len,
id_len           1839 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 					      &ppid.id[0], ppid.id_len,
id_len            978 drivers/net/ethernet/mscc/ocelot.c 	ppid->id_len = sizeof(ocelot->base_mac);
id_len            979 drivers/net/ethernet/mscc/ocelot.c 	memcpy(&ppid->id, &ocelot->base_mac, ppid->id_len);
id_len             43 drivers/net/ethernet/netronome/nfp/nfp_port.c 	ppid->id_len = nfp_cpp_serial(port->app->cpp, &serial);
id_len             44 drivers/net/ethernet/netronome/nfp/nfp_port.c 	memcpy(&ppid->id, serial, ppid->id_len);
id_len            468 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 	ppid->id_len = sizeof(ahw->phys_port_id);
id_len            469 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 	memcpy(ppid->id, ahw->phys_port_id, ppid->id_len);
id_len           2043 drivers/net/ethernet/rocker/rocker_main.c 	ppid->id_len = sizeof(rocker->hw.id);
id_len           2044 drivers/net/ethernet/rocker/rocker_main.c 	memcpy(&ppid->id, &rocker->hw.id, ppid->id_len);
id_len           6309 drivers/net/ethernet/sfc/ef10.c 	ppid->id_len = ETH_ALEN;
id_len           6310 drivers/net/ethernet/sfc/ef10.c 	memcpy(ppid->id, nic_data->port_id, ppid->id_len);
id_len            672 drivers/net/netdevsim/dev.c 	nsim_dev->switch_id.id_len = sizeof(nsim_dev->switch_id.id);
id_len            673 drivers/net/netdevsim/dev.c 	get_random_bytes(nsim_dev->switch_id.id, nsim_dev->switch_id.id_len);
id_len            765 drivers/net/netdevsim/dev.c 			       nsim_dev->switch_id.id_len);
id_len            245 drivers/scsi/csiostor/csio_hw.c 	u8  id_len[2];
id_len           2935 drivers/scsi/scsi_lib.c int scsi_vpd_lun_id(struct scsi_device *sdev, char *id, size_t id_len)
id_len           2965 drivers/scsi/scsi_lib.c 	if (id_len < 21) {
id_len           2970 drivers/scsi/scsi_lib.c 	memset(id, 0, id_len);
id_len           2986 drivers/scsi/scsi_lib.c 			if (cur_id_size + 4 > id_len)
id_len           2987 drivers/scsi/scsi_lib.c 				cur_id_size = id_len - 4;
id_len           2990 drivers/scsi/scsi_lib.c 			id_size = snprintf(id, id_len, "t10.%*pE",
id_len           3006 drivers/scsi/scsi_lib.c 				id_size = snprintf(id, id_len,
id_len           3011 drivers/scsi/scsi_lib.c 				id_size = snprintf(id, id_len,
id_len           3016 drivers/scsi/scsi_lib.c 				id_size = snprintf(id, id_len,
id_len           3034 drivers/scsi/scsi_lib.c 				id_size = snprintf(id, id_len,
id_len           3039 drivers/scsi/scsi_lib.c 				id_size = snprintf(id, id_len,
id_len           3053 drivers/scsi/scsi_lib.c 			if (cur_id_size && d[3] > id_len)
id_len           3058 drivers/scsi/scsi_lib.c 			if (cur_id_size >= id_len)
id_len           3059 drivers/scsi/scsi_lib.c 				cur_id_size = id_len - 1;
id_len            533 drivers/staging/fsl-dpaa2/ethsw/ethsw.c 	ppid->id_len = 1;
id_len            178 drivers/target/target_core_spc.c 	u16 len = 0, id_len;
id_len            232 drivers/target/target_core_spc.c 	id_len = 8; /* For Vendor field */
id_len            242 drivers/target/target_core_spc.c 		id_len += sprintf(&buf[off+12], "%s:%s", prod,
id_len            253 drivers/target/target_core_spc.c 	id_len++;
id_len            255 drivers/target/target_core_spc.c 	buf[off+3] = id_len;
id_len            257 drivers/target/target_core_spc.c 	len += (id_len + 4);
id_len            258 drivers/target/target_core_spc.c 	off += (id_len + 4);
id_len            353 fs/nfs/nfs4idmap.c 	int id_len;
id_len            356 fs/nfs/nfs4idmap.c 	id_len = nfs_map_numeric_to_string(id, id_str, sizeof(id_str));
id_len            357 fs/nfs/nfs4idmap.c 	ret = nfs_idmap_get_key(id_str, id_len, type, buf, buflen, idmap);
id_len            227 fs/nfsd/blocklayout.c 	size_t bufflen = 252, maxlen = 65532, len, id_len;
id_len            279 fs/nfsd/blocklayout.c 	for (d = buf + 4; d < buf + len; d += id_len + 4) {
id_len            280 fs/nfsd/blocklayout.c 		id_len = d[3];
id_len            292 fs/nfsd/blocklayout.c 		if (id_len != 8 && id_len != 12 && id_len != 16)
id_len            298 fs/nfsd/blocklayout.c 		b->scsi.designator_len = id_len;
id_len            299 fs/nfsd/blocklayout.c 		memcpy(b->scsi.designator, d + 4, id_len);
id_len            306 fs/nfsd/blocklayout.c 		if (id_len == 16)
id_len           1256 include/linux/mtd/rawnand.h 	uint16_t id_len;
id_len            824 include/linux/netdevice.h 	unsigned char id_len;
id_len            830 include/linux/netdevice.h 	return a->id_len == b->id_len &&
id_len            831 include/linux/netdevice.h 	       memcmp(a->id, b->id, a->id_len) == 0;
id_len           8241 net/core/dev.c 		if (!first.id_len)
id_len           6476 net/core/devlink.c 		attrs->switch_id.id_len = switch_id_len;
id_len            459 net/core/net-sysfs.c 			ret = sprintf(buf, "%*phN\n", ppid.id_len, ppid.id);
id_len            503 net/core/net-sysfs.c 			ret = sprintf(buf, "%*phN\n", ppid.id_len, ppid.id);
id_len           1123 net/core/rtnetlink.c 	if (nla_put(skb, IFLA_PHYS_PORT_ID, ppid.id_len, ppid.id))
id_len           1159 net/core/rtnetlink.c 	if (nla_put(skb, IFLA_PHYS_SWITCH_ID, ppid.id_len, ppid.id))
id_len            441 net/dsa/slave.c 	ppid->id_len = sizeof(dst->index);
id_len            442 net/dsa/slave.c 	memcpy(&ppid->id, &dst->index, ppid->id_len);
id_len            916 net/ipv4/ipmr.c 		memcpy(v->dev_parent_id.id, ppid.id, ppid.id_len);
id_len            917 net/ipv4/ipmr.c 		v->dev_parent_id.id_len = ppid.id_len;
id_len            919 net/ipv4/ipmr.c 		v->dev_parent_id.id_len = 0;
id_len           1823 net/ipv4/ipmr.c 	if (!out_vif->dev_parent_id.id_len || !in_vif->dev_parent_id.id_len)
id_len            185 net/wireless/scan.c 	u8 id_len, ext_id_len, i, loop_len, id;
id_len            201 net/wireless/scan.c 	id_len = non_inherit_elem->data[1];
id_len            202 net/wireless/scan.c 	if (non_inherit_elem->datalen < 3 + id_len)
id_len            205 net/wireless/scan.c 	ext_id_len = non_inherit_elem->data[2 + id_len];
id_len            206 net/wireless/scan.c 	if (non_inherit_elem->datalen < 3 + id_len + ext_id_len)
id_len            213 net/wireless/scan.c 		list = &non_inherit_elem->data[3 + id_len];
id_len            216 net/wireless/scan.c 		if (!id_len)
id_len            218 net/wireless/scan.c 		loop_len = id_len;
id_len           1602 security/apparmor/apparmorfs.c 		int len, id_len;
id_len           1604 security/apparmor/apparmorfs.c 		id_len = snprintf(NULL, 0, ".%ld", profile->ns->uniq_id);
id_len           1606 security/apparmor/apparmorfs.c 		profile->dirname = kmalloc(len + id_len + 1, GFP_KERNEL);