Lines Matching refs:dlap
1214 dladm_linkprop_args_t *dlap = arg;
1218 dlap->dla_flags);
1222 dlap->dla_status = status;
3729 struct dlautopush dlap;
3737 perm_flags, &dlap, sizeof (dlap));
3741 if (dlap.dap_npush == 0) {
3745 for (i = 0, len = 0; i < dlap.dap_npush; i++) {
3752 "%s", dlap.dap_aplist[i]);
3753 len += strlen(dlap.dap_aplist[i]);
3754 if (dlap.dap_anchor - 1 == i) {
3770 i_dladm_add_ap_module(const char *module, struct dlautopush *dlap)
3780 if (dlap->dap_anchor != 0)
3782 if (dlap->dap_npush == 0)
3785 dlap->dap_anchor = dlap->dap_npush;
3788 if (dlap->dap_npush >= MAXAPUSH)
3791 (void) strlcpy(dlap->dap_aplist[dlap->dap_npush++], module,
3809 struct dlautopush *dlap;
3820 dlap = malloc(sizeof (struct dlautopush));
3821 if (dlap == NULL)
3824 (void) memset(dlap, 0, sizeof (struct dlautopush));
3829 status = i_dladm_add_ap_module(module, dlap);
3835 vdp->vd_val = (uintptr_t)dlap;