Lines Matching refs:sib
365 struct sib_info sib;
379 sib.sib_reason = SIB_HELPER_PRE;
380 sib.helper_name = cmd;
381 drbd_bcast_event(device, &sib);
392 sib.sib_reason = SIB_HELPER_POST;
393 sib.helper_exit_code = ret;
394 drbd_bcast_event(device, &sib);
3701 const struct sib_info *sib)
3710 /* If sib != NULL, this is drbd_bcast_event, which anyone can listen
3713 * If sib == NULL, this is drbd_adm_get_status, executed synchronously
3721 exclude_sensitive = sib || !capable(CAP_SYS_ADMIN);
3754 if (nla_put_u32(skb, T_sib_reason, sib ? sib->sib_reason : SIB_GET_STATUS_REPLY) ||
3794 if (sib) {
3795 switch(sib->sib_reason) {
3800 if (nla_put_u32(skb, T_prev_state, sib->os.i) ||
3801 nla_put_u32(skb, T_new_state, sib->ns.i))
3806 sib->helper_exit_code))
3810 if (nla_put_string(skb, T_helper, sib->helper_name))
4508 void drbd_bcast_event(struct drbd_device *device, const struct sib_info *sib)
4527 if (nla_put_status_info(msg, device, sib))
4542 err, seq, sib->sib_reason);