/drivers/staging/lustre/lnet/selftest/ |
D | conctl.c | 61 LIBCFS_ALLOC(name, args->lstio_ses_nmlen + 1); in lst_session_new_ioctl() 135 LIBCFS_ALLOC(name, args->lstio_dbg_nmlen + 1); in lst_debug_ioctl() 211 LIBCFS_ALLOC(name, args->lstio_grp_nmlen + 1); in lst_group_add_ioctl() 245 LIBCFS_ALLOC(name, args->lstio_grp_nmlen + 1); in lst_group_del_ioctl() 280 LIBCFS_ALLOC(name, args->lstio_grp_nmlen + 1); in lst_group_update_ioctl() 342 LIBCFS_ALLOC(name, args->lstio_grp_nmlen + 1); in lst_nodes_add_ioctl() 420 LIBCFS_ALLOC(name, args->lstio_grp_nmlen + 1); in lst_group_info_ioctl() 463 LIBCFS_ALLOC(name, args->lstio_bat_nmlen + 1); in lst_batch_add_ioctl() 497 LIBCFS_ALLOC(name, args->lstio_bat_nmlen + 1); in lst_batch_run_ioctl() 533 LIBCFS_ALLOC(name, args->lstio_bat_nmlen + 1); in lst_batch_stop_ioctl() [all …]
|
D | console.c | 92 LIBCFS_ALLOC(*ndpp, sizeof(lstcon_node_t) + sizeof(lstcon_ndlink_t)); in lstcon_node_find() 168 LIBCFS_ALLOC(ndl, sizeof(lstcon_ndlink_t)); in lstcon_ndlink_find() 201 LIBCFS_ALLOC(grp, offsetof(lstcon_group_t, in lstcon_group_alloc() 806 LIBCFS_ALLOC(gentp, sizeof(lstcon_ndlist_ent_t)); in lstcon_group_info() 855 LIBCFS_ALLOC(bat, sizeof(lstcon_batch_t)); in lstcon_batch_add() 861 LIBCFS_ALLOC(bat->bat_cli_hash, in lstcon_batch_add() 870 LIBCFS_ALLOC(bat->bat_srv_hash, in lstcon_batch_add() 964 LIBCFS_ALLOC(entp, sizeof(lstcon_test_batch_ent_t)); in lstcon_batch_info() 1305 LIBCFS_ALLOC(test, offsetof(lstcon_test_t, tes_param[paramlen])); in lstcon_test_add() 1779 LIBCFS_ALLOC(entp, sizeof(*entp)); in lstcon_session_info() [all …]
|
D | module.c | 108 LIBCFS_ALLOC(lst_sched_test, sizeof(lst_sched_test[0]) * nscheds); in lnet_selftest_init()
|
D | framework.c | 148 LIBCFS_ALLOC(tsc, sizeof(sfw_test_case_t)); in sfw_register_test() 353 LIBCFS_ALLOC(bat, sizeof(sfw_batch_t)); in sfw_bid2batch() 452 LIBCFS_ALLOC(sn, sizeof(sfw_session_t)); in sfw_make_session() 736 LIBCFS_ALLOC(tsi, sizeof(*tsi)); in sfw_add_test_instance() 791 LIBCFS_ALLOC(tsu, sizeof(sfw_test_unit_t)); in sfw_add_test_instance()
|
D | conrpc.c | 133 LIBCFS_ALLOC(crpc, sizeof(*crpc)); in lstcon_rpc_prep() 252 LIBCFS_ALLOC(trans, sizeof(*trans)); in lstcon_rpc_trans_prep()
|
/drivers/staging/lustre/lustre/libcfs/linux/ |
D | linux-cpu.c | 141 LIBCFS_ALLOC(cptab, sizeof(*cptab)); in cfs_cpt_table_alloc() 147 LIBCFS_ALLOC(cptab->ctb_cpumask, cpumask_size()); in cfs_cpt_table_alloc() 148 LIBCFS_ALLOC(cptab->ctb_nodemask, sizeof(*cptab->ctb_nodemask)); in cfs_cpt_table_alloc() 153 LIBCFS_ALLOC(cptab->ctb_cpu2cpt, in cfs_cpt_table_alloc() 161 LIBCFS_ALLOC(cptab->ctb_parts, ncpt * sizeof(cptab->ctb_parts[0])); in cfs_cpt_table_alloc() 168 LIBCFS_ALLOC(part->cpt_cpumask, cpumask_size()); in cfs_cpt_table_alloc() 169 LIBCFS_ALLOC(part->cpt_nodemask, sizeof(*part->cpt_nodemask)); in cfs_cpt_table_alloc() 635 LIBCFS_ALLOC(socket, cpumask_size()); in cfs_cpt_choose_ncpus() 636 LIBCFS_ALLOC(core, cpumask_size()); in cfs_cpt_choose_ncpus() 765 LIBCFS_ALLOC(mask, cpumask_size()); in cfs_cpt_table_create() [all …]
|
/drivers/staging/lustre/lustre/libcfs/ |
D | libcfs_mem.c | 86 LIBCFS_ALLOC(arr, offsetof(struct cfs_var_array, va_ptrs[count])); in cfs_percpt_alloc() 184 LIBCFS_ALLOC(arr, offsetof(struct cfs_var_array, va_ptrs[count])); in cfs_array_alloc() 192 LIBCFS_ALLOC(arr->va_ptrs[i], size); in cfs_array_alloc()
|
D | libcfs_string.c | 268 LIBCFS_ALLOC(re, sizeof(*re)); in cfs_range_expr_parse() 444 LIBCFS_ALLOC(val, sizeof(val[0]) * count); in cfs_expr_list_values() 497 LIBCFS_ALLOC(expr_list, sizeof(*expr_list)); in cfs_expr_list_parse()
|
D | libcfs_cpu.c | 58 LIBCFS_ALLOC(cptab, sizeof(*cptab)); in cfs_cpt_table_alloc()
|
D | libcfs_lock.c | 64 LIBCFS_ALLOC(pcl, sizeof(*pcl)); in cfs_percpt_lock_alloc()
|
D | module.c | 186 LIBCFS_ALLOC(ldu, sizeof(*ldu)); in libcfs_psdev_open() 473 LIBCFS_ALLOC(buf, len); in __proc_cpt_table()
|
D | workitem.c | 359 LIBCFS_ALLOC(sched, sizeof(*sched)); in cfs_wi_sched_create()
|
D | hash.c | 924 LIBCFS_ALLOC(new_bkts, sizeof(new_bkts[0]) * new_size); in cfs_hash_buckets_realloc() 937 LIBCFS_ALLOC(new_bkts[i], cfs_hash_bkt_size(hs)); in cfs_hash_buckets_realloc() 1061 LIBCFS_ALLOC(hs, offsetof(struct cfs_hash, hs_name[len])); in cfs_hash_create()
|
/drivers/staging/lustre/lnet/lnet/ |
D | router_proc.c | 113 LIBCFS_ALLOC(ctrs, sizeof(*ctrs)); in __proc_lnet_stats() 117 LIBCFS_ALLOC(tmpstr, tmpsiz); in __proc_lnet_stats() 173 LIBCFS_ALLOC(tmpstr, tmpsiz); in proc_lnet_routes() 297 LIBCFS_ALLOC(tmpstr, tmpsiz); in proc_lnet_routers() 438 LIBCFS_ALLOC(tmpstr, tmpsiz); in proc_lnet_peers() 595 LIBCFS_ALLOC(tmpstr, tmpsiz); in __proc_lnet_buffers() 659 LIBCFS_ALLOC(tmpstr, tmpsiz); in proc_lnet_nis() 809 LIBCFS_ALLOC(buf, buf_len); in __proc_lnet_portal_rotor()
|
D | lib-socket.c | 167 LIBCFS_ALLOC(ifr, nalloc * sizeof(*ifr)); in lnet_ipif_enumerate() 199 LIBCFS_ALLOC(names, nfound * sizeof(*names)); in lnet_ipif_enumerate() 215 LIBCFS_ALLOC(names[i], IFNAMSIZ); in lnet_ipif_enumerate()
|
D | config.c | 125 LIBCFS_ALLOC(ni, sizeof(*ni)); in lnet_ni_alloc() 196 LIBCFS_ALLOC(tokens, tokensize); in lnet_parse_networks() 387 LIBCFS_ALLOC(ltb, nob); in lnet_new_text_buf() 1130 LIBCFS_ALLOC(ipaddrs, nif * sizeof(*ipaddrs)); in lnet_ipaddr_enumerate() 1163 LIBCFS_ALLOC(ipaddrs2, nip * sizeof(*ipaddrs2)); in lnet_ipaddr_enumerate()
|
D | router.c | 318 LIBCFS_ALLOC(route, sizeof(*route)); in lnet_add_route() 319 LIBCFS_ALLOC(rnet, sizeof(*rnet)); in lnet_add_route() 858 LIBCFS_ALLOC(rcd, sizeof(*rcd)); in lnet_create_rc_data_locked() 865 LIBCFS_ALLOC(pi, LNET_PINGINFO_SIZE); in lnet_create_rc_data_locked()
|
D | lib-eq.c | 97 LIBCFS_ALLOC(eq->eq_events, count * sizeof(lnet_event_t)); in LNetEQAlloc()
|
D | nidstrings.c | 172 LIBCFS_ALLOC(addrrange, sizeof(struct addrrange)); in parse_addrange() 229 LIBCFS_ALLOC(nr, sizeof(struct nidrange)); in add_nidrange()
|
D | api-ni.c | 109 LIBCFS_ALLOC(hash, LNET_REMOTE_NETS_HASH_SIZE * sizeof(*hash)); in lnet_create_remote_nets_table() 1520 LIBCFS_ALLOC(pinfo, infosz); in lnet_create_ping_info() 1713 LIBCFS_ALLOC(info, infosz); in lnet_ping()
|
/drivers/staging/lustre/include/linux/lnet/ |
D | lib-lnet.h | 169 LIBCFS_ALLOC(eq, sizeof(*eq)); in lnet_eq_alloc() 195 LIBCFS_ALLOC(md, size); in lnet_md_alloc() 225 LIBCFS_ALLOC(me, sizeof(*me)); in lnet_me_alloc() 240 LIBCFS_ALLOC(msg, sizeof(*msg)); in lnet_msg_alloc()
|
/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_private.h | 125 #define LIBCFS_ALLOC(ptr, size) \ macro 308 #define CFS_ALLOC_PTR(ptr) LIBCFS_ALLOC(ptr, sizeof(*(ptr)))
|
/drivers/staging/lustre/lnet/klnds/socklnd/ |
D | socklnd.c | 72 LIBCFS_ALLOC(route, sizeof(*route)); in ksocknal_create_route() 112 LIBCFS_ALLOC(peer, sizeof(*peer)); in ksocknal_create_peer() 974 LIBCFS_ALLOC(cr, sizeof(*cr)); in ksocknal_accept() 1033 LIBCFS_ALLOC(conn, sizeof(*conn)); in ksocknal_create_conn() 1058 LIBCFS_ALLOC(hello, offsetof(ksock_hello_msg_t, in ksocknal_create_conn() 2355 LIBCFS_ALLOC(ksocknal_data.ksnd_peers, in ksocknal_base_startup() 2767 LIBCFS_ALLOC(net, sizeof(*net)); in ksocknal_startup()
|
D | socklnd_proto.c | 463 LIBCFS_ALLOC(hdr, sizeof(*hdr)); in ksocknal_send_hello_v1() 577 LIBCFS_ALLOC(hdr, sizeof(*hdr)); in ksocknal_recv_hello_v1()
|
/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd.c | 2082 LIBCFS_ALLOC(attr, sizeof(*attr)); in kiblnd_hdev_get_attr() 2157 LIBCFS_ALLOC(hdev->ibh_mrs, 1 * sizeof(*hdev->ibh_mrs)); in kiblnd_hdev_setup_mrs() 2299 LIBCFS_ALLOC(hdev, sizeof(*hdev)); in kiblnd_dev_failover() 2402 LIBCFS_ALLOC(dev, sizeof(*dev)); in kiblnd_create_dev() 2578 LIBCFS_ALLOC(kiblnd_data.kib_peers, in kiblnd_base_startup() 2765 LIBCFS_ALLOC(net, sizeof(*net)); in kiblnd_startup()
|