Searched refs:rhead (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/fs/xfs/
H A Dxfs_log_recover.c892 xlog_rec_header_t *rhead; xlog_find_tail() local
966 rhead = (xlog_rec_header_t *)offset; xlog_find_tail()
967 *tail_blk = BLOCK_LSN(be64_to_cpu(rhead->h_tail_lsn)); xlog_find_tail()
981 log->l_curr_cycle = be32_to_cpu(rhead->h_cycle); xlog_find_tail()
984 atomic64_set(&log->l_tail_lsn, be64_to_cpu(rhead->h_tail_lsn)); xlog_find_tail()
985 atomic64_set(&log->l_last_sync_lsn, be64_to_cpu(rhead->h_lsn)); xlog_find_tail()
1003 int h_size = be32_to_cpu(rhead->h_size); xlog_find_tail()
1004 int h_version = be32_to_cpu(rhead->h_version); xlog_find_tail()
1018 BTOBB(be32_to_cpu(rhead->h_len))) % log->l_logBBsize; xlog_find_tail()
1021 be32_to_cpu(rhead->h_num_logops) == 1) { xlog_find_tail()
3649 struct xlog_rec_header *rhead, xlog_recover_ophdr_to_trans()
3678 trans->r_lsn = be64_to_cpu(rhead->h_lsn);
3694 struct xlog_rec_header *rhead, xlog_recover_process_ophdr()
3722 trans = xlog_recover_ophdr_to_trans(rhash, rhead, ohead); xlog_recover_process_ophdr()
3745 struct xlog_rec_header *rhead, xlog_recover_process_data()
3754 end = dp + be32_to_cpu(rhead->h_len); xlog_recover_process_data()
3755 num_logops = be32_to_cpu(rhead->h_num_logops); xlog_recover_process_data()
3758 if (xlog_header_check_recover(log->l_mp, rhead)) xlog_recover_process_data()
3768 error = xlog_recover_process_ophdr(log, rhash, rhead, ohead, xlog_recover_process_data()
4138 struct xlog_rec_header *rhead, xlog_unpack_data_crc()
4144 crc = xlog_cksum(log, rhead, dp, be32_to_cpu(rhead->h_len)); xlog_unpack_data_crc()
4145 if (crc != rhead->h_crc) { xlog_unpack_data_crc()
4146 if (rhead->h_crc || xfs_sb_version_hascrc(&log->l_mp->m_sb)) { xlog_unpack_data_crc()
4149 le32_to_cpu(rhead->h_crc), xlog_unpack_data_crc()
4168 struct xlog_rec_header *rhead, xlog_unpack_data()
4175 error = xlog_unpack_data_crc(rhead, dp, log); xlog_unpack_data()
4179 for (i = 0; i < BTOBB(be32_to_cpu(rhead->h_len)) && xlog_unpack_data()
4181 *(__be32 *)dp = *(__be32 *)&rhead->h_cycle_data[i]; xlog_unpack_data()
4186 xlog_in_core_2_t *xhdr = (xlog_in_core_2_t *)rhead; xlog_unpack_data()
4187 for ( ; i < BTOBB(be32_to_cpu(rhead->h_len)); i++) { xlog_unpack_data()
4201 struct xlog_rec_header *rhead, xlog_valid_rec_header()
4206 if (unlikely(rhead->h_magicno != cpu_to_be32(XLOG_HEADER_MAGIC_NUM))) { xlog_valid_rec_header()
4212 (!rhead->h_version || xlog_valid_rec_header()
4213 (be32_to_cpu(rhead->h_version) & (~XLOG_VERSION_OKBITS))))) { xlog_valid_rec_header()
4215 __func__, be32_to_cpu(rhead->h_version)); xlog_valid_rec_header()
4220 hlen = be32_to_cpu(rhead->h_len); xlog_valid_rec_header()
4249 xlog_rec_header_t *rhead; xlog_do_recovery_pass() local
4278 rhead = (xlog_rec_header_t *)offset; xlog_do_recovery_pass()
4279 error = xlog_valid_rec_header(log, rhead, tail_blk); xlog_do_recovery_pass()
4282 h_size = be32_to_cpu(rhead->h_size); xlog_do_recovery_pass()
4283 if ((be32_to_cpu(rhead->h_version) & XLOG_VERSION_2) && xlog_do_recovery_pass()
4362 rhead = (xlog_rec_header_t *)offset; xlog_do_recovery_pass()
4363 error = xlog_valid_rec_header(log, rhead, xlog_do_recovery_pass()
4368 bblks = (int)BTOBB(be32_to_cpu(rhead->h_len)); xlog_do_recovery_pass()
4416 error = xlog_unpack_data(rhead, offset, log); xlog_do_recovery_pass()
4421 rhead, offset, pass); xlog_do_recovery_pass()
4437 rhead = (xlog_rec_header_t *)offset; xlog_do_recovery_pass()
4438 error = xlog_valid_rec_header(log, rhead, blk_no); xlog_do_recovery_pass()
4443 bblks = (int)BTOBB(be32_to_cpu(rhead->h_len)); xlog_do_recovery_pass()
4449 error = xlog_unpack_data(rhead, offset, log); xlog_do_recovery_pass()
4454 rhead, offset, pass); xlog_do_recovery_pass()
3647 xlog_recover_ophdr_to_trans( struct hlist_head rhash[], struct xlog_rec_header *rhead, struct xlog_op_header *ohead) xlog_recover_ophdr_to_trans() argument
3691 xlog_recover_process_ophdr( struct xlog *log, struct hlist_head rhash[], struct xlog_rec_header *rhead, struct xlog_op_header *ohead, char *dp, char *end, int pass) xlog_recover_process_ophdr() argument
3742 xlog_recover_process_data( struct xlog *log, struct hlist_head rhash[], struct xlog_rec_header *rhead, char *dp, int pass) xlog_recover_process_data() argument
4137 xlog_unpack_data_crc( struct xlog_rec_header *rhead, char *dp, struct xlog *log) xlog_unpack_data_crc() argument
4167 xlog_unpack_data( struct xlog_rec_header *rhead, char *dp, struct xlog *log) xlog_unpack_data() argument
4199 xlog_valid_rec_header( struct xlog *log, struct xlog_rec_header *rhead, xfs_daddr_t blkno) xlog_valid_rec_header() argument
H A Dxfs_log_priv.h432 extern __le32 xlog_cksum(struct xlog *log, struct xlog_rec_header *rhead,
H A Dxfs_log.c1660 struct xlog_rec_header *rhead, xlog_cksum()
1667 crc = xfs_start_cksum((char *)rhead, xlog_cksum()
1673 union xlog_in_core2 *xhdr = (union xlog_in_core2 *)rhead; xlog_cksum()
1658 xlog_cksum( struct xlog *log, struct xlog_rec_header *rhead, char *dp, int size) xlog_cksum() argument
/linux-4.4.14/include/drm/ttm/
H A Dttm_object.h126 struct rcu_head rhead; member in struct:ttm_base_object
322 kfree_rcu(__object, __base.rhead)
349 kfree_rcu(__obj, __prime.base.rhead)
/linux-4.4.14/security/selinux/
H A Davc.c58 struct rcu_head rhead; member in struct:avc_node
485 static void avc_node_free(struct rcu_head *rhead) avc_node_free() argument
487 struct avc_node *node = container_of(rhead, struct avc_node, rhead); avc_node_free()
496 call_rcu(&node->rhead, avc_node_free); avc_node_delete()
511 call_rcu(&old->rhead, avc_node_free); avc_node_replace()
/linux-4.4.14/fs/ceph/
H A Dmds_client.c2060 struct ceph_mds_request_head *rhead; __prepare_send_request() local
2086 rhead = msg->front.iov_base; __prepare_send_request()
2088 flags = le32_to_cpu(rhead->flags); __prepare_send_request()
2090 rhead->flags = cpu_to_le32(flags); __prepare_send_request()
2093 rhead->ino = cpu_to_le64(ceph_ino(req->r_target_inode)); __prepare_send_request()
2095 rhead->num_retry = req->r_attempts - 1; __prepare_send_request()
2098 rhead->num_releases = 0; __prepare_send_request()
2124 rhead = msg->front.iov_base; __prepare_send_request()
2125 rhead->oldest_client_tid = cpu_to_le64(__get_oldest_tid(mdsc)); __prepare_send_request()
2130 rhead->flags = cpu_to_le32(flags); __prepare_send_request()
2131 rhead->num_fwd = req->r_num_fwd; __prepare_send_request()
2132 rhead->num_retry = req->r_attempts - 1; __prepare_send_request()
2133 rhead->ino = 0; __prepare_send_request()
H A Dinode.c1394 struct ceph_mds_request_head *rhead = req->r_request->front.iov_base; ceph_readdir_prepopulate() local
1396 u32 frag = le32_to_cpu(rhead->args.readdir.frag); ceph_readdir_prepopulate()

Completed in 403 milliseconds