• Home
  • Raw
  • Download

Lines Matching refs:avail

1634 	loff_t avail = file_inode(file)->i_size;  in flash_read()  local
1639 if (pos >= avail) in flash_read()
1641 if (count > avail - pos) in flash_read()
1642 count = avail - pos; in flash_read()
2494 R("FL avail:", fl.avail); in sge_qinfo_show()
2636 loff_t avail = file_inode(file)->i_size; in mem_read() local
2644 if (pos >= avail) in mem_read()
2646 if (count > avail - pos) in mem_read()
2647 count = avail - pos; in mem_read()
2838 struct mem_desc avail[4]; in meminfo_show() local
2853 avail[i].base = EDRAM0_BASE_G(hi) << 20; in meminfo_show()
2854 avail[i].limit = avail[i].base + (EDRAM0_SIZE_G(hi) << 20); in meminfo_show()
2855 avail[i].idx = 0; in meminfo_show()
2860 avail[i].base = EDRAM1_BASE_G(hi) << 20; in meminfo_show()
2861 avail[i].limit = avail[i].base + (EDRAM1_SIZE_G(hi) << 20); in meminfo_show()
2862 avail[i].idx = 1; in meminfo_show()
2869 avail[i].base = EXT_MEM0_BASE_G(hi) << 20; in meminfo_show()
2870 avail[i].limit = in meminfo_show()
2871 avail[i].base + (EXT_MEM0_SIZE_G(hi) << 20); in meminfo_show()
2872 avail[i].idx = 3; in meminfo_show()
2877 avail[i].base = EXT_MEM1_BASE_G(hi) << 20; in meminfo_show()
2878 avail[i].limit = in meminfo_show()
2879 avail[i].base + (EXT_MEM1_SIZE_G(hi) << 20); in meminfo_show()
2880 avail[i].idx = 4; in meminfo_show()
2886 avail[i].base = EXT_MEM_BASE_G(hi) << 20; in meminfo_show()
2887 avail[i].limit = in meminfo_show()
2888 avail[i].base + (EXT_MEM_SIZE_G(hi) << 20); in meminfo_show()
2889 avail[i].idx = 2; in meminfo_show()
2895 sort(avail, i, sizeof(struct mem_desc), mem_desc_cmp, NULL); in meminfo_show()
2989 if (avail[n].limit < avail[n + 1].base) in meminfo_show()
2990 (md++)->base = avail[n].limit; in meminfo_show()
2991 if (avail[n].limit) in meminfo_show()
2992 (md++)->base = avail[n].limit; in meminfo_show()
2998 mem_region_show(seq, memory[avail[lo].idx], avail[lo].base, in meminfo_show()
2999 avail[lo].limit - 1); in meminfo_show()