Home
last modified time | relevance | path

Searched refs:OBD_ALLOC (Results 1 – 33 of 33) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dacl.c107 OBD_ALLOC(new, new_size); in lustre_posix_acl_xattr_reduce_space()
129 OBD_ALLOC(new, ext_size); in lustre_ext_acl_xattr_reduce_space()
155 OBD_ALLOC(new, esize); in lustre_posix_acl_xattr_2ext()
186 OBD_ALLOC(new, size); in lustre_posix_acl_xattr_filter()
312 OBD_ALLOC(new, posix_size); in lustre_acl_xattr_merge2posix()
363 OBD_ALLOC(new, posix_size); in lustre_acl_xattr_merge2posix()
435 OBD_ALLOC(new, ext_size); in lustre_acl_xattr_merge2ext()
Dobd_mount.c250 OBD_ALLOC(mgcname, len); in lustre_start_mgc()
251 OBD_ALLOC(niduuid, len + 2); in lustre_start_mgc()
516 OBD_ALLOC(niduuid, len); in lustre_stop_mgc()
849 OBD_ALLOC(exclude_list, sizeof(index) * devmax); in lmd_make_exclusion()
878 OBD_ALLOC(lmd->lmd_exclude, sizeof(index) * in lmd_make_exclusion()
908 OBD_ALLOC(lmd->lmd_mgssec, length + 1); in lmd_parse_mgssec()
936 OBD_ALLOC(*handle, length + 1); in lmd_parse_string()
966 OBD_ALLOC(mgsnid, oldlen + length + 1); in lmd_parse_mgs()
1008 OBD_ALLOC(lmd->lmd_params, 4096); in lmd_parse()
1146 OBD_ALLOC(lmd->lmd_profile, strlen(s1) + 8); in lmd_parse()
[all …]
Dobd_config.c863 OBD_ALLOC(lprof, sizeof(*lprof)); in class_add_profile()
869 OBD_ALLOC(lprof->lp_profile, proflen); in class_add_profile()
877 OBD_ALLOC(lprof->lp_dt, osclen); in class_add_profile()
886 OBD_ALLOC(lprof->lp_md, mdclen); in class_add_profile()
1014 OBD_ALLOC(new_param, new_len); in lustre_cfg_rename()
1496 OBD_ALLOC(inst_name, inst_len); in class_config_llog_handler()
1674 OBD_ALLOC(outstr, 256); in class_config_dump_handler()
Dgenops.c174 OBD_ALLOC(type, sizeof(*type)); in class_register_type()
180 OBD_ALLOC(type->typ_name, strlen(name) + 1); in class_register_type()
1011 OBD_ALLOC(imp, sizeof(*imp)); in class_new_import()
1814 OBD_ALLOC(lh, len); in kuc_alloc()
Dcapa.c90 OBD_ALLOC(hash, PAGE_CACHE_SIZE); in init_capa_hash()
Dllog.c286 OBD_ALLOC(buf, LLOG_CHUNK_SIZE); in llog_process_thread()
487 OBD_ALLOC(buf, LLOG_CHUNK_SIZE); in llog_reverse_process()
Dclass_obd.c234 OBD_ALLOC(lcfg, data->ioc_plen1); in class_handle_ioctl()
Dcl_io.c1459 OBD_ALLOC(req->crq_o, nr_objects * sizeof(req->crq_o[0])); in cl_req_alloc()
Dlu_object.c1584 OBD_ALLOC(ctx->lc_value, in keys_init()
Dlprocfs_status.c1714 OBD_ALLOC(buffer, LNET_NIDSTR_SIZE); in lprocfs_exp_setup()
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_request.c289 OBD_ALLOC(set, sizeof(*set)); in lov_prep_getattr_set()
315 OBD_ALLOC(req, sizeof(*req)); in lov_prep_getattr_set()
372 OBD_ALLOC(set, sizeof(*set)); in lov_prep_destroy_set()
398 OBD_ALLOC(req, sizeof(*req)); in lov_prep_destroy_set()
491 OBD_ALLOC(set, sizeof(*set)); in lov_prep_setattr_set()
514 OBD_ALLOC(req, sizeof(*req)); in lov_prep_setattr_set()
719 OBD_ALLOC(set, sizeof(*set)); in lov_prep_statfs_set()
745 OBD_ALLOC(req, sizeof(*req)); in lov_prep_statfs_set()
751 OBD_ALLOC(req->rq_oi.oi_osfs, sizeof(*req->rq_oi.oi_osfs)); in lov_prep_statfs_set()
Dlov_dev.c326 OBD_ALLOC(emerg, nr * sizeof(emerg[0])); in lov_emerg_alloc()
372 OBD_ALLOC(newd, tgt_size * sz); in lov_expand_targets()
Dlov_pool.c330 OBD_ALLOC(op->op_array, op->op_size * sizeof(op->op_array[0])); in lov_ost_pool_init()
350 OBD_ALLOC(new, new_size * sizeof(op->op_array[0])); in lov_ost_pool_extend()
Dlov_obd.c557 OBD_ALLOC(newtgts, sizeof(*newtgts) * newsize); in lov_add_target()
997 OBD_ALLOC(obj_mdp, sizeof(*obj_mdp)); in lov_recreate()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dlproc_ptlrpc.c510 OBD_ALLOC(infos, num_pols * sizeof(*infos)); in ptlrpc_lprocfs_nrs_seq_show()
658 OBD_ALLOC(cmd, LPROCFS_NRS_WR_MAX_CMD); in ptlrpc_lprocfs_nrs_seq_write()
828 OBD_ALLOC(srhi, sizeof(*srhi)); in ptlrpc_lprocfs_svc_req_history_start()
1194 OBD_ALLOC(kbuf, BUFLEN); in lprocfs_wr_evict_client()
1278 OBD_ALLOC(kbuf, count + 1); in lprocfs_wr_import()
Dsec_bulk.c412 OBD_ALLOC(pools, npools * sizeof(*pools)); in enc_pools_add_pages()
417 OBD_ALLOC(pools[i], PAGE_CACHE_SIZE); in enc_pools_add_pages()
511 OBD_ALLOC(desc->bd_enc_iov, in sptlrpc_enc_pool_get_pages()
Dptlrpcd.c531 OBD_ALLOC(pc->pc_partners, in ptlrpcd_bind()
741 OBD_ALLOC(ptlrpcds, size); in ptlrpcd_init()
Dsec_config.c268 OBD_ALLOC(rules, nslot * sizeof(*rset->srs_rules)); in sptlrpc_rule_set_expand()
Dclient.c106 OBD_ALLOC(desc, offsetof(struct ptlrpc_bulk_desc, bd_iov[npages])); in ptlrpc_new_bulk()
501 OBD_ALLOC(pool, sizeof(struct ptlrpc_request_pool)); in ptlrpc_init_rq_pool()
859 OBD_ALLOC(set, sizeof(*set)); in ptlrpc_prep_set()
Dservice.c734 OBD_ALLOC(service, offsetof(struct ptlrpc_service, srv_parts[ncpts])); in ptlrpc_register_service()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dobd_support.h644 #define OBD_ALLOC(ptr, size) OBD_ALLOC_GFP(ptr, size, GFP_NOFS) macro
646 #define OBD_ALLOC_PTR(ptr) OBD_ALLOC(ptr, sizeof(*(ptr)))
693 OBD_ALLOC(ptr, size); \
Dlustre_cfg.h234 OBD_ALLOC(lcfg, lustre_cfg_len(bufs->lcfg_bufcount, in lustre_cfg_new()
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
Dldlm_lockd.c223 OBD_ALLOC(lvb_data, lvb_len); in ldlm_handle_cp_callback()
451 OBD_ALLOC(blwi, sizeof(*blwi)); in ldlm_bl_to_thread()
1015 OBD_ALLOC(ldlm_state, sizeof(*ldlm_state)); in ldlm_setup()
1062 OBD_ALLOC(blp, sizeof(*blp)); in ldlm_setup()
Dldlm_lib.c76 OBD_ALLOC(imp_conn, sizeof(*imp_conn)); in import_set_conn()
Dldlm_pool.c749 OBD_ALLOC(var_name, MAX_STRING_SIZE + 1); in ldlm_pool_proc_init()
Dldlm_lock.c1530 OBD_ALLOC(lock->l_lvb_data, lvb_len); in ldlm_lock_create()
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/
Dlproc_mdc.c109 OBD_ALLOC(lh, len); in mdc_kuc_write()
Dmdc_request.c1204 OBD_ALLOC(key, keylen); in mdc_ioc_fid2path()
1607 OBD_ALLOC(cs->cs_buf, KUC_CHANGELOG_MSG_MAXSIZE); in mdc_changelog_send_thread()
2433 OBD_ALLOC(cli->cl_rpc_lock, sizeof(*cli->cl_rpc_lock)); in mdc_setup()
2440 OBD_ALLOC(cli->cl_close_lock, sizeof(*cli->cl_close_lock)); in mdc_setup()
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/
Decho_client.c482 OBD_ALLOC(*lsmp, lsm_size); in echo_alloc_memmd()
486 OBD_ALLOC((*lsmp)->lsm_oinfo[0], sizeof(struct lov_oinfo)); in echo_alloc_memmd()
1582 OBD_ALLOC(pga, npages * sizeof(*pga)); in echo_client_kbrw()
1586 OBD_ALLOC(pages, npages * sizeof(*pages)); in echo_client_kbrw()
1664 OBD_ALLOC(lnb, npages * sizeof(struct niobuf_local)); in echo_client_prep_commit()
1665 OBD_ALLOC(rnb, npages * sizeof(struct niobuf_remote)); in echo_client_prep_commit()
2055 OBD_ALLOC(ocd, sizeof(*ocd)); in echo_client_setup()
/linux-4.1.27/drivers/staging/lustre/lustre/mgc/
Dmgc_request.c201 OBD_ALLOC(cld, sizeof(*cld) + strlen(logname) + 1); in do_config_log_add()
1132 OBD_ALLOC(inst, PAGE_CACHE_SIZE); in mgc_apply_recover_logs()
1339 OBD_ALLOC(pages, sizeof(*pages) * nrpages); in mgc_process_recover_log()
/linux-4.1.27/drivers/staging/lustre/lustre/fid/
Dfid_request.c512 OBD_ALLOC(prefix, MAX_OBD_NAME + 5); in client_fid_init()
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dosc_request.c121 OBD_ALLOC(*lmmp, lmm_size); in osc_packmd()
167 OBD_ALLOC(*lsmp, lsm_size); in osc_unpackmd()
170 OBD_ALLOC((*lsmp)->lsm_oinfo[0], sizeof(struct lov_oinfo)); in osc_unpackmd()
1911 OBD_ALLOC(crattr, sizeof(*crattr)); in osc_build_rpc()
1917 OBD_ALLOC(pga, sizeof(*pga) * page_count); in osc_build_rpc()
2620 OBD_ALLOC(lumk, lum_size); in osc_getstripe()
/linux-4.1.27/drivers/staging/lustre/lustre/lmv/
Dlmv_obd.c491 OBD_ALLOC(newtgts, sizeof(*newtgts) * newsize); in lmv_add_target()
753 OBD_ALLOC(remote_gf, remote_gf_size); in lmv_fid2path()
1330 OBD_ALLOC(lmv->tgts, sizeof(*lmv->tgts) * 32); in lmv_setup()
1440 OBD_ALLOC(temp, sizeof(*temp)); in lmv_statfs()