Lines Matching refs:reply_skb
141 adm_ctx->reply_skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in drbd_adm_prepare()
142 if (!adm_ctx->reply_skb) { in drbd_adm_prepare()
147 adm_ctx->reply_dh = genlmsg_put_reply(adm_ctx->reply_skb, in drbd_adm_prepare()
169 err = nla_put_nohdr(adm_ctx->reply_skb, in drbd_adm_prepare()
207 drbd_msg_put_info(adm_ctx->reply_skb, "unknown minor"); in drbd_adm_prepare()
211 drbd_msg_put_info(adm_ctx->reply_skb, "unknown resource"); in drbd_adm_prepare()
219 drbd_msg_put_info(adm_ctx->reply_skb, "no resource name expected"); in drbd_adm_prepare()
223 drbd_msg_put_info(adm_ctx->reply_skb, "no minor number expected"); in drbd_adm_prepare()
232 drbd_msg_put_info(adm_ctx->reply_skb, "unknown connection"); in drbd_adm_prepare()
243 drbd_msg_put_info(adm_ctx->reply_skb, "minor exists in different resource"); in drbd_adm_prepare()
253 drbd_msg_put_info(adm_ctx->reply_skb, "minor exists as different volume"); in drbd_adm_prepare()
268 nlmsg_free(adm_ctx->reply_skb); in drbd_adm_prepare()
269 adm_ctx->reply_skb = NULL; in drbd_adm_prepare()
289 if (!adm_ctx->reply_skb) in drbd_adm_finish()
293 drbd_adm_send_reply(adm_ctx->reply_skb, info); in drbd_adm_finish()
722 if (!adm_ctx.reply_skb) in drbd_adm_set_role()
732 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_set_role()
1324 if (!adm_ctx.reply_skb) in drbd_adm_disk_opts()
1354 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_disk_opts()
1473 if (!adm_ctx.reply_skb) in drbd_adm_attach()
1524 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_attach()
1936 if (!adm_ctx.reply_skb) in drbd_adm_detach()
1945 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_detach()
2138 if (!adm_ctx.reply_skb) in drbd_adm_net_opts()
2159 drbd_msg_put_info(adm_ctx.reply_skb, "net conf missing, try connect"); in drbd_adm_net_opts()
2171 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_net_opts()
2262 if (!adm_ctx.reply_skb) in drbd_adm_connect()
2267 drbd_msg_put_info(adm_ctx.reply_skb, "connection endpoint(s) missing"); in drbd_adm_connect()
2314 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_connect()
2445 if (!adm_ctx.reply_skb) in drbd_adm_disconnect()
2456 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_disconnect()
2503 if (!adm_ctx.reply_skb) in drbd_adm_resize()
2522 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_resize()
2632 if (!adm_ctx.reply_skb) in drbd_adm_resource_opts()
2644 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_resource_opts()
2669 if (!adm_ctx.reply_skb) in drbd_adm_invalidate()
2717 if (!adm_ctx.reply_skb) in drbd_adm_simple_request_state()
2746 if (!adm_ctx.reply_skb) in drbd_adm_invalidate_peer()
2796 if (!adm_ctx.reply_skb) in drbd_adm_pause_sync()
2817 if (!adm_ctx.reply_skb) in drbd_adm_resume_sync()
2850 if (!adm_ctx.reply_skb) in drbd_adm_resume_io()
3053 if (!adm_ctx.reply_skb) in drbd_adm_get_status()
3058 err = nla_put_status_info(adm_ctx.reply_skb, adm_ctx.device, NULL); in drbd_adm_get_status()
3060 nlmsg_free(adm_ctx.reply_skb); in drbd_adm_get_status()
3257 if (!adm_ctx.reply_skb) in drbd_adm_get_timeout_type()
3267 err = timeout_parms_to_priv_skb(adm_ctx.reply_skb, &tp); in drbd_adm_get_timeout_type()
3269 nlmsg_free(adm_ctx.reply_skb); in drbd_adm_get_timeout_type()
3285 if (!adm_ctx.reply_skb) in drbd_adm_start_ov()
3299 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_start_ov()
3333 if (!adm_ctx.reply_skb) in drbd_adm_new_c_uuid()
3344 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_new_c_uuid()
3405 drbd_msg_put_info(adm_ctx->reply_skb, "resource name missing"); in drbd_check_resource_name()
3411 drbd_msg_put_info(adm_ctx->reply_skb, "invalid resource name"); in drbd_check_resource_name()
3425 if (!adm_ctx.reply_skb) in drbd_adm_new_resource()
3434 drbd_msg_put_info(adm_ctx.reply_skb, from_attrs_err_to_txt(err)); in drbd_adm_new_resource()
3445 drbd_msg_put_info(adm_ctx.reply_skb, "resource exists"); in drbd_adm_new_resource()
3466 if (!adm_ctx.reply_skb) in drbd_adm_new_minor()
3472 drbd_msg_put_info(adm_ctx.reply_skb, "requested minor out of range"); in drbd_adm_new_minor()
3477 drbd_msg_put_info(adm_ctx.reply_skb, "requested volume id out of range"); in drbd_adm_new_minor()
3520 if (!adm_ctx.reply_skb) in drbd_adm_del_minor()
3564 if (!adm_ctx.reply_skb) in drbd_adm_down()
3578 drbd_msg_put_info(adm_ctx.reply_skb, "failed to demote"); in drbd_adm_down()
3585 drbd_msg_put_info(adm_ctx.reply_skb, "failed to disconnect"); in drbd_adm_down()
3594 drbd_msg_put_info(adm_ctx.reply_skb, "failed to detach"); in drbd_adm_down()
3604 drbd_msg_put_info(adm_ctx.reply_skb, "failed to delete volume"); in drbd_adm_down()
3624 if (!adm_ctx.reply_skb) in drbd_adm_del_resource()