Lines Matching refs:ll

468   long *ll = 0;
475 ll = mm->ptr;
476 for (j = 0; j<mm->len; j++) if (ll[j] == slot[match[i].len]) return 1;
480 return ll ? 0 : -1;
506 long long *slot = tb->slot, ll = (sl >= 0) ? slot[sl&(XX-1)] : 0;
512 if (which==PS_PRI) ll = 39-ll;
514 else if (which==PS_SZ) ll >>= 12;
515 else if (which==PS_RSS) ll <<= 2;
516 else if (which==PS_VSZ) ll >>= 10;
517 else if (which==PS_PR && ll<-9) fmt="RT";
518 else if ((which==PS_RTPRIO || which==PS_BIT) && ll == 0) fmt="-";
519 sprintf(out, fmt, ll);
539 sprintf(out, "%lld", ll);
542 struct group *gr = bufgetgrgid(ll);
546 struct passwd *pw = bufgetpwuid(ll);
560 if (which==PS_ELAPSED) ll = (slot[SLOT_uptime]*j)-slot[SLOT_starttime];
561 seconds = ll/j;
576 sprintf(s, ".%02lld", (100*(ll%TT.ticks))/TT.ticks);
580 ll = slot[sl&(XX-1)]*1000;
582 ll /= slot[SLOT_totalram]/((which==PS__VSZ) ? 1024 : 4096);
583 else if (slot[SLOT_upticks]) ll /= slot[SLOT_upticks];
584 sl = ll;
595 if ((ll = slot[typos[which].slot])<0) {
596 ll = -ll;
600 if (which <= PS_SHR) ll *= sysconf(_SC_PAGESIZE);
601 if (TT.forcek) sprintf(out, "%lldk", ll/1024);
602 else human_readable_long(s, ll, i-1, 0);
630 } else if (which==PS_PCY) sprintf(out, "%.2s", get_sched_policy_name(ll));
1141 long *ll = pl->ptr;
1147 ll = pl->ptr = xrealloc(pl->ptr, sizeof(long)*(pl->len+16));
1151 ll[pl->len] = xstrtol(str, &end, 10);
1154 if (pl==&TT.ss && ll[pl->len]==0) ll[pl->len] = getsid(0);
1158 if (num && ll[pl->len]>0) {
1179 ll[pl->len++] = st.st_rdev;
1197 ll[pl->len++] = gr->gr_gid;
1204 ll[pl->len++] = pw->pw_uid;
1569 long long ll, up = 0;
1619 ll = stats[3] = stats[11] = 0;
1620 for (i = 0; i<8; i++) ll += stats[i]-stats[i+8];
1621 stats[3] = now - llabs(ll);
1624 ll = (llabs(stats[i]-stats[i+8])*1000)/up;
1625 pos += sprintf(pos, "% *lld%%%s", j, (ll+5)/10, cpufields[i]);
1635 long long ll, bits = 0;
1639 ll = 1LL<<field->which;
1640 if (bits&ll) continue;
1641 bits |= ll;
1867 long long ll = tb->slot[SLOT_starttime];
1869 if (FLAG(o)) ll *= -1;
1870 if (TT.time && TT.time>ll) return;
1871 TT.time = ll;