/drivers/pci/hotplug/ |
H A D | acpiphp_ibm.c | 288 char *lbuf = NULL; local 316 lbuf = kzalloc(size, GFP_KERNEL); 318 __func__, package->package.count, size, lbuf); 320 if (lbuf) { 321 *bufp = lbuf; 329 memcpy(&lbuf[size],
|
/drivers/infiniband/hw/mlx5/ |
H A D | mr.c | 204 char lbuf[20]; local 209 if (copy_from_user(lbuf, buf, sizeof(lbuf))) 213 lbuf[sizeof(lbuf) - 1] = 0; 215 if (sscanf(lbuf, "%u", &var) != 1) 240 char lbuf[20]; local 246 err = snprintf(lbuf, sizeof(lbuf), "%d\n", ent->size); 250 if (copy_to_user(buf, lbuf, er 270 char lbuf[20]; local 302 char lbuf[20]; local [all...] |
/drivers/parisc/ |
H A D | led.c | 183 char *cur, lbuf[32]; local 189 if (count >= sizeof(lbuf)) 190 count = sizeof(lbuf)-1; 192 if (copy_from_user(lbuf, buf, count)) 194 lbuf[count] = 0; 196 cur = lbuf;
|
/drivers/gpu/vga/ |
H A D | vgaarb.c | 844 char *lbuf; local 846 lbuf = kmalloc(1024, GFP_KERNEL); 847 if (lbuf == NULL) 859 len = sprintf(lbuf, "invalid"); 872 len = sprintf(lbuf, "invalid"); 877 len = snprintf(lbuf, 1024, 891 rc = copy_to_user(buf, lbuf, len); 892 kfree(lbuf);
|
/drivers/net/plip/ |
H A D | plip.c | 589 unsigned char *lbuf; local 645 lbuf = rcv->skb->data; 648 &rcv->nibble, &lbuf[rcv->byte])) 652 rcv->checksum += lbuf[--rcv->byte]; 750 unsigned char *lbuf; local 754 if (snd->skb == NULL || (lbuf = snd->skb->data) == NULL) { 826 &snd->nibble, lbuf[snd->byte])) 830 snd->checksum += lbuf[--snd->byte];
|
/drivers/acpi/ |
H A D | dock.c | 558 unsigned long long lbuf; local 561 "_UID", NULL, &lbuf); 565 return snprintf(buf, PAGE_SIZE, "%llx\n", lbuf);
|
/drivers/s390/crypto/ |
H A D | zcrypt_api.c | 1287 unsigned char *lbuf, *ptr; local 1295 lbuf = kmalloc(LBUFSIZE, GFP_KERNEL); 1296 if (!lbuf) 1300 if (copy_from_user(lbuf, buffer, local_count) != 0) { 1301 kfree(lbuf); 1304 lbuf[local_count] = '\0'; 1306 ptr = strstr(lbuf, "Online devices"); 1334 kfree(lbuf);
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | cmd.c | 663 char lbuf[3]; local 669 if (copy_from_user(lbuf, buf, sizeof(lbuf))) 672 lbuf[sizeof(lbuf) - 1] = 0; 674 if (strcmp(lbuf, "go"))
|
/drivers/net/can/usb/peak_usb/ |
H A D | pcan_usb.c | 678 static int pcan_usb_decode_msg(struct peak_usb_device *dev, u8 *ibuf, u32 lbuf) argument 683 .end = ibuf + lbuf,
|
/drivers/infiniband/hw/qib/ |
H A D | qib_iba6120.c | 3362 u32 lbuf = ppd->dd->piobcnt2k + ppd->dd->piobcnt4k - 1; local 3370 buf = qib_getsendbuf_range(ppd->dd, bnum, lbuf, lbuf); 3378 buf = qib_getsendbuf_range(ppd->dd, bnum, lbuf, lbuf);
|
H A D | qib_iba7220.c | 3370 u32 lbuf = ppd->dd->cspec->lastbuf_for_pio; local 3380 buf = qib_getsendbuf_range(ppd->dd, bnum, lbuf, lbuf); 3397 buf = qib_getsendbuf_range(ppd->dd, bnum, lbuf, lbuf);
|