/fs/affs/ |
D | inode.c | 24 struct affs_tail *tail; in affs_iget() local 53 tail = AFFS_TAIL(sb, bh); in affs_iget() 54 prot = be32_to_cpu(tail->protect); in affs_iget() 79 id = be16_to_cpu(tail->uid); in affs_iget() 87 id = be16_to_cpu(tail->gid); in affs_iget() 95 switch (be32_to_cpu(tail->stype)) { in affs_iget() 101 if (be32_to_cpu(tail->stype) == ST_USERDIR || in affs_iget() 130 size = be32_to_cpu(tail->size); in affs_iget() 139 if (tail->link_chain) in affs_iget() 153 = (be32_to_cpu(tail->change.days) * (24 * 60 * 60) + in affs_iget() [all …]
|
D | super.c | 33 struct affs_root_tail *tail = AFFS_ROOT_TAIL(sb, bh); in affs_commit_super() local 36 secs_to_datestamp(get_seconds(), &tail->disk_change); in affs_commit_super()
|
/fs/9p/ |
D | vfs_dir.c | 56 int tail; member 131 if (rdir->tail == rdir->head) { in v9fs_dir_readdir() 138 rdir->tail = err; in v9fs_dir_readdir() 140 while (rdir->head < rdir->tail) { in v9fs_dir_readdir() 143 rdir->tail - rdir->head, &st); in v9fs_dir_readdir() 193 if (rdir->tail == rdir->head) { in v9fs_dir_readdir_dotl() 200 rdir->tail = err; in v9fs_dir_readdir_dotl() 203 while (rdir->head < rdir->tail) { in v9fs_dir_readdir_dotl() 206 rdir->tail - rdir->head, in v9fs_dir_readdir_dotl()
|
/fs/ |
D | aio.c | 49 unsigned tail; member 106 unsigned tail; member 208 ring->head = ring->tail = 0; in aio_setup_ring() 308 head != ctx->tail || in free_ioctx() 311 avail = (head <= ctx->tail ? ctx->tail : ctx->nr_events) - head; in free_ioctx() 582 unsigned tail, pos; in aio_complete() local 631 tail = ctx->tail; in aio_complete() 632 pos = tail + AIO_EVENTS_OFFSET; in aio_complete() 634 if (++tail >= ctx->nr_events) in aio_complete() 635 tail = 0; in aio_complete() [all …]
|
D | pipe.c | 1196 unsigned int tail; in pipe_set_size() local 1199 tail = pipe->curbuf + pipe->nrbufs; in pipe_set_size() 1200 if (tail < pipe->buffers) in pipe_set_size() 1201 tail = 0; in pipe_set_size() 1203 tail &= (pipe->buffers - 1); in pipe_set_size() 1205 head = pipe->nrbufs - tail; in pipe_set_size() 1208 if (tail) in pipe_set_size() 1209 memcpy(bufs + head, pipe->bufs, tail * sizeof(struct pipe_buffer)); in pipe_set_size()
|
D | direct-io.c | 113 unsigned tail; /* last valid page + 1 */ member 158 return sdio->tail - sdio->head; in dio_pages_present() 188 sdio->tail = 1; in dio_refill_pages() 197 sdio->tail = ret; in dio_refill_pages() 1245 sdio.tail = 0; in do_blockdev_direct_IO()
|
D | fs-writeback.c | 191 struct inode *tail; in redirty_tail() local 193 tail = wb_inode(wb->b_dirty.next); in redirty_tail() 194 if (time_before(inode->dirtied_when, tail->dirtied_when)) in redirty_tail()
|
D | buffer.c | 905 struct buffer_head *bh, *tail; in link_dev_buffers() local 909 tail = bh; in link_dev_buffers() 912 tail->b_this_page = head; in link_dev_buffers() 1527 struct buffer_head *bh, *head, *tail; in create_empty_buffers() local 1533 tail = bh; in create_empty_buffers() 1536 tail->b_this_page = head; in create_empty_buffers()
|
/fs/reiserfs/ |
D | tail_conversion.c | 185 char *tail; in indirect2direct() local 214 tail = (char *)kmap(page); /* this can schedule */ in indirect2direct() 243 tail = tail + (pos & (PAGE_CACHE_SIZE - 1)); in indirect2direct() 252 tail ? tail : NULL) < 0) { in indirect2direct()
|
D | journal.c | 746 int tail) in __add_jh() argument 771 if (tail) in __add_jh()
|
/fs/jbd2/ |
D | recovery.c | 180 struct jbd2_journal_block_tail *tail; in jbd2_descr_block_csum_verify() local 187 tail = (struct jbd2_journal_block_tail *)(buf + j->j_blocksize - in jbd2_descr_block_csum_verify() 189 provided = tail->t_checksum; in jbd2_descr_block_csum_verify() 190 tail->t_checksum = 0; in jbd2_descr_block_csum_verify() 192 tail->t_checksum = provided; in jbd2_descr_block_csum_verify() 818 struct jbd2_journal_revoke_tail *tail; in jbd2_revoke_block_csum_verify() local 825 tail = (struct jbd2_journal_revoke_tail *)(buf + j->j_blocksize - in jbd2_revoke_block_csum_verify() 827 provided = tail->r_checksum; in jbd2_revoke_block_csum_verify() 828 tail->r_checksum = 0; in jbd2_revoke_block_csum_verify() 830 tail->r_checksum = provided; in jbd2_revoke_block_csum_verify()
|
D | revoke.c | 638 struct jbd2_journal_revoke_tail *tail; in jbd2_revoke_csum_set() local 644 tail = (struct jbd2_journal_revoke_tail *)(bh->b_data + j->j_blocksize - in jbd2_revoke_csum_set() 646 tail->r_checksum = 0; in jbd2_revoke_csum_set() 648 tail->r_checksum = cpu_to_be32(csum); in jbd2_revoke_csum_set()
|
D | commit.c | 327 struct jbd2_journal_block_tail *tail; in jbd2_descr_block_csum_set() local 333 tail = (struct jbd2_journal_block_tail *)(bh->b_data + j->j_blocksize - in jbd2_descr_block_csum_set() 335 tail->t_checksum = 0; in jbd2_descr_block_csum_set() 337 tail->t_checksum = cpu_to_be32(csum); in jbd2_descr_block_csum_set()
|
/fs/gfs2/ |
D | log.c | 439 unsigned int tail; in current_tail() local 444 tail = sdp->sd_log_head; in current_tail() 448 tail = tr->tr_first; in current_tail() 453 return tail; in current_tail() 558 unsigned int tail; in log_write_header() local 566 tail = current_tail(sdp); in log_write_header() 575 lh->lh_tail = cpu_to_be32(tail); in log_write_header() 586 sdp->sd_log_idle = (tail == sdp->sd_log_flush_head); in log_write_header() 591 if (sdp->sd_log_tail != tail) in log_write_header() 592 log_pull_tail(sdp, tail); in log_write_header()
|
/fs/jfs/ |
D | jfs_logmgr.c | 2044 struct lbuf *tail; in lbmWrite() local 2066 tail = log->wqueue; in lbmWrite() 2071 if (tail == NULL) { in lbmWrite() 2076 bp->l_wqnext = tail->l_wqnext; in lbmWrite() 2077 tail->l_wqnext = bp; in lbmWrite() 2080 tail = bp; in lbmWrite() 2084 if ((bp != tail->l_wqnext) || !(flag & lbmWRITE)) { in lbmWrite() 2203 struct lbuf *nextbp, *tail; in lbmIODone() local 2263 tail = log->wqueue; in lbmIODone() 2266 if (bp == tail) { in lbmIODone() [all …]
|
/fs/nfsd/ |
D | nfsxdr.c | 441 rqstp->rq_res.tail[0].iov_base = p; in nfssvc_encode_readlinkres() 443 rqstp->rq_res.tail[0].iov_len = 4 - (resp->len&3); in nfssvc_encode_readlinkres() 460 rqstp->rq_res.tail[0].iov_base = p; in nfssvc_encode_readres() 462 rqstp->rq_res.tail[0].iov_len = 4 - (resp->count&3); in nfssvc_encode_readres()
|
D | nfs3xdr.c | 687 rqstp->rq_res.tail[0].iov_base = p; in nfs3svc_encode_readlinkres() 689 rqstp->rq_res.tail[0].iov_len = 4 - (resp->len&3); in nfs3svc_encode_readlinkres() 711 rqstp->rq_res.tail[0].iov_base = p; in nfs3svc_encode_readres() 713 rqstp->rq_res.tail[0].iov_len = 4 - (resp->count & 3); in nfs3svc_encode_readres() 787 rqstp->rq_res.tail[0].iov_base = p; in nfs3svc_encode_readdirres() 790 rqstp->rq_res.tail[0].iov_len = 2<<2; in nfs3svc_encode_readdirres()
|
D | nfs4xdr.c | 2916 resp->xbuf->tail[0].iov_base = p; in nfsd4_encode_read() 2917 resp->xbuf->tail[0].iov_len = 0; in nfsd4_encode_read() 2921 resp->xbuf->tail[0].iov_base += maxcount&3; in nfsd4_encode_read() 2922 resp->xbuf->tail[0].iov_len = 4 - (maxcount&3); in nfsd4_encode_read() 2966 resp->xbuf->tail[0].iov_base = p; in nfsd4_encode_readlink() 2967 resp->xbuf->tail[0].iov_len = 0; in nfsd4_encode_readlink() 2971 resp->xbuf->tail[0].iov_base += maxcount&3; in nfsd4_encode_readlink() 2972 resp->xbuf->tail[0].iov_len = 4 - (maxcount&3); in nfsd4_encode_readlink() 3045 resp->xbuf->tail[0].iov_base = tailbase; in nfsd4_encode_readdir() 3046 resp->xbuf->tail[0].iov_len = 0; in nfsd4_encode_readdir() [all …]
|
/fs/ntfs/ |
D | runlist.c | 387 int tail; /* Start of tail of @dst. */ in ntfs_rl_replace() local 426 tail = loc + right + 1; in ntfs_rl_replace() 437 ntfs_rl_mm(dst, marker, tail, dsize - tail); in ntfs_rl_replace() 441 if (dsize - tail > 0 && dst[marker].lcn == LCN_ENOENT) in ntfs_rl_replace()
|
D | aops.c | 1605 struct buffer_head *tail; in mark_ntfs_record_dirty() local 1609 tail = bh; in mark_ntfs_record_dirty() 1612 tail->b_this_page = head; in mark_ntfs_record_dirty()
|
D | mft.c | 507 struct buffer_head *tail; in ntfs_sync_mft_mirror() local 512 tail = bh; in ntfs_sync_mft_mirror() 515 tail->b_this_page = head; in ntfs_sync_mft_mirror()
|
/fs/btrfs/ |
D | volumes.c | 168 struct bio *head, struct bio *tail) in requeue_list() argument 175 if (pending_bios->tail) in requeue_list() 176 tail->bi_next = old_head; in requeue_list() 178 pending_bios->tail = tail; in requeue_list() 198 struct bio *tail; in run_scheduled_bios() local 242 tail = pending_bios->tail; in run_scheduled_bios() 243 WARN_ON(pending && !tail); in run_scheduled_bios() 263 pending_bios->tail = NULL; in run_scheduled_bios() 279 requeue_list(pending_bios, pending, tail); in run_scheduled_bios() 351 requeue_list(pending_bios, pending, tail); in run_scheduled_bios() [all …]
|
D | volumes.h | 32 struct bio *tail; member
|
D | raid56.c | 1020 struct bio *last = bio_list->tail; in rbio_add_io_page()
|