/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | devlink_port.c | 13 ppid->id_len = sizeof(parent_id); in mlx5_esw_get_port_parent_id() 48 memcpy(attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc() 49 attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc() 52 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc() 53 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc() 56 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc() 57 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc()
|
/kernel/linux/linux-5.10/fs/nfsd/ |
D | blocklayout.c | 227 size_t bufflen = 252, maxlen = 65532, len, id_len; in nfsd4_scsi_identify_device() local 279 for (d = buf + 4; d < buf + len; d += id_len + 4) { in nfsd4_scsi_identify_device() 280 id_len = d[3]; in nfsd4_scsi_identify_device() 292 if (id_len != 8 && id_len != 12 && id_len != 16) in nfsd4_scsi_identify_device() 298 b->scsi.designator_len = id_len; in nfsd4_scsi_identify_device() 299 memcpy(b->scsi.designator, d + 4, id_len); in nfsd4_scsi_identify_device() 306 if (id_len == 16) in nfsd4_scsi_identify_device()
|
/kernel/linux/linux-5.10/drivers/mtd/spi-nor/ |
D | core.h | 263 u8 id_len; member 328 .id_len = (!(_jedec_id) ? 0 : (3 + ((_ext_id) ? 2 : 0))), \ 343 .id_len = 6, \ 362 .id_len = 3, \
|
D | core.c | 2049 if (parts[i].id_len && in spi_nor_search_part_by_id() 2050 !memcmp(parts[i].id, id, parts[i].id_len)) in spi_nor_search_part_by_id() 3088 info->id_len, info->id); in spi_nor_debugfs_init() 3108 if (name && info->id_len) { in spi_nor_get_flash_info()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/ |
D | prestera_devlink.c | 78 attrs.switch_id.id_len = sizeof(sw->id); in prestera_devlink_port_register() 79 memcpy(attrs.switch_id.id, &sw->id, attrs.switch_id.id_len); in prestera_devlink_port_register()
|
/kernel/linux/linux-5.10/crypto/ |
D | sm2.c | 262 const unsigned char *id, size_t id_len, in sm2_compute_z_digest() argument 271 if (id_len > (USHRT_MAX / 8) || !ec->Q) in sm2_compute_z_digest() 274 bits_len = (uint16_t)(id_len * 8); in sm2_compute_z_digest() 283 crypto_sm3_update(desc, id, id_len); in sm2_compute_z_digest()
|
/kernel/linux/linux-5.10/include/crypto/ |
D | sm2.h | 22 const unsigned char *id, size_t id_len,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
D | nfp_port.c | 43 ppid->id_len = nfp_cpp_serial(port->app->cpp, &serial); in nfp_port_get_port_parent_id() 44 memcpy(&ppid->id, serial, ppid->id_len); in nfp_port_get_port_parent_id()
|
D | nfp_devlink.c | 373 attrs.switch_id.id_len = serial_len; in nfp_devlink_port_register()
|
/kernel/linux/linux-5.10/drivers/target/ |
D | target_core_spc.c | 178 u16 len = 0, id_len; in spc_emulate_evpd_83() local 232 id_len = 8; /* For Vendor field */ in spc_emulate_evpd_83() 242 id_len += sprintf(&buf[off+12], "%s:%s", prod, in spc_emulate_evpd_83() 253 id_len++; in spc_emulate_evpd_83() 255 buf[off+3] = id_len; in spc_emulate_evpd_83() 257 len += (id_len + 4); in spc_emulate_evpd_83() 258 off += (id_len + 4); in spc_emulate_evpd_83()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | scsi_lib.c | 3065 int scsi_vpd_lun_id(struct scsi_device *sdev, char *id, size_t id_len) in scsi_vpd_lun_id() argument 3081 if (id_len < 21) { in scsi_vpd_lun_id() 3086 memset(id, 0, id_len); in scsi_vpd_lun_id() 3101 if (cur_id_size + 4 > id_len) in scsi_vpd_lun_id() 3102 cur_id_size = id_len - 4; in scsi_vpd_lun_id() 3104 id_size = snprintf(id, id_len, "t10.%*pE", in scsi_vpd_lun_id() 3114 id_size = snprintf(id, id_len, in scsi_vpd_lun_id() 3119 id_size = snprintf(id, id_len, in scsi_vpd_lun_id() 3124 id_size = snprintf(id, id_len, in scsi_vpd_lun_id() 3139 id_size = snprintf(id, id_len, in scsi_vpd_lun_id() [all …]
|
/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
D | dev.c | 925 memcpy(attrs.switch_id.id, nsim_dev->switch_id.id, nsim_dev->switch_id.id_len); in __nsim_dev_port_add() 926 attrs.switch_id.id_len = nsim_dev->switch_id.id_len; in __nsim_dev_port_add() 1065 nsim_dev->switch_id.id_len = sizeof(nsim_dev->switch_id.id); in nsim_dev_probe() 1066 get_random_bytes(nsim_dev->switch_id.id, nsim_dev->switch_id.id_len); in nsim_dev_probe()
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | nfs4idmap.c | 354 int id_len; in nfs_idmap_lookup_name() local 357 id_len = nfs_map_numeric_to_string(id, id_str, sizeof(id_str)); in nfs_idmap_lookup_name() 358 ret = nfs_idmap_get_key(id_str, id_len, type, buf, buflen, idmap); in nfs_idmap_lookup_name()
|
/kernel/linux/linux-5.10/net/wireless/ |
D | scan.c | 218 u8 id_len, ext_id_len, i, loop_len, id; in cfg80211_is_element_inherited() local 234 id_len = non_inherit_elem->data[1]; in cfg80211_is_element_inherited() 235 if (non_inherit_elem->datalen < 3 + id_len) in cfg80211_is_element_inherited() 238 ext_id_len = non_inherit_elem->data[2 + id_len]; in cfg80211_is_element_inherited() 239 if (non_inherit_elem->datalen < 3 + id_len + ext_id_len) in cfg80211_is_element_inherited() 246 list = &non_inherit_elem->data[3 + id_len]; in cfg80211_is_element_inherited() 249 if (!id_len) in cfg80211_is_element_inherited() 251 loop_len = id_len; in cfg80211_is_element_inherited()
|
/kernel/linux/linux-5.10/drivers/of/ |
D | base.c | 2270 u32 id_len = be32_to_cpup(map + 3); in of_map_id() local 2279 if (masked_id < id_base || masked_id >= id_base + id_len) in of_map_id() 2301 id_len, id, masked_id - id_base + out_base); in of_map_id()
|
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/ |
D | core.c | 208 ppid->id_len = sizeof(bus->hw_id); in qtnf_netdev_port_parent_id() 209 memcpy(&ppid->id, bus->hw_id, ppid->id_len); in qtnf_netdev_port_parent_id()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | ipmr.c | 887 memcpy(v->dev_parent_id.id, ppid.id, ppid.id_len); in vif_add() 888 v->dev_parent_id.id_len = ppid.id_len; in vif_add() 890 v->dev_parent_id.id_len = 0; in vif_add() 1798 if (!out_vif->dev_parent_id.id_len || !in_vif->dev_parent_id.id_len) in ipmr_forward_offloaded()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/ |
D | ocelot_net.c | 613 ppid->id_len = sizeof(ocelot->base_mac); in ocelot_get_port_parent_id() 614 memcpy(&ppid->id, &ocelot->base_mac, ppid->id_len); in ocelot_get_port_parent_id()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | ef100_nic.c | 620 ppid->id_len = ETH_ALEN; in efx_ef100_get_phys_port_id() 621 memcpy(ppid->id, nic_data->port_id, ppid->id_len); in efx_ef100_get_phys_port_id()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/ |
D | lio_vf_rep.c | 455 ppid->id_len = ETH_ALEN; in lio_vf_get_port_parent_id()
|
/kernel/linux/linux-5.10/security/apparmor/ |
D | apparmorfs.c | 1690 int len, id_len; in __aafs_profile_mkdir() local 1692 id_len = snprintf(NULL, 0, ".%ld", profile->ns->uniq_id); in __aafs_profile_mkdir() 1694 profile->dirname = kmalloc(len + id_len + 1, GFP_KERNEL); in __aafs_profile_mkdir()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0017_linux_drivers_dma_dmabuf.patch | 1285 + char chanid[3], id_len = 0; 1314 + id_len = strlen(txirq_name) - strlen(CHAN_PREFIX) - 1316 + if (id_len > 2) { 1322 + strncpy(p, txirq_name + strlen(CHAN_PREFIX), id_len); 1323 + *(p + id_len) = '\0'; 1341 + strncpy(clk_name, txirq_name, strlen(CHAN_PREFIX) + id_len); 1342 + strcpy(clk_name + strlen(CHAN_PREFIX) + id_len, CLK_POSFIX);
|
/kernel/linux/linux-5.10/include/linux/mtd/ |
D | rawnand.h | 1389 uint16_t id_len; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_devlink.c | 781 attrs.switch_id.id_len = sizeof(bp->dsn); in bnxt_dl_register()
|
/kernel/linux/linux-5.10/include/linux/ |
D | netdevice.h | 843 unsigned char id_len; member 849 return a->id_len == b->id_len && in netdev_phys_item_id_same() 850 memcmp(a->id, b->id, a->id_len) == 0; in netdev_phys_item_id_same()
|