Home
last modified time | relevance | path

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

/Linux-v5.15/net/netfilter/
Dxt_CT.c224 struct xt_ct_target_info_v1 info_v1 = { in xt_ct_tg_check_v0() local
235 memcpy(info_v1.helper, info->helper, sizeof(info->helper)); in xt_ct_tg_check_v0()
237 ret = xt_ct_tg_check(par, &info_v1); in xt_ct_tg_check_v0()
241 info->ct = info_v1.ct; in xt_ct_tg_check_v0()
287 struct xt_ct_target_info_v1 info_v1 = { in xt_ct_tg_destroy_v0() local
294 memcpy(info_v1.helper, info->helper, sizeof(info->helper)); in xt_ct_tg_destroy_v0()
296 xt_ct_tg_destroy(par, &info_v1); in xt_ct_tg_destroy_v0()
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()
/Linux-v5.15/drivers/gpio/
Dgpiolib-cdev.c1848 struct gpioline_info *info_v1) in gpio_v2_line_info_to_v1() argument
1852 memcpy(info_v1->name, info_v2->name, sizeof(info_v1->name)); in gpio_v2_line_info_to_v1()
1853 memcpy(info_v1->consumer, info_v2->consumer, sizeof(info_v1->consumer)); in gpio_v2_line_info_to_v1()
1854 info_v1->line_offset = info_v2->offset; in gpio_v2_line_info_to_v1()
1855 info_v1->flags = 0; in gpio_v2_line_info_to_v1()
1858 info_v1->flags |= GPIOLINE_FLAG_KERNEL; in gpio_v2_line_info_to_v1()
1861 info_v1->flags |= GPIOLINE_FLAG_IS_OUT; in gpio_v2_line_info_to_v1()
1864 info_v1->flags |= GPIOLINE_FLAG_ACTIVE_LOW; in gpio_v2_line_info_to_v1()
1867 info_v1->flags |= GPIOLINE_FLAG_OPEN_DRAIN; in gpio_v2_line_info_to_v1()
1869 info_v1->flags |= GPIOLINE_FLAG_OPEN_SOURCE; in gpio_v2_line_info_to_v1()
[all …]