p_hdr 217 drivers/media/platform/vicodec/codec-v4l2-fwht.c struct fwht_cframe_hdr *p_hdr; p_hdr 238 drivers/media/platform/vicodec/codec-v4l2-fwht.c cf.rlc_data = (__be16 *)(p_out + sizeof(*p_hdr)); p_hdr 251 drivers/media/platform/vicodec/codec-v4l2-fwht.c p_hdr = (struct fwht_cframe_hdr *)p_out; p_hdr 252 drivers/media/platform/vicodec/codec-v4l2-fwht.c p_hdr->magic1 = FWHT_MAGIC1; p_hdr 253 drivers/media/platform/vicodec/codec-v4l2-fwht.c p_hdr->magic2 = FWHT_MAGIC2; p_hdr 254 drivers/media/platform/vicodec/codec-v4l2-fwht.c p_hdr->version = htonl(FWHT_VERSION); p_hdr 255 drivers/media/platform/vicodec/codec-v4l2-fwht.c p_hdr->width = htonl(state->visible_width); p_hdr 256 drivers/media/platform/vicodec/codec-v4l2-fwht.c p_hdr->height = htonl(state->visible_height); p_hdr 273 drivers/media/platform/vicodec/codec-v4l2-fwht.c p_hdr->flags = htonl(flags); p_hdr 274 drivers/media/platform/vicodec/codec-v4l2-fwht.c p_hdr->colorspace = htonl(state->colorspace); p_hdr 275 drivers/media/platform/vicodec/codec-v4l2-fwht.c p_hdr->xfer_func = htonl(state->xfer_func); p_hdr 276 drivers/media/platform/vicodec/codec-v4l2-fwht.c p_hdr->ycbcr_enc = htonl(state->ycbcr_enc); p_hdr 277 drivers/media/platform/vicodec/codec-v4l2-fwht.c p_hdr->quantization = htonl(state->quantization); p_hdr 278 drivers/media/platform/vicodec/codec-v4l2-fwht.c p_hdr->size = htonl(cf.size); p_hdr 279 drivers/media/platform/vicodec/codec-v4l2-fwht.c return cf.size + sizeof(*p_hdr); p_hdr 248 drivers/media/platform/vicodec/vicodec-core.c const struct fwht_cframe_hdr *p_hdr = &ctx->state.header; p_hdr 250 drivers/media/platform/vicodec/vicodec-core.c ctx->state.visible_width = ntohl(p_hdr->width); p_hdr 251 drivers/media/platform/vicodec/vicodec-core.c ctx->state.visible_height = ntohl(p_hdr->height); p_hdr 252 drivers/media/platform/vicodec/vicodec-core.c ctx->state.colorspace = ntohl(p_hdr->colorspace); p_hdr 253 drivers/media/platform/vicodec/vicodec-core.c ctx->state.xfer_func = ntohl(p_hdr->xfer_func); p_hdr 254 drivers/media/platform/vicodec/vicodec-core.c ctx->state.ycbcr_enc = ntohl(p_hdr->ycbcr_enc); p_hdr 255 drivers/media/platform/vicodec/vicodec-core.c ctx->state.quantization = ntohl(p_hdr->quantization); p_hdr 485 drivers/media/platform/vicodec/vicodec-core.c info_from_header(const struct fwht_cframe_hdr *p_hdr) p_hdr 487 drivers/media/platform/vicodec/vicodec-core.c unsigned int flags = ntohl(p_hdr->flags); p_hdr 492 drivers/media/platform/vicodec/vicodec-core.c unsigned int version = ntohl(p_hdr->version); p_hdr 503 drivers/media/platform/vicodec/vicodec-core.c static bool is_header_valid(const struct fwht_cframe_hdr *p_hdr) p_hdr 506 drivers/media/platform/vicodec/vicodec-core.c unsigned int w = ntohl(p_hdr->width); p_hdr 507 drivers/media/platform/vicodec/vicodec-core.c unsigned int h = ntohl(p_hdr->height); p_hdr 508 drivers/media/platform/vicodec/vicodec-core.c unsigned int version = ntohl(p_hdr->version); p_hdr 509 drivers/media/platform/vicodec/vicodec-core.c unsigned int flags = ntohl(p_hdr->flags); p_hdr 517 drivers/media/platform/vicodec/vicodec-core.c info = info_from_header(p_hdr); p_hdr 527 drivers/media/platform/vicodec/vicodec-core.c const struct fwht_cframe_hdr *p_hdr = &ctx->state.header; p_hdr 528 drivers/media/platform/vicodec/vicodec-core.c const struct v4l2_fwht_pixfmt_info *info = info_from_header(p_hdr); p_hdr 529 drivers/media/platform/vicodec/vicodec-core.c unsigned int flags = ntohl(p_hdr->flags); p_hdr 540 drivers/media/platform/vicodec/vicodec-core.c q_dst->visible_width = ntohl(p_hdr->width); p_hdr 541 drivers/media/platform/vicodec/vicodec-core.c q_dst->visible_height = ntohl(p_hdr->height); p_hdr 548 drivers/media/platform/vicodec/vicodec-core.c ctx->state.colorspace = ntohl(p_hdr->colorspace); p_hdr 550 drivers/media/platform/vicodec/vicodec-core.c ctx->state.xfer_func = ntohl(p_hdr->xfer_func); p_hdr 551 drivers/media/platform/vicodec/vicodec-core.c ctx->state.ycbcr_enc = ntohl(p_hdr->ycbcr_enc); p_hdr 552 drivers/media/platform/vicodec/vicodec-core.c ctx->state.quantization = ntohl(p_hdr->quantization); p_hdr 651 drivers/media/platform/vicodec/vicodec-core.c struct fwht_cframe_hdr *p_hdr = (struct fwht_cframe_hdr *)p; p_hdr 652 drivers/media/platform/vicodec/vicodec-core.c u32 frame_size = ntohl(p_hdr->size); p_hdr 653 drivers/media/platform/vicodec/vicodec-core.c u32 remaining = sz - ctx->cur_buf_offset - sizeof(*p_hdr); p_hdr 1830 drivers/media/platform/vicodec/vicodec-core.c struct fwht_cframe_hdr *p_hdr = &ctx->state.header; p_hdr 1832 drivers/media/platform/vicodec/vicodec-core.c p_hdr->magic1 = FWHT_MAGIC1; p_hdr 1833 drivers/media/platform/vicodec/vicodec-core.c p_hdr->magic2 = FWHT_MAGIC2; p_hdr 1834 drivers/media/platform/vicodec/vicodec-core.c p_hdr->version = htonl(params->version); p_hdr 1835 drivers/media/platform/vicodec/vicodec-core.c p_hdr->width = htonl(params->width); p_hdr 1836 drivers/media/platform/vicodec/vicodec-core.c p_hdr->height = htonl(params->height); p_hdr 1837 drivers/media/platform/vicodec/vicodec-core.c p_hdr->flags = htonl(params->flags); p_hdr 1838 drivers/media/platform/vicodec/vicodec-core.c p_hdr->colorspace = htonl(params->colorspace); p_hdr 1839 drivers/media/platform/vicodec/vicodec-core.c p_hdr->xfer_func = htonl(params->xfer_func); p_hdr 1840 drivers/media/platform/vicodec/vicodec-core.c p_hdr->ycbcr_enc = htonl(params->ycbcr_enc); p_hdr 1841 drivers/media/platform/vicodec/vicodec-core.c p_hdr->quantization = htonl(params->quantization); p_hdr 1795 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c struct qlc_83xx_entry_hdr *p_hdr) p_hdr 1800 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c entry = (struct qlc_83xx_entry *)((char *)p_hdr + p_hdr 1803 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c for (i = 0; i < p_hdr->count; i++, entry++) { p_hdr 1806 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (p_hdr->delay) p_hdr 1807 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c udelay((u32)(p_hdr->delay)); p_hdr 1813 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c struct qlc_83xx_entry_hdr *p_hdr) p_hdr 1818 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c entry = (struct qlc_83xx_entry *)((char *)p_hdr + p_hdr 1821 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c for (i = 0; i < p_hdr->count; i++, entry++) { p_hdr 1824 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (p_hdr->delay) p_hdr 1825 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c udelay((u32)(p_hdr->delay)); p_hdr 1831 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c struct qlc_83xx_entry_hdr *p_hdr) p_hdr 1839 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c poll = (struct qlc_83xx_poll *)((char *)p_hdr + p_hdr 1844 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c delay = (long)p_hdr->delay; p_hdr 1847 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c for (i = 0; i < p_hdr->count; i++, entry++) p_hdr 1852 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c for (i = 0; i < p_hdr->count; i++, entry++) { p_hdr 1874 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c struct qlc_83xx_entry_hdr *p_hdr) p_hdr 1881 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c poll = (struct qlc_83xx_poll *)((char *)p_hdr + p_hdr 1885 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c delay = (long)p_hdr->delay; p_hdr 1887 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c for (i = 0; i < p_hdr->count; i++, entry++) { p_hdr 1900 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c struct qlc_83xx_entry_hdr *p_hdr) p_hdr 1906 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c rmw_hdr = (struct qlc_83xx_rmw *)((char *)p_hdr + p_hdr 1912 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c for (i = 0; i < p_hdr->count; i++, entry++) { p_hdr 1915 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (p_hdr->delay) p_hdr 1916 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c udelay((u32)(p_hdr->delay)); p_hdr 1920 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c static void qlcnic_83xx_pause(struct qlc_83xx_entry_hdr *p_hdr) p_hdr 1922 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (p_hdr->delay) p_hdr 1923 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c mdelay((u32)((long)p_hdr->delay)); p_hdr 1928 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c struct qlc_83xx_entry_hdr *p_hdr) p_hdr 1936 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c poll = (struct qlc_83xx_poll *)((char *)p_hdr + p_hdr 1941 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c delay = (long)p_hdr->delay; p_hdr 1943 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c for (i = 0; i < p_hdr->count; i++, entry++) { p_hdr 1998 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c struct qlc_83xx_entry_hdr *p_hdr; p_hdr 2007 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c p_hdr = (struct qlc_83xx_entry_hdr *)entry; p_hdr 2009 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c switch (p_hdr->cmd) { p_hdr 2013 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c qlcnic_83xx_write_list(p_dev, p_hdr); p_hdr 2016 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c qlcnic_83xx_read_write_list(p_dev, p_hdr); p_hdr 2019 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c qlcnic_83xx_poll_list(p_dev, p_hdr); p_hdr 2022 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c qlcnic_83xx_poll_write_list(p_dev, p_hdr); p_hdr 2025 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c qlcnic_83xx_read_modify_write(p_dev, p_hdr); p_hdr 2028 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c qlcnic_83xx_pause(p_hdr); p_hdr 2037 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c qlcnic_83xx_poll_read_list(p_dev, p_hdr); p_hdr 2042 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c __func__, p_hdr->cmd, index); p_hdr 2045 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c entry += p_hdr->size; p_hdr 605 drivers/scsi/qla2xxx/qla_nx2.c struct qla8044_reset_entry_hdr *p_hdr) p_hdr 610 drivers/scsi/qla2xxx/qla_nx2.c p_entry = (struct qla8044_entry *)((char *)p_hdr + p_hdr 613 drivers/scsi/qla2xxx/qla_nx2.c for (i = 0; i < p_hdr->count; i++, p_entry++) { p_hdr 615 drivers/scsi/qla2xxx/qla_nx2.c if (p_hdr->delay) p_hdr 616 drivers/scsi/qla2xxx/qla_nx2.c udelay((uint32_t)(p_hdr->delay)); p_hdr 631 drivers/scsi/qla2xxx/qla_nx2.c struct qla8044_reset_entry_hdr *p_hdr) p_hdr 636 drivers/scsi/qla2xxx/qla_nx2.c p_entry = (struct qla8044_entry *)((char *)p_hdr + p_hdr 639 drivers/scsi/qla2xxx/qla_nx2.c for (i = 0; i < p_hdr->count; i++, p_entry++) { p_hdr 642 drivers/scsi/qla2xxx/qla_nx2.c if (p_hdr->delay) p_hdr 643 drivers/scsi/qla2xxx/qla_nx2.c udelay((uint32_t)(p_hdr->delay)); p_hdr 714 drivers/scsi/qla2xxx/qla_nx2.c struct qla8044_reset_entry_hdr *p_hdr) p_hdr 723 drivers/scsi/qla2xxx/qla_nx2.c ((char *)p_hdr + sizeof(struct qla8044_reset_entry_hdr)); p_hdr 731 drivers/scsi/qla2xxx/qla_nx2.c delay = (long)p_hdr->delay; p_hdr 734 drivers/scsi/qla2xxx/qla_nx2.c for (i = 0; i < p_hdr->count; i++, p_entry++) p_hdr 738 drivers/scsi/qla2xxx/qla_nx2.c for (i = 0; i < p_hdr->count; i++, p_entry++) { p_hdr 770 drivers/scsi/qla2xxx/qla_nx2.c struct qla8044_reset_entry_hdr *p_hdr) p_hdr 777 drivers/scsi/qla2xxx/qla_nx2.c p_poll = (struct qla8044_poll *)((char *)p_hdr + p_hdr 783 drivers/scsi/qla2xxx/qla_nx2.c delay = (long)p_hdr->delay; p_hdr 785 drivers/scsi/qla2xxx/qla_nx2.c for (i = 0; i < p_hdr->count; i++, p_entry++) { p_hdr 817 drivers/scsi/qla2xxx/qla_nx2.c struct qla8044_reset_entry_hdr *p_hdr) p_hdr 823 drivers/scsi/qla2xxx/qla_nx2.c p_rmw_hdr = (struct qla8044_rmw *)((char *)p_hdr + p_hdr 829 drivers/scsi/qla2xxx/qla_nx2.c for (i = 0; i < p_hdr->count; i++, p_entry++) { p_hdr 832 drivers/scsi/qla2xxx/qla_nx2.c if (p_hdr->delay) p_hdr 833 drivers/scsi/qla2xxx/qla_nx2.c udelay((uint32_t)(p_hdr->delay)); p_hdr 847 drivers/scsi/qla2xxx/qla_nx2.c struct qla8044_reset_entry_hdr *p_hdr) p_hdr 849 drivers/scsi/qla2xxx/qla_nx2.c if (p_hdr->delay) p_hdr 850 drivers/scsi/qla2xxx/qla_nx2.c mdelay((uint32_t)((long)p_hdr->delay)); p_hdr 862 drivers/scsi/qla2xxx/qla_nx2.c struct qla8044_reset_entry_hdr *p_hdr) p_hdr 887 drivers/scsi/qla2xxx/qla_nx2.c struct qla8044_reset_entry_hdr *p_hdr) p_hdr 897 drivers/scsi/qla2xxx/qla_nx2.c ((char *)p_hdr + sizeof(struct qla8044_reset_entry_hdr)); p_hdr 902 drivers/scsi/qla2xxx/qla_nx2.c delay = (long)p_hdr->delay; p_hdr 904 drivers/scsi/qla2xxx/qla_nx2.c for (i = 0; i < p_hdr->count; i++, p_entry++) { p_hdr 945 drivers/scsi/qla2xxx/qla_nx2.c struct qla8044_reset_entry_hdr *p_hdr; p_hdr 954 drivers/scsi/qla2xxx/qla_nx2.c p_hdr = (struct qla8044_reset_entry_hdr *)p_entry; p_hdr 955 drivers/scsi/qla2xxx/qla_nx2.c switch (p_hdr->cmd) { p_hdr 959 drivers/scsi/qla2xxx/qla_nx2.c qla8044_write_list(vha, p_hdr); p_hdr 962 drivers/scsi/qla2xxx/qla_nx2.c qla8044_read_write_list(vha, p_hdr); p_hdr 965 drivers/scsi/qla2xxx/qla_nx2.c qla8044_poll_list(vha, p_hdr); p_hdr 968 drivers/scsi/qla2xxx/qla_nx2.c qla8044_poll_write_list(vha, p_hdr); p_hdr 971 drivers/scsi/qla2xxx/qla_nx2.c qla8044_read_modify_write(vha, p_hdr); p_hdr 974 drivers/scsi/qla2xxx/qla_nx2.c qla8044_pause(vha, p_hdr); p_hdr 980 drivers/scsi/qla2xxx/qla_nx2.c qla8044_template_end(vha, p_hdr); p_hdr 983 drivers/scsi/qla2xxx/qla_nx2.c qla8044_poll_read_list(vha, p_hdr); p_hdr 988 drivers/scsi/qla2xxx/qla_nx2.c "entry = %d\n", __func__, p_hdr->cmd, index); p_hdr 994 drivers/scsi/qla2xxx/qla_nx2.c p_entry += p_hdr->size; p_hdr 916 drivers/scsi/qla4xxx/ql4_83xx.c struct qla4_83xx_reset_entry_hdr *p_hdr) p_hdr 922 drivers/scsi/qla4xxx/ql4_83xx.c ((char *)p_hdr + sizeof(struct qla4_83xx_reset_entry_hdr)); p_hdr 924 drivers/scsi/qla4xxx/ql4_83xx.c for (i = 0; i < p_hdr->count; i++, p_entry++) { p_hdr 926 drivers/scsi/qla4xxx/ql4_83xx.c if (p_hdr->delay) p_hdr 927 drivers/scsi/qla4xxx/ql4_83xx.c udelay((uint32_t)(p_hdr->delay)); p_hdr 932 drivers/scsi/qla4xxx/ql4_83xx.c struct qla4_83xx_reset_entry_hdr *p_hdr) p_hdr 938 drivers/scsi/qla4xxx/ql4_83xx.c ((char *)p_hdr + sizeof(struct qla4_83xx_reset_entry_hdr)); p_hdr 940 drivers/scsi/qla4xxx/ql4_83xx.c for (i = 0; i < p_hdr->count; i++, p_entry++) { p_hdr 942 drivers/scsi/qla4xxx/ql4_83xx.c if (p_hdr->delay) p_hdr 943 drivers/scsi/qla4xxx/ql4_83xx.c udelay((uint32_t)(p_hdr->delay)); p_hdr 948 drivers/scsi/qla4xxx/ql4_83xx.c struct qla4_83xx_reset_entry_hdr *p_hdr) p_hdr 957 drivers/scsi/qla4xxx/ql4_83xx.c ((char *)p_hdr + sizeof(struct qla4_83xx_reset_entry_hdr)); p_hdr 964 drivers/scsi/qla4xxx/ql4_83xx.c delay = (long)p_hdr->delay; p_hdr 966 drivers/scsi/qla4xxx/ql4_83xx.c for (i = 0; i < p_hdr->count; i++, p_entry++) { p_hdr 972 drivers/scsi/qla4xxx/ql4_83xx.c for (i = 0; i < p_hdr->count; i++, p_entry++) { p_hdr 986 drivers/scsi/qla4xxx/ql4_83xx.c struct qla4_83xx_reset_entry_hdr *p_hdr) p_hdr 994 drivers/scsi/qla4xxx/ql4_83xx.c ((char *)p_hdr + sizeof(struct qla4_83xx_reset_entry_hdr)); p_hdr 997 drivers/scsi/qla4xxx/ql4_83xx.c delay = (long)p_hdr->delay; p_hdr 999 drivers/scsi/qla4xxx/ql4_83xx.c for (i = 0; i < p_hdr->count; i++, p_entry++) { p_hdr 1018 drivers/scsi/qla4xxx/ql4_83xx.c struct qla4_83xx_reset_entry_hdr *p_hdr) p_hdr 1025 drivers/scsi/qla4xxx/ql4_83xx.c ((char *)p_hdr + sizeof(struct qla4_83xx_reset_entry_hdr)); p_hdr 1029 drivers/scsi/qla4xxx/ql4_83xx.c for (i = 0; i < p_hdr->count; i++, p_entry++) { p_hdr 1032 drivers/scsi/qla4xxx/ql4_83xx.c if (p_hdr->delay) p_hdr 1033 drivers/scsi/qla4xxx/ql4_83xx.c udelay((uint32_t)(p_hdr->delay)); p_hdr 1038 drivers/scsi/qla4xxx/ql4_83xx.c struct qla4_83xx_reset_entry_hdr *p_hdr) p_hdr 1040 drivers/scsi/qla4xxx/ql4_83xx.c if (p_hdr->delay) p_hdr 1041 drivers/scsi/qla4xxx/ql4_83xx.c mdelay((uint32_t)((long)p_hdr->delay)); p_hdr 1045 drivers/scsi/qla4xxx/ql4_83xx.c struct qla4_83xx_reset_entry_hdr *p_hdr) p_hdr 1055 drivers/scsi/qla4xxx/ql4_83xx.c ((char *)p_hdr + sizeof(struct qla4_83xx_reset_entry_hdr)); p_hdr 1058 drivers/scsi/qla4xxx/ql4_83xx.c delay = (long)p_hdr->delay; p_hdr 1060 drivers/scsi/qla4xxx/ql4_83xx.c for (i = 0; i < p_hdr->count; i++, p_entry++) { p_hdr 1085 drivers/scsi/qla4xxx/ql4_83xx.c struct qla4_83xx_reset_entry_hdr *p_hdr) p_hdr 1091 drivers/scsi/qla4xxx/ql4_83xx.c struct qla4_83xx_reset_entry_hdr *p_hdr) p_hdr 1120 drivers/scsi/qla4xxx/ql4_83xx.c struct qla4_83xx_reset_entry_hdr *p_hdr; p_hdr 1130 drivers/scsi/qla4xxx/ql4_83xx.c p_hdr = (struct qla4_83xx_reset_entry_hdr *)p_entry; p_hdr 1131 drivers/scsi/qla4xxx/ql4_83xx.c switch (p_hdr->cmd) { p_hdr 1135 drivers/scsi/qla4xxx/ql4_83xx.c qla4_83xx_write_list(ha, p_hdr); p_hdr 1138 drivers/scsi/qla4xxx/ql4_83xx.c qla4_83xx_read_write_list(ha, p_hdr); p_hdr 1141 drivers/scsi/qla4xxx/ql4_83xx.c qla4_83xx_poll_list(ha, p_hdr); p_hdr 1144 drivers/scsi/qla4xxx/ql4_83xx.c qla4_83xx_poll_write_list(ha, p_hdr); p_hdr 1147 drivers/scsi/qla4xxx/ql4_83xx.c qla4_83xx_read_modify_write(ha, p_hdr); p_hdr 1150 drivers/scsi/qla4xxx/ql4_83xx.c qla4_83xx_pause(ha, p_hdr); p_hdr 1153 drivers/scsi/qla4xxx/ql4_83xx.c qla4_83xx_seq_end(ha, p_hdr); p_hdr 1156 drivers/scsi/qla4xxx/ql4_83xx.c qla4_83xx_template_end(ha, p_hdr); p_hdr 1159 drivers/scsi/qla4xxx/ql4_83xx.c qla4_83xx_poll_read_list(ha, p_hdr); p_hdr 1163 drivers/scsi/qla4xxx/ql4_83xx.c __func__, p_hdr->cmd, index); p_hdr 1168 drivers/scsi/qla4xxx/ql4_83xx.c p_entry += p_hdr->size; p_hdr 118 fs/ext4/ext4_extents.h struct ext4_extent_header *p_hdr; p_hdr 167 fs/ext4/ext4_extents.h (le16_to_cpu((__path__)->p_hdr->eh_entries) \ p_hdr 168 fs/ext4/ext4_extents.h < le16_to_cpu((__path__)->p_hdr->eh_max)) p_hdr 599 fs/ext4/extents.c path[0].p_hdr = ext_inode_hdr(inode); p_hdr 600 fs/ext4/extents.c ret = ext4_ext_check(inode, path[0].p_hdr, depth, 0); p_hdr 603 fs/ext4/extents.c path[0].p_idx = EXT_FIRST_INDEX(path[0].p_hdr); p_hdr 610 fs/ext4/extents.c path[i].p_idx > EXT_LAST_INDEX(path[i].p_hdr)) { p_hdr 626 fs/ext4/extents.c path[i].p_hdr = ext_block_hdr(bh); p_hdr 627 fs/ext4/extents.c path[i].p_idx = EXT_FIRST_INDEX(path[i].p_hdr); p_hdr 669 fs/ext4/extents.c eh = path[depth].p_hdr; p_hdr 691 fs/ext4/extents.c while (idx <= EXT_MAX_INDEX(path[level].p_hdr)) { p_hdr 703 fs/ext4/extents.c while (ex <= EXT_MAX_EXTENT(path[depth].p_hdr)) { p_hdr 743 fs/ext4/extents.c struct ext4_extent_header *eh = path->p_hdr; p_hdr 803 fs/ext4/extents.c struct ext4_extent_header *eh = path->p_hdr; p_hdr 903 fs/ext4/extents.c path[0].p_hdr = eh; p_hdr 929 fs/ext4/extents.c path[ppos].p_hdr = eh; p_hdr 977 fs/ext4/extents.c if (unlikely(le16_to_cpu(curp->p_hdr->eh_entries) p_hdr 978 fs/ext4/extents.c >= le16_to_cpu(curp->p_hdr->eh_max))) { p_hdr 981 fs/ext4/extents.c le16_to_cpu(curp->p_hdr->eh_entries), p_hdr 982 fs/ext4/extents.c le16_to_cpu(curp->p_hdr->eh_max)); p_hdr 996 fs/ext4/extents.c len = EXT_LAST_INDEX(curp->p_hdr) - ix + 1; p_hdr 1005 fs/ext4/extents.c if (unlikely(ix > EXT_MAX_INDEX(curp->p_hdr))) { p_hdr 1012 fs/ext4/extents.c le16_add_cpu(&curp->p_hdr->eh_entries, 1); p_hdr 1014 fs/ext4/extents.c if (unlikely(ix > EXT_LAST_INDEX(curp->p_hdr))) { p_hdr 1056 fs/ext4/extents.c if (unlikely(path[depth].p_ext > EXT_MAX_EXTENT(path[depth].p_hdr))) { p_hdr 1060 fs/ext4/extents.c if (path[depth].p_ext != EXT_MAX_EXTENT(path[depth].p_hdr)) { p_hdr 1123 fs/ext4/extents.c if (unlikely(path[depth].p_hdr->eh_entries != p_hdr 1124 fs/ext4/extents.c path[depth].p_hdr->eh_max)) { p_hdr 1126 fs/ext4/extents.c path[depth].p_hdr->eh_entries, p_hdr 1127 fs/ext4/extents.c path[depth].p_hdr->eh_max); p_hdr 1132 fs/ext4/extents.c m = EXT_MAX_EXTENT(path[depth].p_hdr) - path[depth].p_ext++; p_hdr 1160 fs/ext4/extents.c le16_add_cpu(&path[depth].p_hdr->eh_entries, -m); p_hdr 1206 fs/ext4/extents.c if (unlikely(EXT_MAX_INDEX(path[i].p_hdr) != p_hdr 1207 fs/ext4/extents.c EXT_LAST_INDEX(path[i].p_hdr))) { p_hdr 1215 fs/ext4/extents.c m = EXT_MAX_INDEX(path[i].p_hdr) - path[i].p_idx++; p_hdr 1217 fs/ext4/extents.c EXT_MAX_INDEX(path[i].p_hdr)); p_hdr 1244 fs/ext4/extents.c le16_add_cpu(&path[i].p_hdr->eh_entries, -m); p_hdr 1426 fs/ext4/extents.c if (path[depth].p_hdr->eh_entries == path[depth].p_hdr->eh_max) { p_hdr 1468 fs/ext4/extents.c if (unlikely(EXT_FIRST_EXTENT(path[depth].p_hdr) != ex)) { p_hdr 1476 fs/ext4/extents.c if (unlikely(ix != EXT_FIRST_INDEX(path[depth].p_hdr))) { p_hdr 1480 fs/ext4/extents.c EXT_FIRST_INDEX(path[depth].p_hdr) != NULL ? p_hdr 1481 fs/ext4/extents.c le32_to_cpu(EXT_FIRST_INDEX(path[depth].p_hdr)->ei_block) : 0, p_hdr 1538 fs/ext4/extents.c if (unlikely(EXT_FIRST_EXTENT(path[depth].p_hdr) != ex)) { p_hdr 1546 fs/ext4/extents.c if (unlikely(ix != EXT_FIRST_INDEX(path[depth].p_hdr))) { p_hdr 1563 fs/ext4/extents.c if (ex != EXT_LAST_EXTENT(path[depth].p_hdr)) { p_hdr 1572 fs/ext4/extents.c if (ix != EXT_LAST_INDEX(path[depth].p_hdr)) p_hdr 1634 fs/ext4/extents.c EXT_LAST_EXTENT(path[depth].p_hdr)) p_hdr 1639 fs/ext4/extents.c EXT_LAST_INDEX(path[depth].p_hdr)) p_hdr 1668 fs/ext4/extents.c EXT_LAST_INDEX(path[depth].p_hdr)) p_hdr 1692 fs/ext4/extents.c eh = path[depth].p_hdr; p_hdr 1726 fs/ext4/extents.c if (path[k+1].p_idx != EXT_FIRST_INDEX(path[k+1].p_hdr)) p_hdr 1800 fs/ext4/extents.c BUG_ON(path[depth].p_hdr == NULL); p_hdr 1801 fs/ext4/extents.c eh = path[depth].p_hdr; p_hdr 1841 fs/ext4/extents.c (le16_to_cpu(path[0].p_hdr->eh_entries) != 1) || p_hdr 1842 fs/ext4/extents.c (le16_to_cpu(path[1].p_hdr->eh_entries) > max_root)) p_hdr 1857 fs/ext4/extents.c s = le16_to_cpu(path[1].p_hdr->eh_entries) * p_hdr 1862 fs/ext4/extents.c memcpy(path[0].p_hdr, path[1].p_hdr, s); p_hdr 1864 fs/ext4/extents.c path[0].p_ext = EXT_FIRST_EXTENT(path[0].p_hdr) + p_hdr 1865 fs/ext4/extents.c (path[1].p_ext - EXT_FIRST_EXTENT(path[1].p_hdr)); p_hdr 1866 fs/ext4/extents.c path[0].p_hdr->eh_max = cpu_to_le16(max_root); p_hdr 1886 fs/ext4/extents.c BUG_ON(path[depth].p_hdr == NULL); p_hdr 1887 fs/ext4/extents.c eh = path[depth].p_hdr; p_hdr 1976 fs/ext4/extents.c eh = path[depth].p_hdr; p_hdr 1977 fs/ext4/extents.c if (unlikely(path[depth].p_hdr == NULL)) { p_hdr 2023 fs/ext4/extents.c eh = path[depth].p_hdr; p_hdr 2052 fs/ext4/extents.c eh = path[depth].p_hdr; p_hdr 2059 fs/ext4/extents.c eh = path[depth].p_hdr; p_hdr 2075 fs/ext4/extents.c eh = npath[depth].p_hdr; p_hdr 2097 fs/ext4/extents.c eh = path[depth].p_hdr; p_hdr 2203 fs/ext4/extents.c if (unlikely(path[depth].p_hdr == NULL)) { p_hdr 2451 fs/ext4/extents.c if (unlikely(path->p_hdr->eh_entries == 0)) { p_hdr 2459 fs/ext4/extents.c if (path->p_idx != EXT_LAST_INDEX(path->p_hdr)) { p_hdr 2460 fs/ext4/extents.c int len = EXT_LAST_INDEX(path->p_hdr) - path->p_idx; p_hdr 2465 fs/ext4/extents.c le16_add_cpu(&path->p_hdr->eh_entries, -1); p_hdr 2476 fs/ext4/extents.c if (path->p_idx != EXT_FIRST_INDEX(path->p_hdr)) p_hdr 2505 fs/ext4/extents.c if (le16_to_cpu(path[depth].p_hdr->eh_entries) p_hdr 2506 fs/ext4/extents.c < le16_to_cpu(path[depth].p_hdr->eh_max)) { p_hdr 2749 fs/ext4/extents.c if (!path[depth].p_hdr) p_hdr 2750 fs/ext4/extents.c path[depth].p_hdr = ext_block_hdr(path[depth].p_bh); p_hdr 2751 fs/ext4/extents.c eh = path[depth].p_hdr; p_hdr 2752 fs/ext4/extents.c if (unlikely(path[depth].p_hdr == NULL)) { p_hdr 2929 fs/ext4/extents.c if (path->p_idx < EXT_FIRST_INDEX(path->p_hdr)) p_hdr 2936 fs/ext4/extents.c if (le16_to_cpu(path->p_hdr->eh_entries) == path->p_block) p_hdr 3061 fs/ext4/extents.c le16_to_cpu(path[k].p_hdr->eh_entries)+1; p_hdr 3070 fs/ext4/extents.c path[0].p_hdr = ext_inode_hdr(inode); p_hdr 3073 fs/ext4/extents.c if (ext4_ext_check(inode, path[0].p_hdr, depth, 0)) { p_hdr 3093 fs/ext4/extents.c if (!path[i].p_hdr) { p_hdr 3095 fs/ext4/extents.c path[i].p_hdr = ext_block_hdr(path[i].p_bh); p_hdr 3100 fs/ext4/extents.c path[i].p_idx = EXT_LAST_INDEX(path[i].p_hdr); p_hdr 3101 fs/ext4/extents.c path[i].p_block = le16_to_cpu(path[i].p_hdr->eh_entries)+1; p_hdr 3103 fs/ext4/extents.c path[i].p_hdr, p_hdr 3104 fs/ext4/extents.c le16_to_cpu(path[i].p_hdr->eh_entries)); p_hdr 3111 fs/ext4/extents.c i, EXT_FIRST_INDEX(path[i].p_hdr), p_hdr 3138 fs/ext4/extents.c path[i].p_block = le16_to_cpu(path[i].p_hdr->eh_entries); p_hdr 3142 fs/ext4/extents.c if (path[i].p_hdr->eh_entries == 0 && i > 0) { p_hdr 3157 fs/ext4/extents.c path->p_hdr->eh_entries); p_hdr 3177 fs/ext4/extents.c if (path->p_hdr->eh_entries == 0) { p_hdr 3565 fs/ext4/extents.c eh = path[depth].p_hdr; p_hdr 3920 fs/ext4/extents.c eh = path[depth].p_hdr; p_hdr 3950 fs/ext4/extents.c if (path[i].p_idx != EXT_LAST_INDEX(path[i].p_hdr)) p_hdr 5250 fs/ext4/extents.c ex_last = EXT_LAST_EXTENT(path[depth].p_hdr); p_hdr 5256 fs/ext4/extents.c if (ex_start == EXT_FIRST_EXTENT(path[depth].p_hdr)) p_hdr 5265 fs/ext4/extents.c EXT_FIRST_EXTENT(path[depth].p_hdr)) p_hdr 5301 fs/ext4/extents.c if (path[depth].p_idx != EXT_FIRST_INDEX(path[depth].p_hdr)) p_hdr 5405 fs/ext4/extents.c if (extent < EXT_LAST_EXTENT(path[depth].p_hdr)) { p_hdr 5414 fs/ext4/extents.c extent = EXT_LAST_EXTENT(path[depth].p_hdr); p_hdr 5418 fs/ext4/extents.c extent = EXT_FIRST_EXTENT(path[depth].p_hdr);