Home
last modified time | relevance | path

Searched refs:extoff (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/drivers/ptp/
Dptp_chardev.c112 struct ptp_sys_offset_extended *extoff = NULL; in ptp_ioctl() local
301 extoff = memdup_user((void __user *)arg, sizeof(*extoff)); in ptp_ioctl()
302 if (IS_ERR(extoff)) { in ptp_ioctl()
303 err = PTR_ERR(extoff); in ptp_ioctl()
304 extoff = NULL; in ptp_ioctl()
307 if (extoff->n_samples > PTP_MAX_SAMPLES in ptp_ioctl()
308 || extoff->rsv[0] || extoff->rsv[1] || extoff->rsv[2]) { in ptp_ioctl()
312 for (i = 0; i < extoff->n_samples; i++) { in ptp_ioctl()
316 extoff->ts[i][0].sec = sts.pre_ts.tv_sec; in ptp_ioctl()
317 extoff->ts[i][0].nsec = sts.pre_ts.tv_nsec; in ptp_ioctl()
[all …]
/Linux-v6.6/fs/ocfs2/
Dextent_map.c869 u64 extoff, extlen; in ocfs2_seek_data_hole_offset() local
906 extoff = cpos; in ocfs2_seek_data_hole_offset()
907 extoff <<= cs_bits; in ocfs2_seek_data_hole_offset()
920 if (extoff > *offset) in ocfs2_seek_data_hole_offset()
921 *offset = extoff; in ocfs2_seek_data_hole_offset()
930 extoff = cpos; in ocfs2_seek_data_hole_offset()
931 extoff <<= cs_bits; in ocfs2_seek_data_hole_offset()
935 if ((extoff + extlen) > i_size_read(inode)) in ocfs2_seek_data_hole_offset()
936 extlen = i_size_read(inode) - extoff; in ocfs2_seek_data_hole_offset()
937 extoff += extlen; in ocfs2_seek_data_hole_offset()
[all …]
/Linux-v6.6/drivers/net/wireless/ath/ath9k/
Dhw.c225 int8_t extoff; in ath9k_hw_get_channel_centers() local
236 extoff = 1; in ath9k_hw_get_channel_centers()
240 extoff = -1; in ath9k_hw_get_channel_centers()
244 centers->synth_center - (extoff * HT40_CHANNEL_CENTER_SHIFT); in ath9k_hw_get_channel_centers()
247 centers->synth_center + (extoff * HT40_CHANNEL_CENTER_SHIFT); in ath9k_hw_get_channel_centers()
/Linux-v6.6/net/netfilter/
Dnf_conntrack_core.c378 unsigned int extoff = nhoff + sizeof(struct ipv6hdr); in ipv6_get_l4proto() local
387 protoff = ipv6_skip_exthdr(skb, extoff, &nexthdr, &frag_off); in ipv6_get_l4proto()