Home
last modified time | relevance | path

Searched refs:lbuf (Results 1 – 14 of 14) sorted by relevance

/linux-2.6.39/fs/jfs/
Djfs_logmgr.c85 static struct lbuf *log_redrive_list;
186 static struct lbuf *lbmAllocate(struct jfs_log * log, int);
187 static void lbmFree(struct lbuf * bp);
188 static void lbmfree(struct lbuf * bp);
189 static int lbmRead(struct jfs_log * log, int pn, struct lbuf ** bpp);
190 static void lbmWrite(struct jfs_log * log, struct lbuf * bp, int flag, int cant_block);
191 static void lbmDirectWrite(struct jfs_log * log, struct lbuf * bp, int flag);
192 static int lbmIOWait(struct lbuf * bp, int flag);
194 static void lbmStartIO(struct lbuf * bp);
360 struct lbuf *bp; /* dst log page buffer */ in lmWriteRecord()
[all …]
Djfs_logmgr.h381 struct lbuf *lbuf_free; /* 4: free lbufs */
388 struct lbuf *bp; /* 4: current log page buffer */
411 struct lbuf *wqueue; /* 4: log pageout queue */
447 struct lbuf { struct
455 struct lbuf *l_wqnext; /* 4: write queue link */ argument
456 struct lbuf *l_freelist; /* 4: freelistlink */ argument
Djfs_txnmgr.h58 struct lbuf *bp;
/linux-2.6.39/arch/powerpc/platforms/pseries/
Dhvconsole.c63 unsigned long *lbuf = (unsigned long *) buf; in hvc_put_chars() local
71 ret = plpar_hcall_norets(H_PUT_TERM_CHAR, vtermno, count, lbuf[0], in hvc_put_chars()
72 lbuf[1]); in hvc_put_chars()
Dplpar_wrappers.h254 unsigned long *lbuf = (unsigned long *)buf_ret; /* TODO: alignment? */ in plpar_get_term_char() local
259 lbuf[0] = retbuf[1]; in plpar_get_term_char()
260 lbuf[1] = retbuf[2]; in plpar_get_term_char()
268 unsigned long *lbuf = (unsigned long *)buffer; /* TODO: alignment? */ in plpar_put_term_char() local
269 return plpar_hcall_norets(H_PUT_TERM_CHAR, termno, len, lbuf[0], in plpar_put_term_char()
270 lbuf[1]); in plpar_put_term_char()
/linux-2.6.39/drivers/pci/hotplug/
Dacpiphp_ibm.c300 char *lbuf = NULL; in ibm_get_table_from_acpi() local
328 lbuf = kzalloc(size, GFP_KERNEL); in ibm_get_table_from_acpi()
330 __func__, package->package.count, size, lbuf); in ibm_get_table_from_acpi()
332 if (lbuf) { in ibm_get_table_from_acpi()
333 *bufp = lbuf; in ibm_get_table_from_acpi()
341 memcpy(&lbuf[size], in ibm_get_table_from_acpi()
/linux-2.6.39/drivers/parisc/
Dled.c183 char *cur, lbuf[32]; in led_proc_write() local
189 if (count >= sizeof(lbuf)) in led_proc_write()
190 count = sizeof(lbuf)-1; in led_proc_write()
192 if (copy_from_user(lbuf, buf, count)) in led_proc_write()
194 lbuf[count] = 0; in led_proc_write()
196 cur = lbuf; in led_proc_write()
/linux-2.6.39/drivers/gpu/vga/
Dvgaarb.c766 char *lbuf; in vga_arb_read() local
768 lbuf = kmalloc(1024, GFP_KERNEL); in vga_arb_read()
769 if (lbuf == NULL) in vga_arb_read()
781 len = sprintf(lbuf, "invalid"); in vga_arb_read()
794 len = sprintf(lbuf, "invalid"); in vga_arb_read()
799 len = snprintf(lbuf, 1024, in vga_arb_read()
813 rc = copy_to_user(buf, lbuf, len); in vga_arb_read()
814 kfree(lbuf); in vga_arb_read()
/linux-2.6.39/drivers/s390/crypto/
Dzcrypt_api.c1056 unsigned char *lbuf, *ptr; in zcrypt_proc_write() local
1064 lbuf = kmalloc(LBUFSIZE, GFP_KERNEL); in zcrypt_proc_write()
1065 if (!lbuf) in zcrypt_proc_write()
1069 if (copy_from_user(lbuf, buffer, local_count) != 0) { in zcrypt_proc_write()
1070 kfree(lbuf); in zcrypt_proc_write()
1073 lbuf[local_count] = '\0'; in zcrypt_proc_write()
1075 ptr = strstr(lbuf, "Online devices"); in zcrypt_proc_write()
1103 kfree(lbuf); in zcrypt_proc_write()
/linux-2.6.39/drivers/net/
Dplip.c590 unsigned char *lbuf; in plip_receive_packet() local
646 lbuf = rcv->skb->data; in plip_receive_packet()
649 &rcv->nibble, &lbuf[rcv->byte])) in plip_receive_packet()
653 rcv->checksum += lbuf[--rcv->byte]; in plip_receive_packet()
751 unsigned char *lbuf; in plip_send_packet() local
755 if (snd->skb == NULL || (lbuf = snd->skb->data) == NULL) { in plip_send_packet()
827 &snd->nibble, lbuf[snd->byte])) in plip_send_packet()
831 snd->checksum += lbuf[--snd->byte]; in plip_send_packet()
/linux-2.6.39/drivers/acpi/
Ddock.c883 unsigned long long lbuf; in show_dock_uid() local
886 "_UID", NULL, &lbuf); in show_dock_uid()
890 return snprintf(buf, PAGE_SIZE, "%llx\n", lbuf); in show_dock_uid()
/linux-2.6.39/drivers/mmc/card/
Dmmc_test.c2393 char lbuf[12]; local
2396 if (count >= sizeof(lbuf))
2399 if (copy_from_user(lbuf, buf, count))
2401 lbuf[count] = '\0';
2403 if (strict_strtol(lbuf, 10, &testcase))
/linux-2.6.39/drivers/infiniband/hw/qib/
Dqib_iba6120.c3348 u32 lbuf = ppd->dd->piobcnt2k + ppd->dd->piobcnt4k - 1; in get_6120_link_buf() local
3356 buf = qib_getsendbuf_range(ppd->dd, bnum, lbuf, lbuf); in get_6120_link_buf()
3364 buf = qib_getsendbuf_range(ppd->dd, bnum, lbuf, lbuf); in get_6120_link_buf()
Dqib_iba7220.c3342 u32 lbuf = ppd->dd->cspec->lastbuf_for_pio; in get_7220_link_buf() local
3352 buf = qib_getsendbuf_range(ppd->dd, bnum, lbuf, lbuf); in get_7220_link_buf()
3369 buf = qib_getsendbuf_range(ppd->dd, bnum, lbuf, lbuf); in get_7220_link_buf()