Lines Matching defs:push
252 struct strapush push; /* configuration information */
272 (void) memset(&push, 0, sizeof (struct strapush));
274 parsecode = parse_line(buf, line, namep, &push);
280 if (push.sap_minor == (minor_t)-1)
281 push.sap_cmd = SAP_ALL;
282 else if (push.sap_lastminor == 0)
283 push.sap_cmd = SAP_ONE;
285 push.sap_cmd = SAP_RANGE;
287 if (ioctl(sadfd, SAD_SAP, &push) < 0) {
347 struct strapush push; /* configuration information */
356 push.sap_cmd = SAP_CLEAR;
357 push.sap_minor = min;
358 push.sap_major = maj;
360 if (ioctl(sadfd, SAD_SAP, &push) < 0) {
374 if ((min != 0) && (ioctl(sadfd, SAD_GAP, &push) == 0) &&
375 (push.sap_cmd == SAP_ALL))
411 struct strapush push; /* configuration information */
420 push.sap_major = maj;
421 push.sap_minor = min;
423 if (ioctl(sadfd, SAD_GAP, &push) < 0) {
452 switch (push.sap_cmd) {
454 (void) printf(OFORMAT1_ONE, push.sap_major, push.sap_minor);
458 (void) printf(OFORMAT1_RANGE, push.sap_major, push.sap_minor,
459 push.sap_lastminor);
463 (void) printf(OFORMAT1_ALL, push.sap_major);
472 for (i = 0; i < push.sap_npush; i++) {
474 (void) printf("%s", push.sap_list[i]);
476 if (push.sap_anchor == (i + 1))
479 if (i < push.sap_npush - 1)
518 int npush; /* number of modules to push */