Searched refs:lsn (Results 1 - 19 of 19) sorted by relevance

/freebsd-9.3-release/sys/gnu/fs/xfs/
H A Dxfs_log.h21 /* get lsn fields */
23 #define CYCLE_LSN(lsn) ((uint)((lsn)>>32))
24 #define BLOCK_LSN(lsn) ((uint)(lsn))
26 #define CYCLE_LSN_DISK(lsn) (((uint *)&(lsn))[0])
149 xfs_lsn_t lsn,
152 #define xfs_log_force(mp, lsn, flags) \
153 _xfs_log_force(mp, lsn, flag
[all...]
H A Dxfs_trans_ail.c50 * lsn of the last item in the AIL.
56 xfs_lsn_t lsn; local
63 lsn = (xfs_lsn_t)0;
65 lsn = lip->li_lsn;
69 return lsn;
79 * The routine returns the lsn of the tail of the log.
86 xfs_lsn_t lsn; local
204 lsn = (xfs_lsn_t)0;
206 lsn = lip->li_lsn;
210 return lsn;
276 xfs_trans_update_ail( xfs_mount_t *mp, xfs_log_item_t *lip, xfs_lsn_t lsn, unsigned long s) argument
[all...]
H A Dxfs_log_priv.h64 #define ASSIGN_ANY_LSN_HOST(lsn,cycle,block) \
66 (lsn) = ((xfs_lsn_t)(cycle)<<32)|(block); \
68 #define ASSIGN_ANY_LSN_DISK(lsn,cycle,block) \
70 INT_SET(((uint *)&(lsn))[0], ARCH_CONVERT, (cycle)); \
71 INT_SET(((uint *)&(lsn))[1], ARCH_CONVERT, (block)); \
73 #define ASSIGN_LSN(lsn,log) \
74 ASSIGN_ANY_LSN_DISK(lsn,(log)->l_curr_cycle,(log)->l_curr_block);
335 xfs_lsn_t h_lsn; /* lsn of this LR : 8 */
336 xfs_lsn_t h_tail_lsn; /* lsn of 1st LR w/ buffers not committed: 8 */
421 * The reservation head lsn i
[all...]
H A Dxfs_extfree_item.c194 * simply return the lsn at which it's been logged. The canceled
200 xfs_efi_item_committed(xfs_efi_log_item_t *efip, xfs_lsn_t lsn) argument
202 return lsn;
238 xfs_efi_item_committing(xfs_efi_log_item_t *efip, xfs_lsn_t lsn) argument
475 xfs_efd_item_committed(xfs_efd_log_item_t *efdp, xfs_lsn_t lsn) argument
529 xfs_efd_item_committing(xfs_efd_log_item_t *efip, xfs_lsn_t lsn) argument
H A Dxfs_log.c86 xfs_lsn_t lsn,
287 xfs_lsn_t lsn = 0; local
296 (xlog_in_core_t **)iclog, &lsn)))) {
297 lsn = (xfs_lsn_t) -1;
326 return lsn;
338 * to force a given lsn to disk will wait on a semaphore attached to the
346 xfs_lsn_t lsn,
362 if (lsn == 0)
365 return xlog_state_sync(log, lsn, flags, log_flushed);
588 xfs_lsn_t lsn; local
344 _xfs_log_force( xfs_mount_t *mp, xfs_lsn_t lsn, uint flags, int *log_flushed) argument
2047 xfs_lsn_t lowest_lsn, lsn; local
2926 xfs_lsn_t lsn; local
3040 xlog_state_sync(xlog_t *log, xfs_lsn_t lsn, uint flags, int *log_flushed) argument
[all...]
H A Dxfs_trans.h126 xfs_lsn_t li_lsn; /* last on-disk lsn */
164 #define IOP_COMMITTED(ip, lsn) (*(ip)->li_ops->iop_committed)(ip, lsn)
168 #define IOP_COMMITTING(ip, lsn) (*(ip)->li_ops->iop_committing)(ip, lsn)
1002 #define xfs_trans_commit(tp, flags, lsn) \
1003 _xfs_trans_commit(tp, flags, lsn, NULL)
H A Dxfs_inode_item.c733 * write of it completed at the given lsn. Since we always re-log
736 * given lsn.
742 xfs_lsn_t lsn)
744 return (lsn);
898 xfs_lsn_t lsn)
900 iip->ili_last_lsn = lsn;
997 * if the ili_logged flag is set and the inode's lsn has not
998 * changed. First we check the lsn outside
740 xfs_inode_item_committed( xfs_inode_log_item_t *iip, xfs_lsn_t lsn) argument
896 xfs_inode_item_committing( xfs_inode_log_item_t *iip, xfs_lsn_t lsn) argument
H A Dxfs_buf_item.c603 * write of it completed at the given lsn.
606 * those cases we simply return the given lsn.
615 * by returning the original lsn of that transaction here rather than
621 xfs_lsn_t lsn)
628 return (lsn);
619 xfs_buf_item_committed( xfs_buf_log_item_t *bip, xfs_lsn_t lsn) argument
H A Dxfs_trans.c946 * the commit lsn of this transaction for dependency tracking
1299 * will protect the lsn field of each item. The value of this
1309 xfs_lsn_t lsn,
1334 item_lsn = IOP_COMMITTED(lip, lsn);
1345 * If the returned lsn is greater than what it
1350 * While the new lsn should usually be greater, it
1353 * same item could complete first with a higher lsn.
1361 * This will set the item's lsn to item_lsn
1307 xfs_trans_chunk_committed( xfs_log_item_chunk_t *licp, xfs_lsn_t lsn, int aborted) argument
H A Dxfs_alloc.c2555 xfs_lsn_t lsn; local
2593 lsn = bsy->busy_tp->t_commit_lsn;
2595 xfs_log_force(mp, lsn, XFS_LOG_FORCE|XFS_LOG_SYNC);
H A Dxfs_inode.c2785 xfs_lsn_t lsn; local
2795 lsn = iip->ili_last_lsn;
2797 lsn = (xfs_lsn_t)0;
2803 xfs_log_force(ip->i_mount, lsn, XFS_LOG_FORCE);
3468 * In order to read the lsn we need the AIL lock, because
H A Dxfs_log_recover.c771 * a sync lsn embedded in it. LSNs hold block numbers, so it is easy
776 * lsn. The entire log record does not need to be valid. We only care
890 * Save the current tail lsn to use to pass to
892 * unmount record if there is one, so we pass the lsn of the
941 * We use the lsn from before modifying it so that we'll never
1187 * The tail lsn is passed in rather than taken from
1444 xfs_lsn_t lsn)
1450 trans->r_lsn = lsn;
2681 xfs_lsn_t lsn,
2710 xfs_trans_update_ail(mp, (xfs_log_item_t *)efip, lsn,
1441 xlog_recover_new_tid( xlog_recover_t **q, xlog_tid_t tid, xfs_lsn_t lsn) argument
2678 xlog_recover_do_efi_trans( xlog_t *log, xlog_recover_item_t *item, xfs_lsn_t lsn, int pass) argument
[all...]
/freebsd-9.3-release/sys/fs/hpfs/
H A Dhpfs_lookup.c67 lsn_t lsn; local
73 lsn = ((alleaf_t *)dhp->h_fn.fn_abd)->al_lsn;
75 error = hpfs_breaddirblk (hpmp, lsn, &bp);
100 lsn = DE_DOWNLSN(dep);
129 lsn_t lsn,
142 lsn, namelen, name, namelen));
144 error = hpfs_breaddirblk (hpmp, lsn, &bp);
127 hpfs_removedirent( struct hpfsmount *hpmp, lsn_t lsn, char *name, int namelen, int *retp) argument
H A Dhpfs_subr.h75 #define hpfs_breadalsec(hpmp, lsn, bpp) \
76 hpfs_breadstruct(hpmp, lsn, DEV_BSIZE, AS_MAGIC, bpp)
77 #define hpfs_breaddirblk(hpmp, lsn, bpp) \
78 hpfs_breadstruct(hpmp, lsn, D_BSIZE, D_MAGIC, bpp)
H A Dhpfs_subr.c255 lsn_t lsn; local
285 lsn = hpmp->hpm_sp.sp_cpi;
288 error = bread(hpmp->hpm_devvp, lsn, DEV_BSIZE, NOCRED, &bp);
308 lsn = cpisp->s_next;
331 lsn_t lsn, /* We want near this one */
343 dprintf(("hpfs_bmlookup: lsn: 0x%x, len 0x%lx | Step1\n", lsn, len));
345 if (lsn > hpmp->hpm_su.su_btotal) {
353 i = lsn >> 5;
354 k = lsn
328 hpfs_bmlookup( struct hpfsmount *hpmp, u_long flags, lsn_t lsn, u_long len, lsn_t *lsnp, u_long *lenp) argument
536 lsn_t lsn, olsn; local
837 hpfs_breadstruct( struct hpfsmount *hpmp, lsn_t lsn, u_int len, u_int32_t magic, struct buf **bpp) argument
[all...]
H A Dhpfs.h37 lsn_t lsn; member in struct:__anon9249
216 /* 3 - lsn point to AlSec, cont. val */
229 #define AN_SET(anp,nextoff,lsn) { \
231 (anp)->an_lsn = (lsn); \
244 #define AL_SET(alp,off,len,lsn) { \
247 (alp)->al_lsn = (lsn); \
H A Dhpfs_vnops.c825 lsn_t lsn; local
859 lsn = ((alleaf_t *)hp->h_fn.fn_abd)->al_lsn;
865 dprintf(("[dive 0x%x] ", lsn));
866 error = bread(hp->h_devvp, lsn, D_BSIZE, NOCRED, &bp);
931 lsn = DE_DOWNLSN(dep);
966 lsn = DE_DOWNLSN(dep);
974 olsn = lsn;
975 lsn = dp->d_parent;
H A Dhpfs_alsubr.c169 lsn_t lsn; local
174 error = hpfs_bmfblookup(hpmp, &lsn);
180 error = hpfs_bmmarkbusy(hpmp, lsn, 1);
184 bp = getblk(hpmp->hpm_devvp, lsn, DEV_BSIZE, 0, 0, 0);
190 asp->as_self = lsn;
358 * We don't know for now start lsn of block
/freebsd-9.3-release/sbin/newfs_msdos/
H A Dnewfs_msdos.c261 u_int fat, bss, rds, cls, dir, lsn, x, x1, x2; local
627 for (lsn = 0; lsn < dir + (fat == 32 ? bpb.bpbSecPerClust : rds); lsn++) {
630 fname, lsn,
632 (lsn * 100) / (dir +
636 x = lsn;
651 if (!lsn ||
653 lsn == bpb.bpbBackup)) {
707 (lsn
[all...]

Completed in 142 milliseconds