Lines Matching refs:au
43 struct ceph_none_authorizer *au) in ceph_auth_none_build_authorizer() argument
45 void *p = au->buf; in ceph_auth_none_build_authorizer()
46 void *const end = p + sizeof(au->buf); in ceph_auth_none_build_authorizer()
55 au->buf_len = p - (void *)au->buf; in ceph_auth_none_build_authorizer()
56 dout("%s built authorizer len %d\n", __func__, au->buf_len); in ceph_auth_none_build_authorizer()
97 struct ceph_none_authorizer *au; in ceph_auth_none_create_authorizer() local
100 au = kmalloc(sizeof(*au), GFP_NOFS); in ceph_auth_none_create_authorizer()
101 if (!au) in ceph_auth_none_create_authorizer()
104 au->base.destroy = ceph_auth_none_destroy_authorizer; in ceph_auth_none_create_authorizer()
106 ret = ceph_auth_none_build_authorizer(ac, au); in ceph_auth_none_create_authorizer()
108 kfree(au); in ceph_auth_none_create_authorizer()
112 auth->authorizer = (struct ceph_authorizer *) au; in ceph_auth_none_create_authorizer()
113 auth->authorizer_buf = au->buf; in ceph_auth_none_create_authorizer()
114 auth->authorizer_buf_len = au->buf_len; in ceph_auth_none_create_authorizer()