Home
last modified time | relevance | path

Searched refs:inq (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/tools/testing/selftests/net/
H A Dtcp_inq.c99 int c, one = 1, inq = -1; in main() local
168 inq = *((int *) CMSG_DATA(cm)); in main()
170 if (inq != BUF_SIZE - iov[0].iov_len) { in main()
171 fprintf(stderr, "unexpected inq: %d\n", inq); in main()
/openbmc/linux/net/tls/
H A Dtls_strp.c501 int sz, inq; in tls_strp_read_sock() local
503 inq = tcp_inq(strp->sk); in tls_strp_read_sock()
504 if (inq < 1) in tls_strp_read_sock()
510 if (inq < strp->stm.full_len) in tls_strp_read_sock()
514 tls_strp_load_anchor_with_queue(strp, inq); in tls_strp_read_sock()
524 if (!strp->stm.full_len || inq < strp->stm.full_len) in tls_strp_read_sock()
/openbmc/linux/drivers/scsi/device_handler/
H A Dscsi_dh_rdac.c213 } inq; member
366 struct c8_inquiry *inqp = &h->inq.c8; in get_lun_info()
392 struct c9_inquiry *inqp = &h->inq.c9; in check_ownership()
441 struct c4_inquiry *inqp = &h->inq.c4; in initialize_controller()
468 struct c2_inquiry *inqp = &h->inq.c2; in set_mode_select()
/openbmc/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.c473 unsigned int inq = 0; in process_cmsg() local
483 memcpy(&inq, CMSG_DATA(cmsg), sizeof(inq)); in process_cmsg()
499 if (inq > 1024) in process_cmsg()
500 xerror("tcp_inq %u is larger than one kbyte\n", inq); in process_cmsg()
501 tcp_inq.last = inq; in process_cmsg()
/openbmc/linux/net/ipv4/
H A Dtcp.c1876 inq, &iov, &msg.msg_iter); in receive_fallback_to_copy()
2097 int inq = tcp_inq(sk); in tcp_zerocopy_receive() local
2112 if (inq && inq <= copybuf_len) in tcp_zerocopy_receive()
2115 if (inq < PAGE_SIZE) { in tcp_zerocopy_receive()
2117 zc->recv_skip_hint = inq; in tcp_zerocopy_receive()
2298 int inq; in tcp_inq_hint() local
2300 inq = rcv_nxt - copied_seq; in tcp_inq_hint()
2303 inq = tp->rcv_nxt - tp->copied_seq; in tcp_inq_hint()
2310 inq = 1; in tcp_inq_hint()
2311 return inq; in tcp_inq_hint()
[all …]
/openbmc/linux/tools/include/uapi/linux/
H A Dtcp.h351 __u32 inq; /* out: amount of bytes in read queue */ member
/openbmc/linux/include/uapi/linux/
H A Dtcp.h370 __u32 inq; /* out: amount of bytes in read queue */ member
/openbmc/linux/drivers/scsi/
H A Dscsi_scan.c1115 static unsigned char *scsi_inq_str(unsigned char *buf, unsigned char *inq, in scsi_inq_str() argument
1120 for (idx = 0; idx + first < end && idx + first < inq[4] + 5; idx++) { in scsi_inq_str()
1121 if (inq[idx+first] > ' ') { in scsi_inq_str()
1122 buf[idx] = inq[idx+first]; in scsi_inq_str()
H A Dmyrb.c1342 unsigned char inq[36] = { in myrb_inquiry() local
1351 inq[7] |= 1 << 6; in myrb_inquiry()
1353 inq[7] |= 1 << 5; in myrb_inquiry()
1354 memcpy(&inq[16], cb->model_name, 16); in myrb_inquiry()
1355 memcpy(&inq[32], cb->fw_version, 1); in myrb_inquiry()
1356 memcpy(&inq[33], &cb->fw_version[2], 2); in myrb_inquiry()
1357 memcpy(&inq[35], &cb->fw_version[7], 1); in myrb_inquiry()
1359 scsi_sg_copy_from_buffer(scmd, (void *)inq, 36); in myrb_inquiry()
H A Dmegaraid.c226 mraid_inquiry *inq; in mega_query_adapter() local
235 inq = &ext_inq->raid_inq; in mega_query_adapter()
248 mega_8_to_40ld(inq, inquiry3, in mega_query_adapter()
H A Dadvansys.c2132 #define ASC_DBG_PRT_INQUIRY(lvl, inq, len) argument
2190 #define ASC_DBG_PRT_INQUIRY(lvl, inq, len) \ argument
2191 ASC_DBG_PRT_HEX((lvl), "INQUIRY", (uchar *) (inq), (len));
/openbmc/qemu/block/
H A Discsi.c1501 int evpd, int pc, void **inq, Error **errp) in iscsi_do_inquiry() argument
1520 *inq = scsi_datain_unmarshall(task); in iscsi_do_inquiry()
1521 if (*inq == NULL) { in iscsi_do_inquiry()
1801 struct scsi_inquiry_standard *inq = NULL; in iscsi_open() local
1911 (void **) &inq, errp); in iscsi_open()
1916 iscsilun->type = inq->periperal_device_type; in iscsi_open()
/openbmc/linux/drivers/scsi/aacraid/
H A Daachba.c556 struct inquiry_data inq; in get_container_name_callback() local
564 scsi_sg_copy_to_buffer(scsicmd, &inq, sizeof(inq)); in get_container_name_callback()
565 memcpy(inq.inqd_pid, d, sizeof(d)); in get_container_name_callback()
566 scsi_sg_copy_from_buffer(scsicmd, &inq, sizeof(inq)); in get_container_name_callback()
/openbmc/linux/drivers/tty/
H A Dmoxa.c425 int inq; member
621 tmp.inq = MoxaPortRxQueue(p); in moxa_ioctl()
/openbmc/linux/net/mptcp/
H A Dprotocol.c2242 unsigned int inq = mptcp_inq_hint(sk); in mptcp_recvmsg() local
2244 put_cmsg(msg, SOL_TCP, TCP_CM_INQ, sizeof(inq), &inq); in mptcp_recvmsg()
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dcoex.c2496 u8 inq: 1; member
5588 cx->cnt_bt[BTC_BCNT_INQ] += !!(btinfo.lb3.inq && !bt->inq); in _update_bt_info()
5589 bt->inq = btinfo.lb3.inq; in _update_bt_info()
H A Dcore.h1749 u32 inq: 1; member