• Home
  • Raw
  • Download

Lines Matching refs:desc

1228 	struct ocfs2_write_cluster_desc *desc;  in ocfs2_write_cluster_by_desc()  local
1232 desc = &wc->w_desc[i]; in ocfs2_write_cluster_by_desc()
1243 ret = ocfs2_write_cluster(mapping, &desc->c_phys, in ocfs2_write_cluster_by_desc()
1244 desc->c_new, in ocfs2_write_cluster_by_desc()
1245 desc->c_clear_unwritten, in ocfs2_write_cluster_by_desc()
1246 desc->c_needs_zero, in ocfs2_write_cluster_by_desc()
1248 wc, desc->c_cpos, pos, local_len); in ocfs2_write_cluster_by_desc()
1272 struct ocfs2_write_cluster_desc *desc; in ocfs2_set_target_boundaries() local
1296 desc = &wc->w_desc[0]; in ocfs2_set_target_boundaries()
1297 if (desc->c_needs_zero) in ocfs2_set_target_boundaries()
1299 desc->c_cpos, in ocfs2_set_target_boundaries()
1303 desc = &wc->w_desc[wc->w_clen - 1]; in ocfs2_set_target_boundaries()
1304 if (desc->c_needs_zero) in ocfs2_set_target_boundaries()
1306 desc->c_cpos, in ocfs2_set_target_boundaries()
1324 struct ocfs2_write_cluster_desc *desc) in ocfs2_unwritten_check() argument
1330 if (!desc->c_needs_zero) in ocfs2_unwritten_check()
1339 if (desc->c_cpos == ue->ue_cpos) { in ocfs2_unwritten_check()
1340 BUG_ON(desc->c_new); in ocfs2_unwritten_check()
1341 desc->c_needs_zero = 0; in ocfs2_unwritten_check()
1342 desc->c_clear_unwritten = 0; in ocfs2_unwritten_check()
1361 new->ue_cpos = desc->c_cpos; in ocfs2_unwritten_check()
1362 new->ue_phys = desc->c_phys; in ocfs2_unwritten_check()
1363 desc->c_clear_unwritten = 0; in ocfs2_unwritten_check()
1389 struct ocfs2_write_cluster_desc *desc; in ocfs2_populate_write_desc() local
1399 desc = &wc->w_desc[i]; in ocfs2_populate_write_desc()
1400 desc->c_cpos = wc->w_cpos + i; in ocfs2_populate_write_desc()
1406 ret = ocfs2_get_clusters(inode, desc->c_cpos, &phys, in ocfs2_populate_write_desc()
1441 if (desc->c_cpos >= wc->w_first_new_cpos) { in ocfs2_populate_write_desc()
1443 desc->c_needs_zero = 1; in ocfs2_populate_write_desc()
1446 desc->c_phys = phys; in ocfs2_populate_write_desc()
1448 desc->c_new = 1; in ocfs2_populate_write_desc()
1449 desc->c_needs_zero = 1; in ocfs2_populate_write_desc()
1450 desc->c_clear_unwritten = 1; in ocfs2_populate_write_desc()
1455 desc->c_clear_unwritten = 1; in ocfs2_populate_write_desc()
1456 desc->c_needs_zero = 1; in ocfs2_populate_write_desc()
1459 ret = ocfs2_unwritten_check(inode, wc, desc); in ocfs2_populate_write_desc()
2148 struct ocfs2_write_cluster_desc *desc = NULL; in ocfs2_dio_wr_get_block() local
2248 desc = &wc->w_desc[0]; in ocfs2_dio_wr_get_block()
2250 p_blkno = ocfs2_clusters_to_blocks(inode->i_sb, desc->c_phys); in ocfs2_dio_wr_get_block()
2256 if (desc->c_needs_zero) in ocfs2_dio_wr_get_block()
2272 BUG_ON(ue->ue_cpos != desc->c_cpos); in ocfs2_dio_wr_get_block()
2274 ue->ue_phys = desc->c_phys; in ocfs2_dio_wr_get_block()