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.c63 LIBCFS_FREE(name, args->lstio_ses_nmlen + 1); in lst_session_new_ioctl()
76 LIBCFS_FREE(name, args->lstio_ses_nmlen + 1); in lst_session_new_ioctl()
136 LIBCFS_FREE(name, args->lstio_dbg_nmlen + 1); in lst_debug_ioctl()
187 LIBCFS_FREE(name, args->lstio_dbg_nmlen + 1); in lst_debug_ioctl()
212 LIBCFS_FREE(name, args->lstio_grp_nmlen); in lst_group_add_ioctl()
220 LIBCFS_FREE(name, args->lstio_grp_nmlen + 1); in lst_group_add_ioctl()
245 LIBCFS_FREE(name, args->lstio_grp_nmlen + 1); in lst_group_del_ioctl()
253 LIBCFS_FREE(name, args->lstio_grp_nmlen + 1); in lst_group_del_ioctl()
279 LIBCFS_FREE(name, args->lstio_grp_nmlen + 1); in lst_group_update_ioctl()
310 LIBCFS_FREE(name, args->lstio_grp_nmlen + 1); in lst_group_update_ioctl()
[all …]
Dconsole.c134 LIBCFS_FREE(nd, sizeof(struct lstcon_node) + sizeof(struct lstcon_ndlink)); in lstcon_node_put()
191 LIBCFS_FREE(ndl, sizeof(*ndl)); in lstcon_ndlink_release()
208 LIBCFS_FREE(grp, offsetof(struct lstcon_group, in lstcon_group_alloc()
263 LIBCFS_FREE(grp, offsetof(struct lstcon_group, in lstcon_group_decref()
819 LIBCFS_FREE(gentp, sizeof(lstcon_ndlist_ent_t)); in lstcon_group_info()
864 LIBCFS_FREE(bat, sizeof(struct lstcon_batch)); in lstcon_batch_add()
873 LIBCFS_FREE(bat->bat_cli_hash, LST_NODE_HASHSIZE); in lstcon_batch_add()
874 LIBCFS_FREE(bat, sizeof(struct lstcon_batch)); in lstcon_batch_add()
880 LIBCFS_FREE(bat->bat_srv_hash, LST_NODE_HASHSIZE); in lstcon_batch_add()
881 LIBCFS_FREE(bat->bat_cli_hash, LST_NODE_HASHSIZE); in lstcon_batch_add()
[all …]
Dframework.c631 LIBCFS_FREE(tsu, sizeof(*tsu)); in sfw_destroy_test_instance()
638 LIBCFS_FREE(rpc, srpc_client_rpc_size(rpc)); in sfw_destroy_test_instance()
643 LIBCFS_FREE(tsi, sizeof(*tsi)); in sfw_destroy_test_instance()
661 LIBCFS_FREE(tsb, sizeof(struct sfw_batch)); in sfw_destroy_batch()
679 LIBCFS_FREE(sn, sizeof(*sn)); in sfw_destroy_session()
762 LIBCFS_FREE(tsi, sizeof(*tsi)); in sfw_add_test_instance()
1764 LIBCFS_FREE(rpc, srpc_client_rpc_size(rpc)); in sfw_shutdown()
1782 LIBCFS_FREE(tsc, sizeof(*tsc)); in sfw_shutdown()
Dmodule.c71 LIBCFS_FREE(lst_sched_test, in lnet_selftest_exit()
Drpc.c116 LIBCFS_FREE(bk, offsetof(struct srpc_bulk, bk_iovs[bk->bk_niov])); in srpc_free_bulk()
213 LIBCFS_FREE(buf, sizeof(*buf)); in srpc_service_fini()
224 LIBCFS_FREE(rpc, sizeof(*rpc)); in srpc_service_fini()
506 LIBCFS_FREE(buf, sizeof(*buf)); in srpc_service_post_buffer()
545 LIBCFS_FREE(buf, sizeof(*buf)); in srpc_add_buffer()
722 LIBCFS_FREE(buf, sizeof(*buf)); in srpc_service_recycle_buffer()
/drivers/staging/lustre/lnet/libcfs/
Dlibcfs_mem.c53 LIBCFS_FREE(arr->va_ptrs[i], arr->va_size); in cfs_percpt_free()
56 LIBCFS_FREE(arr, offsetof(struct cfs_var_array, in cfs_percpt_free()
132 LIBCFS_FREE(arr->va_ptrs[i], arr->va_size); in cfs_array_free()
134 LIBCFS_FREE(arr, offsetof(struct cfs_var_array, in cfs_array_free()
Dlibcfs_lock.c40 LIBCFS_FREE(pcl, sizeof(*pcl)); in cfs_percpt_lock_free()
67 LIBCFS_FREE(pcl, sizeof(*pcl)); in cfs_percpt_lock_create()
Dworkitem.c330 LIBCFS_FREE(sched, sizeof(*sched)); in cfs_wi_sched_destroy()
351 LIBCFS_FREE(sched, sizeof(*sched)); in cfs_wi_sched_create()
460 LIBCFS_FREE(sched, sizeof(*sched)); in cfs_wi_shutdown()
Dlibcfs_string.c335 LIBCFS_FREE(re, sizeof(*re)); in cfs_range_expr_parse()
490 LIBCFS_FREE(expr, sizeof(*expr)); in cfs_expr_list_free()
493 LIBCFS_FREE(expr_list, sizeof(*expr_list)); in cfs_expr_list_free()
Dmodule.c159 LIBCFS_FREE(hdr, hdr->ioc_len); in libcfs_ioctl()
314 LIBCFS_FREE(buf, len); in __proc_cpt_table()
329 LIBCFS_FREE(buf, len); in __proc_cpt_table()
Dlibcfs_cpu.c69 LIBCFS_FREE(cptab, sizeof(*cptab)); in cfs_cpt_table_free()
/drivers/staging/lustre/lnet/lnet/
Drouter_proc.c98 LIBCFS_FREE(ctrs, sizeof(*ctrs)); in __proc_lnet_stats()
119 LIBCFS_FREE(tmpstr, tmpsiz); in __proc_lnet_stats()
120 LIBCFS_FREE(ctrs, sizeof(*ctrs)); in __proc_lnet_stats()
184 LIBCFS_FREE(tmpstr, tmpsiz); in proc_lnet_routes()
248 LIBCFS_FREE(tmpstr, tmpsiz); in proc_lnet_routes()
303 LIBCFS_FREE(tmpstr, tmpsiz); in proc_lnet_routers()
385 LIBCFS_FREE(tmpstr, tmpsiz); in proc_lnet_routers()
448 LIBCFS_FREE(tmpstr, tmpsiz); in proc_lnet_peers()
554 LIBCFS_FREE(tmpstr, tmpsiz); in proc_lnet_peers()
616 LIBCFS_FREE(tmpstr, tmpsiz); in __proc_lnet_buffers()
[all …]
Dconfig.c109 LIBCFS_FREE(ni->ni_lnd_tunables, sizeof(*ni->ni_lnd_tunables)); in lnet_ni_free()
112 LIBCFS_FREE(ni->ni_interfaces[i], in lnet_ni_free()
120 LIBCFS_FREE(ni, sizeof(*ni)); in lnet_ni_free()
172 LIBCFS_FREE(ni->ni_cpts, rc * sizeof(ni->ni_cpts[0])); in lnet_ni_alloc()
386 LIBCFS_FREE(tokens, tokensize); in lnet_parse_networks()
402 LIBCFS_FREE(tokens, tokensize); in lnet_parse_networks()
440 LIBCFS_FREE(ltb, ltb->ltb_size); in lnet_free_text_buf()
1202 LIBCFS_FREE(ipaddrs, nip * sizeof(*ipaddrs)); in lnet_ipaddr_enumerate()
1228 LIBCFS_FREE(ipaddrs, nip * sizeof(*ipaddrs)); in lnet_parse_ip2nets()
Drouter.c330 LIBCFS_FREE(route, sizeof(*route)); in lnet_add_route()
332 LIBCFS_FREE(rnet, sizeof(*rnet)); in lnet_add_route()
348 LIBCFS_FREE(route, sizeof(*route)); in lnet_add_route()
349 LIBCFS_FREE(rnet, sizeof(*rnet)); in lnet_add_route()
403 LIBCFS_FREE(route, sizeof(*route)); in lnet_add_route()
407 LIBCFS_FREE(rnet, sizeof(*rnet)); in lnet_add_route()
525 LIBCFS_FREE(route, sizeof(*route)); in lnet_del_route()
528 LIBCFS_FREE(rnet, sizeof(*rnet)); in lnet_del_route()
896 LIBCFS_FREE(rcd->rcd_pinginfo, LNET_PINGINFO_SIZE); in lnet_destroy_rc_data()
898 LIBCFS_FREE(rcd, sizeof(*rcd)); in lnet_destroy_rc_data()
[all …]
Dlib-socket.c201 LIBCFS_FREE(ifr, nalloc * sizeof(*ifr)); in lnet_ipif_enumerate()
241 LIBCFS_FREE(ifr, nalloc * sizeof(*ifr)); in lnet_ipif_enumerate()
255 LIBCFS_FREE(names[i], IFNAMSIZ); in lnet_ipif_free_enumeration()
257 LIBCFS_FREE(names, n * sizeof(*names)); in lnet_ipif_free_enumeration()
Dlib-eq.c134 LIBCFS_FREE(eq->eq_events, count * sizeof(lnet_event_t)); in LNetEQAlloc()
204 LIBCFS_FREE(events, size * sizeof(lnet_event_t)); in LNetEQFree()
Dpeer.c96 LIBCFS_FREE(hash, LNET_PEER_HASH_SIZE * sizeof(*hash)); in lnet_peer_tables_destroy()
212 LIBCFS_FREE(lp, sizeof(*lp)); in lnet_peer_tables_cleanup()
/drivers/staging/lustre/lnet/libcfs/linux/
Dlinux-cpu.c94 LIBCFS_FREE(cptab->ctb_cpu2cpt, in cfs_cpt_table_free()
103 LIBCFS_FREE(part->cpt_nodemask, in cfs_cpt_table_free()
108 LIBCFS_FREE(part->cpt_cpumask, cpumask_size()); in cfs_cpt_table_free()
112 LIBCFS_FREE(cptab->ctb_parts, in cfs_cpt_table_free()
117 LIBCFS_FREE(cptab->ctb_nodemask, sizeof(*cptab->ctb_nodemask)); in cfs_cpt_table_free()
119 LIBCFS_FREE(cptab->ctb_cpumask, cpumask_size()); in cfs_cpt_table_free()
121 LIBCFS_FREE(cptab, sizeof(*cptab)); in cfs_cpt_table_free()
668 LIBCFS_FREE(socket, cpumask_size()); in cfs_cpt_choose_ncpus()
670 LIBCFS_FREE(core, cpumask_size()); in cfs_cpt_choose_ncpus()
800 LIBCFS_FREE(mask, cpumask_size()); in cfs_cpt_table_create()
[all …]
Dlinux-module.c153 LIBCFS_FREE(*hdr_pp, hdr.ioc_len); in libcfs_ioctl_getdata()
/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.c368 LIBCFS_FREE(peer, sizeof(*peer)); in kiblnd_destroy_peer()
777 LIBCFS_FREE(init_qp_attr, sizeof(*init_qp_attr)); in kiblnd_create_conn()
828 LIBCFS_FREE(conn, sizeof(*conn)); in kiblnd_create_conn()
830 LIBCFS_FREE(init_qp_attr, sizeof(*init_qp_attr)); in kiblnd_create_conn()
880 LIBCFS_FREE(conn->ibc_rxs, in kiblnd_destroy_conn()
885 LIBCFS_FREE(conn->ibc_connvars, sizeof(*conn->ibc_connvars)); in kiblnd_destroy_conn()
1088 LIBCFS_FREE(p, offsetof(struct kib_pages, ibp_pages[npages])); in kiblnd_free_pages()
1319 LIBCFS_FREE(frd, sizeof(*frd)); in kiblnd_destroy_fmr_pool()
1330 LIBCFS_FREE(fpo, sizeof(*fpo)); in kiblnd_destroy_fmr_pool()
1425 LIBCFS_FREE(frd, sizeof(*frd)); in kiblnd_alloc_freg_pool()
[all …]
/drivers/staging/lustre/include/linux/lnet/
Dlib-lnet.h193 LIBCFS_FREE(eq, sizeof(*eq)); in lnet_eq_free()
233 LIBCFS_FREE(md, size); in lnet_md_free()
248 LIBCFS_FREE(me, sizeof(*me)); in lnet_me_free()
266 LIBCFS_FREE(msg, sizeof(*msg)); in lnet_msg_free()
/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_private.h148 #define LIBCFS_FREE(ptr, size) \ macro
280 #define CFS_FREE_PTR(ptr) LIBCFS_FREE(ptr, sizeof(*(ptr)))
Dlibcfs_string.h90 LIBCFS_FREE(values, num * sizeof(values[0])); in cfs_expr_list_values_free()
/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd.c95 LIBCFS_FREE(route, sizeof(*route)); in ksocknal_destroy_route()
133 LIBCFS_FREE(peer, sizeof(*peer)); in ksocknal_create_peer()
161 LIBCFS_FREE(peer, sizeof(*peer)); in ksocknal_destroy_peer()
1338 LIBCFS_FREE(hello, offsetof(ksock_hello_msg_t, in ksocknal_create_conn()
1420 LIBCFS_FREE(hello, offsetof(ksock_hello_msg_t, in ksocknal_create_conn()
1423 LIBCFS_FREE(conn, sizeof(*conn)); in ksocknal_create_conn()
1720 LIBCFS_FREE(conn, sizeof(*conn)); in ksocknal_destroy_conn()
2262 LIBCFS_FREE(info->ksi_scheds, in ksocknal_free_buffers()
2270 LIBCFS_FREE(ksocknal_data.ksnd_peers, in ksocknal_free_buffers()
2287 LIBCFS_FREE(tx, tx->tx_desc_size); in ksocknal_free_buffers()
[all …]
Dsocklnd_proto.c518 LIBCFS_FREE(hdr, sizeof(*hdr)); in ksocknal_send_hello_v1()
636 LIBCFS_FREE(hdr, sizeof(*hdr)); in ksocknal_recv_hello_v1()

12