Lines Matching defs:sname
104 SfsName *sname;
109 sname = malloc(sizeof(SfsName));
110 assert(sname != NULL);
118 memcpy(sname, parent->po_path, clen * sizeof(int));
120 res->po_path = sname;
170 SfsName myname, *sname;
193 sname = po->po_path;
206 if (sn[i].sysctl_num == (*sname)[po->po_len-1]) {
505 SfsName *sname;
514 sname = po->po_path;
515 (*sname)[po->po_len] = CTL_QUERY;
517 if (sysctl(*sname, po->po_len + 1, sn, &sl,
550 SfsName *sname = PCNPATH(pcn);
558 * in sname, courtesy of pathbuild, so we can skip this step.
564 (*sname)[PCNPLEN(pcn)] = CTL_QUERY;
566 if (sysctl(*sname, PCNPLEN(pcn) + 1, sn, &sl,
576 (*sname)[PCNPLEN(pcn)] = sn[i].sysctl_num;
649 SfsName *sname;
667 sname = PNPATH(pn_dir);
668 (*sname)[PNPLEN(pn_dir)] = CTL_QUERY;
670 if (sysctl(*sname, PNPLEN(pn_dir) + 1, sn, &sl,
674 po.po_path = sname;
687 (*sname)[PNPLEN(pn_dir)] = sn[i].sysctl_num;