/fs/affs/ |
D | inode.c | 22 struct affs_tail *tail; in affs_iget() local 50 tail = AFFS_TAIL(sb, bh); in affs_iget() 51 prot = be32_to_cpu(tail->protect); in affs_iget() 76 id = be16_to_cpu(tail->uid); in affs_iget() 84 id = be16_to_cpu(tail->gid); in affs_iget() 92 switch (be32_to_cpu(tail->stype)) { in affs_iget() 98 if (be32_to_cpu(tail->stype) == ST_USERDIR || in affs_iget() 127 size = be32_to_cpu(tail->size); in affs_iget() 136 if (tail->link_chain) in affs_iget() 153 = (be32_to_cpu(tail->change.days) * (24 * 60 * 60) + in affs_iget() [all …]
|
D | super.c | 35 struct affs_root_tail *tail = AFFS_ROOT_TAIL(sb, bh); in affs_commit_super() local 38 affs_secs_to_datestamp(ktime_get_real_seconds(), &tail->disk_change); in affs_commit_super()
|
/fs/9p/ |
D | vfs_dir.c | 56 int tail; member 123 if (rdir->tail == rdir->head) { in v9fs_dir_readdir() 135 rdir->tail = n; in v9fs_dir_readdir() 137 while (rdir->head < rdir->tail) { in v9fs_dir_readdir() 139 rdir->tail - rdir->head, &st); in v9fs_dir_readdir() 181 if (rdir->tail == rdir->head) { in v9fs_dir_readdir_dotl() 188 rdir->tail = err; in v9fs_dir_readdir_dotl() 191 while (rdir->head < rdir->tail) { in v9fs_dir_readdir_dotl() 194 rdir->tail - rdir->head, in v9fs_dir_readdir_dotl()
|
/fs/ |
D | aio.c | 58 unsigned tail; member 150 unsigned tail; member 540 ring->head = ring->tail = 0; in aio_setup_ring() 981 unsigned tail) in refill_reqs_available() argument 987 if (head <= tail) in refill_reqs_available() 988 events_in_ring = tail - head; in refill_reqs_available() 990 events_in_ring = ctx->nr_events - (head - tail); in refill_reqs_available() 1029 refill_reqs_available(ctx, head, ctx->tail); in user_refill_reqs_available() 1108 unsigned tail, pos, head; in aio_complete() local 1147 tail = ctx->tail; in aio_complete() [all …]
|
D | pipe.c | 1119 unsigned int tail; in pipe_set_size() local 1122 tail = pipe->curbuf + pipe->nrbufs; in pipe_set_size() 1123 if (tail < pipe->buffers) in pipe_set_size() 1124 tail = 0; in pipe_set_size() 1126 tail &= (pipe->buffers - 1); in pipe_set_size() 1128 head = pipe->nrbufs - tail; in pipe_set_size() 1131 if (tail) in pipe_set_size() 1132 memcpy(bufs + head, pipe->bufs, tail * sizeof(struct pipe_buffer)); in pipe_set_size()
|
D | direct-io.c | 110 unsigned tail; /* last valid page + 1 */ member 160 return sdio->tail - sdio->head; in dio_pages_present() 185 sdio->tail = 1; in dio_refill_pages() 195 sdio->tail = (ret + PAGE_SIZE - 1) / PAGE_SIZE; in dio_refill_pages() 494 while (sdio->head < sdio->tail) in dio_cleanup() 988 to = (sdio->head == sdio->tail - 1) ? sdio->to : PAGE_SIZE; in do_direct_IO()
|
D | buffer.c | 923 struct buffer_head *bh, *tail; in link_dev_buffers() local 927 tail = bh; in link_dev_buffers() 930 tail->b_this_page = head; in link_dev_buffers() 1577 struct buffer_head *bh, *head, *tail; in create_empty_buffers() local 1583 tail = bh; in create_empty_buffers() 1586 tail->b_this_page = head; in create_empty_buffers()
|
D | fs-writeback.c | 1093 struct inode *tail; in redirty_tail() local 1095 tail = wb_inode(wb->b_dirty.next); in redirty_tail() 1096 if (time_before(inode->dirtied_when, tail->dirtied_when)) in redirty_tail()
|
/fs/reiserfs/ |
D | tail_conversion.c | 214 char *tail; in indirect2direct() local 245 tail = (char *)kmap(page); /* this can schedule */ in indirect2direct() 275 tail = tail + (pos & (PAGE_SIZE - 1)); in indirect2direct() 284 tail ? tail : NULL) < 0) { in indirect2direct()
|
D | journal.c | 748 int tail) in __add_jh() argument 774 if (tail) in __add_jh()
|
/fs/gfs2/ |
D | log.c | 471 unsigned int tail; in current_tail() local 476 tail = sdp->sd_log_head; in current_tail() 480 tail = tr->tr_first; in current_tail() 485 return tail; in current_tail() 669 unsigned int tail; in log_write_header() local 679 tail = current_tail(sdp); in log_write_header() 688 lh->lh_tail = cpu_to_be32(tail); in log_write_header() 699 sdp->sd_log_idle = (tail == sdp->sd_log_flush_head); in log_write_header() 704 if (sdp->sd_log_tail != tail) in log_write_header() 705 log_pull_tail(sdp, tail); in log_write_header()
|
/fs/jbd2/ |
D | recovery.c | 179 struct jbd2_journal_block_tail *tail; in jbd2_descriptor_block_csum_verify() local 186 tail = (struct jbd2_journal_block_tail *)(buf + j->j_blocksize - in jbd2_descriptor_block_csum_verify() 188 provided = tail->t_checksum; in jbd2_descriptor_block_csum_verify() 189 tail->t_checksum = 0; in jbd2_descriptor_block_csum_verify() 191 tail->t_checksum = provided; in jbd2_descriptor_block_csum_verify()
|
D | journal.c | 865 struct jbd2_journal_block_tail *tail; in jbd2_descriptor_block_csum_set() local 871 tail = (struct jbd2_journal_block_tail *)(bh->b_data + j->j_blocksize - in jbd2_descriptor_block_csum_set() 873 tail->t_checksum = 0; in jbd2_descriptor_block_csum_set() 875 tail->t_checksum = cpu_to_be32(csum); in jbd2_descriptor_block_csum_set()
|
/fs/nfsd/ |
D | nfs3xdr.c | 368 struct kvec *tail = rqstp->rq_arg.tail; in nfs3svc_decode_writeargs() local 391 dlen = head->iov_len + rqstp->rq_arg.page_len + tail->iov_len - hdr; in nfs3svc_decode_writeargs() 706 rqstp->rq_res.tail[0].iov_base = p; in nfs3svc_encode_readlinkres() 708 rqstp->rq_res.tail[0].iov_len = 4 - (resp->len&3); in nfs3svc_encode_readlinkres() 731 rqstp->rq_res.tail[0].iov_base = p; in nfs3svc_encode_readres() 733 rqstp->rq_res.tail[0].iov_len = 4 - (resp->count & 3); in nfs3svc_encode_readres() 811 rqstp->rq_res.tail[0].iov_base = p; in nfs3svc_encode_readdirres() 814 rqstp->rq_res.tail[0].iov_len = 2<<2; in nfs3svc_encode_readdirres()
|
D | nfsxdr.c | 460 rqstp->rq_res.tail[0].iov_base = p; in nfssvc_encode_readlinkres() 462 rqstp->rq_res.tail[0].iov_len = 4 - (resp->len&3); in nfssvc_encode_readlinkres() 480 rqstp->rq_res.tail[0].iov_base = p; in nfssvc_encode_readres() 482 rqstp->rq_res.tail[0].iov_len = 4 - (resp->count&3); in nfssvc_encode_readres()
|
D | nfs4xdr.c | 163 struct kvec *vec = &argp->rqstp->rq_arg.tail[0]; in read_buf() 165 if (!argp->tail) { in read_buf() 166 argp->tail = true; in read_buf() 3450 buf->tail[0].iov_base = xdr->p; in nfsd4_encode_splice_read() 3451 buf->tail[0].iov_len = 0; in nfsd4_encode_splice_read() 3452 xdr->iov = buf->tail; in nfsd4_encode_splice_read() 3458 buf->tail[0].iov_base += maxcount&3; in nfsd4_encode_splice_read() 3459 buf->tail[0].iov_len = pad; in nfsd4_encode_splice_read() 4494 args->tail = false; in nfs4svc_decode_compoundargs() 4513 buf->tail[0].iov_len); in nfs4svc_encode_compoundres()
|
D | xdr4.h | 620 bool tail; member
|
/fs/jfs/ |
D | jfs_logmgr.c | 2038 struct lbuf *tail; in lbmWrite() local 2060 tail = log->wqueue; in lbmWrite() 2065 if (tail == NULL) { in lbmWrite() 2070 bp->l_wqnext = tail->l_wqnext; in lbmWrite() 2071 tail->l_wqnext = bp; in lbmWrite() 2074 tail = bp; in lbmWrite() 2078 if ((bp != tail->l_wqnext) || !(flag & lbmWRITE)) { in lbmWrite() 2195 struct lbuf *nextbp, *tail; in lbmIODone() local 2255 tail = log->wqueue; in lbmIODone() 2258 if (bp == tail) { in lbmIODone() [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 | 1745 struct buffer_head *tail; in mark_ntfs_record_dirty() local 1749 tail = bh; in mark_ntfs_record_dirty() 1752 tail->b_this_page = head; in mark_ntfs_record_dirty()
|
D | mft.c | 508 struct buffer_head *tail; in ntfs_sync_mft_mirror() local 513 tail = bh; in ntfs_sync_mft_mirror() 516 tail->b_this_page = head; in ntfs_sync_mft_mirror()
|
/fs/btrfs/ |
D | volumes.c | 327 struct bio *head, struct bio *tail) in requeue_list() argument 334 if (pending_bios->tail) in requeue_list() 335 tail->bi_next = old_head; in requeue_list() 337 pending_bios->tail = tail; in requeue_list() 357 struct bio *tail; in run_scheduled_bios() local 400 tail = pending_bios->tail; in run_scheduled_bios() 401 WARN_ON(pending && !tail); in run_scheduled_bios() 421 pending_bios->tail = NULL; in run_scheduled_bios() 437 requeue_list(pending_bios, pending, tail); in run_scheduled_bios() 511 requeue_list(pending_bios, pending, tail); in run_scheduled_bios() [all …]
|
D | volumes.h | 36 struct bio *tail; member
|
D | raid56.c | 1081 struct bio *last = bio_list->tail; in rbio_add_io_page()
|