Searched refs:lump (Results 1 – 7 of 7) sorted by relevance
/drivers/staging/lustre/lustre/llite/ |
D | xattr.c | 231 struct lov_user_md *lump = (struct lov_user_md *)value; in ll_setxattr() local 240 if (lump != NULL && lump->lmm_stripe_offset == 0) in ll_setxattr() 241 lump->lmm_stripe_offset = -1; in ll_setxattr() 243 if (lump != NULL && S_ISREG(inode->i_mode)) { in ll_setxattr() 245 int lum_size = (lump->lmm_magic == LOV_USER_MAGIC_V1) ? in ll_setxattr() 246 sizeof(*lump) : sizeof(struct lov_user_md_v3); in ll_setxattr() 248 rc = ll_lov_setstripe_ea_info(inode, dentry, flags, lump, in ll_setxattr() 253 rc = ll_dir_setstripe(inode, lump, 0); in ll_setxattr() 472 struct lov_user_md *lump; in ll_getxattr() local 522 lump = buffer; in ll_getxattr() [all …]
|
D | dir.c | 654 static int ll_dir_setdirstripe(struct inode *dir, struct lmv_user_md *lump, in ll_dir_setdirstripe() argument 666 lump); in ll_dir_setdirstripe() 673 err = md_create(sbi->ll_md_exp, op_data, lump, sizeof(*lump), mode, in ll_dir_setdirstripe() 685 int ll_dir_setstripe(struct inode *inode, struct lov_user_md *lump, in ll_dir_setstripe() argument 696 if (lump != NULL) { in ll_dir_setstripe() 702 switch (lump->lmm_magic) { in ll_dir_setstripe() 704 if (lump->lmm_magic != cpu_to_le32(LOV_USER_MAGIC_V1)) in ll_dir_setstripe() 705 lustre_swab_lov_user_md_v1(lump); in ll_dir_setstripe() 710 if (lump->lmm_magic != cpu_to_le32(LOV_USER_MAGIC_V3)) in ll_dir_setstripe() 712 (struct lov_user_md_v3 *)lump); in ll_dir_setstripe() [all …]
|
D | file.c | 1463 struct lov_user_md *lump; in ll_lov_setea() local 1471 lump = libcfs_kvzalloc(lum_size, GFP_NOFS); in ll_lov_setea() 1472 if (lump == NULL) in ll_lov_setea() 1475 if (copy_from_user(lump, (struct lov_user_md *)arg, lum_size)) { in ll_lov_setea() 1476 kvfree(lump); in ll_lov_setea() 1480 rc = ll_lov_setstripe_ea_info(inode, file->f_path.dentry, flags, lump, in ll_lov_setea() 1484 kvfree(lump); in ll_lov_setea()
|
D | llite_internal.h | 738 int ll_dir_setstripe(struct inode *inode, struct lov_user_md *lump,
|
/drivers/staging/lustre/lustre/lov/ |
D | lov_pack.c | 392 struct lov_user_md *lump) in lov_getstripe() argument 409 if (copy_from_user(&lum, lump, lum_size)) { in lov_getstripe() 422 rc = copy_to_user(lump, &lum, lum_size); in lov_getstripe() 475 if (copy_to_user(lump, lmmk, lmm_size)) in lov_getstripe()
|
D | lov_internal.h | 215 struct lov_stripe_md *lsm, struct lov_user_md *lump);
|
/drivers/staging/lustre/lustre/osc/ |
D | osc_request.c | 2536 static int osc_getstripe(struct lov_stripe_md *lsm, struct lov_user_md *lump) in osc_getstripe() argument 2549 if (copy_from_user(&lum, lump, lum_size)) in osc_getstripe() 2583 if (copy_to_user(lump, lumk, lum_size)) in osc_getstripe()
|