Home
last modified time | relevance | path

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

/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()
/linux/net/tls/
H A Dtls_strp.c502 int sz, inq; in tls_strp_read_sock() local
504 inq = tcp_inq(strp->sk); in tls_strp_read_sock()
505 if (inq < 1) in tls_strp_read_sock()
511 if (inq < strp->stm.full_len) in tls_strp_read_sock()
515 tls_strp_load_anchor_with_queue(strp, inq); in tls_strp_read_sock()
525 if (!strp->stm.full_len || inq < strp->stm.full_len) in tls_strp_read_sock()
/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()
/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()
/linux/net/ipv4/
H A Dtcp.c1872 struct tcp_zerocopy_receive *zc, int inq, in receive_fallback_to_copy() argument
1885 err = import_ubuf(ITER_DEST, (void __user *)copy_address, inq, in receive_fallback_to_copy()
1890 err = tcp_recvmsg_locked(sk, &msg, inq, MSG_DONTWAIT, in receive_fallback_to_copy()
2106 int inq = tcp_inq(sk); in tcp_zerocopy_receive() local
2121 if (inq && inq <= copybuf_len) in tcp_zerocopy_receive()
2122 return receive_fallback_to_copy(sk, zc, inq, tss); in tcp_zerocopy_receive()
2124 if (inq < PAGE_SIZE) { in tcp_zerocopy_receive()
2126 zc->recv_skip_hint = inq; in tcp_zerocopy_receive()
2127 if (!inq && sock_flag(sk, SOCK_DONE)) in tcp_zerocopy_receive()
2137 avail_len = min_t(u32, vma_len, inq); in tcp_zerocopy_receive()
[all …]
/linux/drivers/scsi/
H A Dscsi_scan.c1136 static unsigned char *scsi_inq_str(unsigned char *buf, unsigned char *inq, in scsi_inq_str() argument
1141 for (idx = 0; idx + first < end && idx + first < inq[4] + 5; idx++) { in scsi_inq_str()
1142 if (inq[idx+first] > ' ') { in scsi_inq_str()
1143 buf[idx] = inq[idx+first]; in scsi_inq_str()
H A Dmyrb.c1341 unsigned char inq[36] = { in myrb_inquiry() local
1350 inq[7] |= 1 << 6; in myrb_inquiry()
1352 inq[7] |= 1 << 5; in myrb_inquiry()
1353 memcpy(&inq[16], cb->model_name, 16); in myrb_inquiry()
1354 memcpy(&inq[32], cb->fw_version, 1); in myrb_inquiry()
1355 memcpy(&inq[33], &cb->fw_version[2], 2); in myrb_inquiry()
1356 memcpy(&inq[35], &cb->fw_version[7], 1); in myrb_inquiry()
1358 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));
/linux/tools/include/uapi/linux/
H A Dtcp.h351 __u32 inq; /* out: amount of bytes in read queue */ member
/linux/include/uapi/linux/
H A Dtcp.h478 __u32 inq; /* out: amount of bytes in read queue */ member
/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()
/linux/drivers/tty/
H A Dmoxa.c425 int inq; member
621 tmp.inq = MoxaPortRxQueue(p); in moxa_ioctl()
/linux/net/mptcp/
H A Dprotocol.c2279 unsigned int inq = mptcp_inq_hint(sk); in mptcp_recvmsg() local
2281 put_cmsg(msg, SOL_TCP, TCP_CM_INQ, sizeof(inq), &inq); in mptcp_recvmsg()
/linux/drivers/net/wireless/realtek/rtw89/
H A Dcoex.c3311 u8 inq: 1; member
7412 cx->cnt_bt[BTC_BCNT_INQ] += !!(btinfo.lb3.inq && !bt->inq); in _update_bt_info()
7413 bt->inq = btinfo.lb3.inq; in _update_bt_info()
H A Dcore.h2061 u32 inq: 1; member