Lines Matching refs:oifi
335 struct ocfs2_info_freeinode *oifi = NULL; in ocfs2_info_handle_freeinode() local
339 oifi = kzalloc(sizeof(struct ocfs2_info_freeinode), GFP_KERNEL); in ocfs2_info_handle_freeinode()
340 if (!oifi) { in ocfs2_info_handle_freeinode()
346 if (o2info_from_user(*oifi, req)) { in ocfs2_info_handle_freeinode()
351 oifi->ifi_slotnum = osb->max_slots; in ocfs2_info_handle_freeinode()
353 for (i = 0; i < oifi->ifi_slotnum; i++) { in ocfs2_info_handle_freeinode()
354 if (o2info_coherent(&oifi->ifi_req)) { in ocfs2_info_handle_freeinode()
376 status = ocfs2_info_scan_inode_alloc(osb, inode_alloc, blkno, oifi, i); in ocfs2_info_handle_freeinode()
385 o2info_set_request_filled(&oifi->ifi_req); in ocfs2_info_handle_freeinode()
387 if (o2info_to_user(*oifi, req)) { in ocfs2_info_handle_freeinode()
395 o2info_set_request_error(&oifi->ifi_req, req); in ocfs2_info_handle_freeinode()
397 kfree(oifi); in ocfs2_info_handle_freeinode()