Searched refs:irec (Results 1 - 25 of 42) sorted by path

12

/linux-master/drivers/media/platform/st/sti/c8sectpfe/
H A Dc8sectpfe-core.c75 if (channel->irec && readl(channel->irec + DMA_PRDS_TPENABLE))
91 if (unlikely(!channel || !channel->irec))
96 wp = readl(channel->irec + DMA_PRDS_BUSWP_TP(0));
97 rp = readl(channel->irec + DMA_PRDS_BUSRP_TP(0));
131 writel(channel->back_buffer_busaddr, channel->irec +
134 writel(wp, channel->irec + DMA_PRDS_BUSRP_TP(0));
229 writel(channel->back_buffer_busaddr, channel->irec +
233 writel(tmp, channel->irec + DMA_PRDS_BUSTOP_TP(0));
235 writel(channel->back_buffer_busaddr, channel->irec
[all...]
H A Dc8sectpfe-core.h57 void __iomem *irec; member in struct:channel_info
/linux-master/fs/ext4/
H A Dfsmap.c193 struct ext4_fsmap irec; local
238 irec.fmr_device = 0;
239 irec.fmr_physical = fsb;
240 irec.fmr_length = fslen;
241 irec.fmr_owner = EXT4_FMR_OWN_FREE;
242 irec.fmr_flags = 0;
245 if (ext4_fsmap_next_pblk(&irec) ==
247 info->gfi_lastfree = irec;
252 return ext4_getfsmap_helper(sb, info, &irec);
260 struct ext4_fsmap irec; local
[all...]
/linux-master/fs/xfs/libxfs/
H A Dxfs_alloc.c245 struct xfs_alloc_rec_incore *irec)
247 irec->ar_startblock = be32_to_cpu(rec->alloc.ar_startblock);
248 irec->ar_blockcount = be32_to_cpu(rec->alloc.ar_blockcount);
255 const struct xfs_alloc_rec_incore *irec)
257 if (irec->ar_blockcount == 0)
261 if (!xfs_verify_agbext(pag, irec->ar_startblock, irec->ar_blockcount))
271 const struct xfs_alloc_rec_incore *irec)
279 "start block 0x%x block count 0x%x", irec->ar_startblock,
280 irec
243 xfs_alloc_btrec_to_irec( const union xfs_btree_rec *rec, struct xfs_alloc_rec_incore *irec) argument
253 xfs_alloc_check_irec( struct xfs_perag *pag, const struct xfs_alloc_rec_incore *irec) argument
268 xfs_alloc_complain_bad_rec( struct xfs_btree_cur *cur, xfs_failaddr_t fa, const struct xfs_alloc_rec_incore *irec) argument
295 struct xfs_alloc_rec_incore irec; local
4005 struct xfs_alloc_rec_incore irec; local
[all...]
H A Dxfs_alloc.h187 struct xfs_alloc_rec_incore *irec);
189 const struct xfs_alloc_rec_incore *irec);
H A Dxfs_bmap.c111 struct xfs_bmbt_irec *irec,
114 cur->bc_rec.b = *irec;
154 * Update the record referred to by cur to the value given by irec
160 struct xfs_bmbt_irec *irec)
164 xfs_bmbt_disk_set_all(&rec.bmbt, irec);
1123 const struct xfs_bmbt_irec *irec)
1140 irec->br_startoff, irec->br_startblock, irec->br_blockcount,
1141 irec
109 xfs_bmbt_lookup_eq( struct xfs_btree_cur *cur, struct xfs_bmbt_irec *irec, int *stat) argument
158 xfs_bmbt_update( struct xfs_btree_cur *cur, struct xfs_bmbt_irec *irec) argument
1119 xfs_bmap_complain_bad_rec( struct xfs_inode *ip, int whichfork, xfs_failaddr_t fa, const struct xfs_bmbt_irec *irec) argument
3824 xfs_trim_extent( struct xfs_bmbt_irec *irec, xfs_fileoff_t bno, xfs_filblks_t len) argument
6272 xfs_bmap_validate_extent_raw( struct xfs_mount *mp, bool rtfile, int whichfork, struct xfs_bmbt_irec *irec) argument
6314 xfs_bmap_validate_extent( struct xfs_inode *ip, int whichfork, struct xfs_bmbt_irec *irec) argument
6375 struct xfs_bmbt_irec irec; local
[all...]
H A Dxfs_bmap.h150 static inline bool xfs_bmap_is_real_extent(const struct xfs_bmbt_irec *irec) argument
152 return irec->br_startblock != HOLESTARTBLOCK &&
153 irec->br_startblock != DELAYSTARTBLOCK &&
154 !isnullstartblock(irec->br_startblock);
161 static inline bool xfs_bmap_is_written_extent(struct xfs_bmbt_irec *irec) argument
163 return xfs_bmap_is_real_extent(irec) &&
164 irec->br_state != XFS_EXT_UNWRITTEN;
176 void xfs_trim_extent(struct xfs_bmbt_irec *irec, xfs_fileoff_t bno,
267 int whichfork, struct xfs_bmbt_irec *irec);
269 struct xfs_bmbt_irec *irec);
[all...]
H A Dxfs_bmap_btree.c80 struct xfs_bmbt_irec *irec)
85 irec->br_startoff = (l0 & xfs_mask64lo(64 - BMBT_EXNTFLAG_BITLEN)) >> 9;
86 irec->br_startblock = ((l0 & xfs_mask64lo(9)) << 43) | (l1 >> 21);
87 irec->br_blockcount = l1 & xfs_mask64lo(21);
89 irec->br_state = XFS_EXT_UNWRITTEN;
91 irec->br_state = XFS_EXT_NORM;
78 xfs_bmbt_disk_get_all( const struct xfs_bmbt_rec *rec, struct xfs_bmbt_irec *irec) argument
H A Dxfs_btree.c5146 const union xfs_btree_irec *irec)
5150 cur->bc_rec = *irec;
5143 xfs_btree_key_from_irec( struct xfs_btree_cur *cur, union xfs_btree_key *key, const union xfs_btree_irec *irec) argument
H A Dxfs_da_btree.c2541 struct xfs_bmbt_irec irec, *irecs = &irec; local
2547 irecs = kzalloc(sizeof(irec) * nfsb,
2587 if (irecs != &irec)
H A Dxfs_ialloc.c57 xfs_inobt_rec_incore_t *irec) /* btree record */
61 rec.inobt.ir_startino = cpu_to_be32(irec->ir_startino);
63 rec.inobt.ir_u.sp.ir_holemask = cpu_to_be16(irec->ir_holemask);
64 rec.inobt.ir_u.sp.ir_count = irec->ir_count;
65 rec.inobt.ir_u.sp.ir_freecount = irec->ir_freecount;
68 rec.inobt.ir_u.f.ir_freecount = cpu_to_be32(irec->ir_freecount);
70 rec.inobt.ir_free = cpu_to_be64(irec->ir_free);
79 struct xfs_inobt_rec_incore *irec)
81 irec->ir_startino = be32_to_cpu(rec->inobt.ir_startino);
83 irec
55 xfs_inobt_update( struct xfs_btree_cur *cur, xfs_inobt_rec_incore_t *irec) argument
76 xfs_inobt_btrec_to_irec( struct xfs_mount *mp, const union xfs_btree_rec *rec, struct xfs_inobt_rec_incore *irec) argument
101 xfs_inobt_rec_freecount( const struct xfs_inobt_rec_incore *irec) argument
113 xfs_inobt_check_irec( struct xfs_perag *pag, const struct xfs_inobt_rec_incore *irec) argument
136 xfs_inobt_complain_bad_rec( struct xfs_btree_cur *cur, xfs_failaddr_t fa, const struct xfs_inobt_rec_incore *irec) argument
158 xfs_inobt_get_rec( struct xfs_btree_cur *cur, struct xfs_inobt_rec_incore *irec, int *stat) argument
2747 struct xfs_inobt_rec_incore irec; local
2826 struct xfs_inobt_rec_incore irec; local
[all...]
H A Dxfs_ialloc.h82 uint8_t xfs_inobt_rec_freecount(const struct xfs_inobt_rec_incore *irec);
96 struct xfs_inobt_rec_incore *irec);
98 const struct xfs_inobt_rec_incore *irec);
H A Dxfs_ialloc_btree.h56 uint64_t xfs_inobt_irec_to_allocmask(const struct xfs_inobt_rec_incore *irec);
H A Dxfs_iext_tree.c55 struct xfs_bmbt_irec *irec)
57 ASSERT((irec->br_startoff & ~XFS_IEXT_STARTOFF_MASK) == 0);
58 ASSERT((irec->br_blockcount & ~XFS_IEXT_LENGTH_MASK) == 0);
59 ASSERT((irec->br_startblock & ~XFS_IEXT_STARTBLOCK_MASK) == 0);
61 rec->lo = irec->br_startoff & XFS_IEXT_STARTOFF_MASK;
62 rec->hi = irec->br_blockcount & XFS_IEXT_LENGTH_MASK;
64 rec->lo |= (irec->br_startblock << 54);
65 rec->hi |= ((irec->br_startblock & ~xfs_mask64lo(10)) << (22 - 10));
67 if (irec->br_state == XFS_EXT_UNWRITTEN)
73 struct xfs_bmbt_irec *irec,
53 xfs_iext_set( struct xfs_iext_rec *rec, struct xfs_bmbt_irec *irec) argument
72 xfs_iext_get( struct xfs_bmbt_irec *irec, struct xfs_iext_rec *rec) argument
633 xfs_iext_insert_raw( struct xfs_ifork *ifp, struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *irec) argument
668 xfs_iext_set(cur_rec(cur), irec); local
676 xfs_iext_insert( struct xfs_inode *ip, struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *irec, int state) argument
[all...]
H A Dxfs_inode_fork.h183 struct xfs_bmbt_irec *irec);
H A Dxfs_refcount.c107 struct xfs_refcount_irec *irec)
114 irec->rc_domain = XFS_REFC_DOMAIN_COW;
116 irec->rc_domain = XFS_REFC_DOMAIN_SHARED;
119 irec->rc_startblock = start;
120 irec->rc_blockcount = be32_to_cpu(rec->refc.rc_blockcount);
121 irec->rc_refcount = be32_to_cpu(rec->refc.rc_refcount);
128 const struct xfs_refcount_irec *irec)
130 if (irec->rc_blockcount == 0 || irec->rc_blockcount > MAXREFCEXTLEN)
133 if (!xfs_refcount_check_domain(irec))
105 xfs_refcount_btrec_to_irec( const union xfs_btree_rec *rec, struct xfs_refcount_irec *irec) argument
126 xfs_refcount_check_irec( struct xfs_perag *pag, const struct xfs_refcount_irec *irec) argument
147 xfs_refcount_complain_bad_rec( struct xfs_btree_cur *cur, xfs_failaddr_t fa, const struct xfs_refcount_irec *irec) argument
168 xfs_refcount_get_rec( struct xfs_btree_cur *cur, struct xfs_refcount_irec *irec, int *stat) argument
196 xfs_refcount_update( struct xfs_btree_cur *cur, struct xfs_refcount_irec *irec) argument
225 xfs_refcount_insert( struct xfs_btree_cur *cur, struct xfs_refcount_irec *irec, int *i) argument
266 struct xfs_refcount_irec irec; local
865 xfs_refc_merge_refcount( const struct xfs_refcount_irec *irec, enum xfs_refc_adjust_op adjust) argument
2086 struct xfs_refcount_irec irec; local
[all...]
H A Dxfs_refcount.h23 struct xfs_refcount_irec *irec, int *stat);
62 const struct xfs_refcount_irec *irec)
64 if (irec->rc_domain == XFS_REFC_DOMAIN_COW && irec->rc_refcount != 1)
66 if (irec->rc_domain == XFS_REFC_DOMAIN_SHARED && irec->rc_refcount < 2)
75 struct xfs_bmbt_irec *irec);
77 struct xfs_bmbt_irec *irec);
119 struct xfs_refcount_irec *irec);
121 const struct xfs_refcount_irec *irec);
61 xfs_refcount_check_domain( const struct xfs_refcount_irec *irec) argument
[all...]
H A Dxfs_refcount_btree.c156 const struct xfs_refcount_irec *irec = &cur->bc_rec.rc; local
159 start = xfs_refcount_encode_startblock(irec->rc_startblock,
160 irec->rc_domain);
184 const struct xfs_refcount_irec *irec = &cur->bc_rec.rc; local
187 start = xfs_refcount_encode_startblock(irec->rc_startblock,
188 irec->rc_domain);
H A Dxfs_rmap.c41 struct xfs_rmap_irec *irec,
54 if (error || !(*stat) || !irec)
57 error = xfs_rmap_get_rec(cur, irec, &get_stat);
98 struct xfs_rmap_irec *irec)
104 irec->rm_startblock, irec->rm_blockcount,
105 irec->rm_owner, irec->rm_offset, irec->rm_flags);
107 rec.rmap.rm_startblock = cpu_to_be32(irec
35 xfs_rmap_lookup_le( struct xfs_btree_cur *cur, xfs_agblock_t bno, uint64_t owner, uint64_t offset, unsigned int flags, struct xfs_rmap_irec *irec, int *stat) argument
96 xfs_rmap_update( struct xfs_btree_cur *cur, struct xfs_rmap_irec *irec) argument
204 xfs_rmap_btrec_to_irec( const union xfs_btree_rec *rec, struct xfs_rmap_irec *irec) argument
217 xfs_rmap_check_irec( struct xfs_perag *pag, const struct xfs_rmap_irec *irec) argument
273 xfs_rmap_check_btrec( struct xfs_btree_cur *cur, const struct xfs_rmap_irec *irec) argument
283 xfs_rmap_complain_bad_rec( struct xfs_btree_cur *cur, xfs_failaddr_t fa, const struct xfs_rmap_irec *irec) argument
309 xfs_rmap_get_rec( struct xfs_btree_cur *cur, struct xfs_rmap_irec *irec, int *stat) argument
333 struct xfs_rmap_irec *irec; member in struct:xfs_find_left_neighbor_info
367 xfs_rmap_find_left_neighbor( struct xfs_btree_cur *cur, xfs_agblock_t bno, uint64_t owner, uint64_t offset, unsigned int flags, struct xfs_rmap_irec *irec, int *stat) argument
468 xfs_rmap_lookup_le_range( struct xfs_btree_cur *cur, xfs_agblock_t bno, uint64_t owner, uint64_t offset, unsigned int flags, struct xfs_rmap_irec *irec, int *stat) argument
937 xfs_rmap_is_mergeable( struct xfs_rmap_irec *irec, uint64_t owner, unsigned int flags) argument
2532 struct xfs_rmap_irec irec; local
[all...]
H A Dxfs_rmap.h51 const struct xfs_rmap_irec *irec)
55 x = XFS_RMAP_OFF(irec->rm_offset);
56 if (irec->rm_flags & XFS_RMAP_ATTR_FORK)
58 if (irec->rm_flags & XFS_RMAP_BMBT_BLOCK)
60 if (irec->rm_flags & XFS_RMAP_UNWRITTEN)
68 struct xfs_rmap_irec *irec)
73 irec->rm_offset = XFS_RMAP_OFF(offset);
74 irec->rm_flags = 0;
76 irec->rm_flags |= XFS_RMAP_ATTR_FORK;
78 irec
50 xfs_rmap_irec_offset_pack( const struct xfs_rmap_irec *irec) argument
66 xfs_rmap_irec_offset_unpack( __u64 offset, struct xfs_rmap_irec *irec) argument
[all...]
/linux-master/fs/xfs/scrub/
H A Dalloc.c99 const struct xfs_alloc_rec_incore *irec)
101 xfs_agblock_t agbno = irec->ar_startblock;
102 xfs_extlen_t len = irec->ar_blockcount;
119 const struct xfs_alloc_rec_incore *irec)
125 ca->prev.ar_startblock + ca->prev.ar_blockcount == irec->ar_startblock &&
126 ca->prev.ar_blockcount + irec->ar_blockcount < (uint32_t)~0U)
129 memcpy(&ca->prev, irec, sizeof(*irec));
138 struct xfs_alloc_rec_incore irec; local
141 xfs_alloc_btrec_to_irec(rec, &irec);
97 xchk_allocbt_xref( struct xfs_scrub *sc, const struct xfs_alloc_rec_incore *irec) argument
116 xchk_allocbt_mergeable( struct xchk_btree *bs, struct xchk_alloc *ca, const struct xfs_alloc_rec_incore *irec) argument
[all...]
H A Dbmap.c140 /* Look for a corresponding rmap for this irec. */
144 struct xfs_bmbt_irec *irec,
156 if (irec->br_state == XFS_EXT_UNWRITTEN)
166 offset = irec->br_startoff;
185 irec->br_startoff);
193 struct xfs_bmbt_irec *irec,
203 /* Find the rmap record for this irec. */
204 if (!xchk_bmap_get_rmap(info, irec, agbno, owner, &rmap))
213 irec->br_startoff);
216 if (rmap_end != agbno + irec
142 xchk_bmap_get_rmap( struct xchk_bmap_info *info, struct xfs_bmbt_irec *irec, xfs_agblock_t agbno, uint64_t owner, struct xfs_rmap_irec *rmap) argument
191 xchk_bmap_xref_rmap( struct xchk_bmap_info *info, struct xfs_bmbt_irec *irec, xfs_agblock_t agbno) argument
258 xchk_bmap_xref_rmap_cow( struct xchk_bmap_info *info, struct xfs_bmbt_irec *irec, xfs_agblock_t agbno) argument
312 xchk_bmap_rt_iextent_xref( struct xfs_inode *ip, struct xchk_bmap_info *info, struct xfs_bmbt_irec *irec) argument
323 xchk_bmap_iextent_xref( struct xfs_inode *ip, struct xchk_bmap_info *info, struct xfs_bmbt_irec *irec) argument
391 xchk_bmap_dirattr_extent( struct xfs_inode *ip, struct xchk_bmap_info *info, struct xfs_bmbt_irec *irec) argument
413 xchk_bmap_iextent( struct xfs_inode *ip, struct xchk_bmap_info *info, struct xfs_bmbt_irec *irec) argument
466 struct xfs_bmbt_irec irec; local
563 struct xfs_bmbt_irec irec; local
782 xchk_bmap_iextent_delalloc( struct xfs_inode *ip, struct xchk_bmap_info *info, struct xfs_bmbt_irec *irec) argument
810 xchk_bmap_iext_mapping( struct xchk_bmap_info *info, const struct xfs_bmbt_irec *irec) argument
851 xchk_bmap_iext_iter( struct xchk_bmap_info *info, struct xfs_bmbt_irec *irec) argument
915 struct xfs_bmbt_irec irec; local
[all...]
H A Dbmap_repair.c128 struct xfs_bmbt_irec irec = { local
151 irec.br_blockcount = min_t(xfs_filblks_t, blockcount,
154 fa = xfs_bmap_validate_extent(sc->ip, rb->whichfork, &irec);
158 xfs_bmbt_disk_set_all(&rbe, &irec);
160 trace_xrep_bmap_found(sc->ip, rb->whichfork, &irec);
171 irec.br_startblock += irec.br_blockcount;
172 irec.br_startoff += irec.br_blockcount;
173 blockcount -= irec
315 struct xfs_bmbt_irec irec; local
369 struct xfs_bmbt_irec irec; local
438 struct xfs_bmbt_irec *irec = &cur->bc_rec.b; local
524 struct xfs_bmbt_irec irec; local
[all...]
H A Dcow_repair.c67 struct xfs_bmbt_irec irec; member in struct:xrep_cow
69 /* refcount btree block number of irec.br_startblock */
84 * space. Caller must ensure that the physical range is within xc->irec.
94 startoff = xc->irec.br_startoff +
95 (startblock - xc->irec.br_startblock);
124 xc->irec_startbno + xc->irec.br_blockcount) {
126 (xc->irec_startbno + xc->irec.br_blockcount);
219 if (rec_bno + rec_len > xc->irec_startbno + xc->irec.br_blockcount) {
221 (xc->irec_startbno + xc->irec.br_blockcount);
246 agno = XFS_FSB_TO_AGNO(sc->mp, xc->irec
[all...]
H A Dialloc.c67 struct xfs_inobt_rec_incore *irec,
108 if (irec->ir_free == 0)
112 if (irec->ir_free == XFS_INOBT_ALL_FREE)
134 struct xfs_inobt_rec_incore *irec,
147 for (i = agino, rec_idx = agino - irec->ir_startino;
153 free = irec->ir_free & (1ULL << rec_idx);
155 hole = irec->ir_holemask & (1U << hole_idx);
157 error = xchk_inobt_xref_finobt(sc, irec, i, free, hole);
175 struct xfs_inobt_rec_incore irec; local
190 error = xfs_inobt_get_rec(cur, &irec,
65 xchk_inobt_xref_finobt( struct xfs_scrub *sc, struct xfs_inobt_rec_incore *irec, xfs_agino_t agino, bool free, bool hole) argument
132 xchk_inobt_chunk_xref_finobt( struct xfs_scrub *sc, struct xfs_inobt_rec_incore *irec, xfs_agino_t agino, unsigned int nr_inodes) argument
253 xchk_iallocbt_chunk( struct xchk_btree *bs, struct xfs_inobt_rec_incore *irec, xfs_agino_t agino, unsigned int nr_inodes) argument
300 xchk_iallocbt_check_cluster_ifree( struct xchk_btree *bs, struct xfs_inobt_rec_incore *irec, unsigned int irec_ino, struct xfs_dinode *dip) argument
362 xchk_iallocbt_check_cluster( struct xchk_btree *bs, struct xfs_inobt_rec_incore *irec, unsigned int cluster_base) argument
465 xchk_iallocbt_check_clusters( struct xchk_btree *bs, struct xfs_inobt_rec_incore *irec) argument
497 xchk_iallocbt_rec_alignment( struct xchk_btree *bs, struct xfs_inobt_rec_incore *irec) argument
579 struct xfs_inobt_rec_incore irec; local
[all...]

Completed in 276 milliseconds

12