Home
last modified time | relevance | path

Searched refs:rhead (Results 1 – 6 of 6) sorted by relevance

/linux-3.4.99/drivers/staging/tidspbridge/rmgr/
Drmm.c408 struct rmm_header *rhead; in free_block() local
412 rhead = kzalloc(sizeof(struct rmm_header), GFP_KERNEL); in free_block()
413 if (rhead == NULL) { in free_block()
425 head->next = rhead; in free_block()
426 rhead->next = thead; in free_block()
427 rhead->addr = addr; in free_block()
428 rhead->size = size; in free_block()
430 *rhead = *head; in free_block()
431 head->next = rhead; in free_block()
434 thead = rhead->next; in free_block()
[all …]
/linux-3.4.99/fs/xfs/
Dxfs_log_recover.c875 xlog_rec_header_t *rhead; in xlog_find_tail() local
948 rhead = (xlog_rec_header_t *)offset; in xlog_find_tail()
949 *tail_blk = BLOCK_LSN(be64_to_cpu(rhead->h_tail_lsn)); in xlog_find_tail()
963 log->l_curr_cycle = be32_to_cpu(rhead->h_cycle); in xlog_find_tail()
966 atomic64_set(&log->l_tail_lsn, be64_to_cpu(rhead->h_tail_lsn)); in xlog_find_tail()
967 atomic64_set(&log->l_last_sync_lsn, be64_to_cpu(rhead->h_lsn)); in xlog_find_tail()
985 int h_size = be32_to_cpu(rhead->h_size); in xlog_find_tail()
986 int h_version = be32_to_cpu(rhead->h_version); in xlog_find_tail()
1000 BTOBB(be32_to_cpu(rhead->h_len))) % log->l_logBBsize; in xlog_find_tail()
1003 be32_to_cpu(rhead->h_num_logops) == 1) { in xlog_find_tail()
[all …]
/linux-3.4.99/security/selinux/
Davc.c56 struct rcu_head rhead; member
216 static void avc_node_free(struct rcu_head *rhead) in avc_node_free() argument
218 struct avc_node *node = container_of(rhead, struct avc_node, rhead); in avc_node_free()
226 call_rcu(&node->rhead, avc_node_free); in avc_node_delete()
240 call_rcu(&old->rhead, avc_node_free); in avc_node_replace()
/linux-3.4.99/net/ceph/
Dosd_client.c1159 struct ceph_osd_reply_head *rhead = msg->front.iov_base; in handle_reply() local
1166 if (msg->front.iov_len < sizeof(*rhead)) in handle_reply()
1168 numops = le32_to_cpu(rhead->num_ops); in handle_reply()
1169 object_len = le32_to_cpu(rhead->object_len); in handle_reply()
1170 result = le32_to_cpu(rhead->result); in handle_reply()
1171 if (msg->front.iov_len != sizeof(*rhead) + object_len + in handle_reply()
1184 flags = le32_to_cpu(rhead->flags); in handle_reply()
1199 req->r_result = le32_to_cpu(rhead->result); in handle_reply()
1207 req->r_reassert_version = rhead->reassert_version; in handle_reply()
1245 (int)sizeof(*rhead)); in handle_reply()
/linux-3.4.99/fs/ceph/
Dmds_client.c1740 struct ceph_mds_request_head *rhead; in __prepare_send_request() local
1765 rhead = msg->front.iov_base; in __prepare_send_request()
1767 flags = le32_to_cpu(rhead->flags); in __prepare_send_request()
1769 rhead->flags = cpu_to_le32(flags); in __prepare_send_request()
1772 rhead->ino = cpu_to_le64(ceph_ino(req->r_target_inode)); in __prepare_send_request()
1774 rhead->num_retry = req->r_attempts - 1; in __prepare_send_request()
1777 rhead->num_releases = 0; in __prepare_send_request()
1795 rhead = msg->front.iov_base; in __prepare_send_request()
1796 rhead->oldest_client_tid = cpu_to_le64(__get_oldest_tid(mdsc)); in __prepare_send_request()
1801 rhead->flags = cpu_to_le32(flags); in __prepare_send_request()
[all …]
Dinode.c1208 struct ceph_mds_request_head *rhead = req->r_request->front.iov_base; in ceph_readdir_prepopulate() local
1209 u64 frag = le32_to_cpu(rhead->args.readdir.frag); in ceph_readdir_prepopulate()