/drivers/of/ |
D | device.c | 182 int cplen, i; in of_device_get_modalias() local 193 compat = of_get_property(dev->of_node, "compatible", &cplen); in of_device_get_modalias() 198 for (i = (cplen - 1); i >= 0 && !compat[i]; i--) in of_device_get_modalias() 199 cplen--; in of_device_get_modalias() 200 if (!cplen) in of_device_get_modalias() 202 cplen++; in of_device_get_modalias() 205 tsize = csize + cplen; in of_device_get_modalias() 212 cplen = len - csize - 1; in of_device_get_modalias() 217 memcpy(&str[csize + 1], compat, cplen); in of_device_get_modalias() 237 int seen = 0, cplen, sl; in of_device_uevent() local [all …]
|
D | fdt.c | 94 int cplen; in of_fdt_is_compatible() local 97 cp = fdt_getprop(blob, node, "compatible", &cplen); in of_fdt_is_compatible() 100 while (cplen > 0) { in of_fdt_is_compatible() 106 cplen -= l; in of_fdt_is_compatible()
|
D | base.c | 1072 int cplen; in of_modalias_node() local 1074 compatible = of_get_property(node, "compatible", &cplen); in of_modalias_node() 1075 if (!compatible || strlen(compatible) > cplen) in of_modalias_node()
|
/drivers/macintosh/ |
D | macio_sysfs.c | 20 int cplen; in compatible_show() local 24 compat = of_get_property(of->dev.of_node, "compatible", &cplen); in compatible_show() 29 while (cplen > 0) { in compatible_show() 35 cplen -= l; in compatible_show()
|
/drivers/mtd/maps/ |
D | physmap_of.c | 109 int cplen; in of_get_probes() local 114 cp = of_get_property(dp, "linux,part-probe", &cplen); in of_get_probes() 119 for (l = 0; l != cplen; l++) in of_get_probes() 127 while (cplen > 0) { in of_get_probes() 131 cplen -= l; in of_get_probes()
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
D | firmware.c | 147 u32 cplen; in brcmf_nvram_handle_value() local 154 cplen = ekv - skv; in brcmf_nvram_handle_value() 155 if (nvp->nvram_len + cplen + 1 >= BRCMF_FW_MAX_NVRAM_SIZE) in brcmf_nvram_handle_value() 158 memcpy(&nvp->nvram[nvp->nvram_len], skv, cplen); in brcmf_nvram_handle_value() 159 nvp->nvram_len += cplen; in brcmf_nvram_handle_value()
|
/drivers/scsi/ |
D | eata_pio.c | 392 outsw(base + HA_RDATA, cp, hd->cplen); in eata_pio_queue_lck() 512 …data(unsigned long base, unsigned int irq, unsigned int id, unsigned long cplen, unsigned short cp… in get_pio_board_data() argument 543 outsw(base + HA_RDATA, &cp, cplen); in get_pio_board_data() 660 unsigned long cplen; in register_pio_HBA() local 673 …if ((buff = get_pio_board_data(base, gc->IRQ, gc->scsi_id[3], cplen = (cpu_to_be32(gc->cplen) + 1)… in register_pio_HBA() 752 SD(sh)->cplen = cplen; in register_pio_HBA()
|
D | eata_generic.h | 231 __u32 cplen; /* CP length: number of valid cp bytes */ member 351 __u32 cplen; /* size of CP in words */ member
|
/drivers/staging/lustre/lustre/lov/ |
D | lov_ea.c | 299 int cplen = 0; in lsm_unpackmd_v3() local 307 cplen = strlcpy(lsm->lsm_pool_name, lmm->lmm_pool_name, in lsm_unpackmd_v3() 309 if (cplen >= sizeof(lsm->lsm_pool_name)) in lsm_unpackmd_v3()
|
D | lov_pack.c | 122 int cplen = 0; in lov_packmd() local 208 cplen = strlcpy(lmmv3->lmm_pool_name, lsm->lsm_pool_name, in lov_packmd() 210 if (cplen >= sizeof(lmmv3->lmm_pool_name)) in lov_packmd()
|
/drivers/scsi/esas2r/ |
D | esas2r_int.c | 706 u32 cplen = length; in esas2r_lun_event() local 709 if (cplen > sizeof(t->lu_event)) in esas2r_lun_event() 710 cplen = sizeof(t->lu_event); in esas2r_lun_event() 738 memcpy(&t->lu_event, &ae->lu, cplen); in esas2r_lun_event()
|
/drivers/staging/lustre/lnet/selftest/ |
D | framework.c | 412 int cplen = 0; in sfw_make_session() local 432 cplen = strlcpy(&reply->mksn_name[0], &sn->sn_name[0], in sfw_make_session() 434 if (cplen >= sizeof(reply->mksn_name)) in sfw_make_session()
|