Home
last modified time | relevance | path

Searched refs:nr_blks (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/arch/x86/mm/
Dnuma.c139 if (mi->nr_blks >= NR_NODE_MEMBLKS) { in numa_add_memblk_to()
144 mi->blk[mi->nr_blks].start = start; in numa_add_memblk_to()
145 mi->blk[mi->nr_blks].end = end; in numa_add_memblk_to()
146 mi->blk[mi->nr_blks].nid = nid; in numa_add_memblk_to()
147 mi->nr_blks++; in numa_add_memblk_to()
161 mi->nr_blks--; in numa_remove_memblk_from()
163 (mi->nr_blks - idx) * sizeof(mi->blk[0])); in numa_remove_memblk_from()
175 dst->blk[dst->nr_blks++] = src->blk[idx]; in numa_move_tail_memblk()
245 for (i = 0; i < mi->nr_blks; i++) { in numa_cleanup_meminfo()
271 for (i = 0; i < mi->nr_blks; i++) { in numa_cleanup_meminfo()
[all …]
Dnuma_emulation.c26 for (i = 0; i < mi->nr_blks; i++) in emu_find_memblk_by_nid()
50 struct numa_memblk *eb = &ei->blk[ei->nr_blks]; in emu_setup_memblk()
53 if (ei->nr_blks >= NR_NODE_MEMBLKS) { in emu_setup_memblk()
58 ei->nr_blks++; in emu_setup_memblk()
Dnuma_internal.h15 int nr_blks; member
/linux-6.1.9/arch/loongarch/kernel/
Dnuma.c197 if (mi->nr_blks >= NR_NODE_MEMBLKS) { in numa_add_memblk_to()
202 mi->blk[mi->nr_blks].start = PFN_ALIGN(start); in numa_add_memblk_to()
203 mi->blk[mi->nr_blks].end = PFN_ALIGN(end - PAGE_SIZE + 1); in numa_add_memblk_to()
204 mi->blk[mi->nr_blks].nid = nid; in numa_add_memblk_to()
205 mi->nr_blks++; in numa_add_memblk_to()
271 for (i = 0; i < mi->nr_blks; i++) { in numa_meminfo_cover_memory()
318 for (i = 0; i < numa_meminfo.nr_blks; i++) { in add_numamem_region()
/linux-6.1.9/drivers/s390/char/
Dsclp_sdias.c166 int sclp_sdias_copy(void *dest, int start_blk, int nr_blks) in sclp_sdias_copy() argument
186 sccb->evbuf.blk_cnt = nr_blks; in sclp_sdias_copy()
/linux-6.1.9/arch/loongarch/include/asm/
Dnuma.h33 int nr_blks; member
/linux-6.1.9/fs/gfs2/
Drgrp.c1316 sector_t nr_blks = 0; in gfs2_rgrp_send_discards() local
1338 if (nr_blks == 0) in gfs2_rgrp_send_discards()
1340 if ((start + nr_blks) != blk) { in gfs2_rgrp_send_discards()
1341 if (nr_blks >= minlen) { in gfs2_rgrp_send_discards()
1343 start, nr_blks, in gfs2_rgrp_send_discards()
1347 trimmed += nr_blks; in gfs2_rgrp_send_discards()
1349 nr_blks = 0; in gfs2_rgrp_send_discards()
1353 nr_blks++; in gfs2_rgrp_send_discards()
1359 if (nr_blks >= minlen) { in gfs2_rgrp_send_discards()
1360 rv = sb_issue_discard(sb, start, nr_blks, GFP_NOFS, 0); in gfs2_rgrp_send_discards()
[all …]
/linux-6.1.9/arch/s390/include/asm/
Dsclp.h141 int sclp_sdias_copy(void *dest, int blk_num, int nr_blks);