#ifndef _FS_CEPH_AUTH_X_H #define _FS_CEPH_AUTH_X_H #include #include #include "crypto.h" #include "auth_x_protocol.h" /* * Handle ticket for a single service. */ struct ceph_x_ticket_handler { struct rb_node node; unsigned int service; struct ceph_crypto_key session_key; bool have_key; u64 secret_id; struct ceph_buffer *ticket_blob; unsigned long renew_after, expires; }; #define CEPHX_AU_ENC_BUF_LEN 128 /* big enough for encrypted blob */ struct ceph_x_authorizer { struct ceph_authorizer base; struct ceph_crypto_key session_key; struct ceph_buffer *buf; unsigned int service; u64 nonce; u64 secret_id; char enc_buf[CEPHX_AU_ENC_BUF_LEN] __aligned(8); }; struct ceph_x_info { struct ceph_crypto_key secret; bool starting; u64 server_challenge; unsigned int have_keys; struct rb_root ticket_handlers; struct ceph_x_authorizer auth_authorizer; }; int ceph_x_init(struct ceph_auth_client *ac); #endif 87'/> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net/rds
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2016-11-10 10:59:15 +0530
committerMark Brown <broonie@kernel.org>2016-11-11 15:36:38 +0000
commit205321f0927ad2303e7f71767d402e0ff36a9a87 (patch)
treefc103f416e5df36a8a2a6c5d88f24f4f6c5a65bc /net/rds
parent1001354ca34179f3db924eb66672442a173147dc (diff)
regulator: lp873x: Add support for populating input supply
In order to have a proper topology of regulators for a platform, each registering regulator needs to populate supply_name field for identifying its supply's name. Add supply_name field for lp873x regulators. Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Acked-for-MFD-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/rds')