Home
last modified time | relevance | path

Searched refs:LIBCFS_FREE (Results 1 – 25 of 36) sorted by relevance

12

/drivers/staging/lustre/lnet/selftest/
Dconctl.c68 LIBCFS_FREE(name, args->lstio_ses_nmlen + 1); in lst_session_new_ioctl()
81 LIBCFS_FREE(name, args->lstio_ses_nmlen + 1); in lst_session_new_ioctl()
141 LIBCFS_FREE(name, args->lstio_dbg_nmlen + 1); in lst_debug_ioctl()
192 LIBCFS_FREE(name, args->lstio_dbg_nmlen + 1); in lst_debug_ioctl()
218 LIBCFS_FREE(name, args->lstio_grp_nmlen); in lst_group_add_ioctl()
226 LIBCFS_FREE(name, args->lstio_grp_nmlen + 1); in lst_group_add_ioctl()
252 LIBCFS_FREE(name, args->lstio_grp_nmlen + 1); in lst_group_del_ioctl()
260 LIBCFS_FREE(name, args->lstio_grp_nmlen + 1); in lst_group_del_ioctl()
287 LIBCFS_FREE(name, args->lstio_grp_nmlen + 1); in lst_group_update_ioctl()
318 LIBCFS_FREE(name, args->lstio_grp_nmlen + 1); in lst_group_update_ioctl()
[all …]
Dconsole.c136 LIBCFS_FREE(nd, sizeof(lstcon_node_t) + sizeof(lstcon_ndlink_t)); in lstcon_node_put()
193 LIBCFS_FREE(ndl, sizeof(*ndl)); in lstcon_ndlink_release()
260 LIBCFS_FREE(grp, offsetof(lstcon_group_t, in lstcon_group_decref()
821 LIBCFS_FREE(gentp, sizeof(lstcon_ndlist_ent_t)); in lstcon_group_info()
866 LIBCFS_FREE(bat, sizeof(lstcon_batch_t)); in lstcon_batch_add()
875 LIBCFS_FREE(bat->bat_cli_hash, LST_NODE_HASHSIZE); in lstcon_batch_add()
876 LIBCFS_FREE(bat, sizeof(lstcon_batch_t)); in lstcon_batch_add()
989 LIBCFS_FREE(entp, sizeof(lstcon_test_batch_ent_t)); in lstcon_batch_info()
1103 LIBCFS_FREE(test, offsetof(lstcon_test_t, in lstcon_batch_destroy()
1130 LIBCFS_FREE(bat->bat_cli_hash, in lstcon_batch_destroy()
[all …]
Dframework.c630 LIBCFS_FREE(tsu, sizeof(*tsu)); in sfw_destroy_test_instance()
637 LIBCFS_FREE(rpc, srpc_client_rpc_size(rpc)); in sfw_destroy_test_instance()
642 LIBCFS_FREE(tsi, sizeof(*tsi)); in sfw_destroy_test_instance()
661 LIBCFS_FREE(tsb, sizeof(sfw_batch_t)); in sfw_destroy_batch()
680 LIBCFS_FREE(sn, sizeof(*sn)); in sfw_destroy_session()
765 LIBCFS_FREE(tsi, sizeof(*tsi)); in sfw_add_test_instance()
1789 LIBCFS_FREE(rpc, srpc_client_rpc_size(rpc)); in sfw_shutdown()
1807 LIBCFS_FREE(tsc, sizeof(*tsc)); in sfw_shutdown()
Dmodule.c77 LIBCFS_FREE(lst_sched_test, in lnet_selftest_fini()
Drpc.c119 LIBCFS_FREE(bk, offsetof(srpc_bulk_t, bk_iovs[bk->bk_niov])); in srpc_free_bulk()
218 LIBCFS_FREE(buf, sizeof(*buf)); in srpc_service_fini()
229 LIBCFS_FREE(rpc, sizeof(*rpc)); in srpc_service_fini()
511 LIBCFS_FREE(buf, sizeof(*buf)); in srpc_service_post_buffer()
548 LIBCFS_FREE(buf, sizeof(*buf)); in srpc_add_buffer()
726 LIBCFS_FREE(buf, sizeof(*buf)); in srpc_service_recycle_buffer()
/drivers/staging/lustre/lustre/libcfs/
Dlibcfs_mem.c58 LIBCFS_FREE(arr->va_ptrs[i], arr->va_size); in cfs_percpt_free()
61 LIBCFS_FREE(arr, offsetof(struct cfs_var_array, in cfs_percpt_free()
166 LIBCFS_FREE(arr->va_ptrs[i], arr->va_size); in cfs_array_free()
168 LIBCFS_FREE(arr, offsetof(struct cfs_var_array, in cfs_array_free()
Dlibcfs_lock.c46 LIBCFS_FREE(pcl, sizeof(*pcl)); in cfs_percpt_lock_free()
72 LIBCFS_FREE(pcl, sizeof(*pcl)); in cfs_percpt_lock_alloc()
Dlibcfs_string.c317 LIBCFS_FREE(re, sizeof(*re)); in cfs_range_expr_parse()
403 LIBCFS_FREE(expr, sizeof(*expr)); in cfs_expr_list_free()
406 LIBCFS_FREE(expr_list, sizeof(*expr_list)); in cfs_expr_list_free()
Dmodule.c180 LIBCFS_FREE(ldu, sizeof(*ldu)); in libcfs_psdev_release()
312 LIBCFS_FREE(buf, 1024); in libcfs_ioctl()
Dworkitem.c347 LIBCFS_FREE(sched, sizeof(*sched)); in cfs_wi_sched_destroy()
474 LIBCFS_FREE(sched, sizeof(*sched)); in cfs_wi_shutdown()
Dlibcfs_cpu.c73 LIBCFS_FREE(cptab, sizeof(*cptab)); in cfs_cpt_table_free()
/drivers/staging/lustre/lnet/lnet/
Drouter_proc.c134 LIBCFS_FREE(ctrs, sizeof(*ctrs)); in __proc_lnet_stats()
155 LIBCFS_FREE(tmpstr, tmpsiz); in __proc_lnet_stats()
156 LIBCFS_FREE(ctrs, sizeof(*ctrs)); in __proc_lnet_stats()
220 LIBCFS_FREE(tmpstr, tmpsiz); in proc_lnet_routes()
285 LIBCFS_FREE(tmpstr, tmpsiz); in proc_lnet_routes()
340 LIBCFS_FREE(tmpstr, tmpsiz); in proc_lnet_routers()
420 LIBCFS_FREE(tmpstr, tmpsiz); in proc_lnet_routers()
483 LIBCFS_FREE(tmpstr, tmpsiz); in proc_lnet_peers()
587 LIBCFS_FREE(tmpstr, tmpsiz); in proc_lnet_peers()
649 LIBCFS_FREE(tmpstr, tmpsiz); in __proc_lnet_buffers()
[all …]
Drouter.c336 LIBCFS_FREE(route, sizeof(*route)); in lnet_add_route()
338 LIBCFS_FREE(rnet, sizeof(*rnet)); in lnet_add_route()
354 LIBCFS_FREE(route, sizeof(*route)); in lnet_add_route()
355 LIBCFS_FREE(rnet, sizeof(*rnet)); in lnet_add_route()
409 LIBCFS_FREE(route, sizeof(*route)); in lnet_add_route()
412 LIBCFS_FREE(rnet, sizeof(*rnet)); in lnet_add_route()
528 LIBCFS_FREE(route, sizeof(*route)); in lnet_del_route()
531 LIBCFS_FREE(rnet, sizeof(*rnet)); in lnet_del_route()
843 LIBCFS_FREE(rcd->rcd_pinginfo, LNET_PINGINFO_SIZE); in lnet_destroy_rc_data()
845 LIBCFS_FREE(rcd, sizeof(*rcd)); in lnet_destroy_rc_data()
[all …]
Dlib-eq.c132 LIBCFS_FREE(eq->eq_events, count * sizeof(lnet_event_t)); in LNetEQAlloc()
201 LIBCFS_FREE(events, size * sizeof(lnet_event_t)); in LNetEQFree()
Dpeer.c99 LIBCFS_FREE(hash, LNET_PEER_HASH_SIZE * sizeof(*hash)); in lnet_peer_tables_destroy()
160 LIBCFS_FREE(lp, sizeof(*lp)); in lnet_peer_tables_cleanup()
Dconfig.c108 LIBCFS_FREE(ni, sizeof(*ni)); in lnet_ni_free()
160 LIBCFS_FREE(ni->ni_cpts, rc * sizeof(ni->ni_cpts[0])); in lnet_ni_alloc()
362 LIBCFS_FREE(tokens, tokensize); in lnet_parse_networks()
401 LIBCFS_FREE(ltb, ltb->ltb_size); in lnet_free_text_buf()
1103 LIBCFS_FREE(ipaddrs, nip * sizeof(*ipaddrs)); in lnet_ipaddr_free_enumeration()
Dapi-ni.c137 LIBCFS_FREE(the_lnet.ln_remote_nets_hash, in lnet_destroy_remote_nets_table()
410 LIBCFS_FREE(fl->fl_objs, fl->fl_nobjs * fl->fl_objsize); in lnet_freelist_fini()
484 LIBCFS_FREE(rec->rec_lh_hash, in lnet_res_container_cleanup()
1026 LIBCFS_FREE(the_lnet.ln_network_tokens, in lnet_shutdown_lndnis()
1651 LIBCFS_FREE(the_lnet.ln_ping_info, in lnet_destroy_ping_info()
1942 LIBCFS_FREE(info, infosz); in lnet_ping()
/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-cpu.c104 LIBCFS_FREE(cptab->ctb_cpu2cpt, in cfs_cpt_table_free()
113 LIBCFS_FREE(part->cpt_nodemask, in cfs_cpt_table_free()
118 LIBCFS_FREE(part->cpt_cpumask, cpumask_size()); in cfs_cpt_table_free()
122 LIBCFS_FREE(cptab->ctb_parts, in cfs_cpt_table_free()
127 LIBCFS_FREE(cptab->ctb_nodemask, sizeof(*cptab->ctb_nodemask)); in cfs_cpt_table_free()
129 LIBCFS_FREE(cptab->ctb_cpumask, cpumask_size()); in cfs_cpt_table_free()
131 LIBCFS_FREE(cptab, sizeof(*cptab)); in cfs_cpt_table_free()
677 LIBCFS_FREE(socket, cpumask_size()); in cfs_cpt_choose_ncpus()
679 LIBCFS_FREE(core, cpumask_size()); in cfs_cpt_choose_ncpus()
806 LIBCFS_FREE(mask, cpumask_size()); in cfs_cpt_table_create()
[all …]
Dlinux-tcpip.c189 LIBCFS_FREE(ifr, nalloc * sizeof(*ifr)); in libcfs_ipif_enumerate()
230 LIBCFS_FREE(ifr, nalloc * sizeof(*ifr)); in libcfs_ipif_enumerate()
245 LIBCFS_FREE(names[i], IFNAMSIZ); in libcfs_ipif_free_enumeration()
247 LIBCFS_FREE(names, n * sizeof(*names)); in libcfs_ipif_free_enumeration()
Dlinux-proc.c368 LIBCFS_FREE(buf, len); in __proc_cpt_table()
384 LIBCFS_FREE(buf, len); in __proc_cpt_table()
/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.c383 LIBCFS_FREE(peer, sizeof(*peer)); in kiblnd_destroy_peer()
801 LIBCFS_FREE(init_qp_attr, sizeof(*init_qp_attr)); in kiblnd_create_conn()
849 LIBCFS_FREE(init_qp_attr, sizeof(*init_qp_attr)); in kiblnd_create_conn()
900 LIBCFS_FREE(conn->ibc_rxs, in kiblnd_destroy_conn()
905 LIBCFS_FREE(conn->ibc_connvars, sizeof(*conn->ibc_connvars)); in kiblnd_destroy_conn()
919 LIBCFS_FREE(conn, sizeof(*conn)); in kiblnd_destroy_conn()
1122 LIBCFS_FREE(p, offsetof(kib_pages_t, ibp_pages[npages])); in kiblnd_free_pages()
1386 LIBCFS_FREE(pool, sizeof(kib_fmr_pool_t)); in kiblnd_destroy_fmr_pool()
1445 LIBCFS_FREE(fpo, sizeof(kib_fmr_pool_t)); in kiblnd_create_fmr_pool()
1912 LIBCFS_FREE(pmr->pmr_ipb, in kiblnd_destroy_pmr_pool()
[all …]
/drivers/staging/lustre/include/linux/lnet/
Dlib-lnet.h375 LIBCFS_FREE(eq, sizeof(*eq)); in lnet_eq_free()
418 LIBCFS_FREE(md, size); in lnet_md_free()
435 LIBCFS_FREE(me, sizeof(*me)); in lnet_me_free()
455 LIBCFS_FREE(msg, sizeof(*msg)); in lnet_msg_free()
/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd.c99 LIBCFS_FREE (route, sizeof (*route)); in ksocknal_destroy_route()
136 LIBCFS_FREE(peer, sizeof(*peer)); in ksocknal_create_peer()
164 LIBCFS_FREE (peer, sizeof (*peer)); in ksocknal_destroy_peer()
1308 LIBCFS_FREE(hello, offsetof(ksock_hello_msg_t, in ksocknal_create_conn()
1386 LIBCFS_FREE(hello, offsetof(ksock_hello_msg_t, in ksocknal_create_conn()
1389 LIBCFS_FREE (conn, sizeof(*conn)); in ksocknal_create_conn()
1682 LIBCFS_FREE (conn, sizeof (*conn)); in ksocknal_destroy_conn()
2223 LIBCFS_FREE(info->ksi_scheds, in ksocknal_free_buffers()
2231 LIBCFS_FREE (ksocknal_data.ksnd_peers, in ksocknal_free_buffers()
2248 LIBCFS_FREE(tx, tx->tx_desc_size); in ksocknal_free_buffers()
[all …]
/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_string.h94 LIBCFS_FREE(values, num * sizeof(values[0])); in cfs_expr_list_values_free()
Dlibcfs_private.h179 #define LIBCFS_FREE(ptr, size) \ macro
339 #define CFS_FREE_PTR(ptr) LIBCFS_FREE(ptr, sizeof(*(ptr)));

12