/linux/drivers/ntb/test/ |
A D | ntb_tool.c | 231 int midx; member 1402 int midx, pidx; in tool_init_msgs() local 1411 for (midx = 0; midx < tc->inmsg_cnt; midx++) { in tool_init_msgs() 1412 tc->inmsgs[midx].midx = midx; in tool_init_msgs() 1413 tc->inmsgs[midx].pidx = -1; in tool_init_msgs() 1414 tc->inmsgs[midx].tc = tc; in tool_init_msgs() 1426 for (midx = 0; midx < tc->peers[pidx].outmsg_cnt; midx++) { in tool_init_msgs() 1427 tc->peers[pidx].outmsgs[midx].midx = midx; in tool_init_msgs() 1483 int pidx, widx, sidx, midx; in tool_setup_dbgfs() local 1531 for (midx = 0; midx < tc->inmsg_cnt; midx++) { in tool_setup_dbgfs() [all …]
|
/linux/fs/nfs/ |
A D | pagelist.c | 1258 u32 midx; in nfs_pageio_error_cleanup() local 1264 for (midx = 0; midx < desc->pg_mirror_count; midx++) { in nfs_pageio_error_cleanup() 1265 mirror = nfs_pgio_get_mirror(desc, midx); in nfs_pageio_error_cleanup() 1274 u32 midx; in nfs_pageio_add_request() local 1287 for (midx = 1; midx < desc->pg_mirror_count; midx++) { in nfs_pageio_add_request() 1299 nfs_pgio_set_current_mirror(desc, midx); in nfs_pageio_add_request() 1383 u32 midx; in nfs_pageio_complete() local 1385 for (midx = 0; midx < desc->pg_mirror_count; midx++) in nfs_pageio_complete() 1386 nfs_pageio_complete_mirror(desc, midx); in nfs_pageio_complete() 1410 u32 midx; in nfs_pageio_cond_complete() local [all …]
|
/linux/drivers/hwtracing/stm/ |
A D | core.c | 253 unsigned int midx; in stm_find_master_chan() local 256 for (midx = *mstart; midx <= mend; midx++) { in stm_find_master_chan() 257 if (!stm_master(stm, midx)) { in stm_find_master_chan() 258 err = stp_master_alloc(stm, midx); in stm_find_master_chan() 263 master = stm_master(stm, midx); in stm_find_master_chan() 273 *mstart = midx; in stm_find_master_chan() 285 unsigned int midx, cidx, mend, cend; in stm_output_assign() local 299 stp_policy_node_get_ranges(policy_node, &midx, &mend, &cidx, &cend); in stm_output_assign() 307 ret = stm_find_master_chan(stm, width, &midx, mend, &cidx, cend); in stm_output_assign() 311 output->master = midx; in stm_output_assign() [all …]
|
/linux/drivers/ntb/hw/idt/ |
A D | ntb_hw_idt.c | 1590 unsigned char midx; in idt_init_msg() local 1593 for (midx = 0; midx < IDT_MSG_CNT; midx++) in idt_init_msg() 1594 spin_lock_init(&ndev->msg_locks[midx]); in idt_init_msg() 1755 if (midx < 0 || IDT_MSG_CNT <= midx) in idt_ntb_msg_read() 1762 srcpart = idt_nt_read(ndev, ntdata_tbl.msgs[midx].src); in idt_ntb_msg_read() 1771 return idt_nt_read(ndev, ntdata_tbl.msgs[midx].in); in idt_ntb_msg_read() 1794 if (midx < 0 || IDT_MSG_CNT <= midx) in idt_ntb_peer_msg_write() 1801 swpmsgctl = SET_FIELD(SWPxMSGCTL_REG, 0, midx) | in idt_ntb_peer_msg_write() 1805 spin_lock_irqsave(&ndev->msg_locks[midx], irqflags); in idt_ntb_peer_msg_write() 1808 idt_nt_write(ndev, ntdata_tbl.msgs[midx].out, msg); in idt_ntb_peer_msg_write() [all …]
|
/linux/net/ipv4/ |
A D | bpf_tcp_ca.c | 166 u32 midx; in prog_ops_moff() local 168 midx = prog->expected_attach_type; in prog_ops_moff() 170 m = &btf_type_member(t)[midx]; in prog_ops_moff()
|
A D | ip_sockglue.c | 1108 int midx; in do_ip_setsockopt() local 1125 midx = l3mdev_master_ifindex(dev); in do_ip_setsockopt() 1129 if (sk->sk_bound_dev_if && midx != sk->sk_bound_dev_if) in do_ip_setsockopt() 1140 int midx; in do_ip_setsockopt() local 1186 midx = l3mdev_master_ifindex(dev); in do_ip_setsockopt() 1193 midx != sk->sk_bound_dev_if) in do_ip_setsockopt()
|
/linux/include/linux/ |
A D | ntb.h | 330 u32 (*msg_read)(struct ntb_dev *ntb, int *pidx, int midx); 331 int (*peer_msg_write)(struct ntb_dev *ntb, int pidx, int midx, u32 msg); 1536 static inline u32 ntb_msg_read(struct ntb_dev *ntb, int *pidx, int midx) in ntb_msg_read() argument 1541 return ntb->ops->msg_read(ntb, pidx, midx); in ntb_msg_read() 1557 static inline int ntb_peer_msg_write(struct ntb_dev *ntb, int pidx, int midx, in ntb_peer_msg_write() argument 1563 return ntb->ops->peer_msg_write(ntb, pidx, midx, msg); in ntb_peer_msg_write()
|
/linux/drivers/scsi/mpi3mr/ |
A D | mpi3mr_fw.c | 522 u16 midx; in mpi3mr_isr_primary() local 533 midx = intr_info->msix_index; in mpi3mr_isr_primary() 535 if (!midx) in mpi3mr_isr_primary() 550 u16 midx; in mpi3mr_isr() local 557 midx = intr_info->msix_index; in mpi3mr_isr() 591 u16 midx; in mpi3mr_isr_poll() local 598 midx = intr_info->msix_index; in mpi3mr_isr_poll() 605 if (!midx) in mpi3mr_isr_poll() 1355 u16 reply_qid = 0, midx; in mpi3mr_delete_op_reply_q() local 1552 u16 reply_qid = 0, midx; in mpi3mr_create_op_reply_q() local [all …]
|
/linux/drivers/infiniband/hw/qib/ |
A D | qib_sd7220.c | 1043 int idx, midx; in qib_sd_setvals() local 1072 for (midx = 0; midx < DDS_ROWS; ++midx) { in qib_sd_setvals() 1073 u64 __iomem *daddr = taddr + ((midx << 4) + idx); in qib_sd_setvals() 1075 data = dds_init_vals[midx].reg_vals[idx]; in qib_sd_setvals()
|
/linux/net/ipv6/ |
A D | ipv6_sockglue.c | 802 int midx; in do_ipv6_setsockopt() local 812 midx = l3mdev_master_ifindex_rcu(dev); in do_ipv6_setsockopt() 818 (!midx || midx != sk->sk_bound_dev_if)) in do_ipv6_setsockopt()
|
/linux/Documentation/driver-api/ |
A D | ntb.rst | 100 2) ntb_get_align(pidx, midx) - retrieve parameters restricting the 105 4) ntb_mw_set_trans(pidx, midx) - try to set translation address of 113 1) ntb_peer_mw_set_trans(pidx, midx) - try to set received from other
|