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