Lines Matching refs:d_sg
73 ilbd_sg_t *d_sg;
75 d_sg = calloc(sizeof (*d_sg), 1);
76 if (d_sg == NULL)
79 (void) strlcpy(d_sg->isg_name, name, sizeof (d_sg->isg_name));
81 list_create(&d_sg->isg_srvlist, sizeof (ilbd_srv_t),
83 list_create(&d_sg->isg_rulelist, sizeof (ilbd_rule_t),
86 list_insert_tail(&ilbd_sg_hlist, d_sg);
88 return (d_sg);
92 i_ilbd_save_sg(ilbd_sg_t *d_sg, ilbd_scf_cmd_t scf_cmd, const char *prop_name,
97 return (ilbd_create_pg(ILBD_SCF_SG, (void *)d_sg));
99 return (ilbd_destroy_pg(ILBD_SCF_SG, d_sg->isg_name));
103 return (ilbd_change_prop(ILBD_SCF_SG, d_sg->isg_name,
352 ilbd_sg_t *d_sg;
375 d_sg = i_ilbd_alloc_sg(sg->sg_name);
376 if (d_sg == NULL) {
388 rc = i_ilbd_save_sg(d_sg, ILBD_SCF_CREATE, NULL, NULL);
390 i_ilbd_free_sg(d_sg);