Lines Matching refs:oifi
328 struct ocfs2_info_freeinode *oifi = NULL; in ocfs2_info_handle_freeinode() local
332 oifi = kzalloc(sizeof(struct ocfs2_info_freeinode), GFP_KERNEL); in ocfs2_info_handle_freeinode()
333 if (!oifi) { in ocfs2_info_handle_freeinode()
339 if (o2info_from_user(*oifi, req)) { in ocfs2_info_handle_freeinode()
344 oifi->ifi_slotnum = osb->max_slots; in ocfs2_info_handle_freeinode()
346 for (i = 0; i < oifi->ifi_slotnum; i++) { in ocfs2_info_handle_freeinode()
347 if (o2info_coherent(&oifi->ifi_req)) { in ocfs2_info_handle_freeinode()
369 status = ocfs2_info_scan_inode_alloc(osb, inode_alloc, blkno, oifi, i); in ocfs2_info_handle_freeinode()
378 o2info_set_request_filled(&oifi->ifi_req); in ocfs2_info_handle_freeinode()
380 if (o2info_to_user(*oifi, req)) { in ocfs2_info_handle_freeinode()
388 o2info_set_request_error(&oifi->ifi_req, req); in ocfs2_info_handle_freeinode()
390 kfree(oifi); in ocfs2_info_handle_freeinode()