Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 25 of 139) sorted by relevance

123456

/linux-4.19.296/drivers/s390/char/
Dtty3270.c128 static void tty3270_set_timer(struct tty3270 *tp, int expires) in tty3270_set_timer() argument
130 mod_timer(&tp->timer, jiffies + expires); in tty3270_set_timer()
137 tty3270_update_prompt(struct tty3270 *tp, char *input, int count) in tty3270_update_prompt() argument
142 line = tp->prompt; in tty3270_update_prompt()
146 line->string[5] = tp->inattr; in tty3270_update_prompt()
147 if (count > tp->view.cols * 2 - 11) in tty3270_update_prompt()
148 count = tp->view.cols * 2 - 11; in tty3270_update_prompt()
152 if (count < tp->view.cols * 2 - 11) { in tty3270_update_prompt()
155 off = tp->view.cols * tp->view.rows - 9; in tty3270_update_prompt()
156 raw3270_buffer_address(tp->view.dev, line->string+count+8, off); in tty3270_update_prompt()
[all …]
/linux-4.19.296/fs/xfs/
Dxfs_trans.c65 struct xfs_trans *tp) in xfs_trans_free() argument
67 xfs_extent_busy_sort(&tp->t_busy); in xfs_trans_free()
68 xfs_extent_busy_clear(tp->t_mountp, &tp->t_busy, false); in xfs_trans_free()
70 trace_xfs_trans_free(tp, _RET_IP_); in xfs_trans_free()
71 atomic_dec(&tp->t_mountp->m_active_trans); in xfs_trans_free()
72 if (!(tp->t_flags & XFS_TRANS_NO_WRITECOUNT)) in xfs_trans_free()
73 sb_end_intwrite(tp->t_mountp->m_super); in xfs_trans_free()
74 xfs_trans_free_dqinfo(tp); in xfs_trans_free()
75 kmem_zone_free(xfs_trans_zone, tp); in xfs_trans_free()
88 struct xfs_trans *tp) in xfs_trans_dup() argument
[all …]
Dxfs_trans_buf.c26 struct xfs_trans *tp, in xfs_trans_buf_item_match() argument
39 list_for_each_entry(lip, &tp->t_items, li_trans) { in xfs_trans_buf_item_match()
64 struct xfs_trans *tp, in _xfs_trans_bjoin() argument
77 xfs_buf_item_init(bp, tp->t_mountp); in _xfs_trans_bjoin()
94 xfs_trans_add_item(tp, &bip->bli_item); in _xfs_trans_bjoin()
95 bp->b_transp = tp; in _xfs_trans_bjoin()
101 struct xfs_trans *tp, in xfs_trans_bjoin() argument
104 _xfs_trans_bjoin(tp, bp, 0); in xfs_trans_bjoin()
119 struct xfs_trans *tp, in xfs_trans_get_buf_map() argument
128 if (!tp) in xfs_trans_get_buf_map()
[all …]
Dxfs_trans_dquot.c29 xfs_trans_t *tp, in xfs_trans_dqjoin() argument
32 ASSERT(dqp->q_transp != tp); in xfs_trans_dqjoin()
39 xfs_trans_add_item(tp, &dqp->q_logitem.qli_item); in xfs_trans_dqjoin()
45 dqp->q_transp = tp; in xfs_trans_dqjoin()
61 xfs_trans_t *tp, in xfs_trans_log_dquot() argument
64 ASSERT(dqp->q_transp == tp); in xfs_trans_log_dquot()
67 tp->t_flags |= XFS_TRANS_DIRTY; in xfs_trans_log_dquot()
137 xfs_trans_t *tp, in xfs_trans_mod_dquot_byino() argument
142 xfs_mount_t *mp = tp->t_mountp; in xfs_trans_mod_dquot_byino()
149 if (tp->t_dqinfo == NULL) in xfs_trans_mod_dquot_byino()
[all …]
Dxfs_inode.c750 xfs_trans_t *tp, in xfs_ialloc() argument
759 struct xfs_mount *mp = tp->t_mountp; in xfs_ialloc()
771 error = xfs_dialloc(tp, pip ? pip->i_ino : 0, mode, in xfs_ialloc()
798 error = xfs_iget(mp, tp, ino, XFS_IGET_CREATE, in xfs_ialloc()
945 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); in xfs_ialloc()
946 xfs_trans_log_inode(tp, ip, flags); in xfs_ialloc()
978 xfs_trans_t *tp; in xfs_dir_ialloc() local
985 tp = *tpp; in xfs_dir_ialloc()
986 ASSERT(tp->t_flags & XFS_TRANS_PERM_LOG_RES); in xfs_dir_ialloc()
1003 code = xfs_ialloc(tp, dp, mode, nlink, rdev, prid, &ialloc_context, in xfs_dir_ialloc()
[all …]
Dxfs_trans_extfree.c29 xfs_trans_get_efd(struct xfs_trans *tp, in xfs_trans_get_efd() argument
35 ASSERT(tp != NULL); in xfs_trans_get_efd()
38 efdp = xfs_efd_init(tp->t_mountp, efip, nextents); in xfs_trans_get_efd()
44 xfs_trans_add_item(tp, &efdp->efd_item); in xfs_trans_get_efd()
55 struct xfs_trans *tp, in xfs_trans_free_extent() argument
62 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_free_extent()
69 trace_xfs_bmap_free_deferred(tp->t_mountp, agno, 0, agbno, ext_len); in xfs_trans_free_extent()
71 error = __xfs_free_extent(tp, start_block, ext_len, in xfs_trans_free_extent()
80 tp->t_flags |= XFS_TRANS_DIRTY; in xfs_trans_free_extent()
113 struct xfs_trans *tp, in xfs_extent_free_create_intent() argument
[all …]
Dxfs_rtalloc.c38 xfs_trans_t *tp, /* transaction pointer */ in xfs_rtget_summary() argument
45 return xfs_rtmodify_summary_int(mp, tp, log, bbno, 0, rbpp, rsb, sum); in xfs_rtget_summary()
55 xfs_trans_t *tp, /* transaction pointer */ in xfs_rtany_summary() argument
74 error = xfs_rtget_summary(mp, tp, log, bbno, rbpp, rsb, &sum); in xfs_rtany_summary()
102 xfs_trans_t *tp) /* transaction pointer */ in xfs_rtcopy_summary() argument
116 error = xfs_rtget_summary(omp, tp, log, bbno, &bp, in xfs_rtcopy_summary()
122 error = xfs_rtmodify_summary(omp, tp, log, bbno, -sum, in xfs_rtcopy_summary()
126 error = xfs_rtmodify_summary(nmp, tp, log, bbno, sum, in xfs_rtcopy_summary()
142 xfs_trans_t *tp, /* transaction pointer */ in xfs_rtallocate_range() argument
159 error = xfs_rtfind_back(mp, tp, start, 0, &preblock); in xfs_rtallocate_range()
[all …]
Dxfs_trans_refcount.c26 struct xfs_trans *tp, in xfs_trans_get_cud() argument
31 cudp = xfs_cud_init(tp->t_mountp, cuip); in xfs_trans_get_cud()
32 xfs_trans_add_item(tp, &cudp->cud_item); in xfs_trans_get_cud()
43 struct xfs_trans *tp, in xfs_trans_log_finish_refcount_update() argument
54 error = xfs_refcount_finish_one(tp, type, startblock, in xfs_trans_log_finish_refcount_update()
64 tp->t_flags |= XFS_TRANS_DIRTY; in xfs_trans_log_finish_refcount_update()
90 struct xfs_trans *tp, in xfs_refcount_update_create_intent() argument
95 ASSERT(tp != NULL); in xfs_refcount_update_create_intent()
98 cuip = xfs_cui_init(tp->t_mountp, count); in xfs_refcount_update_create_intent()
104 xfs_trans_add_item(tp, &cuip->cui_item); in xfs_refcount_update_create_intent()
[all …]
Dxfs_trans.h143 #define xfs_trans_set_sync(tp) ((tp)->t_flags |= XFS_TRANS_SYNC) argument
146 #define xfs_trans_agblocks_delta(tp, d) ((tp)->t_ag_freeblks_delta += (int64_t)d) argument
147 #define xfs_trans_agflist_delta(tp, d) ((tp)->t_ag_flist_delta += (int64_t)d) argument
148 #define xfs_trans_agbtree_delta(tp, d) ((tp)->t_ag_btree_delta += (int64_t)d) argument
150 #define xfs_trans_agblocks_delta(tp, d) argument
151 #define xfs_trans_agflist_delta(tp, d) argument
152 #define xfs_trans_agbtree_delta(tp, d) argument
165 struct xfs_buf *xfs_trans_get_buf_map(struct xfs_trans *tp,
172 struct xfs_trans *tp, in xfs_trans_get_buf() argument
179 return xfs_trans_get_buf_map(tp, target, &map, 1, flags); in xfs_trans_get_buf()
[all …]
Dxfs_rtalloc.h25 struct xfs_trans *tp,
41 struct xfs_trans *tp, /* transaction pointer */
56 struct xfs_trans *tp, /* transaction pointer */
88 struct xfs_trans *tp, /* transaction pointer */
103 int xfs_rtbuf_get(struct xfs_mount *mp, struct xfs_trans *tp,
105 int xfs_rtcheck_range(struct xfs_mount *mp, struct xfs_trans *tp,
108 int xfs_rtfind_back(struct xfs_mount *mp, struct xfs_trans *tp,
111 int xfs_rtfind_forw(struct xfs_mount *mp, struct xfs_trans *tp,
114 int xfs_rtmodify_range(struct xfs_mount *mp, struct xfs_trans *tp,
116 int xfs_rtmodify_summary_int(struct xfs_mount *mp, struct xfs_trans *tp,
[all …]
Dxfs_trans_rmap.c65 struct xfs_trans *tp, in xfs_trans_get_rud() argument
70 rudp = xfs_rud_init(tp->t_mountp, ruip); in xfs_trans_get_rud()
71 xfs_trans_add_item(tp, &rudp->rud_item); in xfs_trans_get_rud()
82 struct xfs_trans *tp, in xfs_trans_log_finish_rmap_update() argument
95 error = xfs_rmap_finish_one(tp, type, owner, whichfork, startoff, in xfs_trans_log_finish_rmap_update()
105 tp->t_flags |= XFS_TRANS_DIRTY; in xfs_trans_log_finish_rmap_update()
131 struct xfs_trans *tp, in xfs_rmap_update_create_intent() argument
136 ASSERT(tp != NULL); in xfs_rmap_update_create_intent()
139 ruip = xfs_rui_init(tp->t_mountp, count); in xfs_rmap_update_create_intent()
145 xfs_trans_add_item(tp, &ruip->rui_item); in xfs_rmap_update_create_intent()
[all …]
Dxfs_trans_bmap.c27 struct xfs_trans *tp, in xfs_trans_get_bud() argument
32 budp = xfs_bud_init(tp->t_mountp, buip); in xfs_trans_get_bud()
33 xfs_trans_add_item(tp, &budp->bud_item); in xfs_trans_get_bud()
44 struct xfs_trans *tp, in xfs_trans_log_finish_bmap_update() argument
56 error = xfs_bmap_finish_one(tp, ip, type, whichfork, startoff, in xfs_trans_log_finish_bmap_update()
66 tp->t_flags |= XFS_TRANS_DIRTY; in xfs_trans_log_finish_bmap_update()
90 struct xfs_trans *tp, in xfs_bmap_update_create_intent() argument
96 ASSERT(tp != NULL); in xfs_bmap_update_create_intent()
98 buip = xfs_bui_init(tp->t_mountp); in xfs_bmap_update_create_intent()
104 xfs_trans_add_item(tp, &buip->bui_item); in xfs_bmap_update_create_intent()
[all …]
Dxfs_symlink.c162 struct xfs_trans *tp = NULL; in xfs_symlink() local
221 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_symlink, resblks, 0, 0, &tp); in xfs_symlink()
239 error = xfs_trans_reserve_quota(tp, mp, udqp, gdqp, in xfs_symlink()
247 error = xfs_dir_ialloc(&tp, dp, S_IFLNK | (mode & ~S_IFMT), 1, 0, in xfs_symlink()
259 xfs_trans_ijoin(tp, dp, XFS_ILOCK_EXCL); in xfs_symlink()
265 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_symlink()
277 xfs_trans_log_inode(tp, ip, XFS_ILOG_DDATA | XFS_ILOG_CORE); in xfs_symlink()
284 error = xfs_bmapi_write(tp, ip, first_fsb, fs_blocks, in xfs_symlink()
292 xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); in xfs_symlink()
301 bp = xfs_trans_get_buf(tp, mp->m_ddev_targp, d, in xfs_symlink()
[all …]
Dxfs_quota.h118 #define xfs_trans_dup_dqinfo(tp, tp2) argument
119 #define xfs_trans_free_dqinfo(tp) argument
120 #define xfs_trans_mod_dquot_byino(tp, ip, fields, delta) argument
121 #define xfs_trans_apply_dquot_deltas(tp) argument
122 #define xfs_trans_unreserve_and_mod_dquots(tp) argument
123 static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp, in xfs_trans_reserve_quota_nblks() argument
128 static inline int xfs_trans_reserve_quota_bydquots(struct xfs_trans *tp, in xfs_trans_reserve_quota_bydquots() argument
135 #define xfs_qm_vop_create_dqattach(tp, ip, u, g, p) argument
137 #define xfs_qm_vop_chown(tp, ip, old, new) (NULL) argument
138 #define xfs_qm_vop_chown_reserve(tp, ip, u, g, p, fl) (0) argument
[all …]
Dxfs_reflink.c142 struct xfs_trans *tp, in xfs_reflink_find_shared() argument
154 error = xfs_alloc_read_agf(mp, tp, agno, 0, &agbp); in xfs_reflink_find_shared()
160 cur = xfs_refcountbt_init_cursor(mp, tp, agbp, agno); in xfs_reflink_find_shared()
167 xfs_trans_brelse(tp, agbp); in xfs_reflink_find_shared()
408 struct xfs_trans *tp; in xfs_reflink_allocate_cow() local
428 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, 0, &tp); in xfs_reflink_allocate_cow()
446 xfs_trans_cancel(tp); in xfs_reflink_allocate_cow()
450 error = xfs_trans_reserve_quota_nblks(tp, ip, resblks, 0, in xfs_reflink_allocate_cow()
455 xfs_trans_ijoin(tp, ip, 0); in xfs_reflink_allocate_cow()
459 error = xfs_bmapi_write(tp, ip, imap->br_startoff, imap->br_blockcount, in xfs_reflink_allocate_cow()
[all …]
Dxfs_fsmap.c176 int (*fn)(struct xfs_trans *tp,
196 struct xfs_trans *tp, in xfs_getfsmap_is_shared() argument
201 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_is_shared()
216 cur = xfs_refcountbt_init_cursor(mp, tp, info->agf_bp, in xfs_getfsmap_is_shared()
236 struct xfs_trans *tp, in xfs_getfsmap_helper() argument
242 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_helper()
323 error = xfs_getfsmap_is_shared(tp, info, rec, &shared); in xfs_getfsmap_helper()
401 struct xfs_trans *tp, in xfs_getfsmap_logdev() argument
405 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_logdev()
441 return xfs_getfsmap_helper(tp, info, &rmap, 0); in xfs_getfsmap_logdev()
[all …]
Dxfs_bmap_util.c124 xfs_trans_ijoin(ap->tp, mp->m_rbmip, XFS_ILOCK_EXCL); in xfs_bmap_rtalloc()
126 xfs_trans_ijoin(ap->tp, mp->m_rsumip, XFS_ILOCK_EXCL); in xfs_bmap_rtalloc()
135 error = xfs_rtpick_extent(mp, ap->tp, ralen, &rtx); in xfs_bmap_rtalloc()
151 error = xfs_rtallocate_extent(ap->tp, ap->blkno, 1, ap->length, in xfs_bmap_rtalloc()
162 xfs_trans_log_inode(ap->tp, ap->ip, XFS_ILOG_CORE); in xfs_bmap_rtalloc()
169 xfs_trans_mod_dquot_byino(ap->tp, ap->ip, in xfs_bmap_rtalloc()
263 struct xfs_trans *tp, in xfs_bmap_count_tree() argument
279 error = xfs_btree_read_bufl(mp, tp, bno, 0, &bp, XFS_BMAP_BTREE_REF, in xfs_bmap_count_tree()
290 error = xfs_btree_read_bufl(mp, tp, nextbno, 0, &nbp, in xfs_bmap_count_tree()
298 xfs_trans_brelse(tp, nbp); in xfs_bmap_count_tree()
[all …]
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_defer.c184 struct xfs_trans *tp) in xfs_defer_create_intents() argument
189 list_for_each_entry(dfp, &tp->t_dfops, dfp_list) { in xfs_defer_create_intents()
190 dfp->dfp_intent = dfp->dfp_type->create_intent(tp, in xfs_defer_create_intents()
192 trace_xfs_defer_create_intent(tp->t_mountp, dfp); in xfs_defer_create_intents()
193 list_sort(tp->t_mountp, &dfp->dfp_work, in xfs_defer_create_intents()
196 dfp->dfp_type->log_item(tp, dfp->dfp_intent, li); in xfs_defer_create_intents()
203 struct xfs_trans *tp, in xfs_defer_trans_abort() argument
208 trace_xfs_defer_trans_abort(tp, _RET_IP_); in xfs_defer_trans_abort()
212 trace_xfs_defer_pending_abort(tp->t_mountp, dfp); in xfs_defer_trans_abort()
225 struct xfs_trans *tp = *tpp; in xfs_defer_trans_roll() local
[all …]
Dxfs_rtbitmap.c64 xfs_trans_t *tp, /* transaction pointer */ in xfs_rtbuf_get() argument
85 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, in xfs_rtbuf_get()
91 xfs_trans_buf_set_type(tp, bp, issum ? XFS_BLFT_RTSUMMARY_BUF in xfs_rtbuf_get()
104 xfs_trans_t *tp, /* transaction pointer */ in xfs_rtfind_back() argument
127 error = xfs_rtbuf_get(mp, tp, block, 0, &bp); in xfs_rtfind_back()
164 xfs_trans_brelse(tp, bp); in xfs_rtfind_back()
178 xfs_trans_brelse(tp, bp); in xfs_rtfind_back()
179 error = xfs_rtbuf_get(mp, tp, --block, 0, &bp); in xfs_rtfind_back()
210 xfs_trans_brelse(tp, bp); in xfs_rtfind_back()
224 xfs_trans_brelse(tp, bp); in xfs_rtfind_back()
[all …]
Dxfs_bmap.h22 struct xfs_trans *tp; /* transaction pointer */ member
188 void __xfs_bmap_add_free(struct xfs_trans *tp, xfs_fsblock_t bno,
192 int xfs_bmap_first_unused(struct xfs_trans *tp, struct xfs_inode *ip,
194 int xfs_bmap_last_before(struct xfs_trans *tp, struct xfs_inode *ip,
202 int xfs_bmapi_write(struct xfs_trans *tp, struct xfs_inode *ip,
205 int __xfs_bunmapi(struct xfs_trans *tp, struct xfs_inode *ip,
208 int xfs_bunmapi(struct xfs_trans *tp, struct xfs_inode *ip,
218 int xfs_bmap_collapse_extents(struct xfs_trans *tp, struct xfs_inode *ip,
223 int xfs_bmap_insert_extents(struct xfs_trans *tp, struct xfs_inode *ip,
234 struct xfs_trans *tp, in xfs_bmap_add_free() argument
[all …]
Dxfs_alloc.h53 struct xfs_trans *tp; /* transaction pointer */ member
124 struct xfs_trans *tp, /* transaction pointer */
134 struct xfs_trans *tp, /* transaction pointer */
144 struct xfs_trans *tp, /* transaction pointer */
153 struct xfs_trans *tp, /* transaction pointer */
165 struct xfs_trans *tp, /* transaction pointer */
182 struct xfs_trans *tp, /* transaction pointer */
191 struct xfs_trans *tp, in xfs_free_extent() argument
197 return __xfs_free_extent(tp, bno, len, oinfo, type, false); in xfs_free_extent()
221 int xfs_read_agf(struct xfs_mount *mp, struct xfs_trans *tp,
[all …]
/linux-4.19.296/lib/
Dtest_bitfield.c12 #define CHECK_ENC_GET_U(tp, v, field, res) do { \ argument
14 u##tp _res; \
16 _res = u##tp##_encode_bits(v, field); \
18 pr_warn("u" #tp "_encode_bits(" #v ", " #field ") is 0x%llx != " #res "\n",\
22 if (u##tp##_get_bits(_res, field) != v) \
27 #define CHECK_ENC_GET_LE(tp, v, field, res) do { \ argument
29 __le##tp _res; \
31 _res = le##tp##_encode_bits(v, field); \
32 if (_res != cpu_to_le##tp(res)) { \
33 pr_warn("le" #tp "_encode_bits(" #v ", " #field ") is 0x%llx != 0x%llx\n",\
[all …]
/linux-4.19.296/include/net/
Dtcp.h389 void tcp_clear_retrans(struct tcp_sock *tp);
598 void tcp_skb_mark_lost_uncond_verify(struct tcp_sock *tp, struct sk_buff *skb);
619 static inline int tcp_bound_to_half_wnd(struct tcp_sock *tp, int pktsize) in tcp_bound_to_half_wnd() argument
630 if (tp->max_window > TCP_MSS_DEFAULT) in tcp_bound_to_half_wnd()
631 cutoff = (tp->max_window >> 1); in tcp_bound_to_half_wnd()
633 cutoff = tp->max_window; in tcp_bound_to_half_wnd()
636 return max_t(int, cutoff, 68U - tp->tcp_header_len); in tcp_bound_to_half_wnd()
661 static inline u32 __tcp_set_rto(const struct tcp_sock *tp) in __tcp_set_rto() argument
663 return usecs_to_jiffies((tp->srtt_us >> 3) + tp->rttvar_us); in __tcp_set_rto()
666 static inline void __tcp_fast_path_on(struct tcp_sock *tp, u32 snd_wnd) in __tcp_fast_path_on() argument
[all …]
/linux-4.19.296/include/uapi/linux/
Datmsvc.h52 #define SELECT_TOP_PCR(tp) ((tp).pcr ? (tp).pcr : \ argument
53 (tp).max_pcr && (tp).max_pcr != ATM_MAX_PCR ? (tp).max_pcr : \
54 (tp).min_pcr ? (tp).min_pcr : ATM_MAX_PCR)
/linux-4.19.296/fs/xfs/scrub/
Drepair.c132 xfs_trans_bhold(sc->tp, sc->sa.agi_bp); in xrep_roll_ag_trans()
134 xfs_trans_bhold(sc->tp, sc->sa.agf_bp); in xrep_roll_ag_trans()
136 xfs_trans_bhold(sc->tp, sc->sa.agfl_bp); in xrep_roll_ag_trans()
139 error = xfs_trans_roll(&sc->tp); in xrep_roll_ag_trans()
145 xfs_trans_bjoin(sc->tp, sc->sa.agi_bp); in xrep_roll_ag_trans()
147 xfs_trans_bjoin(sc->tp, sc->sa.agf_bp); in xrep_roll_ag_trans()
149 xfs_trans_bjoin(sc->tp, sc->sa.agfl_bp); in xrep_roll_ag_trans()
160 xfs_trans_bhold_release(sc->tp, sc->sa.agi_bp); in xrep_roll_ag_trans()
162 xfs_trans_bhold_release(sc->tp, sc->sa.agf_bp); in xrep_roll_ag_trans()
164 xfs_trans_bhold_release(sc->tp, sc->sa.agfl_bp); in xrep_roll_ag_trans()
[all …]

123456