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()
3687 const struct sib_info *sib) in nla_put_status_info() argument
3707 exclude_sensitive = sib || !capable(CAP_SYS_ADMIN); in nla_put_status_info()
3740 if (nla_put_u32(skb, T_sib_reason, sib ? sib->sib_reason : SIB_GET_STATUS_REPLY) || in nla_put_status_info()
3780 if (sib) { in nla_put_status_info()
3781 switch(sib->sib_reason) { in nla_put_status_info()
3786 if (nla_put_u32(skb, T_prev_state, sib->os.i) || in nla_put_status_info()
3787 nla_put_u32(skb, T_new_state, sib->ns.i)) in nla_put_status_info()
3792 sib->helper_exit_code)) in nla_put_status_info()
3796 if (nla_put_string(skb, T_helper, sib->helper_name)) in nla_put_status_info()
4494 void drbd_bcast_event(struct drbd_device *device, const struct sib_info *sib) in drbd_bcast_event() argument
4513 if (nla_put_status_info(msg, device, sib)) in drbd_bcast_event()
4528 err, seq, sib->sib_reason); in drbd_bcast_event()