/net/rxrpc/ |
D | conn_object.c | 110 if (!conn || atomic_read(&conn->usage) == 0) in rxrpc_find_connection_rcu() 120 if (!conn || atomic_read(&conn->usage) == 0) { in rxrpc_find_connection_rcu() 268 int n = atomic_fetch_add_unless(&conn->usage, 1, 0); in rxrpc_queue_conn() 285 int n = atomic_read(&conn->usage); in rxrpc_see_connection() 297 int n = atomic_inc_return(&conn->usage); in rxrpc_get_connection() 311 int n = atomic_fetch_add_unless(&conn->usage, 1, 0); in rxrpc_get_connection_maybe() 339 n = atomic_dec_return(&conn->usage); in rxrpc_put_service_conn() 355 _enter("{%d,u=%d}", conn->debug_id, atomic_read(&conn->usage)); in rxrpc_destroy_connection() 357 ASSERTCMP(atomic_read(&conn->usage), ==, 0); in rxrpc_destroy_connection() 396 ASSERTCMP(atomic_read(&conn->usage), >, 0); in rxrpc_service_connection_reaper() [all …]
|
D | call_object.c | 91 _leave(" = %p [%d]", call, atomic_read(&call->usage)); in rxrpc_find_call_by_user_ID() 139 atomic_set(&call->usage, 1); in rxrpc_alloc_call() 244 atomic_read(&call->usage), in rxrpc_new_client_call() 295 atomic_read(&call->usage), here, NULL); in rxrpc_new_client_call() 318 atomic_read(&call->usage), here, ERR_PTR(ret)); in rxrpc_new_client_call() 376 int n = atomic_fetch_add_unless(&call->usage, 1, 0); in rxrpc_queue_call() 393 int n = atomic_read(&call->usage); in __rxrpc_queue_call() 410 int n = atomic_read(&call->usage); in rxrpc_see_call() 423 int n = atomic_inc_return(&call->usage); in rxrpc_get_call() 450 _enter("{%d,%d}", call->debug_id, atomic_read(&call->usage)); in rxrpc_release_call() [all …]
|
D | peer_object.c | 124 atomic_read(&peer->usage) > 0) in __rxrpc_lookup_peer_rcu() 143 _leave(" = %p {u=%d}", peer, atomic_read(&peer->usage)); in rxrpc_lookup_peer_rcu() 218 atomic_set(&peer->usage, 1); in rxrpc_alloc_peer() 371 _leave(" = %p {u=%d}", peer, atomic_read(&peer->usage)); in rxrpc_lookup_peer() 383 n = atomic_inc_return(&peer->usage); in rxrpc_get_peer() 396 int n = atomic_fetch_add_unless(&peer->usage, 1, 0); in rxrpc_get_peer_maybe() 434 n = atomic_dec_return(&peer->usage); in rxrpc_put_peer() 451 n = atomic_dec_return(&peer->usage); in rxrpc_put_peer_locked() 476 atomic_read(&peer->usage), in rxrpc_destroy_all_peers()
|
D | local_object.c | 81 atomic_set(&local->usage, 1); in rxrpc_alloc_local() 323 n = atomic_inc_return(&local->usage); in rxrpc_get_local() 336 int n = atomic_fetch_add_unless(&local->usage, 1, 0); in rxrpc_get_local_maybe() 353 int n = atomic_read(&local->usage); in rxrpc_queue_local() 370 n = atomic_dec_return(&local->usage); in rxrpc_put_local() 464 atomic_read(&local->usage), NULL); in rxrpc_local_processor() 518 local, atomic_read(&local->usage)); in rxrpc_destroy_all_locals()
|
D | peer_event.c | 309 u8 cursor = peer->rtt_cursor, usage = peer->rtt_usage; in rxrpc_peer_add_rtt() local 323 if (usage < RXRPC_RTT_CACHE_SIZE) { in rxrpc_peer_add_rtt() 324 usage++; in rxrpc_peer_add_rtt() 325 peer->rtt_usage = usage; in rxrpc_peer_add_rtt() 331 if (usage == RXRPC_RTT_CACHE_SIZE) { in rxrpc_peer_add_rtt() 335 do_div(avg, usage); in rxrpc_peer_add_rtt() 341 usage, avg); in rxrpc_peer_add_rtt()
|
D | conn_service.c | 96 if (atomic_read(&cursor->usage) == 0) in rxrpc_publish_service_conn() 129 atomic_set(&conn->usage, 2); in rxrpc_prealloc_service_connection() 138 atomic_read(&conn->usage), in rxrpc_prealloc_service_connection()
|
D | proc.c | 110 atomic_read(&call->usage), in rxrpc_call_seq_show() 192 atomic_read(&conn->usage), in rxrpc_connection_seq_show() 242 atomic_read(&peer->usage), in rxrpc_peer_seq_show()
|
D | ar-internal.h | 268 atomic_t usage; /* Number of references to the structure */ member 293 atomic_t usage; member 412 atomic_t usage; member 597 atomic_t usage; member
|
D | conn_client.c | 156 conn, atomic_read(&conn->usage)); in rxrpc_destroy_client_conn_ids() 182 atomic_set(&conn->usage, 1); in rxrpc_alloc_client_connection() 216 atomic_read(&conn->usage), in rxrpc_alloc_client_connection() 996 n = atomic_dec_return(&conn->usage); in rxrpc_put_client_conn()
|
D | call_accept.c | 88 atomic_read(&conn->usage), here); in rxrpc_service_prealloc_one() 101 atomic_read(&call->usage), in rxrpc_service_prealloc_one()
|
D | input.c | 1117 CHECK_SLAB_OKAY(&local->usage); in rxrpc_reject_packet() 1376 if (!call || atomic_read(&call->usage) == 0) { in rxrpc_input_packet()
|
D | af_rxrpc.c | 352 _enter("%d{%d}", call->debug_id, atomic_read(&call->usage)); in rxrpc_kernel_end_call()
|
/net/sunrpc/auth_gss/ |
D | gss_krb5_crypto.c | 142 arcfour_hmac_md5_usage_to_salt(unsigned int usage, u8 salt[4]) in arcfour_hmac_md5_usage_to_salt() argument 146 switch (usage) { in arcfour_hmac_md5_usage_to_salt() 167 unsigned int usage, struct xdr_netobj *cksumout) in make_checksum_hmac_md5() argument 190 if (arcfour_hmac_md5_usage_to_salt(usage, rc4salt)) { in make_checksum_hmac_md5() 191 dprintk("%s: invalid usage value %u\n", __func__, usage); in make_checksum_hmac_md5() 278 unsigned int usage, struct xdr_netobj *cksumout) in make_checksum() argument 290 cksumkey, usage, cksumout); in make_checksum() 375 unsigned int usage, struct xdr_netobj *cksumout) in make_checksum_v2() argument 746 unsigned int usage; in gss_krb5_aes_encrypt() local 752 usage = KG_USAGE_INITIATOR_SEAL; in gss_krb5_aes_encrypt() [all …]
|
D | gss_krb5_mech.c | 347 set_cdata(u8 cdata[GSS_KRB5_K5CLENGTH], u32 usage, u8 seed) in set_cdata() argument 349 cdata[0] = (usage>>24)&0xff; in set_cdata() 350 cdata[1] = (usage>>16)&0xff; in set_cdata() 351 cdata[2] = (usage>>8)&0xff; in set_cdata() 352 cdata[3] = usage&0xff; in set_cdata()
|
/net/atm/ |
D | lec_arpc.h | 51 refcount_t usage; /* usage count */ member
|
D | lec.c | 108 refcount_inc(&entry->usage); in lec_arp_hold() 113 if (refcount_dec_and_test(&entry->usage)) in lec_arp_put() 1561 refcount_set(&to_return->usage, 1); in make_entry()
|
/net/core/ |
D | net_namespace.c | 43 static struct key_tag init_net_key_domain = { .usage = REFCOUNT_INIT(1) }; 419 refcount_set(&net->key_domain->usage, 1); in net_alloc()
|
/net/ipv6/netfilter/ |
D | Kconfig | 221 server. This allows to avoid conntrack and server resource usage
|
/net/ipv4/netfilter/ |
D | Kconfig | 205 server. This allows to avoid conntrack and server resource usage
|
/net/sunrpc/ |
D | auth.c | 42 .usage = ATOMIC_INIT(1),
|
/net/netfilter/ |
D | Kconfig | 660 server. This allows to avoid conntrack and server resource usage 1472 Typical usage:
|