Home
last modified time | relevance | path

Searched refs:tp (Results 151 – 175 of 597) sorted by relevance

12345678910>>...24

/openbmc/linux/arch/xtensa/platforms/iss/
H A Dnetwork.c87 } tp; member
183 lp->tp.info.tuntap.fd = fd; in tuntap_open()
189 simc_close(lp->tp.info.tuntap.fd); in tuntap_close()
190 lp->tp.info.tuntap.fd = -1; in tuntap_close()
195 return simc_read(lp->tp.info.tuntap.fd, in tuntap_read()
258 sizeof(lp->tp.info.tuntap.dev_name)); in tuntap_probe()
264 lp->tp.info.tuntap.fd = -1; in tuntap_probe()
265 lp->tp.net_ops = &tuntap_ops; in tuntap_probe()
280 if (lp->tp.net_ops->poll(lp) == 0) in iss_net_rx()
353 err = lp->tp.net_ops->open(lp); in iss_net_open()
[all …]
/openbmc/linux/drivers/scsi/
H A Dscsi_transport_spi.c294 tp->field = val; \
512 period = tp->min_period; in store_spi_transport_period()
549 &tp->min_period); in store_spi_transport_min_period()
1134 if (tp->offset > 0 && tp->period > 0) { in spi_display_xfer_agreement()
1141 switch (tp->period) { in spi_display_xfer_agreement()
1151 if (tp->period < 25) in spi_display_xfer_agreement()
1160 if (tp->width) in spi_display_xfer_agreement()
1167 tp->dt ? "DT" : "ST", in spi_display_xfer_agreement()
1168 tp->iu ? " IU" : "", in spi_display_xfer_agreement()
1171 tp->rti ? " RTI" : "", in spi_display_xfer_agreement()
[all …]
H A Dncr53c8xx.c4051 tp->maxoffs ? tp->minsync : 0, tp->maxoffs); in ncr_prepare_nego()
4238 if ((!tp->widedone || !tp->period) && !tp->nego_cp && lp) { in ncr_queue_command()
4551 struct tcb *tp; in ncr_detach() local
4663 struct tcb *tp; in ncr_complete() local
5252 tp->maxoffs = (minsync<255 ? tp->maxoffs : 0); in ncr_negotiate()
5258 tp->period=0; in ncr_negotiate()
5263 tp->widedone=0; in ncr_negotiate()
5382 if (tp->sval == sxfer && tp->wval == scntl3) in ncr_setsync()
5431 if (tp->sval == sxfer && tp->wval == scntl3) return; in ncr_setwide()
7250 tp->getscr[1] = cpu_to_scr(vtobus (&tp->sval)); in ncr_init_tcb()
[all …]
H A Dmesh.c218 tlp = &tp->log[tp->log_ix]; in dlog()
229 tp->log_ix = 0; in dlog()
231 ++tp->n_log; in dlog()
244 if (tp->n_log == 0) in dumplog()
246 i = tp->log_ix - tp->n_log; in dumplog()
249 tp->n_log = 0; in dumplog()
251 lp = &tp->log[i]; in dumplog()
327 tp = &ms->tgts[t]; in mesh_dump_regs()
331 t, tp->current_req, tp->data_goes_out, tp->saved_ptr); in mesh_dump_regs()
945 tp = &ms->tgts[t]; in reselected()
[all …]
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_dir2.c227 xfs_trans_t *tp, in xfs_dir_init() argument
245 args->trans = tp; in xfs_dir_init()
257 struct xfs_trans *tp, in xfs_dir_createname() argument
289 args->trans = tp; in xfs_dir_createname()
353 struct xfs_trans *tp, in xfs_dir_lookup() argument
383 args->trans = tp; in xfs_dir_lookup()
431 struct xfs_trans *tp, in xfs_dir_removename() argument
457 args->trans = tp; in xfs_dir_removename()
518 args->trans = tp; in xfs_dir_replace()
550 xfs_trans_t *tp, in xfs_dir_canenter() argument
[all …]
H A Dxfs_refcount.h74 void xfs_refcount_increase_extent(struct xfs_trans *tp,
76 void xfs_refcount_decrease_extent(struct xfs_trans *tp,
79 extern void xfs_refcount_finish_one_cleanup(struct xfs_trans *tp,
81 extern int xfs_refcount_finish_one(struct xfs_trans *tp,
88 void xfs_refcount_alloc_cow_extent(struct xfs_trans *tp, xfs_fsblock_t fsb,
90 void xfs_refcount_free_cow_extent(struct xfs_trans *tp, xfs_fsblock_t fsb,
H A Dxfs_ialloc_btree.c104 args.tp = cur->bc_tp; in __xfs_inobt_alloc_block()
478 struct xfs_trans *tp, in xfs_inobt_init_cursor() argument
515 struct xfs_trans *tp, in xfs_inobt_commit_staged_btree() argument
532 xfs_ialloc_log_agi(tp, agbp, fields); in xfs_inobt_commit_staged_btree()
542 xfs_ialloc_log_agi(tp, agbp, fields); in xfs_inobt_commit_staged_btree()
728 struct xfs_trans *tp, in xfs_inobt_cur() argument
751 struct xfs_trans *tp, in xfs_inobt_count_blocks() argument
765 xfs_trans_brelse(tp, agbp); in xfs_inobt_count_blocks()
774 struct xfs_trans *tp, in xfs_finobt_read_blocks() argument
787 xfs_trans_brelse(tp, agbp); in xfs_finobt_read_blocks()
[all …]
H A Dxfs_rmap.h118 int xfs_rmap_alloc(struct xfs_trans *tp, struct xfs_buf *agbp,
121 int xfs_rmap_free(struct xfs_trans *tp, struct xfs_buf *agbp,
173 void xfs_rmap_map_extent(struct xfs_trans *tp, struct xfs_inode *ip,
175 void xfs_rmap_unmap_extent(struct xfs_trans *tp, struct xfs_inode *ip,
177 void xfs_rmap_convert_extent(struct xfs_mount *mp, struct xfs_trans *tp,
180 void xfs_rmap_alloc_extent(struct xfs_trans *tp, xfs_agnumber_t agno,
182 void xfs_rmap_free_extent(struct xfs_trans *tp, xfs_agnumber_t agno,
185 void xfs_rmap_finish_one_cleanup(struct xfs_trans *tp,
187 int xfs_rmap_finish_one(struct xfs_trans *tp, struct xfs_rmap_intent *ri,
/openbmc/linux/tools/perf/util/
H A Dprobe-event.c709 tp->realname = tp->symbol; in post_process_probe_trace_point()
713 if (!tp->symbol) in post_process_probe_trace_point()
1938 tp->offset = 0; in parse_probe_trace_command()
2166 if (!tp->module) in synthesize_uprobe_trace_def()
2174 if (!tp->address && (!tp->symbol || strcmp(tp->symbol, "0x0"))) in synthesize_uprobe_trace_def()
2178 err = strbuf_addf(buf, "%s:0x%" PRIx64, tp->module, tp->address); in synthesize_uprobe_trace_def()
2194 tp->module ? ":" : "", tp->address); in synthesize_kprobe_trace_def()
2197 tp->module ? ":" : "", tp->symbol, tp->offset); in synthesize_kprobe_trace_def()
3148 tp->offset = tp->address - reloc_sym->addr; in find_probe_trace_events_from_map()
3251 if (asprintf(&tp->symbol, "0x%" PRIx64, tp->address) < 0) in try_to_find_absolute_address()
[all …]
/openbmc/linux/drivers/net/ethernet/dec/tulip/
H A Dtulip.h521 static inline void tulip_start_rxtx(struct tulip_private *tp) in tulip_start_rxtx() argument
523 void __iomem *ioaddr = tp->base_addr; in tulip_start_rxtx()
524 iowrite32(tp->csr6 | RxTx, ioaddr + CSR6); in tulip_start_rxtx()
529 static inline void tulip_stop_rxtx(struct tulip_private *tp) in tulip_stop_rxtx() argument
531 void __iomem *ioaddr = tp->base_addr; in tulip_stop_rxtx()
546 netdev_dbg(tp->dev, "tulip_stop_rxtx() failed (CSR5 0x%x CSR6 0x%x)\n", in tulip_stop_rxtx()
552 static inline void tulip_restart_rxtx(struct tulip_private *tp) in tulip_restart_rxtx() argument
554 tulip_stop_rxtx(tp); in tulip_restart_rxtx()
556 tulip_start_rxtx(tp); in tulip_restart_rxtx()
562 tulip_restart_rxtx(tp); in tulip_tx_timeout_complete()
[all …]
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_event.c338 tp = (void *)tlv; in mwifiex_process_uap_tx_pause()
341 tp->peermac, tp->tx_pause, in mwifiex_process_uap_tx_pause()
342 tp->pkt_cnt); in mwifiex_process_uap_tx_pause()
345 if (tp->tx_pause) in mwifiex_process_uap_tx_pause()
350 mwifiex_update_ralist_tx_pause(priv, tp->peermac, tp->tx_pause); in mwifiex_process_uap_tx_pause()
358 tp->tx_pause); in mwifiex_process_uap_tx_pause()
372 tp = (void *)tlv; in mwifiex_process_sta_tx_pause()
375 tp->peermac, tp->tx_pause, in mwifiex_process_sta_tx_pause()
376 tp->pkt_cnt); in mwifiex_process_sta_tx_pause()
379 if (tp->tx_pause) in mwifiex_process_sta_tx_pause()
[all …]
/openbmc/linux/fs/jfs/
H A Djfs_dmap.c2628 s8 *leaf = tp->dmt_stree + le32_to_cpu(tp->dmt_leafidx); in dbSplit()
2693 s8 *leaf = tp->dmt_stree + le32_to_cpu(tp->dmt_leafidx); in dbBackSplit()
2778 leaf = tp->dmt_stree + le32_to_cpu(tp->dmt_leafidx); in dbJoin()
3826 struct dmaptree *tp; in dbInitDmapTree() local
3831 tp = &dp->tree; in dbInitDmapTree()
3836 tp->budmin = BUDMIN; in dbInitDmapTree()
3842 cp = tp->stree + le32_to_cpu(tp->leafidx); in dbInitDmapTree()
3874 s8 *tp, *cp, *cp1; in dbInitTree() local
3876 tp = dtp->stree; in dbInitTree()
3931 for (i = 0, cp = tp + child, cp1 = tp + parent; in dbInitTree()
[all …]
/openbmc/linux/fs/xfs/
H A Dxfs_iwalk.h18 typedef int (*xfs_iwalk_fn)(struct xfs_mount *mp, struct xfs_trans *tp,
21 int xfs_iwalk(struct xfs_mount *mp, struct xfs_trans *tp, xfs_ino_t startino,
34 typedef int (*xfs_inobt_walk_fn)(struct xfs_mount *mp, struct xfs_trans *tp,
39 int xfs_inobt_walk(struct xfs_mount *mp, struct xfs_trans *tp,
H A Dxfs_attr_list.c211 struct xfs_trans *tp = context->tp; in xfs_attr_node_list_lookup() local
221 error = xfs_da3_node_read(tp, dp, cursor->blkno, &bp, in xfs_attr_node_list_lookup()
260 xfs_trans_brelse(tp, bp); in xfs_attr_node_list_lookup()
278 xfs_trans_brelse(tp, bp); in xfs_attr_node_list_lookup()
318 xfs_trans_brelse(context->tp, bp); in xfs_attr_node_list()
330 xfs_trans_brelse(context->tp, bp); in xfs_attr_node_list()
335 xfs_trans_brelse(context->tp, bp); in xfs_attr_node_list()
341 xfs_trans_brelse(context->tp, bp); in xfs_attr_node_list()
373 xfs_trans_brelse(context->tp, bp); in xfs_attr_node_list()
379 xfs_trans_brelse(context->tp, bp); in xfs_attr_node_list()
[all …]
H A Dxfs_qm_syscalls.c59 struct xfs_trans *tp; in xfs_qm_scall_trunc_qfile() local
78 xfs_trans_ijoin(tp, ip, 0); in xfs_qm_scall_trunc_qfile()
81 xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); in xfs_qm_scall_trunc_qfile()
83 error = xfs_itruncate_extents(&tp, ip, XFS_DATA_FORK, 0); in xfs_qm_scall_trunc_qfile()
85 xfs_trans_cancel(tp); in xfs_qm_scall_trunc_qfile()
91 xfs_trans_ichgtime(tp, ip, XFS_ICHGTIME_MOD | XFS_ICHGTIME_CHG); in xfs_qm_scall_trunc_qfile()
92 error = xfs_trans_commit(tp); in xfs_qm_scall_trunc_qfile()
281 struct xfs_trans *tp; in xfs_qm_scall_setqlim() local
314 xfs_trans_dqjoin(tp, dqp); in xfs_qm_scall_setqlim()
387 xfs_trans_log_dquot(tp, dqp); in xfs_qm_scall_setqlim()
[all …]
H A Dxfs_log_cil.c276 struct xfs_trans *tp) in xlog_cil_alloc_shadow_bufs() argument
451 struct xfs_trans *tp, in xlog_cil_insert_format_items() argument
457 if (list_empty(&tp->t_items)) { in xlog_cil_insert_format_items()
552 struct xfs_trans *tp, in xlog_cil_insert_items() argument
565 ASSERT(tp); in xlog_cil_insert_items()
657 if (!list_empty(&tp->t_busy)) in xlog_cil_insert_items()
692 xlog_print_trans(tp); in xlog_cil_insert_items()
1521 struct xfs_trans *tp) in xlog_cil_process_intents() argument
1561 struct xfs_trans *tp, in xlog_cil_commit() argument
1588 tp->t_ticket = NULL; in xlog_cil_commit()
[all …]
/openbmc/linux/drivers/net/ethernet/realtek/
H A Dr8169.h75 void r8169_apply_firmware(struct rtl8169_private *tp);
76 u16 rtl8168h_2_get_adc_bias_ioffset(struct rtl8169_private *tp);
77 u8 rtl8168d_efuse_read(struct rtl8169_private *tp, int reg_addr);
78 void r8169_hw_phy_config(struct rtl8169_private *tp, struct phy_device *phydev,
/openbmc/linux/net/ipv4/
H A Dfib_trie.c471 if (IS_TRIE(tp)) in put_child_root()
474 put_child(tp, get_index(key, tp), n); in put_child_root()
533 return tp; in replace()
705 return tp; in collapse()
870 if (!tp) { in resize()
886 return tp; in resize()
893 if (!tp) { in resize()
972 *tp = pn; in fib_find_node()
1119 n = get_child(tp, get_index(key, tp)); in fib_insert_node()
1143 tp = tn; in fib_insert_node()
[all …]
/openbmc/linux/arch/sparc/kernel/
H A Dprocess_64.c210 if (kstack_valid(tp, (unsigned long) rw)) { in __global_reg_self()
214 if (kstack_valid(tp, (unsigned long) rw)) in __global_reg_self()
221 rp->thread = tp; in __global_reg_self()
247 regs = tp->kregs; in arch_trigger_cpumask_backtrace()
256 __global_reg_self(tp, regs, this_cpu); in arch_trigger_cpumask_backtrace()
270 tp = gp->thread; in arch_trigger_cpumask_backtrace()
274 ((tp && tp->task) ? tp->task->comm : "NULL"), in arch_trigger_cpumask_backtrace()
275 ((tp && tp->task) ? tp->task->pid : -1)); in arch_trigger_cpumask_backtrace()
660 struct thread_info *tp; in __get_wchan() local
665 tp = task_thread_info(task); in __get_wchan()
[all …]
/openbmc/linux/arch/riscv/kernel/
H A Dpatch.c187 u32 *tp = addr; in patch_text_set_nosync() local
190 ret = patch_insn_set(tp, c, len); in patch_text_set_nosync()
193 flush_icache_range((uintptr_t)tp, (uintptr_t)tp + len); in patch_text_set_nosync()
222 u32 *tp = addr; in patch_text_nosync() local
225 ret = patch_insn_write(tp, insns, len); in patch_text_nosync()
228 flush_icache_range((uintptr_t) tp, (uintptr_t) tp + len); in patch_text_nosync()
/openbmc/linux/fs/xfs/scrub/
H A Dagheader_repair.c48 error = xfs_sb_get_secondary(mp, sc->tp, agno, &bp); in xrep_superblock()
73 xfs_trans_buf_set_type(sc->tp, bp, XFS_BLFT_SB_BUF); in xrep_superblock()
74 xfs_trans_log_buf(sc->tp, bp, 0, BBTOB(bp->b_length) - 1); in xrep_superblock()
264 cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, in xrep_agf_calc_from_btrees()
278 cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, in xrep_agf_calc_from_btrees()
299 cur = xfs_refcountbt_init_cursor(mp, sc->tp, agf_bp, in xrep_agf_calc_from_btrees()
327 xfs_trans_buf_set_type(sc->tp, agf_bp, XFS_BLFT_AGF_BUF); in xrep_agf_commit_new()
392 error = xfs_trans_read_buf(mp, sc->tp, mp->m_ddev_targp, in xrep_agf()
562 cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, in xrep_agfl_collect_blocks()
570 cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, in xrep_agfl_collect_blocks()
[all …]
/openbmc/phosphor-fan-presence/control/json/utils/
H A Dflight_recorder.cpp66 Timepoint tp{microseconds{ts}}; in dump() local
67 output.emplace_back(tp, id, msg); in dump()
76 auto formatTime = [](const Timepoint& tp) { in dump() argument
78 std::time_t tt = system_clock::to_time_t(tp); in dump()
80 duration_cast<microseconds>(tp.time_since_epoch()).count(); in dump()
/openbmc/linux/kernel/
H A Dtorture.c492 if (WARN_ON_ONCE(tp == NULL)) in torture_shuffle_task_register()
497 stp->st_t = tp; in torture_shuffle_task_register()
918 char *f, struct task_struct **tp, void (*cbf)(struct task_struct *tp)) in _torture_create_kthread() argument
924 if (IS_ERR(*tp)) { in _torture_create_kthread()
925 ret = PTR_ERR(*tp); in _torture_create_kthread()
927 *tp = NULL; in _torture_create_kthread()
932 cbf(*tp); in _torture_create_kthread()
935 torture_shuffle_task_register(*tp); in _torture_create_kthread()
945 if (*tp == NULL) in _torture_stop_kthread()
948 kthread_stop(*tp); in _torture_stop_kthread()
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/tftp-hpa/files/
H A Dtftp-hpa-0.49-fortify-strcpy-crash.patch11 struct tftphdr *tp, const char *mode)
16 tp->th_opcode = htons((u_short) request);
17 cp = (char *)&(tp->th_stuff);
30 return (cp - (char *)tp);
/openbmc/linux/net/ipv6/netfilter/
H A Dip6t_hbh.c55 const u_int8_t *tp = NULL; in hbh_mt6() local
104 tp = skb_header_pointer(skb, ptr, sizeof(_opttype), in hbh_mt6()
106 if (tp == NULL) in hbh_mt6()
110 if (*tp != (optinfo->opts[temp] & 0xFF00) >> 8) { in hbh_mt6()
111 pr_debug("Tbad %02X %02X\n", *tp, in hbh_mt6()
118 if (*tp) { in hbh_mt6()

12345678910>>...24