Home
last modified time | relevance | path

Searched refs:lastfrag (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/fs/ufs/
Dinode.c227 unsigned lastfrag = ufsi->i_lastfrag; /* it's a short file, so unsigned is enough */ in ufs_extend_tail() local
228 unsigned block = ufs_fragstoblks(lastfrag); in ufs_extend_tail()
233 if (writes_to < (lastfrag | uspi->s_fpbmask)) in ufs_extend_tail()
239 tmp = ufs_new_fragments(inode, p, lastfrag, ufs_data_ptr_to_cpu(sb, p), in ufs_extend_tail()
240 new_size - (lastfrag & uspi->s_fpbmask), err, in ufs_extend_tail()
262 u64 tmp, goal, lastfrag; in ufs_inode_getfrag() local
276 lastfrag = ufsi->i_lastfrag; in ufs_inode_getfrag()
279 if (new_fragment < UFS_NDIR_FRAGMENT && new_fragment >= lastfrag) in ufs_inode_getfrag()
432 unsigned lastfrag = UFS_I(inode)->i_lastfrag; in ufs_getfrag_block() local
433 unsigned tailfrags = lastfrag & uspi->s_fpbmask; in ufs_getfrag_block()
[all …]
/linux-6.6.21/net/ipv4/
Dtcp_output.c2329 skb_frag_t *lastfrag = NULL, *fragto = skb_shinfo(to)->frags; in tcp_clone_payload() local
2348 if (lastfrag && in tcp_clone_payload()
2349 skb_frag_page(fragfrom) == skb_frag_page(lastfrag) && in tcp_clone_payload()
2350 skb_frag_off(fragfrom) == skb_frag_off(lastfrag) + in tcp_clone_payload()
2351 skb_frag_size(lastfrag)) { in tcp_clone_payload()
2352 skb_frag_size_add(lastfrag, todo); in tcp_clone_payload()
2361 lastfrag = fragto++; in tcp_clone_payload()