[go: nahoru, domu]

Searched refs:lbuf (Results 1 - 11 of 11) sorted by relevance

/drivers/pci/hotplug/
H A Dacpiphp_ibm.c288 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 Dmr.c204 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 Dled.c183 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 Dvgaarb.c844 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 Dplip.c589 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 Ddock.c558 unsigned long long lbuf; local
561 "_UID", NULL, &lbuf);
565 return snprintf(buf, PAGE_SIZE, "%llx\n", lbuf);
/drivers/s390/crypto/
H A Dzcrypt_api.c1287 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 Dcmd.c663 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 Dpcan_usb.c678 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 Dqib_iba6120.c3362 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 Dqib_iba7220.c3370 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);

Completed in 318 milliseconds