Home
last modified time | relevance | path

Searched refs:info_v1 (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/net/netfilter/
H A Dxt_CT.c225 struct xt_ct_target_info_v1 info_v1 = { in xt_ct_tg_check_v0() local
236 memcpy(info_v1.helper, info->helper, sizeof(info->helper)); in xt_ct_tg_check_v0()
238 ret = xt_ct_tg_check(par, &info_v1); in xt_ct_tg_check_v0()
242 info->ct = info_v1.ct; in xt_ct_tg_check_v0()
288 struct xt_ct_target_info_v1 info_v1 = { in xt_ct_tg_destroy_v0() local
295 memcpy(info_v1.helper, info->helper, sizeof(info->helper)); in xt_ct_tg_destroy_v0()
297 xt_ct_tg_destroy(par, &info_v1); in xt_ct_tg_destroy_v0()
H A Dxt_recent.c436 struct xt_recent_mtinfo_v1 info_v1; in recent_mt_check_v0() local
439 memcpy(&info_v1, info_v0, sizeof(struct xt_recent_mtinfo)); in recent_mt_check_v0()
441 memset(info_v1.mask.all, 0xFF, sizeof(info_v1.mask.all)); in recent_mt_check_v0()
443 return recent_mt_check(par, &info_v1); in recent_mt_check_v0()
/OK3568_Linux_fs/kernel/drivers/gpio/
H A Dgpiolib-cdev.c1834 struct gpioline_info *info_v1) in gpio_v2_line_info_to_v1() argument
1838 memcpy(info_v1->name, info_v2->name, sizeof(info_v1->name)); in gpio_v2_line_info_to_v1()
1839 memcpy(info_v1->consumer, info_v2->consumer, sizeof(info_v1->consumer)); in gpio_v2_line_info_to_v1()
1840 info_v1->line_offset = info_v2->offset; in gpio_v2_line_info_to_v1()
1841 info_v1->flags = 0; in gpio_v2_line_info_to_v1()
1844 info_v1->flags |= GPIOLINE_FLAG_KERNEL; in gpio_v2_line_info_to_v1()
1847 info_v1->flags |= GPIOLINE_FLAG_IS_OUT; in gpio_v2_line_info_to_v1()
1850 info_v1->flags |= GPIOLINE_FLAG_ACTIVE_LOW; in gpio_v2_line_info_to_v1()
1853 info_v1->flags |= GPIOLINE_FLAG_OPEN_DRAIN; in gpio_v2_line_info_to_v1()
1855 info_v1->flags |= GPIOLINE_FLAG_OPEN_SOURCE; in gpio_v2_line_info_to_v1()
[all …]