dat.c (fad837c16cdd856c68ce2e1335ad0fe836ed8ecd) | dat.c (7a65004bbaa6a21a0438aac9c64814e46084dc3f) |
---|---|
1/* 2 * dat.c - NILFS disk address translation. 3 * 4 * Copyright (C) 2006-2008 Nippon Telegraph and Telephone Corporation. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 274 unchanged lines hidden (view full) --- 283 * @dat: DAT file inode 284 * @vblocknrs: array of virtual block numbers 285 * @nitems: number of virtual block numbers 286 * 287 * Description: nilfs_dat_freev() frees the virtual block numbers specified by 288 * @vblocknrs and @nitems. 289 * 290 * Return Value: On success, 0 is returned. On error, one of the following | 1/* 2 * dat.c - NILFS disk address translation. 3 * 4 * Copyright (C) 2006-2008 Nippon Telegraph and Telephone Corporation. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 274 unchanged lines hidden (view full) --- 283 * @dat: DAT file inode 284 * @vblocknrs: array of virtual block numbers 285 * @nitems: number of virtual block numbers 286 * 287 * Description: nilfs_dat_freev() frees the virtual block numbers specified by 288 * @vblocknrs and @nitems. 289 * 290 * Return Value: On success, 0 is returned. On error, one of the following |
291 * nagative error codes is returned. | 291 * negative error codes is returned. |
292 * 293 * %-EIO - I/O error. 294 * 295 * %-ENOMEM - Insufficient amount of memory available. 296 * 297 * %-ENOENT - The virtual block number have not been allocated. 298 */ 299int nilfs_dat_freev(struct inode *dat, __u64 *vblocknrs, size_t nitems) --- 174 unchanged lines hidden --- | 292 * 293 * %-EIO - I/O error. 294 * 295 * %-ENOMEM - Insufficient amount of memory available. 296 * 297 * %-ENOENT - The virtual block number have not been allocated. 298 */ 299int nilfs_dat_freev(struct inode *dat, __u64 *vblocknrs, size_t nitems) --- 174 unchanged lines hidden --- |