Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/af_unix/
H A Dscm_inq.c74 int inq; in recv_chunks() local
97 ret = ioctl(self->fd[1], SIOCINQ, &inq); in recv_chunks()
99 ASSERT_EQ(*(int *)CMSG_DATA(cmsg), inq); in recv_chunks()
105 int err, inq; in TEST_F() local
115 err = ioctl(self->fd[1], SIOCINQ, &inq); in TEST_F()
117 ASSERT_EQ(0, inq); in TEST_F()
/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.c514 int sz, inq; in tls_strp_read_sock() local
516 inq = tcp_inq(strp->sk); in tls_strp_read_sock()
517 if (inq < 1) in tls_strp_read_sock()
523 if (inq < strp->stm.full_len) in tls_strp_read_sock()
526 tls_strp_load_anchor_with_queue(strp, inq); in tls_strp_read_sock()
534 if (!strp->stm.full_len || inq < strp->stm.full_len) in tls_strp_read_sock()
/linux/include/linux/
H A Dskmsg.h560 ssize_t inq = 0; in sk_psock_msg_inq() local
564 inq = sk_psock_get_msg_len_nolock(psock); in sk_psock_msg_inq()
567 return inq; in sk_psock_msg_inq()
575 ssize_t inq = 0; in sk_msg_first_len() local
582 inq = msg->sg.size; in sk_msg_first_len()
586 return inq; in sk_msg_first_len()
/linux/include/trace/events/
H A Dmptcp.h199 __field(__u32, inq)
224 __entry->inq = mptcp_inq_hint(sk);
255 __entry->inq, __entry->space, __entry->ooo_space,
H A Dtcp.h217 __field(__u32, inq)
244 __entry->inq = tp->rcv_nxt - tp->copied_seq;
277 __entry->inq, __entry->space, __entry->ooo_space,
/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.c488 unsigned int inq = 0; in process_cmsg() local
498 memcpy(&inq, CMSG_DATA(cmsg), sizeof(inq)); in process_cmsg()
514 if (inq > 1024) in process_cmsg()
515 xerror("tcp_inq %u is larger than one kbyte\n", inq); in process_cmsg()
516 tcp_inq.last = inq; in process_cmsg()
/linux/net/ipv4/
H A Dtcp.c2004 struct tcp_zerocopy_receive *zc, int inq, in receive_fallback_to_copy() argument
2017 err = import_ubuf(ITER_DEST, (void __user *)copy_address, inq, in receive_fallback_to_copy()
2022 err = tcp_recvmsg_locked(sk, &msg, inq, MSG_DONTWAIT, in receive_fallback_to_copy()
2238 int inq = tcp_inq(sk); in tcp_zerocopy_receive() local
2253 if (inq && inq <= copybuf_len) in tcp_zerocopy_receive()
2254 return receive_fallback_to_copy(sk, zc, inq, tss); in tcp_zerocopy_receive()
2256 if (inq < PAGE_SIZE) { in tcp_zerocopy_receive()
2258 zc->recv_skip_hint = inq; in tcp_zerocopy_receive()
2259 if (!inq && sock_flag(sk, SOCK_DONE)) in tcp_zerocopy_receive()
2269 avail_len = min_t(u32, vma_len, inq); in tcp_zerocopy_receive()
[all …]
H A Dtcp_input.c964 int time, inq, copied; in tcp_rcv_space_adjust() local
982 inq = tp->rcv_nxt - tp->copied_seq; in tcp_rcv_space_adjust()
983 copied -= inq; in tcp_rcv_space_adjust()
/linux/tools/include/uapi/linux/
H A Dtcp.h351 __u32 inq; /* out: amount of bytes in read queue */ member
/linux/drivers/scsi/
H A Dscsi_scan.c1141 static unsigned char *scsi_inq_str(unsigned char *buf, unsigned char *inq, in scsi_inq_str() argument
1146 for (idx = 0; idx + first < end && idx + first < inq[4] + 5; idx++) { in scsi_inq_str()
1147 if (inq[idx+first] > ' ') { in scsi_inq_str()
1148 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/include/uapi/linux/
H A Dtcp.h514 __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/net/mptcp/
H A Dprotocol.c2366 unsigned int inq = mptcp_inq_hint(sk); in mptcp_recvmsg()
2368 put_cmsg(msg, SOL_TCP, TCP_CM_INQ, sizeof(inq), &inq); in mptcp_recvmsg()
2361 unsigned int inq = mptcp_inq_hint(sk); mptcp_recvmsg() local
/linux/drivers/net/wireless/realtek/rtw89/
H A Dcoex.c3627 u8 inq: 1; member
8088 cx->cnt_bt[BTC_BCNT_INQ] += !!(btinfo.lb3.inq && !bt->inq); in _update_bt_info()
8089 bt->inq = btinfo.lb3.inq; in _update_bt_info()
H A Dcore.h2189 u32 inq: 1; member