Home
last modified time | relevance | path

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

/busybox-1.35.0/procps/
Dpmap.c45 static void print_smaprec(struct smaprec *currec, void *data) in print_smaprec() argument
49 printf("%0" AFMTLL "llx ", currec->smap_start); in print_smaprec()
53 currec->smap_size, in print_smaprec()
54 currec->smap_pss, in print_smaprec()
55 currec->private_dirty, in print_smaprec()
56 currec->smap_swap); in print_smaprec()
58 printf("%7luK", currec->smap_size); in print_smaprec()
60 printf(" %.4s %s\n", currec->smap_mode, currec->smap_name); in print_smaprec()
/busybox-1.35.0/libbb/
Dprocps.c183 struct smaprec currec; in procps_read_smaps() local
197 memset(&currec, 0, sizeof(currec)); in procps_read_smaps()
209 total->X += currec.X = fast_strtoul_10(&tp); \ in procps_read_smaps()
230 if (currec.smap_size) in procps_read_smaps()
231 cb(&currec, data); in procps_read_smaps()
232 free(currec.smap_name); in procps_read_smaps()
234 memset(&currec, 0, sizeof(currec)); in procps_read_smaps()
238 currec.smap_start = fast_strtoull_16(&tp); in procps_read_smaps()
239 currec.smap_size = (fast_strtoull_16(&tp) - currec.smap_start) >> 10; in procps_read_smaps()
241 strncpy(currec.smap_mode, tp, sizeof(currec.smap_mode)-1); in procps_read_smaps()
[all …]