Searched refs:frag1 (Results 1 – 3 of 3) sorted by relevance
/linux-3.4.99/net/batman-adv/ |
D | unicast.c | 225 struct unicast_frag_packet *frag1, *frag2; in frag_send_skb() local 227 int ucf_hdr_len = sizeof(*frag1); in frag_send_skb() 249 frag1 = (struct unicast_frag_packet *)skb->data; in frag_send_skb() 252 memcpy(frag1, &tmp_uc, sizeof(tmp_uc)); in frag_send_skb() 254 frag1->header.ttl--; in frag_send_skb() 255 frag1->header.version = COMPAT_VERSION; in frag_send_skb() 256 frag1->header.packet_type = BAT_UNICAST_FRAG; in frag_send_skb() 258 memcpy(frag1->orig, primary_if->net_dev->dev_addr, ETH_ALEN); in frag_send_skb() 259 memcpy(frag2, frag1, sizeof(*frag2)); in frag_send_skb() 264 frag1->flags = UNI_FRAG_HEAD | large_tail; in frag_send_skb() [all …]
|
/linux-3.4.99/fs/ufs/ |
D | truncate.c | 72 u64 frag1, frag2, frag3, frag4, block1, block2; in ufs_trunc_direct() local 86 frag1 = DIRECT_FRAGMENT; in ufs_trunc_direct() 88 frag2 = ((frag1 & uspi->s_fpbmask) ? ((frag1 | uspi->s_fpbmask) + 1) : frag1); in ufs_trunc_direct() 101 (unsigned long long)frag1, (unsigned long long)frag2, in ufs_trunc_direct() 105 if (frag1 >= frag2) in ufs_trunc_direct() 111 p = ufs_get_direct_data_ptr(uspi, ufsi, ufs_fragstoblks(frag1)); in ufs_trunc_direct() 115 frag2 -= frag1; in ufs_trunc_direct() 116 frag1 = ufs_fragnum (frag1); in ufs_trunc_direct() 118 ufs_free_fragments(inode, tmp + frag1, frag2); in ufs_trunc_direct() 120 frag_to_free = tmp + frag1; in ufs_trunc_direct()
|
/linux-3.4.99/fs/isofs/ |
D | inode.c | 1293 int frag1 = bufsize - offset; in isofs_read_inode() local 1301 memcpy(tmpde, bh->b_data + offset, frag1); in isofs_read_inode() 1306 memcpy((char *)tmpde+frag1, bh->b_data, de_len - frag1); in isofs_read_inode()
|