• Home
  • Raw
  • Download

Lines Matching refs:r

136 	xfs_bmbt_rec_host_t *r,  in xfs_bmbt_get_all()  argument
139 __xfs_bmbt_get_all(r->l0, r->l1, s); in xfs_bmbt_get_all()
147 xfs_bmbt_rec_host_t *r) in xfs_bmbt_get_blockcount() argument
149 return (xfs_filblks_t)(r->l1 & xfs_mask64lo(21)); in xfs_bmbt_get_blockcount()
157 xfs_bmbt_rec_host_t *r) in xfs_bmbt_get_startblock() argument
160 return (((xfs_fsblock_t)r->l0 & xfs_mask64lo(9)) << 43) | in xfs_bmbt_get_startblock()
161 (((xfs_fsblock_t)r->l1) >> 21); in xfs_bmbt_get_startblock()
166 b = (((xfs_dfsbno_t)r->l0 & xfs_mask64lo(9)) << 43) | in xfs_bmbt_get_startblock()
167 (((xfs_dfsbno_t)r->l1) >> 21); in xfs_bmbt_get_startblock()
171 return (xfs_fsblock_t)(((xfs_dfsbno_t)r->l1) >> 21); in xfs_bmbt_get_startblock()
181 xfs_bmbt_rec_host_t *r) in xfs_bmbt_get_startoff() argument
183 return ((xfs_fileoff_t)r->l0 & in xfs_bmbt_get_startoff()
189 xfs_bmbt_rec_host_t *r) in xfs_bmbt_get_state() argument
193 ext_flag = (int)((r->l0) >> (64 - BMBT_EXNTFLAG_BITLEN)); in xfs_bmbt_get_state()
194 return xfs_extent_state(xfs_bmbt_get_blockcount(r), in xfs_bmbt_get_state()
203 xfs_bmbt_rec_t *r) in xfs_bmbt_disk_get_blockcount() argument
205 return (xfs_filblks_t)(be64_to_cpu(r->l1) & xfs_mask64lo(21)); in xfs_bmbt_disk_get_blockcount()
213 xfs_bmbt_rec_t *r) in xfs_bmbt_disk_get_startoff() argument
215 return ((xfs_fileoff_t)be64_to_cpu(r->l0) & in xfs_bmbt_disk_get_startoff()
225 xfs_bmbt_rec_host_t *r, in xfs_bmbt_set_allf() argument
240 r->l0 = ((xfs_bmbt_rec_base_t)extent_flag << 63) | in xfs_bmbt_set_allf()
243 r->l1 = ((xfs_bmbt_rec_base_t)startblock << 21) | in xfs_bmbt_set_allf()
248 r->l0 = ((xfs_bmbt_rec_base_t)extent_flag << 63) | in xfs_bmbt_set_allf()
251 r->l1 = xfs_mask64hi(11) | in xfs_bmbt_set_allf()
256 r->l0 = ((xfs_bmbt_rec_base_t)extent_flag << 63) | in xfs_bmbt_set_allf()
258 r->l1 = ((xfs_bmbt_rec_base_t)startblock << 21) | in xfs_bmbt_set_allf()
270 xfs_bmbt_rec_host_t *r, in xfs_bmbt_set_all() argument
273 xfs_bmbt_set_allf(r, s->br_startoff, s->br_startblock, in xfs_bmbt_set_all()
283 xfs_bmbt_rec_t *r, in xfs_bmbt_disk_set_allf() argument
298 r->l0 = cpu_to_be64( in xfs_bmbt_disk_set_allf()
302 r->l1 = cpu_to_be64( in xfs_bmbt_disk_set_allf()
308 r->l0 = cpu_to_be64( in xfs_bmbt_disk_set_allf()
312 r->l1 = cpu_to_be64(xfs_mask64hi(11) | in xfs_bmbt_disk_set_allf()
317 r->l0 = cpu_to_be64( in xfs_bmbt_disk_set_allf()
320 r->l1 = cpu_to_be64( in xfs_bmbt_disk_set_allf()
333 xfs_bmbt_rec_t *r, in xfs_bmbt_disk_set_all() argument
336 xfs_bmbt_disk_set_allf(r, s->br_startoff, s->br_startblock, in xfs_bmbt_disk_set_all()
345 xfs_bmbt_rec_host_t *r, in xfs_bmbt_set_blockcount() argument
349 r->l1 = (r->l1 & (xfs_bmbt_rec_base_t)xfs_mask64hi(43)) | in xfs_bmbt_set_blockcount()
358 xfs_bmbt_rec_host_t *r, in xfs_bmbt_set_startblock() argument
363 r->l0 = (r->l0 & (xfs_bmbt_rec_base_t)xfs_mask64hi(55)) | in xfs_bmbt_set_startblock()
365 r->l1 = (r->l1 & (xfs_bmbt_rec_base_t)xfs_mask64lo(21)) | in xfs_bmbt_set_startblock()
369 r->l0 |= (xfs_bmbt_rec_base_t)xfs_mask64lo(9); in xfs_bmbt_set_startblock()
370 r->l1 = (xfs_bmbt_rec_base_t)xfs_mask64hi(11) | in xfs_bmbt_set_startblock()
372 (r->l1 & (xfs_bmbt_rec_base_t)xfs_mask64lo(21)); in xfs_bmbt_set_startblock()
374 r->l0 &= ~(xfs_bmbt_rec_base_t)xfs_mask64lo(9); in xfs_bmbt_set_startblock()
375 r->l1 = ((xfs_bmbt_rec_base_t)v << 21) | in xfs_bmbt_set_startblock()
376 (r->l1 & (xfs_bmbt_rec_base_t)xfs_mask64lo(21)); in xfs_bmbt_set_startblock()
386 xfs_bmbt_rec_host_t *r, in xfs_bmbt_set_startoff() argument
390 r->l0 = (r->l0 & (xfs_bmbt_rec_base_t) xfs_mask64hi(1)) | in xfs_bmbt_set_startoff()
392 (r->l0 & (xfs_bmbt_rec_base_t)xfs_mask64lo(9)); in xfs_bmbt_set_startoff()
400 xfs_bmbt_rec_host_t *r, in xfs_bmbt_set_state() argument
405 r->l0 &= xfs_mask64lo(64 - BMBT_EXNTFLAG_BITLEN); in xfs_bmbt_set_state()
407 r->l0 |= xfs_mask64hi(BMBT_EXNTFLAG_BITLEN); in xfs_bmbt_set_state()