Lines Matching refs:reply_skb

172 	adm_ctx->reply_skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL);  in drbd_adm_prepare()
173 if (!adm_ctx->reply_skb) { in drbd_adm_prepare()
178 adm_ctx->reply_dh = genlmsg_put_reply(adm_ctx->reply_skb, in drbd_adm_prepare()
200 err = nla_put_nohdr(adm_ctx->reply_skb, in drbd_adm_prepare()
238 drbd_msg_put_info(adm_ctx->reply_skb, "unknown minor"); in drbd_adm_prepare()
242 drbd_msg_put_info(adm_ctx->reply_skb, "unknown resource"); in drbd_adm_prepare()
250 drbd_msg_put_info(adm_ctx->reply_skb, "no resource name expected"); in drbd_adm_prepare()
254 drbd_msg_put_info(adm_ctx->reply_skb, "no minor number expected"); in drbd_adm_prepare()
263 drbd_msg_put_info(adm_ctx->reply_skb, "unknown connection"); in drbd_adm_prepare()
274 drbd_msg_put_info(adm_ctx->reply_skb, "minor exists in different resource"); in drbd_adm_prepare()
283 drbd_msg_put_info(adm_ctx->reply_skb, "minor exists as different volume"); in drbd_adm_prepare()
298 nlmsg_free(adm_ctx->reply_skb); in drbd_adm_prepare()
299 adm_ctx->reply_skb = NULL; in drbd_adm_prepare()
319 if (!adm_ctx->reply_skb) in drbd_adm_finish()
323 drbd_adm_send_reply(adm_ctx->reply_skb, info); in drbd_adm_finish()
775 if (!adm_ctx.reply_skb) in drbd_adm_set_role()
785 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_set_role()
1576 if (!adm_ctx.reply_skb) in drbd_adm_disk_opts()
1606 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_disk_opts()
1632 drbd_msg_put_info(adm_ctx.reply_skb, in drbd_adm_disk_opts()
1804 if (!adm_ctx.reply_skb) in drbd_adm_attach()
1855 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_attach()
2006 drbd_msg_sprintf_info(adm_ctx.reply_skb, in drbd_adm_attach()
2229 if (!adm_ctx.reply_skb) in drbd_adm_detach()
2238 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_detach()
2431 if (!adm_ctx.reply_skb) in drbd_adm_net_opts()
2452 drbd_msg_put_info(adm_ctx.reply_skb, "net conf missing, try connect"); in drbd_adm_net_opts()
2464 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_net_opts()
2578 if (!adm_ctx.reply_skb) in drbd_adm_connect()
2583 drbd_msg_put_info(adm_ctx.reply_skb, "connection endpoint(s) missing"); in drbd_adm_connect()
2630 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_connect()
2787 if (!adm_ctx.reply_skb) in drbd_adm_disconnect()
2798 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_disconnect()
2845 if (!adm_ctx.reply_skb) in drbd_adm_resize()
2864 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_resize()
2976 if (!adm_ctx.reply_skb) in drbd_adm_resource_opts()
2988 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_resource_opts()
3013 if (!adm_ctx.reply_skb) in drbd_adm_invalidate()
3061 if (!adm_ctx.reply_skb) in drbd_adm_simple_request_state()
3090 if (!adm_ctx.reply_skb) in drbd_adm_invalidate_peer()
3140 if (!adm_ctx.reply_skb) in drbd_adm_pause_sync()
3161 if (!adm_ctx.reply_skb) in drbd_adm_resume_sync()
3194 if (!adm_ctx.reply_skb) in drbd_adm_resume_io()
3897 if (!adm_ctx.reply_skb) in drbd_adm_get_status()
3902 err = nla_put_status_info(adm_ctx.reply_skb, adm_ctx.device, NULL); in drbd_adm_get_status()
3904 nlmsg_free(adm_ctx.reply_skb); in drbd_adm_get_status()
4101 if (!adm_ctx.reply_skb) in drbd_adm_get_timeout_type()
4111 err = timeout_parms_to_priv_skb(adm_ctx.reply_skb, &tp); in drbd_adm_get_timeout_type()
4113 nlmsg_free(adm_ctx.reply_skb); in drbd_adm_get_timeout_type()
4129 if (!adm_ctx.reply_skb) in drbd_adm_start_ov()
4143 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_start_ov()
4177 if (!adm_ctx.reply_skb) in drbd_adm_new_c_uuid()
4188 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_new_c_uuid()
4249 drbd_msg_put_info(adm_ctx->reply_skb, "resource name missing"); in drbd_check_resource_name()
4255 drbd_msg_put_info(adm_ctx->reply_skb, "invalid resource name"); in drbd_check_resource_name()
4279 if (!adm_ctx.reply_skb) in drbd_adm_new_resource()
4288 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_new_resource()
4299 drbd_msg_put_info(adm_ctx.reply_skb, "resource exists"); in drbd_adm_new_resource()
4340 if (!adm_ctx.reply_skb) in drbd_adm_new_minor()
4346 drbd_msg_put_info(adm_ctx.reply_skb, "requested minor out of range"); in drbd_adm_new_minor()
4351 drbd_msg_put_info(adm_ctx.reply_skb, "requested volume id out of range"); in drbd_adm_new_minor()
4446 if (!adm_ctx.reply_skb) in drbd_adm_del_minor()
4499 if (!adm_ctx.reply_skb) in drbd_adm_down()
4513 drbd_msg_put_info(adm_ctx.reply_skb, "failed to demote"); in drbd_adm_down()
4520 drbd_msg_put_info(adm_ctx.reply_skb, "failed to disconnect"); in drbd_adm_down()
4529 drbd_msg_put_info(adm_ctx.reply_skb, "failed to detach"); in drbd_adm_down()
4539 drbd_msg_put_info(adm_ctx.reply_skb, "failed to delete volume"); in drbd_adm_down()
4559 if (!adm_ctx.reply_skb) in drbd_adm_del_resource()