Home
last modified time | relevance | path

Searched refs:um (Results 1 – 2 of 2) sorted by relevance

/net/xfrm/
Dxfrm_user.c2586 struct xfrm_user_migrate *um; in copy_from_user_migrate() local
2599 um = nla_data(rt); in copy_from_user_migrate()
2600 num_migrate = nla_len(rt) / sizeof(*um); in copy_from_user_migrate()
2605 for (i = 0; i < num_migrate; i++, um++, ma++) { in copy_from_user_migrate()
2606 memcpy(&ma->old_daddr, &um->old_daddr, sizeof(ma->old_daddr)); in copy_from_user_migrate()
2607 memcpy(&ma->old_saddr, &um->old_saddr, sizeof(ma->old_saddr)); in copy_from_user_migrate()
2608 memcpy(&ma->new_daddr, &um->new_daddr, sizeof(ma->new_daddr)); in copy_from_user_migrate()
2609 memcpy(&ma->new_saddr, &um->new_saddr, sizeof(ma->new_saddr)); in copy_from_user_migrate()
2611 ma->proto = um->proto; in copy_from_user_migrate()
2612 ma->mode = um->mode; in copy_from_user_migrate()
[all …]
/net/bridge/netfilter/
Debtables.c1435 static inline int ebt_obj_to_user(char __user *um, const char *_name, in ebt_obj_to_user() argument
1445 if (copy_to_user(um, name, EBT_EXTENSION_MAXNAMELEN) || in ebt_obj_to_user()
1446 put_user(revision, (u8 __user *)(um + EBT_EXTENSION_MAXNAMELEN)) || in ebt_obj_to_user()
1447 put_user(datasize, (int __user *)(um + EBT_EXTENSION_MAXNAMELEN + 1)) || in ebt_obj_to_user()
1448 xt_data_to_user(um + entrysize, data, usersize, datasize, in ebt_obj_to_user()