/linux-4.4.14/crypto/ |
H A D | algapi.c | 734 struct rtattr *rta = tb[0]; crypto_get_attr_type() local 737 if (!rta) crypto_get_attr_type() 739 if (RTA_PAYLOAD(rta) < sizeof(*algt)) crypto_get_attr_type() 741 if (rta->rta_type != CRYPTOA_TYPE) crypto_get_attr_type() 744 algt = RTA_DATA(rta); crypto_get_attr_type() 765 const char *crypto_attr_alg_name(struct rtattr *rta) crypto_attr_alg_name() argument 769 if (!rta) crypto_attr_alg_name() 771 if (RTA_PAYLOAD(rta) < sizeof(*alga)) crypto_attr_alg_name() 773 if (rta->rta_type != CRYPTOA_ALG) crypto_attr_alg_name() 776 alga = RTA_DATA(rta); crypto_attr_alg_name() 783 struct crypto_alg *crypto_attr_alg2(struct rtattr *rta, crypto_attr_alg2() argument 789 name = crypto_attr_alg_name(rta); crypto_attr_alg2() 797 int crypto_attr_u32(struct rtattr *rta, u32 *num) crypto_attr_u32() argument 801 if (!rta) crypto_attr_u32() 803 if (RTA_PAYLOAD(rta) < sizeof(*nu32)) crypto_attr_u32() 805 if (rta->rta_type != CRYPTOA_U32) crypto_attr_u32() 808 nu32 = RTA_DATA(rta); crypto_attr_u32()
|
H A D | authenc.c | 54 struct rtattr *rta = (struct rtattr *)key; crypto_authenc_extractkeys() local 57 if (!RTA_OK(rta, keylen)) crypto_authenc_extractkeys() 59 if (rta->rta_type != CRYPTO_AUTHENC_KEYA_PARAM) crypto_authenc_extractkeys() 61 if (RTA_PAYLOAD(rta) < sizeof(*param)) crypto_authenc_extractkeys() 64 param = RTA_DATA(rta); crypto_authenc_extractkeys() 67 key += RTA_ALIGN(rta->rta_len); crypto_authenc_extractkeys() 68 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 | 695 struct shash_alg *shash_attr_alg(struct rtattr *rta, u32 type, u32 mask) shash_attr_alg() argument 699 alg = crypto_attr_alg2(rta, &crypto_shash_type, type, mask); shash_attr_alg()
|
H A D | testmgr.h | 14961 .key = "\x08\x00" /* rta length */ 14962 "\x01\x00" /* rta type */ 14964 .key = "\x00\x08" /* rta length */ 14965 "\x00\x01" /* rta type */ 14980 .key = "\x08\x00" /* rta length */ 14981 "\x01\x00" /* rta type */ 14983 .key = "\x00\x08" /* rta length */ 14984 "\x00\x01" /* rta type */ 15003 .key = "\x08\x00" /* rta length */ 15004 "\x01\x00" /* rta type */ 15006 .key = "\x00\x08" /* rta length */ 15007 "\x00\x01" /* rta type */ 15022 .key = "\x08\x00" /* rta length */ 15023 "\x01\x00" /* rta type */ 15025 .key = "\x00\x08" /* rta length */ 15026 "\x00\x01" /* rta type */ 15045 .key = "\x08\x00" /* rta length */ 15046 "\x01\x00" /* rta type */ 15048 .key = "\x00\x08" /* rta length */ 15049 "\x00\x01" /* rta type */ 15073 .key = "\x08\x00" /* rta length */ 15074 "\x01\x00" /* rta type */ 15076 .key = "\x00\x08" /* rta length */ 15077 "\x00\x01" /* rta type */ 15106 .key = "\x08\x00" /* rta length */ 15107 "\x01\x00" /* rta type */ 15109 .key = "\x00\x08" /* rta length */ 15110 "\x00\x01" /* rta type */ 15138 .key = "\x08\x00" /* rta length */ 15139 "\x01\x00" /* rta type */ 15141 .key = "\x00\x08" /* rta length */ 15142 "\x00\x01" /* rta type */ 15179 .key = "\x08\x00" /* rta length */ 15180 "\x01\x00" /* rta type */ 15182 .key = "\x00\x08" /* rta length */ 15183 "\x00\x01" /* rta type */ 15225 .key = "\x08\x00" /* rta length */ 15226 "\x01\x00" /* rta type */ 15228 .key = "\x00\x08" /* rta length */ 15229 "\x00\x01" /* rta type */ 15267 .key = "\x08\x00" /* rta length */ 15268 "\x01\x00" /* rta type */ 15270 .key = "\x00\x08" /* rta length */ 15271 "\x00\x01" /* rta type */ 15314 .key = "\x08\x00" /* rta length */ 15315 "\x01\x00" /* rta type */ 15317 .key = "\x00\x08" /* rta length */ 15318 "\x00\x01" /* rta type */ 15335 .key = "\x08\x00" /* rta length */ 15336 "\x01\x00" /* rta type */ 15338 .key = "\x00\x08" /* rta length */ 15339 "\x00\x01" /* rta type */ 15360 .key = "\x08\x00" /* rta length */ 15361 "\x01\x00" /* rta type */ 15363 .key = "\x00\x08" /* rta length */ 15364 "\x00\x01" /* rta type */ 15381 .key = "\x08\x00" /* rta length */ 15382 "\x01\x00" /* rta type */ 15384 .key = "\x00\x08" /* rta length */ 15385 "\x00\x01" /* rta type */ 15406 .key = "\x08\x00" /* rta length */ 15407 "\x01\x00" /* rta type */ 15409 .key = "\x00\x08" /* rta length */ 15410 "\x00\x01" /* rta type */ 15436 .key = "\x08\x00" /* rta length */ 15437 "\x01\x00" /* rta type */ 15439 .key = "\x00\x08" /* rta length */ 15440 "\x00\x01" /* rta type */ 15471 .key = "\x08\x00" /* rta length */ 15472 "\x01\x00" /* rta type */ 15474 .key = "\x00\x08" /* rta length */ 15475 "\x00\x01" /* rta type */ 15505 .key = "\x08\x00" /* rta length */ 15506 "\x01\x00" /* rta type */ 15508 .key = "\x00\x08" /* rta length */ 15509 "\x00\x01" /* rta type */ 15548 .key = "\x08\x00" /* rta length */ 15549 "\x01\x00" /* rta type */ 15551 .key = "\x00\x08" /* rta length */ 15552 "\x00\x01" /* rta type */ 15596 .key = "\x08\x00" /* rta length */ 15597 "\x01\x00" /* rta type */ 15599 .key = "\x00\x08" /* rta length */ 15600 "\x00\x01" /* rta type */ 15640 .key = "\x08\x00" /* rta length */ 15641 "\x01\x00" /* rta type */ 15643 .key = "\x00\x08" /* rta length */ 15644 "\x00\x01" /* rta type */ 15689 .key = "\x08\x00" /* rta length */ 15690 "\x01\x00" /* rta type */ 15692 .key = "\x00\x08" /* rta length */ 15693 "\x00\x01" /* rta type */ 15727 .key = "\x08\x00" /* rta length */ 15728 "\x01\x00" /* rta type */ 15730 .key = "\x00\x08" /* rta length */ 15731 "\x00\x01" /* rta type */ 15770 .key = "\x08\x00" /* rta length */ 15771 "\x01\x00" /* rta type */ 15773 .key = "\x00\x08" /* rta length */ 15774 "\x00\x01" /* rta type */ 15812 .key = "\x08\x00" /* rta length */ 15813 "\x01\x00" /* rta type */ 15815 .key = "\x00\x08" /* rta length */ 15816 "\x00\x01" /* rta type */ 15863 .key = "\x08\x00" /* rta length */ 15864 "\x01\x00" /* rta type */ 15866 .key = "\x00\x08" /* rta length */ 15867 "\x00\x01" /* rta type */ 15919 .key = "\x08\x00" /* rta length */ 15920 "\x01\x00" /* rta type */ 15922 .key = "\x00\x08" /* rta length */ 15923 "\x00\x01" /* rta type */ 15971 .key = "\x08\x00" /* rta length */ 15972 "\x01\x00" /* rta type */ 15974 .key = "\x00\x08" /* rta length */ 15975 "\x00\x01" /* rta type */ 16030 .key = "\x08\x00" /* rta length */ 16031 "\x01\x00" /* rta type */ 16033 .key = "\x00\x08" /* rta length */ 16034 "\x00\x01" /* rta type */ 16091 .key = "\x08\x00" /* rta length */ 16092 "\x01\x00" /* rta type */ 16094 .key = "\x00\x08" /* rta length */ 16095 "\x00\x01" /* rta type */ 16152 .key = "\x08\x00" /* rta length */ 16153 "\x01\x00" /* rta type */ 16155 .key = "\x00\x08" /* rta length */ 16156 "\x00\x01" /* rta type */ 16215 .key = "\x08\x00" /* rta length */ 16216 "\x01\x00" /* rta type */ 16218 .key = "\x00\x08" /* rta length */ 16219 "\x00\x01" /* rta type */ 16282 .key = "\x08\x00" /* rta length */ 16283 "\x01\x00" /* rta type */ 16285 .key = "\x00\x08" /* rta length */ 16286 "\x00\x01" /* rta type */ 16353 .key = "\x08\x00" /* rta length */ 16354 "\x01\x00" /* rta type */ 16356 .key = "\x00\x08" /* rta length */ 16357 "\x00\x01" /* rta type */ 16416 .key = "\x08\x00" /* rta length */ 16417 "\x01\x00" /* rta type */ 16419 .key = "\x00\x08" /* rta length */ 16420 "\x00\x01" /* rta type */ 16479 .key = "\x08\x00" /* rta length */ 16480 "\x01\x00" /* rta type */ 16482 .key = "\x00\x08" /* rta length */ 16483 "\x00\x01" /* rta type */ 16544 .key = "\x08\x00" /* rta length */ 16545 "\x01\x00" /* rta type */ 16547 .key = "\x00\x08" /* rta length */ 16548 "\x00\x01" /* rta type */ 16613 .key = "\x08\x00" /* rta length */ 16614 "\x01\x00" /* rta type */ 16616 .key = "\x00\x08" /* rta length */ 16617 "\x00\x01" /* rta type */
|
/linux-4.4.14/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.4.14/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.4.14/include/crypto/ |
H A D | algapi.h | 165 const char *crypto_attr_alg_name(struct rtattr *rta); 166 struct crypto_alg *crypto_attr_alg2(struct rtattr *rta, 170 static inline struct crypto_alg *crypto_attr_alg(struct rtattr *rta, crypto_attr_alg() argument 173 return crypto_attr_alg2(rta, NULL, type, mask); crypto_attr_alg() 176 int crypto_attr_u32(struct rtattr *rta, u32 *num);
|
/linux-4.4.14/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.4.14/net/ipv6/ |
H A D | esp6.c | 530 struct rtattr *rta; esp_init_authenc() local 576 rta = (void *)p; esp_init_authenc() 577 rta->rta_type = CRYPTO_AUTHENC_KEYA_PARAM; esp_init_authenc() 578 rta->rta_len = RTA_LENGTH(sizeof(*param)); esp_init_authenc() 579 param = RTA_DATA(rta); esp_init_authenc()
|
/linux-4.4.14/net/xfrm/ |
H A D | xfrm_user.c | 269 struct nlattr *rta) attach_one_algo() 274 if (!rta) attach_one_algo() 277 ualg = nla_data(rta); attach_one_algo() 293 static int attach_crypt(struct xfrm_state *x, struct nlattr *rta) attach_crypt() argument 298 if (!rta) attach_crypt() 301 ualg = nla_data(rta); attach_crypt() 319 struct nlattr *rta) attach_auth() 325 if (!rta) attach_auth() 328 ualg = nla_data(rta); attach_auth() 349 struct nlattr *rta) attach_auth_trunc() 354 if (!rta) attach_auth_trunc() 357 ualg = nla_data(rta); attach_auth_trunc() 378 static int attach_aead(struct xfrm_state *x, struct nlattr *rta) attach_aead() argument 383 if (!rta) attach_aead() 386 ualg = nla_data(rta); attach_aead() 423 struct nlattr *rta) xfrm_alloc_replay_state_esn() 428 if (!rta) xfrm_alloc_replay_state_esn() 431 up = nla_data(rta); xfrm_alloc_replay_state_esn() 433 ulen = nla_len(rta) >= klen ? klen : sizeof(*up); xfrm_alloc_replay_state_esn() 1058 struct nlattr *rta = attrs[XFRMA_SPD_IPV4_HTHRESH]; xfrm_set_spdinfo() local 1060 if (nla_len(rta) < sizeof(*thresh4)) xfrm_set_spdinfo() 1062 thresh4 = nla_data(rta); xfrm_set_spdinfo() 1067 struct nlattr *rta = attrs[XFRMA_SPD_IPV6_HTHRESH]; xfrm_set_spdinfo() local 1069 if (nla_len(rta) < sizeof(*thresh6)) xfrm_set_spdinfo() 1071 thresh6 = nla_data(rta); xfrm_set_spdinfo() 267 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 318 attach_auth(struct xfrm_algo_auth **algpp, u8 *props, struct nlattr *rta) attach_auth() argument 348 attach_auth_trunc(struct xfrm_algo_auth **algpp, u8 *props, struct nlattr *rta) attach_auth_trunc() argument 421 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.4.14/net/ipv4/ |
H A D | esp4.c | 588 struct rtattr *rta; esp_init_authenc() local 634 rta = (void *)p; esp_init_authenc() 635 rta->rta_type = CRYPTO_AUTHENC_KEYA_PARAM; esp_init_authenc() 636 rta->rta_len = RTA_LENGTH(sizeof(*param)); esp_init_authenc() 637 param = RTA_DATA(rta); esp_init_authenc()
|
/linux-4.4.14/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.4.14/kernel/rcu/ |
H A D | rcutorture.c | 1249 pr_cont("rtc: %p ver: %lu tfle: %d rta: %d rtaf: %d rtf: %d ",
|