Home
last modified time | relevance | path

Searched refs:rhdr (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/media/usb/gspca/
A Dkinect.c129 struct cam_hdr *rhdr = (void *)ibuf; in send_cmd() local
157 if (actual_len < (int)sizeof(*rhdr)) { in send_cmd()
162 actual_len -= sizeof(*rhdr); in send_cmd()
164 if (rhdr->magic[0] != 0x52 || rhdr->magic[1] != 0x42) { in send_cmd()
166 rhdr->magic[0], rhdr->magic[1]); in send_cmd()
169 if (rhdr->cmd != chdr->cmd) { in send_cmd()
171 rhdr->cmd, chdr->cmd); in send_cmd()
174 if (rhdr->tag != chdr->tag) { in send_cmd()
176 rhdr->tag, chdr->tag); in send_cmd()
179 if (le16_to_cpu(rhdr->len) != (actual_len/2)) { in send_cmd()
[all …]
/linux/fs/ntfs3/
A Dfslog.c445 if (le16_to_cpu(rhdr->major_ver) <= 1 && !rhdr->minor_ver) in is_rst_page_hdr_valid()
456 end_usa += le16_to_cpu(rhdr->rhdr.fix_off); in is_rst_page_hdr_valid()
476 ra = Add2Ptr(rhdr, ro); in is_rst_area_valid()
1575 const struct NTFS_RECORD_HEADER *rhdr = &rp->rhdr; in check_subseq_log_page() local
1578 if (rhdr->sign == NTFS_FFFF_SIGNATURE || !rhdr->sign) in check_subseq_log_page()
1831 cur_page->rhdr.lsn == page->rhdr.lsn && in last_log_lsn()
3519 if (is_baad(&ib->rhdr)) in do_action()
3550 if (is_baad(&ib->rhdr)) in do_action()
3578 if (is_baad(&ib->rhdr)) in do_action()
3696 rec->rhdr.lsn = t64; in do_action()
[all …]
A Dfsntfs.c110 u16 fo = le16_to_cpu(rhdr->fix_off); in ntfs_fix_pre_write()
111 u16 fn = le16_to_cpu(rhdr->fix_num); in ntfs_fix_pre_write()
119 fixup = Add2Ptr(rhdr, fo); in ntfs_fix_pre_write()
150 fo = le16_to_cpu(rhdr->fix_off); in ntfs_fix_post_read()
152 : le16_to_cpu(rhdr->fix_num); in ntfs_fix_post_read()
161 fixup = Add2Ptr(rhdr, fo); in ntfs_fix_post_read()
1375 u16 fo = le16_to_cpu(rhdr->fix_off); in ntfs_write_bh()
1376 u16 fn = le16_to_cpu(rhdr->fix_num); in ntfs_write_bh()
1402 memcpy(bh_data, rhdr, op); in ntfs_write_bh()
1417 *(__le16 *)Add2Ptr(rhdr, fo) = sample; in ntfs_write_bh()
[all …]
A Drecord.c133 err = ntfs_read_bh(sbi, run, vbo, &rec->rhdr, bpr, &mi->nb); in mi_read()
162 err = ntfs_read_bh(sbi, run, vbo, &rec->rhdr, bpr, &mi->nb); in mi_read()
331 err = ntfs_write_bh(sbi, &rec->rhdr, &mi->nb, wait); in mi_write()
365 } else if (rec->rhdr.sign == NTFS_FILE_SIGNATURE) { in mi_format_new()
A Dntfs.h275 struct NTFS_RECORD_HEADER rhdr; // 'FILE' member
307 return le16_to_cpu(rec->rhdr.fix_off) >= in is_mft_rec5()
756 struct NTFS_RECORD_HEADER rhdr; // 'INDX' member
A Dindex.c893 index->rhdr.sign = NTFS_INDX_SIGNATURE; in indx_new()
894 index->rhdr.fix_off = cpu_to_le16(sizeof(struct INDEX_BUFFER)); // 0x28 in indx_new()
896 index->rhdr.fix_num = cpu_to_le16(fn); in indx_new()
946 return ntfs_write_bh(ni->mi.sbi, &ib->rhdr, &node->nb, sync); in indx_write()
986 err = ntfs_read_bh(ni->mi.sbi, run, vbo, &ib->rhdr, bytes, &in->nb); in indx_read()
1006 err = ntfs_read_bh(ni->mi.sbi, run, vbo, &ib->rhdr, bytes, &in->nb); in indx_read()
1016 ntfs_write_bh(ni->mi.sbi, &ib->rhdr, &in->nb, 0); in indx_read()
A Dntfs_fs.h581 bool ntfs_fix_pre_write(struct NTFS_RECORD_HEADER *rhdr, size_t bytes);
582 int ntfs_fix_post_read(struct NTFS_RECORD_HEADER *rhdr, size_t bytes,
613 struct NTFS_RECORD_HEADER *rhdr, u32 bytes,
617 int ntfs_write_bh(struct ntfs_sb_info *sbi, struct NTFS_RECORD_HEADER *rhdr,
A Dsuper.c839 rec->rhdr.sign = NTFS_FILE_SIGNATURE; in ntfs_init_from_boot()
840 rec->rhdr.fix_off = cpu_to_le16(MFTRECORD_FIXUP_OFFSET_1); in ntfs_init_from_boot()
842 rec->rhdr.fix_num = cpu_to_le16(fn); in ntfs_init_from_boot()
/linux/sound/soc/sof/
A Dsof-probes.c27 struct sof_ipc_reply rhdr; member
118 msg.rhdr.hdr.size = sizeof(msg); in sof_ipc_probe_info()
119 msg.rhdr.hdr.cmd = SOF_IPC_GLB_PROBE | cmd; in sof_ipc_probe_info()
121 ret = sof_ipc_tx_message(sdev->ipc, msg.rhdr.hdr.cmd, &msg, in sof_ipc_probe_info()
122 msg.rhdr.hdr.size, reply, SOF_IPC_MSG_MAX_SIZE); in sof_ipc_probe_info()
123 if (ret < 0 || reply->rhdr.error < 0) in sof_ipc_probe_info()
A Dipc.c711 partdata->rhdr.hdr.size = sparams->hdr_bytes + send_bytes; in sof_set_get_large_ctrl_data()
720 partdata->rhdr.hdr.cmd, in sof_set_get_large_ctrl_data()
722 partdata->rhdr.hdr.size, in sof_set_get_large_ctrl_data()
724 partdata->rhdr.hdr.size); in sof_set_get_large_ctrl_data()
801 cdata->rhdr.hdr.cmd = SOF_IPC_GLB_COMP_MSG | ipc_cmd; in snd_sof_ipc_set_get_comp_data()
834 cdata->rhdr.hdr.size = sparams.msg_bytes + sparams.hdr_bytes; in snd_sof_ipc_set_get_comp_data()
839 if (cdata->rhdr.hdr.size <= SOF_IPC_MSG_MAX_SIZE) { in snd_sof_ipc_set_get_comp_data()
840 err = sof_ipc_tx_message(sdev->ipc, cdata->rhdr.hdr.cmd, cdata, in snd_sof_ipc_set_get_comp_data()
841 cdata->rhdr.hdr.size, cdata, in snd_sof_ipc_set_get_comp_data()
842 cdata->rhdr.hdr.size); in snd_sof_ipc_set_get_comp_data()
[all …]
A Ddebug.c671 if (ret < 0 || reply->rhdr.error < 0) { in memory_info_update()
672 ret = min(ret, reply->rhdr.error); in memory_info_update()
677 if (struct_size(reply, elems, reply->num_elems) != reply->rhdr.hdr.size) { in memory_info_update()
679 reply->rhdr.hdr.size); in memory_info_update()
A Dcontrol.c682 if (cdata->rhdr.hdr.size != expected_size) { in snd_sof_control_notify()
/linux/drivers/scsi/
A Dlibiscsi_tcp.c491 int datasn = be32_to_cpu(rhdr->datasn); in iscsi_tcp_data_in()
498 if (!(rhdr->flags & ISCSI_FLAG_DATA_STATUS)) in iscsi_tcp_data_in()
512 tcp_task->data_offset = be32_to_cpu(rhdr->offset); in iscsi_tcp_data_in()
534 struct iscsi_r2t_rsp *rhdr; in iscsi_tcp_r2t_rsp() local
564 rhdr = (struct iscsi_r2t_rsp *)tcp_conn->in.hdr; in iscsi_tcp_r2t_rsp()
566 iscsi_update_cmdsn(session, (struct iscsi_nopin *)rhdr); in iscsi_tcp_r2t_rsp()
578 r2tsn = be32_to_cpu(rhdr->r2tsn); in iscsi_tcp_r2t_rsp()
594 data_length = be32_to_cpu(rhdr->data_length); in iscsi_tcp_r2t_rsp()
607 data_offset = be32_to_cpu(rhdr->data_offset); in iscsi_tcp_r2t_rsp()
628 r2t->exp_statsn = rhdr->statsn; in iscsi_tcp_r2t_rsp()
[all …]
A Dlibiscsi.c873 if (rhdr->flags & (ISCSI_FLAG_CMD_UNDERFLOW | in iscsi_scsi_cmd_rsp()
878 (rhdr->flags & ISCSI_FLAG_CMD_OVERFLOW || in iscsi_scsi_cmd_rsp()
908 if (!(rhdr->flags & ISCSI_FLAG_DATA_STATUS)) in iscsi_data_in_rsp()
914 if (rhdr->flags & (ISCSI_FLAG_DATA_UNDERFLOW | in iscsi_data_in_rsp()
919 (rhdr->flags & ISCSI_FLAG_CMD_OVERFLOW || in iscsi_data_in_rsp()
958 if (!rhdr) { in iscsi_send_nopout()
968 if (rhdr) { in iscsi_send_nopout()
969 hdr.lun = rhdr->lun; in iscsi_send_nopout()
970 hdr.ttt = rhdr->ttt; in iscsi_send_nopout()
977 if (!rhdr) in iscsi_send_nopout()
[all …]
/linux/drivers/net/wireless/quantenna/qtnfmac/
A Dqlink.h1022 struct qlink_resp rhdr; member
1061 struct qlink_resp rhdr; member
1125 struct qlink_resp rhdr; member
1146 struct qlink_resp rhdr; member
1167 struct qlink_resp rhdr; member
1182 struct qlink_resp rhdr; member
1197 struct qlink_resp rhdr; member
1208 struct qlink_resp rhdr; member
1221 struct qlink_resp rhdr; member
/linux/include/sound/sof/
A Dcontrol.h99 struct sof_ipc_reply rhdr; member
140 struct sof_ipc_reply rhdr; member
A Dstream.h104 struct sof_ipc_reply rhdr; member
134 struct sof_ipc_reply rhdr; member
A Ddebug.h35 struct sof_ipc_reply rhdr; /**< generic IPC reply header */ member
A Dtrace.h40 struct sof_ipc_reply rhdr; member
A Dtopology.h252 struct sof_ipc_reply rhdr; member
/linux/drivers/infiniband/hw/hfi1/
A Ddriver.c216 struct ib_header *rhdr = packet->hdr; in rcv_hdrerr() local
234 u8 lnh = ib_get_lnh(rhdr); in rcv_hdrerr()
238 packet->ohdr = &rhdr->u.oth; in rcv_hdrerr()
240 packet->ohdr = &rhdr->u.l.oth; in rcv_hdrerr()
241 packet->grh = &rhdr->u.l.grh; in rcv_hdrerr()
250 u32 dlid = ib_get_dlid(rhdr); in rcv_hdrerr()
332 sc5 = hfi1_9B_get_sc5(rhdr, packet->rhf); in rcv_hdrerr()
350 rlid = ib_get_slid(rhdr); in rcv_hdrerr()
/linux/fs/nfs/
A Dread.c47 static void nfs_readhdr_free(struct nfs_pgio_header *rhdr) in nfs_readhdr_free() argument
49 kmem_cache_free(nfs_rdata_cachep, rhdr); in nfs_readhdr_free()
/linux/drivers/infiniband/hw/qib/
A Dqib_driver.c294 __le32 *rhf_addr, struct qib_message_header *rhdr) in qib_rcv_hdrerr() argument
302 struct ib_header *hdr = (struct ib_header *)rhdr; in qib_rcv_hdrerr()
A Dqib_verbs.c271 void qib_ib_rcv(struct qib_ctxtdata *rcd, void *rhdr, void *data, u32 tlen) in qib_ib_rcv() argument
275 struct ib_header *hdr = rhdr; in qib_ib_rcv()

Completed in 87 milliseconds