Searched refs:info_v1 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/net/netfilter/ |
H A D | xt_CT.c | 237 struct xt_ct_target_info_v1 info_v1 = { in xt_ct_tg_check_v0() local 248 memcpy(info_v1.helper, info->helper, sizeof(info->helper)); in xt_ct_tg_check_v0() 250 ret = xt_ct_tg_check(par, &info_v1); in xt_ct_tg_check_v0() 254 info->ct = info_v1.ct; in xt_ct_tg_check_v0() 299 struct xt_ct_target_info_v1 info_v1 = { in xt_ct_tg_destroy_v0() local 306 memcpy(info_v1.helper, info->helper, sizeof(info->helper)); in xt_ct_tg_destroy_v0() 308 xt_ct_tg_destroy(par, &info_v1); in xt_ct_tg_destroy_v0()
|
H A D | xt_recent.c | 436 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()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpiolib-cdev.c | 2417 struct gpioline_info *info_v1) in gpio_v2_line_info_to_v1() argument 2421 memcpy(info_v1->name, info_v2->name, sizeof(info_v1->name)); in gpio_v2_line_info_to_v1() 2422 memcpy(info_v1->consumer, info_v2->consumer, sizeof(info_v1->consumer)); in gpio_v2_line_info_to_v1() 2423 info_v1->line_offset = info_v2->offset; in gpio_v2_line_info_to_v1() 2424 info_v1->flags = 0; in gpio_v2_line_info_to_v1() 2427 info_v1->flags |= GPIOLINE_FLAG_KERNEL; in gpio_v2_line_info_to_v1() 2430 info_v1->flags |= GPIOLINE_FLAG_IS_OUT; in gpio_v2_line_info_to_v1() 2433 info_v1->flags |= GPIOLINE_FLAG_ACTIVE_LOW; in gpio_v2_line_info_to_v1() 2436 info_v1->flags |= GPIOLINE_FLAG_OPEN_DRAIN; in gpio_v2_line_info_to_v1() 2438 info_v1->flags |= GPIOLINE_FLAG_OPEN_SOURCE; in gpio_v2_line_info_to_v1() [all …]
|