Lines Matching defs:pl
1160 property_width(zprop_list_t *pl, void *arg)
1165 if (pl->pl_prop != NULL) {
1166 const char *name = pl->pl_prop->zpd_name;
1177 if (ZPROP_IS_SUBLIST(pl->pl_prop))
1182 width = strlen(pl->pl_user_prop);
1190 value_width(zprop_list_t *pl, void *arg)
1192 return (pl->pl_width);
1197 received_width(zprop_list_t *pl, void *arg)
1199 return (pl->pl_recvd_width);
1207 zprop_list_t *pl = cbp->cb_proplist;
1239 for (pl = cbp->cb_proplist; pl != NULL; pl = pl->pl_next) {
1242 if (pl->pl_prop != NULL && pl->pl_group &&
1243 !zprop_valid_for_type(pl->pl_prop, visited_types))
1246 if (zprop_id(pl->pl_prop) != ZFS_PROP_NAME &&
1247 pl->pl_source != 0 && cbp->cb_sources != 0 &&
1248 (cbp->cb_sources & pl->pl_source) == 0)
1254 width = zfs_proplist_width(pl, property_width, cbp);
1265 if (pl != cbp->cb_proplist) {
1266 width = zfs_proplist_width(pl, value_width, NULL);
1271 width = zfs_proplist_width(pl, received_width, NULL);
1279 if (zprop_id(pl->pl_prop) == (type == ZFS_TYPE_POOL ?
1281 pl->pl_width > cbp->cb_colwidths[GET_COL_NAME]) {
1282 cbp->cb_colwidths[GET_COL_NAME] = pl->pl_width;
1288 cbp->cb_colwidths[GET_COL_SOURCE] = pl->pl_width +
1878 zprop_list_t *pl;
2142 pl = *startp;
2143 while (pl != NULL) {
2144 zprop_list_t *alias = pl->pl_alias;
2146 alias->pl_next = pl->pl_next;
2149 pl = pl->pl_next;
2156 zprop_free_list(zprop_list_t *pl)
2158 while (pl != NULL) {
2159 zprop_list_t *next = pl->pl_next;
2160 zprop_list_t *alias = pl->pl_alias;
2167 free(pl->pl_user_prop);
2168 free(pl);
2169 pl = next;