Home
last modified time | relevance | path

Searched refs:new_sl (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_tunables.c93 sctp_listener_t *new_sl; in sctp_listener_conf_add() local
121 if ((new_sl = kmem_alloc(sizeof (sctp_listener_t), KM_NOSLEEP)) == in sctp_listener_conf_add()
127 new_sl->sl_port = lport; in sctp_listener_conf_add()
128 new_sl->sl_ratio = ratio; in sctp_listener_conf_add()
129 list_insert_tail(&sctps->sctps_listener_conf, new_sl); in sctp_listener_conf_add()
/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c1180 m_label_t *new_sl; in zfs_valid_proplist() local
1188 if (((new_sl = m_label_alloc(MAC_LABEL)) == NULL) || in zfs_valid_proplist()
1189 (str_to_label(strval, &new_sl, MAC_LABEL, in zfs_valid_proplist()
1195 if (label_to_str(new_sl, &hex, M_INTERNAL, in zfs_valid_proplist()
1201 m_label_free(new_sl); in zfs_valid_proplist()
1222 m_label_free(new_sl); /* OK if null */ in zfs_valid_proplist()
2543 m_label_t *new_sl = NULL; in zfs_prop_get() local
2559 if (str_to_label(propbuf, &new_sl, MAC_LABEL, in zfs_prop_get()
2561 m_label_free(new_sl); in zfs_prop_get()
2565 if (label_to_str(new_sl, &ascii, M_LABEL, in zfs_prop_get()
[all …]
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_ioctl.c517 bslabel_t ds_sl, new_sl; in zfs_set_slabel_policy() local
533 if (!new_default && (hexstr_to_label(strval, &new_sl) != 0)) in zfs_set_slabel_policy()
542 if (new_default || !blequal(&new_sl, CR_SL(CRED()))) in zfs_set_slabel_policy()
586 if (hexstr_to_label(strval, &new_sl) != 0) in zfs_set_slabel_policy()
589 if (blstrictdom(&ds_sl, &new_sl)) in zfs_set_slabel_policy()
591 else if (blstrictdom(&new_sl, &ds_sl)) in zfs_set_slabel_policy()