Home
last modified time | relevance | path

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

/net/xfrm/
Dxfrm_user.c2387 struct xfrm_user_migrate *um; in copy_from_user_migrate() local
2400 um = nla_data(rt); in copy_from_user_migrate()
2401 num_migrate = nla_len(rt) / sizeof(*um); in copy_from_user_migrate()
2406 for (i = 0; i < num_migrate; i++, um++, ma++) { in copy_from_user_migrate()
2407 memcpy(&ma->old_daddr, &um->old_daddr, sizeof(ma->old_daddr)); in copy_from_user_migrate()
2408 memcpy(&ma->old_saddr, &um->old_saddr, sizeof(ma->old_saddr)); in copy_from_user_migrate()
2409 memcpy(&ma->new_daddr, &um->new_daddr, sizeof(ma->new_daddr)); in copy_from_user_migrate()
2410 memcpy(&ma->new_saddr, &um->new_saddr, sizeof(ma->new_saddr)); in copy_from_user_migrate()
2412 ma->proto = um->proto; in copy_from_user_migrate()
2413 ma->mode = um->mode; in copy_from_user_migrate()
[all …]
/net/bridge/netfilter/
Debtables.c1322 static inline int ebt_obj_to_user(char __user *um, const char *_name, in ebt_obj_to_user() argument
1332 if (copy_to_user(um, name, EBT_EXTENSION_MAXNAMELEN) || in ebt_obj_to_user()
1333 put_user(revision, (u8 __user *)(um + EBT_EXTENSION_MAXNAMELEN)) || in ebt_obj_to_user()
1334 put_user(datasize, (int __user *)(um + EBT_EXTENSION_MAXNAMELEN + 1)) || in ebt_obj_to_user()
1335 xt_data_to_user(um + entrysize, data, usersize, datasize, in ebt_obj_to_user()