Lines Matching refs:reply_skb

155 	adm_ctx->reply_skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL);  in drbd_adm_prepare()
156 if (!adm_ctx->reply_skb) { in drbd_adm_prepare()
161 adm_ctx->reply_dh = genlmsg_put_reply(adm_ctx->reply_skb, in drbd_adm_prepare()
183 err = nla_put_nohdr(adm_ctx->reply_skb, in drbd_adm_prepare()
221 drbd_msg_put_info(adm_ctx->reply_skb, "unknown minor"); in drbd_adm_prepare()
225 drbd_msg_put_info(adm_ctx->reply_skb, "unknown resource"); in drbd_adm_prepare()
233 drbd_msg_put_info(adm_ctx->reply_skb, "no resource name expected"); in drbd_adm_prepare()
237 drbd_msg_put_info(adm_ctx->reply_skb, "no minor number expected"); in drbd_adm_prepare()
246 drbd_msg_put_info(adm_ctx->reply_skb, "unknown connection"); in drbd_adm_prepare()
257 drbd_msg_put_info(adm_ctx->reply_skb, "minor exists in different resource"); in drbd_adm_prepare()
267 drbd_msg_put_info(adm_ctx->reply_skb, "minor exists as different volume"); in drbd_adm_prepare()
282 nlmsg_free(adm_ctx->reply_skb); in drbd_adm_prepare()
283 adm_ctx->reply_skb = NULL; in drbd_adm_prepare()
303 if (!adm_ctx->reply_skb) in drbd_adm_finish()
307 drbd_adm_send_reply(adm_ctx->reply_skb, info); in drbd_adm_finish()
758 if (!adm_ctx.reply_skb) in drbd_adm_set_role()
768 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_set_role()
1527 if (!adm_ctx.reply_skb) in drbd_adm_disk_opts()
1557 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_disk_opts()
1758 if (!adm_ctx.reply_skb) in drbd_adm_attach()
1809 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_attach()
2174 if (!adm_ctx.reply_skb) in drbd_adm_detach()
2183 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_detach()
2391 if (!adm_ctx.reply_skb) in drbd_adm_net_opts()
2412 drbd_msg_put_info(adm_ctx.reply_skb, "net conf missing, try connect"); in drbd_adm_net_opts()
2424 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_net_opts()
2538 if (!adm_ctx.reply_skb) in drbd_adm_connect()
2543 drbd_msg_put_info(adm_ctx.reply_skb, "connection endpoint(s) missing"); in drbd_adm_connect()
2590 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_connect()
2739 if (!adm_ctx.reply_skb) in drbd_adm_disconnect()
2750 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_disconnect()
2797 if (!adm_ctx.reply_skb) in drbd_adm_resize()
2816 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_resize()
2928 if (!adm_ctx.reply_skb) in drbd_adm_resource_opts()
2940 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_resource_opts()
2965 if (!adm_ctx.reply_skb) in drbd_adm_invalidate()
3013 if (!adm_ctx.reply_skb) in drbd_adm_simple_request_state()
3042 if (!adm_ctx.reply_skb) in drbd_adm_invalidate_peer()
3092 if (!adm_ctx.reply_skb) in drbd_adm_pause_sync()
3113 if (!adm_ctx.reply_skb) in drbd_adm_resume_sync()
3146 if (!adm_ctx.reply_skb) in drbd_adm_resume_io()
3856 if (!adm_ctx.reply_skb) in drbd_adm_get_status()
3861 err = nla_put_status_info(adm_ctx.reply_skb, adm_ctx.device, NULL); in drbd_adm_get_status()
3863 nlmsg_free(adm_ctx.reply_skb); in drbd_adm_get_status()
4060 if (!adm_ctx.reply_skb) in drbd_adm_get_timeout_type()
4070 err = timeout_parms_to_priv_skb(adm_ctx.reply_skb, &tp); in drbd_adm_get_timeout_type()
4072 nlmsg_free(adm_ctx.reply_skb); in drbd_adm_get_timeout_type()
4088 if (!adm_ctx.reply_skb) in drbd_adm_start_ov()
4102 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_start_ov()
4136 if (!adm_ctx.reply_skb) in drbd_adm_new_c_uuid()
4147 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_new_c_uuid()
4208 drbd_msg_put_info(adm_ctx->reply_skb, "resource name missing"); in drbd_check_resource_name()
4214 drbd_msg_put_info(adm_ctx->reply_skb, "invalid resource name"); in drbd_check_resource_name()
4238 if (!adm_ctx.reply_skb) in drbd_adm_new_resource()
4247 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_new_resource()
4258 drbd_msg_put_info(adm_ctx.reply_skb, "resource exists"); in drbd_adm_new_resource()
4299 if (!adm_ctx.reply_skb) in drbd_adm_new_minor()
4305 drbd_msg_put_info(adm_ctx.reply_skb, "requested minor out of range"); in drbd_adm_new_minor()
4310 drbd_msg_put_info(adm_ctx.reply_skb, "requested volume id out of range"); in drbd_adm_new_minor()
4405 if (!adm_ctx.reply_skb) in drbd_adm_del_minor()
4458 if (!adm_ctx.reply_skb) in drbd_adm_down()
4472 drbd_msg_put_info(adm_ctx.reply_skb, "failed to demote"); in drbd_adm_down()
4479 drbd_msg_put_info(adm_ctx.reply_skb, "failed to disconnect"); in drbd_adm_down()
4488 drbd_msg_put_info(adm_ctx.reply_skb, "failed to detach"); in drbd_adm_down()
4498 drbd_msg_put_info(adm_ctx.reply_skb, "failed to delete volume"); in drbd_adm_down()
4518 if (!adm_ctx.reply_skb) in drbd_adm_del_resource()