Searched refs:tp (Results 226 - 250 of 575) sorted by relevance

1234567891011>>

/linux-master/arch/loongarch/include/asm/
H A Dregdef.h10 #define tp $r2 macro
/linux-master/kernel/
H A Dtorture.c488 void torture_shuffle_task_register(struct task_struct *tp) argument
492 if (WARN_ON_ONCE(tp == NULL))
497 stp->st_t = tp;
925 char *f, struct task_struct **tp, void (*cbf)(struct task_struct *tp))
930 *tp = kthread_create(fn, arg, "%s", s);
931 if (IS_ERR(*tp)) {
932 ret = PTR_ERR(*tp);
934 *tp = NULL;
939 cbf(*tp);
924 _torture_create_kthread(int (*fn)(void *arg), void *arg, char *s, char *m, char *f, struct task_struct **tp, void (*cbf)(struct task_struct *tp)) argument
950 _torture_stop_kthread(char *m, struct task_struct **tp) argument
[all...]
/linux-master/net/sched/
H A Dcls_flow.c42 struct tcf_proto *tp; member in struct:flow_filter
297 const struct tcf_proto *tp,
300 struct flow_head *head = rcu_dereference_bh(tp->root);
390 struct tcf_proto *tp, unsigned long base,
395 struct flow_head *head = rtnl_dereference(tp->root);
439 err = tcf_em_tree_validate(tp, tb[TCA_FLOW_EMATCHES], &fnew->ematches);
447 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &fnew->exts, flags,
459 fnew->tp = fold->tp;
505 struct Qdisc *q = tcf_block_q(tp
296 flow_classify(struct sk_buff *skb, const struct tcf_proto *tp, struct tcf_result *res) argument
389 flow_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, void **arg, u32 flags, struct netlink_ext_ack *extack) argument
568 flow_delete(struct tcf_proto *tp, void *arg, bool *last, bool rtnl_held, struct netlink_ext_ack *extack) argument
581 flow_init(struct tcf_proto *tp) argument
593 flow_destroy(struct tcf_proto *tp, bool rtnl_held, struct netlink_ext_ack *extack) argument
609 flow_get(struct tcf_proto *tp, u32 handle) argument
620 flow_dump(struct net *net, struct tcf_proto *tp, void *fh, struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) argument
681 flow_walk(struct tcf_proto *tp, struct tcf_walker *arg, bool rtnl_held) argument
[all...]
/linux-master/fs/xfs/libxfs/
H A Dxfs_bmap_btree.c218 args.tp = cur->bc_tp;
224 if (!args.wasdel && args.tp->t_blk_res == 0)
261 xfs_trans_log_inode(args.tp, cur->bc_ino.ip, XFS_ILOG_CORE);
262 xfs_trans_mod_dquot_byino(args.tp, cur->bc_ino.ip,
278 struct xfs_trans *tp = cur->bc_tp; local
290 xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
291 xfs_trans_mod_dquot_byino(tp, ip, XFS_TRANS_DQ_BCOUNT, -1L);
556 struct xfs_trans *tp,
577 cur = xfs_btree_alloc_cursor(mp, tp, &xfs_bmbt_ops, maxlevels,
609 struct xfs_trans *tp,
554 xfs_bmbt_init_cursor( struct xfs_mount *mp, struct xfs_trans *tp, struct xfs_inode *ip, int whichfork) argument
607 xfs_bmbt_commit_staged_btree( struct xfs_btree_cur *cur, struct xfs_trans *tp, int whichfork) argument
713 xfs_bmbt_change_owner( struct xfs_trans *tp, struct xfs_inode *ip, int whichfork, xfs_ino_t new_owner, struct list_head *buffer_list) argument
[all...]
H A Dxfs_da_btree.c401 struct xfs_trans *tp,
411 xfs_trans_buf_set_type(tp, bp, XFS_BLFT_DA_NODE_BUF);
415 xfs_trans_buf_set_type(tp, bp, XFS_BLFT_ATTR_LEAF_BUF);
419 xfs_trans_buf_set_type(tp, bp, XFS_BLFT_DIR_LEAFN_BUF);
422 XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW, tp->t_mountp,
424 xfs_trans_brelse(tp, bp);
432 struct xfs_trans *tp,
440 error = xfs_da_read_buf(tp, dp, bno, 0, bpp, whichfork,
442 if (error || !*bpp || !tp)
444 return xfs_da3_node_set_type(tp, d
400 xfs_da3_node_set_type( struct xfs_trans *tp, struct xfs_inode *dp, int whichfork, struct xfs_buf *bp) argument
431 xfs_da3_node_read( struct xfs_trans *tp, struct xfs_inode *dp, xfs_dablk_t bno, struct xfs_buf **bpp, int whichfork) argument
448 xfs_da3_node_read_mapped( struct xfs_trans *tp, struct xfs_inode *dp, xfs_daddr_t mappedbno, struct xfs_buf **bpp, int whichfork) argument
511 struct xfs_trans *tp = args->trans; local
733 struct xfs_trans *tp; local
941 struct xfs_trans *tp; local
1572 struct xfs_trans *tp; local
2296 struct xfs_trans *tp = args->trans; local
2407 struct xfs_trans *tp; local
2657 struct xfs_trans *tp; local
2776 xfs_da_get_buf( struct xfs_trans *tp, struct xfs_inode *dp, xfs_dablk_t bno, struct xfs_buf **bpp, int whichfork) argument
2811 xfs_da_read_buf( struct xfs_trans *tp, struct xfs_inode *dp, xfs_dablk_t bno, unsigned int flags, struct xfs_buf **bpp, int whichfork, const struct xfs_buf_ops *ops) argument
[all...]
H A Dxfs_dir2.h62 extern int xfs_dir_init(struct xfs_trans *tp, struct xfs_inode *dp,
64 extern int xfs_dir_createname(struct xfs_trans *tp, struct xfs_inode *dp,
67 extern int xfs_dir_lookup(struct xfs_trans *tp, struct xfs_inode *dp,
70 extern int xfs_dir_removename(struct xfs_trans *tp, struct xfs_inode *dp,
73 extern int xfs_dir_replace(struct xfs_trans *tp, struct xfs_inode *dp,
76 extern int xfs_dir_canenter(struct xfs_trans *tp, struct xfs_inode *dp,
H A Dxfs_dir2_priv.h53 int xfs_dir3_block_read(struct xfs_trans *tp, struct xfs_inode *dp,
80 int xfs_dir3_data_read(struct xfs_trans *tp, struct xfs_inode *dp,
98 int xfs_dir3_leaf_read(struct xfs_trans *tp, struct xfs_inode *dp,
100 int xfs_dir3_leafn_read(struct xfs_trans *tp, struct xfs_inode *dp,
158 int xfs_dir2_free_read(struct xfs_trans *tp, struct xfs_inode *dp,
189 extern int xfs_readdir(struct xfs_trans *tp, struct xfs_inode *dp,
/linux-master/fs/xfs/
H A Dxfs_attr_list.c223 struct xfs_trans *tp = context->tp; local
234 error = xfs_da3_node_read(tp, dp, cursor->blkno, &bp,
277 xfs_trans_brelse(tp, bp);
304 xfs_trans_brelse(tp, bp);
336 error = xfs_da3_node_read(context->tp, dp, cursor->blkno, &bp,
355 xfs_trans_brelse(context->tp, bp);
364 xfs_trans_brelse(context->tp, bp);
375 xfs_trans_brelse(context->tp, bp);
380 xfs_trans_brelse(context->tp, b
[all...]
H A Dxfs_bmap_util.h51 int xfs_bmap_last_extent(struct xfs_trans *tp, struct xfs_inode *ip,
75 int xfs_bmap_count_blocks(struct xfs_trans *tp, struct xfs_inode *ip,
H A Dxfs_notify_failure.c164 struct xfs_trans *tp = NULL; local
188 error = xfs_trans_alloc_empty(mp, &tp);
200 error = xfs_alloc_read_agf(pag, tp, 0, &agf_bp);
206 cur = xfs_rmapbt_init_cursor(mp, tp, agf_bp, pag);
226 xfs_trans_brelse(tp, agf_bp);
234 xfs_trans_cancel(tp);
H A Dxfs_acl.c227 struct xfs_trans *tp; local
230 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp);
235 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL);
238 xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
241 xfs_trans_set_sync(tp);
242 return xfs_trans_commit(tp);
H A Dxfs_rmap_item.c291 struct xfs_trans *tp,
316 struct xfs_trans *tp,
321 struct xfs_mount *mp = tp->t_mountp;
330 xfs_rmap_update_log_item(tp, ruip, ri);
337 struct xfs_trans *tp,
345 xfs_log_item_init(tp->t_mountp, &rudp->rud_item, XFS_LI_RUD,
376 struct xfs_trans *tp,
386 error = xfs_rmap_finish_one(tp, ri, state);
515 struct xfs_trans *tp; local
539 XFS_TRANS_RESERVE, &tp);
290 xfs_rmap_update_log_item( struct xfs_trans *tp, struct xfs_rui_log_item *ruip, struct xfs_rmap_intent *ri) argument
315 xfs_rmap_update_create_intent( struct xfs_trans *tp, struct list_head *items, unsigned int count, bool sort) argument
336 xfs_rmap_update_create_done( struct xfs_trans *tp, struct xfs_log_item *intent, unsigned int count) argument
375 xfs_rmap_update_finish_item( struct xfs_trans *tp, struct xfs_log_item *done, struct list_head *item, struct xfs_btree_cur **state) argument
560 xfs_rmap_relog_intent( struct xfs_trans *tp, struct xfs_log_item *intent, struct xfs_log_item *done_item) argument
[all...]
/linux-master/fs/xfs/scrub/
H A Discan.c97 struct xfs_trans *tp = sc->tp; local
116 cur = xfs_inobt_init_cursor(pag, tp, agi_bp);
273 return xfs_ialloc_read_agi(pag, sc->tp, 0, agi_bpp);
277 ret = xfs_ialloc_read_agi(pag, sc->tp, XFS_IALLOC_FLAG_TRYLOCK,
357 xfs_trans_brelse(sc->tp, agi_bp);
367 xfs_trans_brelse(sc->tp, agi_bp);
446 error = xfs_iget(sc->mp, sc->tp, ino, ISCAN_IGET_FLAGS, 0,
452 xfs_trans_brelse(sc->tp, agi_bp);
462 if (sc->tp
[all...]
H A Dnewbt.c160 if (args->tp) {
190 .tp = NULL, /* no autoreap */
230 .tp = sc->tp,
303 .tp = sc->tp,
389 xfs_alloc_commit_autoreap(sc->tp, &resv->autoreap);
398 xfs_alloc_cancel_autoreap(sc->tp, &resv->autoreap);
416 error = xfs_free_extent_later(sc->tp, fsbno, free_aglen, &xnr->oinfo,
473 xfs_alloc_commit_autoreap(sc->tp,
[all...]
H A Dagheader_repair.c54 error = xfs_sb_get_secondary(mp, sc->tp, agno, &bp);
79 xfs_trans_buf_set_type(sc->tp, bp, XFS_BLFT_SB_BUF);
80 xfs_trans_log_buf(sc->tp, bp, 0, BBTOB(bp->b_length) - 1);
263 cur = xfs_bnobt_init_cursor(mp, sc->tp, agf_bp, sc->sa.pag);
276 cur = xfs_cntbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.pag);
284 cur = xfs_rmapbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.pag);
296 cur = xfs_refcountbt_init_cursor(mp, sc->tp, agf_bp,
324 xfs_trans_buf_set_type(sc->tp, agf_bp, XFS_BLFT_AGF_BUF);
325 xfs_trans_log_buf(sc->tp, agf_bp, 0, BBTOB(agf_bp->b_length) - 1);
386 error = xfs_trans_read_buf(mp, sc->tp, m
[all...]
/linux-master/arch/loongarch/kernel/
H A Dhead.S87 la.pcrel tp, init_thread_union
90 PTR_ADD sp, sp, tp
100 PTR_ADD sp, sp, tp
124 * function after setting up the stack and tp registers.
149 ld.d tp, t0, CPU_BOOT_TINFO
/linux-master/drivers/net/can/sja1000/
H A Dsja1000_platform.c73 struct technologic_priv *tp = priv->priv; local
77 spin_lock_irqsave(&tp->io_lock, flags);
80 spin_unlock_irqrestore(&tp->io_lock, flags);
88 struct technologic_priv *tp = priv->priv; local
91 spin_lock_irqsave(&tp->io_lock, flags);
94 spin_unlock_irqrestore(&tp->io_lock, flags);
99 struct technologic_priv *tp = priv->priv; local
103 spin_lock_init(&tp->io_lock);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_sock_fields.c129 struct bpf_tcp_sock *tp, *tp_ret; local
169 tp = bpf_tcp_sock(sk);
170 if (!tp)
174 tpcpy(tp_ret, tp);
223 struct bpf_tcp_sock *tp; local
247 tp = bpf_tcp_sock(sk);
248 if (!tp)
252 tpcpy(&listen_tp, tp);
/linux-master/tools/perf/util/
H A Dprobe-event.c656 static int find_perf_probe_point_from_dwarf(struct probe_trace_point *tp, argument
662 u64 addr = tp->address;
671 ret = get_text_start_address(tp->module, &stext, NULL);
675 } else if (tp->symbol) {
677 ret = kernel_get_symbol_address_by_name(tp->symbol, &addr,
678 false, !!tp->module);
681 addr += tp->offset;
685 tp->module ? : "kernel");
687 dinfo = debuginfo_cache__open(tp->module, verbose <= 0);
694 pp->retprobe = tp
703 post_process_probe_trace_point(struct probe_trace_point *tp, struct map *map, u64 offs) argument
1860 struct probe_trace_point *tp = &tev->point; local
2173 synthesize_uprobe_trace_def(struct probe_trace_point *tp, struct strbuf *buf) argument
2201 synthesize_kprobe_trace_def(struct probe_trace_point *tp, struct strbuf *buf) argument
2215 struct probe_trace_point *tp = &tev->point; local
2242 find_perf_probe_point_from_map(struct probe_trace_point *tp, struct perf_probe_point *pp, bool is_kprobe) argument
2282 convert_to_perf_probe_point(struct probe_trace_point *tp, struct perf_probe_point *pp, bool is_kprobe) argument
2809 struct probe_trace_point *tp = &tev->point; local
3053 struct probe_trace_point *tp; local
3225 struct probe_trace_point *tp; local
3606 struct probe_trace_point *tp = &tev->point; local
[all...]
/linux-master/samples/bpf/
H A Dhbm_kern.h85 struct bpf_tcp_sock *tp; local
92 tp = bpf_tcp_sock(sk);
93 if (tp) {
94 pkti->cwnd = tp->snd_cwnd;
95 pkti->rtt = tp->srtt_us >> 3;
96 pkti->packets_out = tp->packets_out;
/linux-master/drivers/scsi/sym53c8xx_2/
H A Dsym_nvram.c82 sym_Symbios_setup_target(struct sym_tcb *tp, int target, Symbios_nvram *nvram) argument
87 tp->usrtags = 0;
89 tp->usrflags &= ~SYM_DISC_ENABLED;
91 tp->usrflags |= SYM_SCAN_BOOT_DISABLED;
93 tp->usrflags |= SYM_SCAN_LUNS_DISABLED;
94 tp->usr_period = (tn->sync_period + 3) / 4;
95 tp->usr_width = (tn->bus_width == 0x8) ? 0 : 1;
106 sym_Tekram_setup_target(struct sym_tcb *tp, int target, Tekram_nvram *nvram) argument
111 tp->usrtags = 2 << nvram->max_tags_index;
115 tp
125 sym_nvram_setup_target(struct sym_tcb *tp, int target, struct sym_nvram *nvp) argument
[all...]
/linux-master/drivers/net/ethernet/amd/
H A Ddeclance.c330 unsigned short *tp; local
340 tp = to;
344 *tp++ = *fp++;
345 tp++;
349 rtp = (unsigned char *)tp;
359 tp = to;
362 *tp++ = *fp++;
363 *tp++ = *fp++;
364 *tp++ = *fp++;
365 *tp
389 unsigned short *tp; local
[all...]
/linux-master/arch/x86/events/intel/
H A Dpt.c660 struct topa_page *tp; local
667 tp = page_address(p);
668 tp->topa.last = 0;
675 TOPA_ENTRY(&tp->topa, 1)->base = page_to_phys(p) >> TOPA_SHIFT;
676 TOPA_ENTRY(&tp->topa, 1)->end = 1;
679 return &tp->topa;
795 struct topa_page *tp = topa_to_page(topa); local
798 pr_debug("# table @%p, off %llx size %zx\n", tp->table,
802 &tp->table[i],
803 (unsigned long)tp
959 struct topa_page *tp; local
978 struct topa_page *tp; local
1050 struct topa_page *tp; local
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_filter.c255 iconf = adapter->params.tp.ingress_config;
256 fconf = fs->hash ? adapter->params.tp.filter_mask :
257 adapter->params.tp.vlan_pri_map;
1154 struct tp_params *tp = &adap->params.tp; local
1155 u64 hash_filter_mask = tp->hash_filter_mask;
1195 if (tp->fcoe_shift >= 0)
1196 ntuple_mask |= (u64)fs->mask.fcoe << tp->fcoe_shift;
1198 if (tp->port_shift >= 0)
1199 ntuple_mask |= (u64)fs->mask.iport << tp
1240 struct tp_params *tp = &adap->params.tp; local
[all...]
/linux-master/kernel/time/
H A Dnamespace.c385 struct timespec64 tp; local
403 ktime_get_ts64(&tp);
406 ktime_get_boottime_ts64(&tp);
419 tp = timespec64_add(tp, off->val);
424 if (tp.tv_sec < 0 || tp.tv_sec > KTIME_SEC_MAX / 2)

Completed in 232 milliseconds

1234567891011>>