Lines Matching refs:push
224 struct strapush push; in kstr_autopush() local
251 push.sap_major = *maj; in kstr_autopush()
252 push.sap_minor = *min; in kstr_autopush()
254 error = ldi_ioctl(lh, SAD_GAP, (intptr_t)&push, in kstr_autopush()
262 switch (push.sap_cmd) { in kstr_autopush()
264 *maj = push.sap_major; in kstr_autopush()
265 *min = push.sap_minor; in kstr_autopush()
270 *maj = push.sap_major; in kstr_autopush()
271 *min = push.sap_minor; in kstr_autopush()
272 *lastmin = push.sap_lastminor; in kstr_autopush()
276 *maj = push.sap_major; in kstr_autopush()
282 *anchor = push.sap_anchor; in kstr_autopush()
284 if (push.sap_npush > 1) { in kstr_autopush()
285 for (i = 0; i < push.sap_npush && in kstr_autopush()
287 (void) strcpy(mods[i], push.sap_list[i]); in kstr_autopush()
296 push.sap_cmd = SAP_CLEAR; in kstr_autopush()
297 push.sap_minor = *min; in kstr_autopush()
298 push.sap_major = *maj; in kstr_autopush()
300 error = ldi_ioctl(lh, SAD_SAP, (intptr_t)&push, in kstr_autopush()
313 push.sap_cmd = SAP_ALL; in kstr_autopush()
315 push.sap_cmd = SAP_ONE; in kstr_autopush()
317 push.sap_cmd = SAP_RANGE; in kstr_autopush()
321 push.sap_anchor = *anchor; in kstr_autopush()
323 push.sap_anchor = 0; in kstr_autopush()
325 push.sap_minor = *min; in kstr_autopush()
326 push.sap_major = *maj; in kstr_autopush()
328 push.sap_lastminor = *lastmin; in kstr_autopush()
330 push.sap_lastminor = 0; in kstr_autopush()
334 (void) strcpy(push.sap_list[i], mods[i]); in kstr_autopush()
336 push.sap_npush = i; in kstr_autopush()
337 push.sap_list[i][0] = '\0'; in kstr_autopush()
339 error = ldi_ioctl(lh, SAD_SAP, (intptr_t)&push, in kstr_autopush()