/openbmc/linux/include/net/ |
H A D | pkt_cls.h | 51 struct tcf_proto *tp); 83 const struct tcf_proto *tp, struct tcf_result *res, 86 static inline bool tc_cls_stats_dump(struct tcf_proto *tp, in tc_cls_stats_dump() argument 143 const struct tcf_proto *tp, in tcf_classify() argument 171 struct Qdisc *q = tp->chain->block->q; in tcf_bind_filter() 195 struct Qdisc *q = tp->chain->block->q; in tcf_unbind_filter() 513 #define tcf_em_tree_validate(tp, tb, t) ((void)(t), 0) argument 741 const struct tcf_proto *tp, u32 flags, in tc_cls_common_offload_init() argument 744 cls_common->chain_index = tp->chain->index; in tc_cls_common_offload_init() 745 cls_common->protocol = tp->protocol; in tc_cls_common_offload_init() [all …]
|
/openbmc/linux/lib/crypto/mpi/ |
H A D | mpi-div.c | 167 mpi_ptr_t tp; in mpi_tdiv_qr() local 174 tp = marker[markidx++] = mpi_alloc_limb_space(dsize); in mpi_tdiv_qr() 175 mpihelp_lshift(tp, dp, dsize, normalization_steps); in mpi_tdiv_qr() 176 dp = tp; in mpi_tdiv_qr() 193 mpi_ptr_t tp; in mpi_tdiv_qr() local 195 tp = marker[markidx++] = mpi_alloc_limb_space(dsize); in mpi_tdiv_qr() 196 MPN_COPY(tp, dp, dsize); in mpi_tdiv_qr() 197 dp = tp; in mpi_tdiv_qr()
|
H A D | mpih-mul.c | 368 if (!ctx->tp || ctx->tp_size < vsize) { in mpihelp_mul_karatsuba_case() 369 if (ctx->tp) in mpihelp_mul_karatsuba_case() 370 mpi_free_limb_space(ctx->tp); in mpihelp_mul_karatsuba_case() 371 ctx->tp = mpi_alloc_limb_space(2 * vsize); in mpihelp_mul_karatsuba_case() 372 if (!ctx->tp) { in mpihelp_mul_karatsuba_case() 383 cy = mpihelp_add_n(prodp, prodp, ctx->tp, vsize); in mpihelp_mul_karatsuba_case() 384 mpihelp_add_1(prodp + vsize, ctx->tp + vsize, vsize, in mpihelp_mul_karatsuba_case() 422 if (ctx->tp) in mpihelp_release_karatsuba_ctx() 423 mpi_free_limb_space(ctx->tp); in mpihelp_release_karatsuba_ctx() 428 if (ctx->tp) in mpihelp_release_karatsuba_ctx() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-dbg-tlv.c | 167 u32 tp = le32_to_cpu(hcmd->time_point); in iwl_dbg_tlv_alloc_hcmd() local 176 tp >= IWL_FW_INI_TIME_POINT_NUM || in iwl_dbg_tlv_alloc_hcmd() 180 tp); in iwl_dbg_tlv_alloc_hcmd() 265 tp >= IWL_FW_INI_TIME_POINT_NUM) { in iwl_dbg_tlv_alloc_trigger() 268 tp); in iwl_dbg_tlv_alloc_trigger() 274 tp, rf); in iwl_dbg_tlv_alloc_trigger() 459 &tp->active_trig_list, list) { in iwl_dbg_tlv_free() 465 &tp->config_list, list) { in iwl_dbg_tlv_free() 534 INIT_LIST_HEAD(&tp->trig_list); in iwl_dbg_tlv_init() 535 INIT_LIST_HEAD(&tp->hcmd_list); in iwl_dbg_tlv_init() [all …]
|
/openbmc/linux/fs/xfs/scrub/ |
H A D | readdir.c | 104 error = xfs_dir3_block_read(sc->tp, dp, &bp); in xchk_dir_walk_block() 139 xfs_trans_brelse(sc->tp, bp); in xchk_dir_walk_block() 146 struct xfs_trans *tp, in xchk_read_leaf_dir_buf() argument 180 return xfs_dir3_data_read(tp, dp, map.br_startoff, 0, bpp); in xchk_read_leaf_dir_buf() 213 xfs_trans_brelse(sc->tp, bp); in xchk_dir_walk_leaf() 217 error = xchk_read_leaf_dir_buf(sc->tp, dp, geo, &curoff, in xchk_dir_walk_leaf() 258 xfs_trans_brelse(sc->tp, bp); in xchk_dir_walk_leaf() 277 .trans = sc->tp, in xchk_dir_walk() 292 error = xfs_iread_extents(sc->tp, dp, XFS_DATA_FORK); in xchk_dir_walk() 322 .trans = sc->tp, in xchk_dir_lookup() [all …]
|
H A D | reap.c | 122 error = xfs_rmap_alloc(sc->tp, sc->sa.agf_bp, sc->sa.pag, agbno, 1, in xreap_put_freelist() 128 error = xfs_alloc_read_agfl(sc->sa.pag, sc->tp, &agfl_bp); in xreap_put_freelist() 132 error = xfs_alloc_put_freelist(sc->sa.pag, sc->tp, sc->sa.agf_bp, in xreap_put_freelist() 136 xfs_extent_busy_insert(sc->tp, sc->sa.pag, agbno, 1, in xreap_put_freelist() 262 xfs_trans_bjoin(sc->tp, bp); in xreap_agextent_binval() 263 xfs_trans_binval(sc->tp, bp); in xreap_agextent_binval() 308 cur = xfs_rmapbt_init_cursor(sc->mp, sc->tp, sc->sa.agf_bp, in xreap_agextent_select() 380 return xfs_rmap_free(sc->tp, sc->sa.agf_bp, sc->sa.pag, agbno, in xreap_agextent_iter() 413 error = __xfs_free_extent_later(sc->tp, fsbno, *aglenp, rs->oinfo, in xreap_agextent_iter()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-bcm-qspi.c | 826 struct qspi_trans tp; in read_from_hw() local 837 tp = qspi->trans_pos; in read_from_hw() 841 u8 *buf = tp.trans->rx_buf; in read_from_hw() 846 buf ? buf[tp.byte] : 0x0); in read_from_hw() 848 u16 *buf = tp.trans->rx_buf; in read_from_hw() 854 buf ? buf[tp.byte / 2] : 0x0); in read_from_hw() 856 u32 *buf = tp.trans->rx_buf; in read_from_hw() 865 u64 *buf = tp.trans->rx_buf; in read_from_hw() 880 qspi->trans_pos = tp; in read_from_hw() 938 struct qspi_trans tp; in write_to_hw() local [all …]
|
/openbmc/linux/samples/trace_events/ |
H A D | trace_custom_sched.c | 39 static void fct(struct tracepoint *tp, void *priv) in fct() argument 41 trace_custom_event_sched_switch_update(tp); in fct() 42 trace_custom_event_sched_waking_update(tp); in fct()
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_da_btree.c | 354 struct xfs_trans *tp, in xfs_da3_node_set_type() argument 382 struct xfs_trans *tp, in xfs_da3_node_read() argument 399 struct xfs_trans *tp, in xfs_da3_node_read_mapped() argument 419 if (!tp) in xfs_da3_node_read_mapped() 660 struct xfs_trans *tp; in xfs_da3_root_split() local 679 tp = args->trans; in xfs_da3_root_split() 888 struct xfs_trans *tp; in xfs_da3_node_rebalance() local 1510 struct xfs_trans *tp; in xfs_da3_node_unbalance() local 2277 struct xfs_trans *tp; in xfs_da3_swap_lastblock() local 2299 tp = args->trans; in xfs_da3_swap_lastblock() [all …]
|
H A D | xfs_ialloc_btree.h | 50 struct xfs_trans *tp, struct xfs_buf *agbp, xfs_btnum_t btnum); 65 int xfs_finobt_calc_reserves(struct xfs_perag *perag, struct xfs_trans *tp, 69 int xfs_inobt_cur(struct xfs_perag *pag, struct xfs_trans *tp, 74 struct xfs_trans *tp, struct xfs_buf *agbp);
|
H A D | xfs_refcount.c | 1304 struct xfs_trans *tp, in xfs_refcount_finish_one_cleanup() argument 1352 struct xfs_trans *tp, in xfs_refcount_finish_one() argument 1441 struct xfs_trans *tp, in __xfs_refcount_add() argument 1469 struct xfs_trans *tp, in xfs_refcount_increase_extent() argument 1484 struct xfs_trans *tp, in xfs_refcount_decrease_extent() argument 1844 struct xfs_trans *tp, in xfs_refcount_alloc_cow_extent() argument 1863 struct xfs_trans *tp, in xfs_refcount_free_cow_extent() argument 1919 struct xfs_trans *tp; in xfs_refcount_recover_cow_leftovers() local 1964 xfs_trans_brelse(tp, agbp); in xfs_refcount_recover_cow_leftovers() 1965 xfs_trans_cancel(tp); in xfs_refcount_recover_cow_leftovers() [all …]
|
H A D | xfs_dir2_node.c | 214 struct xfs_trans *tp, in __xfs_dir3_free_read() argument 232 xfs_trans_brelse(tp, *bpp); in __xfs_dir3_free_read() 238 if (tp) in __xfs_dir3_free_read() 298 struct xfs_trans *tp, in xfs_dir2_free_read() argument 308 struct xfs_trans *tp, in xfs_dir2_free_try_read() argument 425 tp = args->trans; in xfs_dir2_leaf_to_node() 649 tp = args->trans; in xfs_dir2_leafn_lookup_for_addname() 799 tp = args->trans; in xfs_dir2_leafn_lookup_for_entry() 1287 tp = args->trans; in xfs_dir2_leafn_remove() 2291 tp = args->trans; in xfs_dir2_node_trim_free() [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-asus.c | 122 const struct asus_touchpad_info *tp; member 204 if (drvdat->tp->contact_size < 5) in asus_report_contact_down() 226 if (drvdat->tp->contact_size < 5) in asus_report_tool_width() 261 if (drvdat->tp->contact_size >= 5) in asus_report_input() 289 if (!drvdat->tp && in asus_e1239t_event() 788 if (drvdata->tp) { in asus_input_configured() 1009 if (drvdata->tp) in asus_reset_resume() 1040 drvdata->tp = &asus_i2c_tp; in asus_probe() 1067 drvdata->tp = &asus_t100chi_tp; in asus_probe() 1114 if (drvdata->tp) { in asus_probe() [all …]
|
/openbmc/linux/drivers/net/ethernet/amd/ |
H A D | declance.c | 340 tp = to; in cp_to_buf() 344 *tp++ = *fp++; in cp_to_buf() 345 tp++; in cp_to_buf() 359 tp = to; in cp_to_buf() 362 *tp++ = *fp++; in cp_to_buf() 363 *tp++ = *fp++; in cp_to_buf() 364 *tp++ = *fp++; in cp_to_buf() 365 *tp++ = *fp++; in cp_to_buf() 370 tp += 8; in cp_to_buf() 399 tp = to; in cp_from_buf() [all …]
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_filter.c | 1154 struct tp_params *tp = &adap->params.tp; in is_filter_exact_match() local 1195 if (tp->fcoe_shift >= 0) in is_filter_exact_match() 1198 if (tp->port_shift >= 0) in is_filter_exact_match() 1201 if (tp->vnic_shift >= 0) { in is_filter_exact_match() 1206 tp->vnic_shift; in is_filter_exact_match() 1209 if (tp->vlan_shift >= 0) in is_filter_exact_match() 1212 if (tp->tos_shift >= 0) in is_filter_exact_match() 1215 if (tp->protocol_shift >= 0) in is_filter_exact_match() 1227 if (tp->frag_shift >= 0) in is_filter_exact_match() 1240 struct tp_params *tp = &adap->params.tp; in hash_filter_ntuple() local [all …]
|
/openbmc/linux/drivers/net/ethernet/realtek/ |
H A D | r8169_firmware.h | 15 typedef void (*rtl_fw_write_t)(struct rtl8169_private *tp, int reg, int val); 16 typedef int (*rtl_fw_read_t)(struct rtl8169_private *tp, int reg); 39 void rtl_fw_write_firmware(struct rtl8169_private *tp, struct rtl_fw *rtl_fw);
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | patching.c | 110 u32 *tp = addr; in aarch64_insn_patch_text_nosync() local 114 if ((uintptr_t)tp & 0x3) in aarch64_insn_patch_text_nosync() 117 ret = aarch64_insn_write(tp, insn); in aarch64_insn_patch_text_nosync() 119 caches_clean_inval_pou((uintptr_t)tp, in aarch64_insn_patch_text_nosync() 120 (uintptr_t)tp + AARCH64_INSN_SIZE); in aarch64_insn_patch_text_nosync()
|
/openbmc/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_nvram.c | 87 tp->usrtags = 0; in sym_Symbios_setup_target() 89 tp->usrflags &= ~SYM_DISC_ENABLED; in sym_Symbios_setup_target() 91 tp->usrflags |= SYM_SCAN_BOOT_DISABLED; in sym_Symbios_setup_target() 93 tp->usrflags |= SYM_SCAN_LUNS_DISABLED; in sym_Symbios_setup_target() 94 tp->usr_period = (tn->sync_period + 3) / 4; in sym_Symbios_setup_target() 95 tp->usr_width = (tn->bus_width == 0x8) ? 0 : 1; in sym_Symbios_setup_target() 111 tp->usrtags = 2 << nvram->max_tags_index; in sym_Tekram_setup_target() 115 tp->usrflags |= SYM_DISC_ENABLED; in sym_Tekram_setup_target() 118 tp->usr_period = Tekram_sync[tn->sync_index & 0xf]; in sym_Tekram_setup_target() 119 tp->usr_width = (tn->flags & TEKRAM_WIDE_NEGO) ? 1 : 0; in sym_Tekram_setup_target() [all …]
|
/openbmc/linux/net/ipv4/ |
H A D | tcp_dctcp.h | 6 struct tcp_sock *tp = tcp_sk(sk); in dctcp_ece_ack_cwr() local 9 tp->ecn_flags |= TCP_ECN_DEMAND_CWR; in dctcp_ece_ack_cwr() 11 tp->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in dctcp_ece_ack_cwr()
|
H A D | tcp_minisocks.c | 246 const struct tcp_sock *tp = tcp_sk(sk); in tcp_time_wait_init() local 259 key = tp->af_specific->md5_lookup(sk, sk); in tcp_time_wait_init() 283 const struct tcp_sock *tp = tcp_sk(sk); in tcp_time_wait() local 296 tw->tw_rcv_wscale = tp->rx_opt.rcv_wscale; in tcp_time_wait() 297 tcptw->tw_rcv_nxt = tp->rcv_nxt; in tcp_time_wait() 298 tcptw->tw_snd_nxt = tp->snd_nxt; in tcp_time_wait() 299 tcptw->tw_rcv_wnd = tcp_receive_window(tp); in tcp_time_wait() 300 tcptw->tw_ts_recent = tp->rx_opt.ts_recent; in tcp_time_wait() 302 tcptw->tw_ts_offset = tp->tsoffset; in tcp_time_wait() 304 tcptw->tw_tx_delay = tp->tcp_tx_delay; in tcp_time_wait() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | cputopo.h | 65 void cpu_topology__delete(struct cpu_topology *tp); 73 void numa_topology__delete(struct numa_topology *tp); 76 void hybrid_topology__delete(struct hybrid_topology *tp);
|
/openbmc/linux/arch/x86/events/intel/ |
H A D | pt.c | 660 struct topa_page *tp; in topa_alloc() local 667 tp = page_address(p); in topa_alloc() 668 tp->topa.last = 0; in topa_alloc() 679 return &tp->topa; in topa_alloc() 801 &tp->table[i], in pt_topa_dump() 958 struct topa_page *tp; in pt_read_offset() local 963 buf->cur = &tp->topa; in pt_read_offset() 977 struct topa_page *tp; in pt_topa_entry_for_page() local 1049 struct topa_page *tp; in pt_topa_prev_entry() local 1053 if (tp->table != te) in pt_topa_prev_entry() [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | hbm_kern.h | 85 struct bpf_tcp_sock *tp; in get_tcp_info() local 92 tp = bpf_tcp_sock(sk); in get_tcp_info() 93 if (tp) { in get_tcp_info() 94 pkti->cwnd = tp->snd_cwnd; in get_tcp_info() 95 pkti->rtt = tp->srtt_us >> 3; in get_tcp_info() 96 pkti->packets_out = tp->packets_out; in get_tcp_info()
|
/openbmc/linux/kernel/trace/ |
H A D | trace_probe_tmpl.h | 235 __get_data_size(struct trace_probe *tp, struct pt_regs *regs) in __get_data_size() argument 240 for (i = 0; i < tp->nr_args; i++) { in __get_data_size() 241 arg = tp->args + i; in __get_data_size() 254 store_trace_args(void *data, struct trace_probe *tp, void *rec, in store_trace_args() argument 259 void *dyndata = data + tp->size; in store_trace_args() 263 for (i = 0; i < tp->nr_args; i++) { in store_trace_args() 264 arg = tp->args + i; in store_trace_args()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_sock_fields.c | 126 struct bpf_tcp_sock *tp, *tp_ret; in egress_read_sock_fields() local 166 tp = bpf_tcp_sock(sk); in egress_read_sock_fields() 167 if (!tp) in egress_read_sock_fields() 171 tpcpy(tp_ret, tp); in egress_read_sock_fields() 220 struct bpf_tcp_sock *tp; in ingress_read_sock_fields() local 244 tp = bpf_tcp_sock(sk); in ingress_read_sock_fields() 245 if (!tp) in ingress_read_sock_fields() 249 tpcpy(&listen_tp, tp); in ingress_read_sock_fields()
|