Searched refs:ptr (Results 1 - 25 of 85) sorted by relevance

1234

/sssd/src/util/
H A Dutil_sss_idmap.c29 void sss_idmap_talloc_free(void *ptr, void *pvt) argument
31 talloc_free(ptr);
H A Dutil_sss_idmap.h26 void sss_idmap_talloc_free(void *ptr, void *pvt);
H A Dmemory.c44 static int mem_holder_destructor(void *ptr) argument
48 h = talloc_get_type(ptr, struct mem_holder);
53 void *ptr,
58 if (!ptr || !fn) return NULL;
63 h->mem = ptr;
52 sss_mem_attach(TALLOC_CTX *mem_ctx, void *ptr, void_destructor_fn_t *fn) argument
H A Drefcount.c32 void *ptr; member in struct:wrapper
40 talloc_free(wrapper->ptr);
58 wrapper->ptr = talloc_named_const(NULL, size, type_name);
59 if (wrapper->ptr == NULL) {
64 refcount_pos = (char *)wrapper->ptr + refcount_offset;
70 return wrapper->ptr;
84 wrapper->ptr = source;
85 refcount_pos = (char *)wrapper->ptr + refcount_offset;
91 return wrapper->ptr;
H A Dsss_utf8.h35 void sss_utf8_free(void *ptr);
H A Dmmap_cache.h47 #define MC_PTR_ADD(ptr, bytes) (void *)((uint8_t *)(ptr) + (bytes))
48 #define MC_PTR_DIFF(ptr, base) ((uint8_t *)(ptr) - (uint8_t *)(base))
66 #define MC_PTR_TO_SLOT(base, ptr) (MC_PTR_DIFF(ptr, base) / MC_SLOT_SIZE)
109 rel_ptr_t next1; /* ptr of next record rel to data_table */
111 rel_ptr_t next2; /* ptr of next record rel to data_table */
121 rel_ptr_t name; /* ptr to name string, rel. to struct base addr */
131 rel_ptr_t name; /* ptr t
[all...]
H A Dutil_safealign.h37 #define DISCARD_ALIGN(ptr, type) ((type)(void *)(ptr))
39 #define IS_ALIGNED(ptr, type) \
40 ((uintptr_t)(ptr) % sizeof(type) == 0)
H A Dsss_utf8.c39 void sss_utf8_free(void *ptr) argument
41 return free(ptr);
44 void sss_utf8_free(void *ptr) argument
46 return g_free(ptr);
H A Dutil.h108 #define talloc_zfree(ptr) do { talloc_free(discard_const(ptr)); ptr = NULL; } while(0)
113 # define discard_const_p(type, ptr) ((type *)((intptr_t)(ptr)))
115 # define discard_const_p(type, ptr) ((type *)(ptr))
195 void *ptr,
/sssd/src/sss_client/libwbclient/
H A Dwbclient_common.c74 void (*destructor)(void *ptr);
83 static struct wbcMemPrefix *wbcMemToPrefix(void *ptr) argument
85 return (struct wbcMemPrefix *)((void *)(((char *)ptr) - wbcPrefixLen()));
89 void (*destructor)(void *ptr))
145 static void wbcStringArrayDestructor(void *ptr) argument
147 char **p = (char **)ptr;
88 wbcAllocateMemory(size_t nelem, size_t elsize, void (*destructor)(void *ptr)) argument
H A Dwbclient_internal.h39 void (*destructor)(void *ptr));
H A Dwbc_util_common.c29 static void wbcNamedBlobDestructor(void *ptr) argument
31 struct wbcNamedBlob *b = (struct wbcNamedBlob *)ptr;
H A Dwbc_util_sssd.c38 static void wbcInterfaceDetailsDestructor(void *ptr) argument
40 struct wbcInterfaceDetails *i = (struct wbcInterfaceDetails *)ptr;
/sssd/src/providers/proxy/
H A Dproxy_client.c84 req = talloc_get_type(value.ptr, struct tevent_req);
109 void *ptr)
116 proxy_cli = talloc_get_type(ptr, struct proxy_client);
106 proxy_client_timeout(struct tevent_context *ev, struct tevent_timer *te, struct timeval t, void *ptr) argument
H A Dproxy_auth.c102 value.ptr = req;
157 struct timeval t, void *ptr);
313 struct timeval t, void *ptr)
318 req = talloc_get_type(ptr, struct tevent_req);
511 static void proxy_pam_conv_reply(DBusPendingCall *pending, void *ptr);
567 static void proxy_pam_conv_reply(DBusPendingCall *pending, void *ptr) argument
578 req = talloc_get_type(ptr, struct tevent_req);
681 req = talloc_get_type(entry->value.ptr, struct tevent_req);
311 pc_init_timeout(struct tevent_context *ev, struct tevent_timer *te, struct timeval t, void *ptr) argument
/sssd/src/responder/common/data_provider/
H A Drdp_message.c149 static void rdp_message_done(DBusPendingCall *pending, void *ptr);
194 static void rdp_message_done(DBusPendingCall *pending, void *ptr) argument
200 req = talloc_get_type(ptr, struct tevent_req);
232 void *ptr);
260 void *ptr)
269 sbus_req = talloc_get_type(ptr, struct sbus_request);
259 rdp_message_send_and_reply_done(DBusPendingCall *pending, void *ptr) argument
/sssd/src/sss_client/
H A Dnss_passwd.c34 size_t ptr; member in struct:sss_nss_getpwent_data
45 sss_nss_getpwent_data.ptr = 0;
388 sss_nss_getpwent_data.ptr < sss_nss_getpwent_data.len) {
390 repbuf = sss_nss_getpwent_data.data + sss_nss_getpwent_data.ptr;
391 replen = sss_nss_getpwent_data.len - sss_nss_getpwent_data.ptr;
404 sss_nss_getpwent_data.ptr = sss_nss_getpwent_data.len - replen;
434 sss_nss_getpwent_data.ptr = 8; /* skip metadata fields */
H A Dnss_services.c36 size_t ptr; member in struct:sss_nss_getservent_data
47 sss_nss_getservent_data.ptr = 0;
418 sss_nss_getservent_data.ptr < sss_nss_getservent_data.len) {
420 repbuf = sss_nss_getservent_data.data + sss_nss_getservent_data.ptr;
421 replen = sss_nss_getservent_data.len - sss_nss_getservent_data.ptr;
434 sss_nss_getservent_data.ptr = sss_nss_getservent_data.len - replen;
466 sss_nss_getservent_data.ptr = SVC_METADATA_COUNT;
/sssd/src/responder/common/
H A Dresponder_dp.c56 static int sss_dp_callback_destructor(void *ptr) argument
59 talloc_get_type(ptr, struct sss_dp_callback);
66 static int sss_dp_req_destructor(void *ptr) argument
69 struct sss_dp_req *sdp_req = talloc_get_type(ptr, struct sss_dp_req);
131 struct timeval t, void *ptr)
133 /* ptr is a pointer to sidereq */
135 talloc_zfree(ptr);
160 sdp_req = talloc_get_type(values[i].ptr, struct sss_dp_req);
354 sdp_req = talloc_get_type(value.ptr, struct sss_dp_req);
649 static void sss_dp_internal_get_done(DBusPendingCall *pending, void *ptr);
129 sss_dp_req_timeout(struct tevent_context *ev, struct tevent_timer *te, struct timeval t, void *ptr) argument
744 sss_dp_internal_get_done(DBusPendingCall *pending, void *ptr) argument
[all...]
/sssd/src/sss_client/autofs/
H A Dsss_autofs.c44 size_t ptr; member in struct:sss_getautomntent_data
149 sss_getautomntent_data.ptr >= sss_getautomntent_data.len) {
163 dp = sss_getautomntent_data.ptr;
166 if (len + sss_getautomntent_data.ptr > sss_getautomntent_data.len) {
208 sss_getautomntent_data.ptr = dp;
243 sss_getautomntent_data.ptr = rp;
/sssd/src/responder/pam/
H A Dpamsrv_dp.c34 static void pam_dp_process_reply(DBusPendingCall *pending, void *ptr) argument
43 pdp_req = talloc_get_type(ptr, struct pam_auth_dp_req);
/sssd/src/tools/sssctl/
H A Dsssctl_sifp.c51 static void sssctl_sifp_talloc_free(void *ptr, void *pvt) argument
53 talloc_free(ptr);
/sssd/src/providers/ad/
H A Dad_gpo_child.c203 char *ptr; local
225 ptr = smb_path_with_suffix + 1;
226 while ((ptr = strchr(ptr, delim))) {
227 ptr++;
231 ptr = smb_path_with_suffix + 1;
235 first = ptr;
259 ptr = last;
/sssd/src/providers/data_provider/
H A Ddp_client.c153 void *ptr)
160 dp_cli = talloc_get_type(ptr, struct dp_client);
150 dp_client_handshake_timeout(struct tevent_context *ev, struct tevent_timer *te, struct timeval t, void *ptr) argument
/sssd/src/responder/secrets/
H A Dsecsrv.c109 static int sec_responder_ctx_destructor(void *ptr) argument
111 struct resp_ctx *rctx = talloc_get_type(ptr, struct resp_ctx);

Completed in 124 milliseconds

1234