Lines Matching refs:lgrp

51   lgrp_affinity_set(P_PID, $pid, $lgrp,
53 $l->affinity_set(P_PID, $pid, $lgrp,
56 my $affinity = lgrp_affinity_get(P_PID, $pid, $lgrp);
57 $affinity = $l->affinity_get(P_PID, $pid, $lgrp);
68 my @children = lgrp_children($cookie, $lgrp);
69 @children = l->children($lgrp);
71 my @parents = lgrp_parents($cookie, $lgrp);
72 @parents = l->parents($lgrp);
77 @lgrps = lgrp_lgrps($cookie, $lgrp);
78 @lgrps = l->lgrps($lgrp);
83 my $is_leaf = lgrp_isleaf($cookie, $lgrp);
84 $is_leaf = $l->is_leaf($lgrp);
86 my @cpus = lgrp_cpus($cookie, $lgrp,
88 @cpus = l->cpus($lgrp, LGRP_CONTENT_HIERARCHY | LGRP_CONTENT_DIRECT);
90 my $memsize = lgrp_mem_size($cookie, $lgrp,
93 $memsize = l->mem_size($lgrp,
104 my @lgrps = lgrp_resources($cookie, $lgrp, LGRP_RSRC_CPU);
244 =item lgrp_cpus($cookie, $lgrp, $context)
247 returns the list of CPUs in the lgroup specified by B<$lgrp>. The B<$context>
272 =item lgrp_children($cookie, $lgrp)
285 =item lgrp_parents($cookie, $lgrp)
316 =item lgrp_mem_size($cookie, $lgrp, $type, $content)
380 =item lgrp_affinity_set($idtype, $id, $lgrp, $affinity)
420 =item lgrp_affinity_get($idtype, $id, $lgrp)
422 The function returns the affinity that the LWP has to a given lgrp. See
455 =item lgrp_resources($cookie, $lgrp, $type)
483 =item lgrp_lgrps($cookie, [$lgrp])
485 Returns list of all lgroups in a hierarchy starting from $lgrp. If B<$lgrp> is
492 =item lgrp_leaves($cookie, [$lgrp])
494 Returns list of all leaf lgroups in a hierarchy starting from $lgrp. If $lgrp is
501 =item lgrp_isleaf($cookie, $lgrp)
503 Returns B<True> if $lgrp is leaf (has no children), B<False> otherwise.
540 =item children($lgrp)
545 =item parents($lgrp)
555 =item mem_size($lgrp, $type, $content)
560 =item cpus($lgrp, $context)
562 Returns the list of CPUs in the lgroup specified by $lgrp. This is a wrapper for
565 =item resources($lgrp, $type)
575 =item affinity_get($idtype, $id, $lgrp)
577 Returns the affinity that the LWP has to a given lgrp. This is a wrapper for
580 =item affinity_set($idtype, $id, $lgrp, $affinity)
585 =item lgrps([$lgrp])
587 Returns list of all lgroups in a hierarchy starting from $lgrp (or the
588 L<lgrp_root()> if $lgrp is not specified). This is a wrapper for L<lgrp_lgrps()>.
590 =item leaves([$lgrp])
592 Returns list of all leaf lgroups in a hierarchy starting from B<$lgrp>. If $lgrp
596 =item isleaf($lgrp)
598 Returns B<True> if B<$lgrp> is leaf (has no children), B<False> otherwise.