| /linux/fs/btrfs/ |
| H A D | space-info.c | 559 struct reserve_ticket *ticket, int error) in remove_ticket() argument 563 if (!list_empty(&ticket->list)) { in remove_ticket() 564 list_del_init(&ticket->list); in remove_ticket() 565 ASSERT(space_info->reclaim_size >= ticket->bytes, in remove_ticket() 567 space_info->reclaim_size, ticket->bytes); in remove_ticket() 568 space_info->reclaim_size -= ticket->bytes; in remove_ticket() 571 spin_lock(&ticket->lock); in remove_ticket() 577 if (error && ticket->bytes > 0) in remove_ticket() 578 ticket->error = error; in remove_ticket() 580 ticket->bytes = 0; in remove_ticket() [all …]
|
| /linux/net/rxrpc/ |
| H A D | key.c | 96 memcpy(&token->kad->ticket, &xdr[8], tktlen); in rxrpc_preparse_xdr_rxkad() 110 token->kad->ticket[0], token->kad->ticket[1], in rxrpc_preparse_xdr_rxkad() 111 token->kad->ticket[2], token->kad->ticket[3], in rxrpc_preparse_xdr_rxkad() 112 token->kad->ticket[4], token->kad->ticket[5], in rxrpc_preparse_xdr_rxkad() 113 token->kad->ticket[6], token->kad->ticket[7]); in rxrpc_preparse_xdr_rxkad() 162 * opaque ticket<>; 173 const __be32 *ticket, *key; rxrpc_preparse_xdr_yfs_rxgk() local [all...] |
| H A D | rxgk_app.c | 51 void *payload, *ticket; in rxgk_yfs_decode_ticket() local 83 ticket = payload + pre_ticket_len; in rxgk_yfs_decode_ticket() 84 memcpy(ticket, buffer, ticket_len); in rxgk_yfs_decode_ticket() 98 t = ticket + sizeof(__be32) * 2 + xdr_round_up(klen); in rxgk_yfs_decode_ticket() 117 memcpy(q, ticket + sizeof(__be32) * 2, klen); in rxgk_yfs_decode_ticket() 121 if (WARN_ON((unsigned long)q != (unsigned long)ticket)) { in rxgk_yfs_decode_ticket() 185 void *ticket; in rxgk_extract_token() local 232 ticket = token; in rxgk_extract_token() 233 ret = rxgk_decrypt(krb5, token_enc, &ticket, &ticket_len, &ec); in rxgk_extract_token() 243 ret = conn->security->default_decode_ticket(conn, skb, ticket, in rxgk_extract_token()
|
| H A D | rxkad.c | 733 ret = skb_store_bits(response, offset, token->kad->ticket, in rxkad_encrypt_response() 794 * decrypt the kerberos IV ticket in the response in rxkad_validate_challenge() 799 void *ticket, size_t ticket_len, in rxkad_validate_challenge() 822 ticket, ticket_len); in rxkad_insert_response_header() 823 p = ticket; in rxkad_insert_response_header() 843 /* extract the ticket flags */ in rxkad_insert_response_header() 864 /* get the IPv4 address of the entity that requested the ticket */ in rxkad_respond_to_challenge() 869 /* get the session key from the ticket */ in rxkad_respond_to_challenge() 875 /* get the ticket's lifetime */ in rxkad_respond_to_challenge() 879 /* get the issue time of the ticket */ in rxkad_respond_to_challenge() 947 rxkad_decrypt_ticket(struct rxrpc_connection * conn,struct key * server_key,struct sk_buff * skb,void * ticket,size_t ticket_len,struct rxrpc_crypt * _session_key,time64_t * _expiry) rxkad_decrypt_ticket() argument 1122 void *ticket; rxkad_verify_response() local [all...] |
| H A D | rxgk_common.h | 44 void *ticket, unsigned int ticket_len,
|
| H A D | rxgk.c | 820 h.ticket_len = htonl(gk->key->ticket.len); in rxgk_insert_response_header() 943 8 + (4 + xdr_round_up(gk->key->ticket.len)) + (4 + authx_len); in rxgk_construct_response() 957 ret = skb_store_bits(response, offset, gk->key->ticket.data, gk->key->ticket.len); in rxgk_construct_response() 960 offset += gk->key->ticket.len; in rxgk_construct_response() 961 ret = rxgk_pad_out(response, gk->key->ticket.len, offset); in rxgk_construct_response() 1223 /* We now have a key instantiated from the decrypted ticket. We can in rxgk_verify_response() 1224 * pass this to the application so that they can parse the ticket in rxgk_verify_response() 1229 * the ticket doesn't necessarily match that of the transport. in rxgk_verify_response() 1298 * also come out this way if the ticket decryptio in rxgk_verify_response() [all...] |
| /linux/fs/xfs/ |
| H A D | xfs_log.c | 26 struct xlog_ticket *ticket; member 60 struct xlog_ticket *ticket); 472 struct xlog_ticket *ticket) in xlog_state_release_iclog() argument 518 xlog_sync(log, iclog, ticket); in xlog_state_release_iclog() 806 struct xlog_ticket *ticket) in xlog_write_one_vec() argument 816 ticket->t_curr_res -= lv.lv_bytes; in xlog_write_one_vec() 819 return xlog_write(log, ctx, &lv_chain, ticket, lv.lv_bytes); in xlog_write_one_vec() 830 struct xlog_ticket *ticket) in xlog_write_unmount_record() argument 838 .oh_tid = cpu_to_be32(ticket->t_tid), in xlog_write_unmount_record() 851 return xlog_write_one_vec(log, NULL, ®, ticket); in xlog_write_unmount_record() [all …]
|
| H A D | xfs_log_cil.c | 129 ctx->ticket->t_curr_res += cilpcp->space_reserved; in xlog_cil_push_pcp_aggregate() 207 log->l_cilp->xc_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_init_post_recovery() 685 ctx_res = ctx->ticket->t_unit_res; in xlog_cil_insert_items() 1175 return xlog_write(log, ctx, &ctx->lv_chain, ctx->ticket, chain_len); in xlog_cil_write_chain() 1191 .oh_tid = cpu_to_be32(ctx->ticket->t_tid), in xlog_cil_write_commit_record() 1207 error = xlog_write_one_vec(log, ctx, ®, ctx->ticket); in xlog_cil_write_commit_record() 1238 struct xlog_ticket *tic = ctx->ticket; in xlog_cil_build_trans_hdr() 1392 struct xlog_ticket *ticket; in xlog_cil_push_work() local 1395 new_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_push_work() 1534 ticket = ctx->ticket; in xlog_cil_push_work() [all …]
|
| /linux/include/drm/ttm/ |
| H A D | ttm_execbuf_util.h | 63 void ttm_eu_backoff_reservation(struct ww_acquire_ctx *ticket, 99 int ttm_eu_reserve_buffers(struct ww_acquire_ctx *ticket, 115 void ttm_eu_fence_buffer_objects(struct ww_acquire_ctx *ticket,
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_gem_shrinker.c | 136 active_purge(struct drm_gem_object *obj, struct ww_acquire_ctx *ticket) in active_purge() argument 141 return purge(obj, ticket); in active_purge() 145 active_evict(struct drm_gem_object *obj, struct ww_acquire_ctx *ticket) in active_evict() argument 150 return evict(obj, ticket); in active_evict() 159 bool (*shrink)(struct drm_gem_object *obj, struct ww_acquire_ctx *ticket); in msm_gem_shrinker_scan() 225 vmap_shrink(struct drm_gem_object *obj, struct ww_acquire_ctx *ticket) in vmap_shrink() argument
|
| /linux/include/asm-generic/ |
| H A D | ticket_spinlock.h | 36 u16 ticket = val >> 16; in ticket_spin_lock() local 38 if (ticket == (u16)val) in ticket_spin_lock() 49 atomic_cond_read_acquire(&lock->val, ticket == (u16)VAL); in ticket_spin_lock()
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_validation.h | 62 struct ww_acquire_ctx ticket; member 122 return ttm_eu_reserve_buffers(&ctx->ticket, &ctx->bo_list, intr, in vmw_validation_bo_reserve() 138 ttm_eu_fence_buffer_objects(&ctx->ticket, &ctx->bo_list, in vmw_validation_bo_fence()
|
| H A D | vmwgfx_resource.c | 517 vmw_resource_check_buffer(struct ww_acquire_ctx *ticket, in vmw_resource_check_buffer() argument 538 ret = ttm_eu_reserve_buffers(ticket, &val_list, interruptible, NULL); in vmw_resource_check_buffer() 558 ttm_eu_backoff_reservation(ticket, &val_list); in vmw_resource_check_buffer() 611 vmw_resource_backoff_reservation(struct ww_acquire_ctx *ticket, in vmw_resource_backoff_reservation() argument 621 ttm_eu_backoff_reservation(ticket, &val_list); in vmw_resource_backoff_reservation() 634 static int vmw_resource_do_evict(struct ww_acquire_ctx *ticket, in vmw_resource_do_evict() argument 645 ret = vmw_resource_check_buffer(ticket, res, interruptible, &val_buf); in vmw_resource_do_evict() 660 vmw_resource_backoff_reservation(ticket, &val_buf); in vmw_resource_do_evict() 901 struct ww_acquire_ctx ticket; in vmw_resource_evict_type() local 916 ret = vmw_resource_do_evict(&ticket, evict_res, false); in vmw_resource_evict_type()
|
| H A D | vmwgfx_validation.c | 848 ttm_eu_backoff_reservation(&ctx->ticket, &ctx->bo_list); in vmw_validation_bo_backoff()
|
| /linux/include/drm/ |
| H A D | drm_exec.h | 32 struct ww_acquire_ctx ticket; member 174 return &exec->ticket; in drm_exec_ticket()
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-cmd-queue.h | 154 uint64_t ticket[(CVMX_CMD_QUEUE_END >> 16) * 256]; member 278 …[ticket_ptr] "=" GCC_OFF_SMALL_ASM()(__cvmx_cmd_queue_state_ptr->ticket[__cvmx_cmd_queue_get_index… in __cvmx_cmd_queue_lock() 279 [now_serving] "=m"(qptr->now_serving), [ticket] "=r"(tmp), in __cvmx_cmd_queue_lock()
|
| /linux/tools/tracing/latency/ |
| H A D | latency-collector.c | 185 int ticket; member 666 req->ticket = r; in printstate_next_ticket() 675 if (req->ticket > printstate.ticket_completed) in printstate_mark_req_completed() 676 printstate.ticket_completed = req->ticket; in printstate_mark_req_completed() 682 return (printstate.ticket_counter != req->ticket); in printstate_has_new_req_arrived() 764 int diff = req->ticket - req->ticket_completed_ref; in table_get_probability() 1095 sec, us, req->ticket, str); in __print_skipmessage() 1098 sec, us, req->ticket); in __print_skipmessage() 1166 sec, us, req->ticket, slept_ms); in print_tracefile() 1170 us, req->ticket); in print_tracefile()
|
| /linux/drivers/gpu/drm/virtio/ |
| H A D | virtgpu_gem.c | 228 &objs->ticket); in virtio_gpu_array_lock_resv() 266 &objs->ticket); in virtio_gpu_array_unlock_resv()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_vm.h | 511 struct ww_acquire_ctx *ticket, 524 struct ww_acquire_ctx *ticket); 570 void amdgpu_vm_bo_trace_cs(struct amdgpu_vm *vm, struct ww_acquire_ctx *ticket);
|
| H A D | amdgpu_vm.c | 586 struct ww_acquire_ctx *ticket, in amdgpu_vm_validate() argument 632 if (!ticket) in amdgpu_vm_validate() 640 if (dma_resv_locking_ctx(bo->tbo.base.resv) != ticket) in amdgpu_vm_validate() 1641 struct ww_acquire_ctx *ticket) in amdgpu_vm_handle_moved() argument 1671 } else if (ticket && dma_resv_locking_ctx(resv) == ticket) { in amdgpu_vm_handle_moved() 2178 void amdgpu_vm_bo_trace_cs(struct amdgpu_vm *vm, struct ww_acquire_ctx *ticket) in amdgpu_vm_bo_trace_cs() argument 2192 ticket) in amdgpu_vm_bo_trace_cs()
|
| H A D | amdgpu_amdkfd_gpuvm.c | 482 struct ww_acquire_ctx *ticket) in vm_validate_pt_pd_bos() argument 488 ret = amdgpu_vm_validate(adev, vm, ticket, in vm_validate_pt_pd_bos() 1352 struct ww_acquire_ctx *ticket) in process_validate_vms() argument 1359 ret = vm_validate_pt_pd_bos(peer_vm, ticket); in process_validate_vms()
|
| /linux/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-cmd-queue.c | 188 ticket[__cvmx_cmd_queue_get_index(queue_id)] = 0; in cvmx_cmd_queue_initialize()
|
| /linux/Documentation/locking/ |
| H A D | ww-mutex-design.rst | 29 to be locked, the caller would be assigned a unique reservation id/ticket, 31 associated with a execbuf, the one with the lowest reservation ticket (i.e. 36 In the RDBMS literature, a reservation ticket is associated with a transaction. 65 acquired when starting the lock acquisition. This ticket is stored in the 105 better to avoid grabbing a deadlock avoidance ticket).
|
| /linux/net/sunrpc/xprtrdma/ |
| H A D | svc_rdma_sendto.c | 361 int ticket; in svc_rdma_sq_wait() local 377 ticket = atomic_fetch_inc(&rdma->sc_sq_ticket_head); in svc_rdma_sq_wait() 385 atomic_read(&rdma->sc_sq_ticket_tail) == ticket); in svc_rdma_sq_wait()
|
| /linux/Documentation/filesystems/ |
| H A D | afs.rst | 213 Currently the username, realm, password and proposed ticket lifetime are
|