Home
last modified time | relevance | path

Searched refs:spc (Results 1 – 4 of 4) sorted by relevance

/drivers/tty/vt/
Dselection.c161 int sel_mode, new_sel_start, new_sel_end, spc; in set_selection() local
222 spc = isspace(sel_pos(ps)); in set_selection()
225 if ((spc && !isspace(sel_pos(ps))) || in set_selection()
226 (!spc && !inword(sel_pos(ps)))) in set_selection()
232 spc = isspace(sel_pos(pe)); in set_selection()
235 if ((spc && !isspace(sel_pos(pe))) || in set_selection()
236 (!spc && !inword(sel_pos(pe)))) in set_selection()
/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c500 int spc = MLX4_INLINE_ALIGN - CTRL_SIZE - sizeof *inl; in build_inline_wqe() local
502 if (skb->len <= spc) { in build_inline_wqe()
510 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_inline_wqe()
511 if (skb_headlen(skb) <= spc) { in build_inline_wqe()
513 if (skb_headlen(skb) < spc) { in build_inline_wqe()
515 fragptr, spc - skb_headlen(skb)); in build_inline_wqe()
516 fragptr += spc - skb_headlen(skb); in build_inline_wqe()
518 inl = (void *) (inl + 1) + spc; in build_inline_wqe()
519 memcpy(((void *)(inl + 1)), fragptr, skb->len - spc); in build_inline_wqe()
521 skb_copy_from_linear_data(skb, inl + 1, spc); in build_inline_wqe()
[all …]
/drivers/infiniband/hw/mlx4/
Dqp.c1647 int spc; in build_sriov_qp0_header() local
1707 spc = MLX4_INLINE_ALIGN - in build_sriov_qp0_header()
1709 if (header_size <= spc) { in build_sriov_qp0_header()
1714 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_sriov_qp0_header()
1715 memcpy(inl + 1, sqp->header_buf, spc); in build_sriov_qp0_header()
1717 inl = (void *) (inl + 1) + spc; in build_sriov_qp0_header()
1718 memcpy(inl + 1, sqp->header_buf + spc, header_size - spc); in build_sriov_qp0_header()
1733 inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc)); in build_sriov_qp0_header()
1754 int spc; in build_mlx_header() local
1909 spc = MLX4_INLINE_ALIGN - in build_mlx_header()
[all …]
/drivers/dma/
Dimx-sdma.c176 u32 spc :14; member