Searched refs:lb_opts (Results 1 – 2 of 2) sorted by relevance
426 struct f_lb_opts *lb_opts; in loopback_alloc() local434 mutex_lock(&lb_opts->lock); in loopback_alloc()435 lb_opts->refcnt++; in loopback_alloc()439 loop->qlen = lb_opts->qlen; in loopback_alloc()561 struct f_lb_opts *lb_opts; in lb_free_instance() local564 kfree(lb_opts); in lb_free_instance()569 struct f_lb_opts *lb_opts; in loopback_alloc_instance() local571 lb_opts = kzalloc(sizeof(*lb_opts), GFP_KERNEL); in loopback_alloc_instance()572 if (!lb_opts) in loopback_alloc_instance()574 mutex_init(&lb_opts->lock); in loopback_alloc_instance()[all …]
268 struct f_lb_opts *lb_opts; in zero_bind() local311 lb_opts = container_of(func_inst_lb, struct f_lb_opts, func_inst); in zero_bind()312 lb_opts->bulk_buflen = gzero_options.bulk_buflen; in zero_bind()313 lb_opts->qlen = gzero_options.qlen; in zero_bind()