/linux-4.1.27/crypto/ |
H A D | algapi.c | 710 struct rtattr *rta = tb[0]; crypto_get_attr_type() local 713 if (!rta) crypto_get_attr_type() 715 if (RTA_PAYLOAD(rta) < sizeof(*algt)) crypto_get_attr_type() 717 if (rta->rta_type != CRYPTOA_TYPE) crypto_get_attr_type() 720 algt = RTA_DATA(rta); crypto_get_attr_type() 741 const char *crypto_attr_alg_name(struct rtattr *rta) crypto_attr_alg_name() argument 745 if (!rta) crypto_attr_alg_name() 747 if (RTA_PAYLOAD(rta) < sizeof(*alga)) crypto_attr_alg_name() 749 if (rta->rta_type != CRYPTOA_ALG) crypto_attr_alg_name() 752 alga = RTA_DATA(rta); crypto_attr_alg_name() 759 struct crypto_alg *crypto_attr_alg2(struct rtattr *rta, crypto_attr_alg2() argument 765 name = crypto_attr_alg_name(rta); crypto_attr_alg2() 773 int crypto_attr_u32(struct rtattr *rta, u32 *num) crypto_attr_u32() argument 777 if (!rta) crypto_attr_u32() 779 if (RTA_PAYLOAD(rta) < sizeof(*nu32)) crypto_attr_u32() 781 if (rta->rta_type != CRYPTOA_U32) crypto_attr_u32() 784 nu32 = RTA_DATA(rta); crypto_attr_u32()
|
H A D | authenc.c | 58 struct rtattr *rta = (struct rtattr *)key; crypto_authenc_extractkeys() local 61 if (!RTA_OK(rta, keylen)) crypto_authenc_extractkeys() 63 if (rta->rta_type != CRYPTO_AUTHENC_KEYA_PARAM) crypto_authenc_extractkeys() 65 if (RTA_PAYLOAD(rta) < sizeof(*param)) crypto_authenc_extractkeys() 68 param = RTA_DATA(rta); crypto_authenc_extractkeys() 71 key += RTA_ALIGN(rta->rta_len); crypto_authenc_extractkeys() 72 keylen -= RTA_ALIGN(rta->rta_len); crypto_authenc_extractkeys()
|
H A D | ahash.c | 610 struct hash_alg_common *ahash_attr_alg(struct rtattr *rta, u32 type, u32 mask) ahash_attr_alg() argument 614 alg = crypto_attr_alg2(rta, &crypto_ahash_type, type, mask); ahash_attr_alg()
|
H A D | shash.c | 700 struct shash_alg *shash_attr_alg(struct rtattr *rta, u32 type, u32 mask) shash_attr_alg() argument 704 alg = crypto_attr_alg2(rta, &crypto_shash_type, type, mask); shash_attr_alg()
|
H A D | testmgr.h | 14426 .key = "\x08\x00" /* rta length */ 14427 "\x01\x00" /* rta type */ 14429 .key = "\x00\x08" /* rta length */ 14430 "\x00\x01" /* rta type */ 14445 .key = "\x08\x00" /* rta length */ 14446 "\x01\x00" /* rta type */ 14448 .key = "\x00\x08" /* rta length */ 14449 "\x00\x01" /* rta type */ 14468 .key = "\x08\x00" /* rta length */ 14469 "\x01\x00" /* rta type */ 14471 .key = "\x00\x08" /* rta length */ 14472 "\x00\x01" /* rta type */ 14487 .key = "\x08\x00" /* rta length */ 14488 "\x01\x00" /* rta type */ 14490 .key = "\x00\x08" /* rta length */ 14491 "\x00\x01" /* rta type */ 14510 .key = "\x08\x00" /* rta length */ 14511 "\x01\x00" /* rta type */ 14513 .key = "\x00\x08" /* rta length */ 14514 "\x00\x01" /* rta type */ 14535 .key = "\x08\x00" /* rta length */ 14536 "\x01\x00" /* rta type */ 14538 .key = "\x00\x08" /* rta length */ 14539 "\x00\x01" /* rta type */ 14565 .key = "\x08\x00" /* rta length */ 14566 "\x01\x00" /* rta type */ 14568 .key = "\x00\x08" /* rta length */ 14569 "\x00\x01" /* rta type */ 14594 .key = "\x08\x00" /* rta length */ 14595 "\x01\x00" /* rta type */ 14597 .key = "\x00\x08" /* rta length */ 14598 "\x00\x01" /* rta type */ 14632 .key = "\x08\x00" /* rta length */ 14633 "\x01\x00" /* rta type */ 14635 .key = "\x00\x08" /* rta length */ 14636 "\x00\x01" /* rta type */ 14676 .key = "\x08\x00" /* rta length */ 14677 "\x01\x00" /* rta type */ 14679 .key = "\x00\x08" /* rta length */ 14680 "\x00\x01" /* rta type */ 14715 .key = "\x08\x00" /* rta length */ 14716 "\x01\x00" /* rta type */ 14718 .key = "\x00\x08" /* rta length */ 14719 "\x00\x01" /* rta type */ 14759 .key = "\x08\x00" /* rta length */ 14760 "\x01\x00" /* rta type */ 14762 .key = "\x00\x08" /* rta length */ 14763 "\x00\x01" /* rta type */ 14780 .key = "\x08\x00" /* rta length */ 14781 "\x01\x00" /* rta type */ 14783 .key = "\x00\x08" /* rta length */ 14784 "\x00\x01" /* rta type */ 14805 .key = "\x08\x00" /* rta length */ 14806 "\x01\x00" /* rta type */ 14808 .key = "\x00\x08" /* rta length */ 14809 "\x00\x01" /* rta type */ 14826 .key = "\x08\x00" /* rta length */ 14827 "\x01\x00" /* rta type */ 14829 .key = "\x00\x08" /* rta length */ 14830 "\x00\x01" /* rta type */ 14851 .key = "\x08\x00" /* rta length */ 14852 "\x01\x00" /* rta type */ 14854 .key = "\x00\x08" /* rta length */ 14855 "\x00\x01" /* rta type */ 14878 .key = "\x08\x00" /* rta length */ 14879 "\x01\x00" /* rta type */ 14881 .key = "\x00\x08" /* rta length */ 14882 "\x00\x01" /* rta type */ 14910 .key = "\x08\x00" /* rta length */ 14911 "\x01\x00" /* rta type */ 14913 .key = "\x00\x08" /* rta length */ 14914 "\x00\x01" /* rta type */ 14941 .key = "\x08\x00" /* rta length */ 14942 "\x01\x00" /* rta type */ 14944 .key = "\x00\x08" /* rta length */ 14945 "\x00\x01" /* rta type */ 14981 .key = "\x08\x00" /* rta length */ 14982 "\x01\x00" /* rta type */ 14984 .key = "\x00\x08" /* rta length */ 14985 "\x00\x01" /* rta type */ 15027 .key = "\x08\x00" /* rta length */ 15028 "\x01\x00" /* rta type */ 15030 .key = "\x00\x08" /* rta length */ 15031 "\x00\x01" /* rta type */ 15068 .key = "\x08\x00" /* rta length */ 15069 "\x01\x00" /* rta type */ 15071 .key = "\x00\x08" /* rta length */ 15072 "\x00\x01" /* rta type */ 15114 .key = "\x08\x00" /* rta length */ 15115 "\x01\x00" /* rta type */ 15117 .key = "\x00\x08" /* rta length */ 15118 "\x00\x01" /* rta type */ 15149 .key = "\x08\x00" /* rta length */ 15150 "\x01\x00" /* rta type */ 15152 .key = "\x00\x08" /* rta length */ 15153 "\x00\x01" /* rta type */ 15189 .key = "\x08\x00" /* rta length */ 15190 "\x01\x00" /* rta type */ 15192 .key = "\x00\x08" /* rta length */ 15193 "\x00\x01" /* rta type */ 15228 .key = "\x08\x00" /* rta length */ 15229 "\x01\x00" /* rta type */ 15231 .key = "\x00\x08" /* rta length */ 15232 "\x00\x01" /* rta type */ 15276 .key = "\x08\x00" /* rta length */ 15277 "\x01\x00" /* rta type */ 15279 .key = "\x00\x08" /* rta length */ 15280 "\x00\x01" /* rta type */ 15330 .key = "\x08\x00" /* rta length */ 15331 "\x01\x00" /* rta type */ 15333 .key = "\x00\x08" /* rta length */ 15334 "\x00\x01" /* rta type */ 15379 .key = "\x08\x00" /* rta length */ 15380 "\x01\x00" /* rta type */ 15382 .key = "\x00\x08" /* rta length */ 15383 "\x00\x01" /* rta type */ 15435 .key = "\x08\x00" /* rta length */ 15436 "\x01\x00" /* rta type */ 15438 .key = "\x00\x08" /* rta length */ 15439 "\x00\x01" /* rta type */ 15495 .key = "\x08\x00" /* rta length */ 15496 "\x01\x00" /* rta type */ 15498 .key = "\x00\x08" /* rta length */ 15499 "\x00\x01" /* rta type */ 15555 .key = "\x08\x00" /* rta length */ 15556 "\x01\x00" /* rta type */ 15558 .key = "\x00\x08" /* rta length */ 15559 "\x00\x01" /* rta type */ 15617 .key = "\x08\x00" /* rta length */ 15618 "\x01\x00" /* rta type */ 15620 .key = "\x00\x08" /* rta length */ 15621 "\x00\x01" /* rta type */ 15683 .key = "\x08\x00" /* rta length */ 15684 "\x01\x00" /* rta type */ 15686 .key = "\x00\x08" /* rta length */ 15687 "\x00\x01" /* rta type */ 15753 .key = "\x08\x00" /* rta length */ 15754 "\x01\x00" /* rta type */ 15756 .key = "\x00\x08" /* rta length */ 15757 "\x00\x01" /* rta type */ 15815 .key = "\x08\x00" /* rta length */ 15816 "\x01\x00" /* rta type */ 15818 .key = "\x00\x08" /* rta length */ 15819 "\x00\x01" /* rta type */ 15877 .key = "\x08\x00" /* rta length */ 15878 "\x01\x00" /* rta type */ 15880 .key = "\x00\x08" /* rta length */ 15881 "\x00\x01" /* rta type */ 15941 .key = "\x08\x00" /* rta length */ 15942 "\x01\x00" /* rta type */ 15944 .key = "\x00\x08" /* rta length */ 15945 "\x00\x01" /* rta type */ 16009 .key = "\x08\x00" /* rta length */ 16010 "\x01\x00" /* rta type */ 16012 .key = "\x00\x08" /* rta length */ 16013 "\x00\x01" /* rta type */
|
/linux-4.1.27/include/uapi/linux/ |
H A D | rtnetlink.h | 165 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \ 166 (rta)->rta_len >= sizeof(struct rtattr) && \ 167 (rta)->rta_len <= (len)) 168 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), \ 169 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len))) 172 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0))) 173 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
|
/linux-4.1.27/drivers/edac/ |
H A D | octeon_edac-pci.c | 44 if (cfg01.s.rta) { octeon_pci_poll() 46 cfg01.s.rta = 1; /* Reset */ octeon_pci_poll()
|
/linux-4.1.27/include/crypto/ |
H A D | algapi.h | 161 const char *crypto_attr_alg_name(struct rtattr *rta); 162 struct crypto_alg *crypto_attr_alg2(struct rtattr *rta, 166 static inline struct crypto_alg *crypto_attr_alg(struct rtattr *rta, crypto_attr_alg() argument 169 return crypto_attr_alg2(rta, NULL, type, mask); crypto_attr_alg() 172 int crypto_attr_u32(struct rtattr *rta, u32 *num);
|
/linux-4.1.27/include/crypto/internal/ |
H A D | hash.h | 95 struct hash_alg_common *ahash_attr_alg(struct rtattr *rta, u32 type, u32 mask); 114 struct shash_alg *shash_attr_alg(struct rtattr *rta, u32 type, u32 mask);
|
/linux-4.1.27/net/ipv4/ |
H A D | esp4.c | 549 struct rtattr *rta; esp_init_authenc() local 591 rta = (void *)p; esp_init_authenc() 592 rta->rta_type = CRYPTO_AUTHENC_KEYA_PARAM; esp_init_authenc() 593 rta->rta_len = RTA_LENGTH(sizeof(*param)); esp_init_authenc() 594 param = RTA_DATA(rta); esp_init_authenc()
|
/linux-4.1.27/net/ipv6/ |
H A D | esp6.c | 491 struct rtattr *rta; esp_init_authenc() local 533 rta = (void *)p; esp_init_authenc() 534 rta->rta_type = CRYPTO_AUTHENC_KEYA_PARAM; esp_init_authenc() 535 rta->rta_len = RTA_LENGTH(sizeof(*param)); esp_init_authenc() 536 param = RTA_DATA(rta); esp_init_authenc()
|
/linux-4.1.27/net/xfrm/ |
H A D | xfrm_user.c | 268 struct nlattr *rta) attach_one_algo() 273 if (!rta) attach_one_algo() 276 ualg = nla_data(rta); attach_one_algo() 293 struct nlattr *rta) attach_auth() 299 if (!rta) attach_auth() 302 ualg = nla_data(rta); attach_auth() 323 struct nlattr *rta) attach_auth_trunc() 328 if (!rta) attach_auth_trunc() 331 ualg = nla_data(rta); attach_auth_trunc() 353 struct nlattr *rta) attach_aead() 358 if (!rta) attach_aead() 361 ualg = nla_data(rta); attach_aead() 397 struct nlattr *rta) xfrm_alloc_replay_state_esn() 402 if (!rta) xfrm_alloc_replay_state_esn() 405 up = nla_data(rta); xfrm_alloc_replay_state_esn() 407 ulen = nla_len(rta) >= klen ? klen : sizeof(*up); xfrm_alloc_replay_state_esn() 1035 struct nlattr *rta = attrs[XFRMA_SPD_IPV4_HTHRESH]; xfrm_set_spdinfo() local 1037 if (nla_len(rta) < sizeof(*thresh4)) xfrm_set_spdinfo() 1039 thresh4 = nla_data(rta); xfrm_set_spdinfo() 1044 struct nlattr *rta = attrs[XFRMA_SPD_IPV6_HTHRESH]; xfrm_set_spdinfo() local 1046 if (nla_len(rta) < sizeof(*thresh6)) xfrm_set_spdinfo() 1048 thresh6 = nla_data(rta); xfrm_set_spdinfo() 266 attach_one_algo(struct xfrm_algo **algpp, u8 *props, struct xfrm_algo_desc *(*get_byname)(const char *, int), struct nlattr *rta) attach_one_algo() argument 292 attach_auth(struct xfrm_algo_auth **algpp, u8 *props, struct nlattr *rta) attach_auth() argument 322 attach_auth_trunc(struct xfrm_algo_auth **algpp, u8 *props, struct nlattr *rta) attach_auth_trunc() argument 352 attach_aead(struct xfrm_algo_aead **algpp, u8 *props, struct nlattr *rta) attach_aead() argument 395 xfrm_alloc_replay_state_esn(struct xfrm_replay_state_esn **replay_esn, struct xfrm_replay_state_esn **preplay_esn, struct nlattr *rta) xfrm_alloc_replay_state_esn() argument
|
/linux-4.1.27/arch/mips/include/asm/octeon/ |
H A D | cvmx-pciercx-defs.h | 140 uint32_t rta:1; member in struct:cvmx_pciercx_cfg001::cvmx_pciercx_cfg001_s 182 uint32_t rta:1; 338 uint32_t rta:1; member in struct:cvmx_pciercx_cfg007::cvmx_pciercx_cfg007_s 366 uint32_t rta:1;
|
H A D | cvmx-pci-defs.h | 202 uint32_t rta:1; member in struct:cvmx_pci_cfg01::cvmx_pci_cfg01_s 244 uint32_t rta:1;
|
/linux-4.1.27/kernel/rcu/ |
H A D | rcutorture.c | 1204 pr_cont("rtc: %p ver: %lu tfle: %d rta: %d rtaf: %d rtf: %d ",
|