Home
last modified time | relevance | path

Searched refs:nbuf (Results 1 – 2 of 2) sorted by relevance

/arch/x86/kernel/cpu/
Dperf_event_intel_bts.c75 int nbuf; in bts_buffer_free_aux() local
77 for (nbuf = 0; nbuf < buf->nr_bufs; nbuf++) { in bts_buffer_free_aux()
78 struct page *page = buf->buf[nbuf].page; in bts_buffer_free_aux()
96 int pg, nbuf, pad; in bts_buffer_setup_aux() local
99 for (pg = 0, nbuf = 0; pg < nr_pages;) { in bts_buffer_setup_aux()
104 nbuf++; in bts_buffer_setup_aux()
110 if (overwrite && nbuf > 1) in bts_buffer_setup_aux()
113 buf = kzalloc_node(offsetof(struct bts_buffer, buf[nbuf]), GFP_KERNEL, node); in bts_buffer_setup_aux()
118 buf->nr_bufs = nbuf; in bts_buffer_setup_aux()
123 for (pg = 0, nbuf = 0, offset = 0, pad = 0; nbuf < buf->nr_bufs; nbuf++) { in bts_buffer_setup_aux()
[all …]
/arch/sparc/prom/
Dtree_32.c231 char nbuf[128]; in prom_finddevice() local
241 for (d = nbuf; *s != 0 && *s != '@' && *s != '/';) in prom_finddevice()
245 node = prom_searchsiblings(node, nbuf); in prom_finddevice()
266 node2 = prom_searchsiblings(prom_getsibling(node2), nbuf); in prom_finddevice()