Lines Matching refs:max_units

374 					int max_units, uint_t uset,
2817 int max_units, uint_t uset, int *count, int present_only) in sbd_get_devlist() argument
2825 ret_devlist = GETSTRUCT(sbd_devlist_t, max_units); in sbd_get_devlist()
2841 for (i = ix = 0; (i < max_units) && uset; i++) { in sbd_get_devlist()
2899 FREESTRUCT(ret_devlist, sbd_devlist_t, max_units); in sbd_get_devlist()
3011 int max_units = 0, rv = 0; in sbd_pre_attach_devlist() local
3027 max_units = MAX_MEM_UNITS_PER_BOARD; in sbd_pre_attach_devlist()
3032 max_units = MAX_CPU_UNITS_PER_BOARD; in sbd_pre_attach_devlist()
3037 max_units = MAX_IO_UNITS_PER_BOARD; in sbd_pre_attach_devlist()
3045 if (rv && max_units) { in sbd_pre_attach_devlist()
3051 for (i = 0; i < max_units; i++) { in sbd_pre_attach_devlist()
3058 FREESTRUCT(devlist, sbd_devlist_t, max_units); in sbd_pre_attach_devlist()
3073 int i, max_units = 0, rv = 0; in sbd_post_attach_devlist() local
3094 max_units = MAX_CPU_UNITS_PER_BOARD; in sbd_post_attach_devlist()
3100 max_units = MAX_MEM_UNITS_PER_BOARD; in sbd_post_attach_devlist()
3106 max_units = MAX_IO_UNITS_PER_BOARD; in sbd_post_attach_devlist()
3197 if (max_units && devlist) { in sbd_post_attach_devlist()
3200 for (i = 0; i < max_units; i++) { in sbd_post_attach_devlist()
3207 FREESTRUCT(devlist, sbd_devlist_t, max_units); in sbd_post_attach_devlist()
3330 int max_units = 0, rv = 0; in sbd_pre_release_devlist() local
3346 max_units = MAX_CPU_UNITS_PER_BOARD; in sbd_pre_release_devlist()
3379 max_units = MAX_MEM_UNITS_PER_BOARD; in sbd_pre_release_devlist()
3385 max_units = MAX_IO_UNITS_PER_BOARD; in sbd_pre_release_devlist()
3394 if (rv && max_units) { in sbd_pre_release_devlist()
3405 for (i = 0; i < max_units; i++) { in sbd_pre_release_devlist()
3412 FREESTRUCT(devlist, sbd_devlist_t, max_units); in sbd_pre_release_devlist()
3422 int i, max_units = 0; in sbd_post_release_devlist() local
3441 max_units = MAX_CPU_UNITS_PER_BOARD; in sbd_post_release_devlist()
3445 max_units = MAX_MEM_UNITS_PER_BOARD; in sbd_post_release_devlist()
3458 max_units = MAX_IO_UNITS_PER_BOARD; in sbd_post_release_devlist()
3498 if (max_units && devlist) { in sbd_post_release_devlist()
3501 for (i = 0; i < max_units; i++) { in sbd_post_release_devlist()
3508 FREESTRUCT(devlist, sbd_devlist_t, max_units); in sbd_post_release_devlist()
3715 int i, max_units = 0, rv = 0; in sbd_post_detach_devlist() local
3736 max_units = MAX_CPU_UNITS_PER_BOARD; in sbd_post_detach_devlist()
3741 max_units = MAX_MEM_UNITS_PER_BOARD; in sbd_post_detach_devlist()
3746 max_units = MAX_IO_UNITS_PER_BOARD; in sbd_post_detach_devlist()
3820 if (max_units && devlist) { in sbd_post_detach_devlist()
3823 for (i = 0; i < max_units; i++) { in sbd_post_detach_devlist()
3830 FREESTRUCT(devlist, sbd_devlist_t, max_units); in sbd_post_detach_devlist()