Lines Matching defs:sp
1186 struct sleepq_prof *sp;
1191 LIST_FOREACH(sp, &sleepq_hash[SC_HASH(wmesg)], sp_link)
1192 if (sp->sp_wmesg == wmesg)
1194 sp = LIST_FIRST(&sleepq_prof_free);
1195 if (sp == NULL)
1197 sp->sp_wmesg = wmesg;
1198 LIST_REMOVE(sp, sp_link);
1199 LIST_INSERT_HEAD(&sleepq_hash[SC_HASH(wmesg)], sp, sp_link);
1201 sp->sp_count++;
1210 struct sleepq_prof *sp;
1221 sp = &sleepq_profent[i];
1222 sp->sp_wmesg = NULL;
1223 sp->sp_count = 0;
1224 LIST_INSERT_HEAD(&sleepq_prof_free, sp, sp_link);
1273 struct sleepq_prof *sp;
1289 LIST_FOREACH(sp, &sleepq_hash[i], sp_link) {
1291 sp->sp_wmesg, sp->sp_count);