Home
last modified time | relevance | path

Searched refs:ac (Results 1 – 25 of 47) sorted by relevance

12

/linux-4.19.296/drivers/s390/crypto/
Dap_card.c24 struct ap_card *ac = to_ap_card(dev); in hwtype_show() local
26 return snprintf(buf, PAGE_SIZE, "%d\n", ac->ap_dev.device_type); in hwtype_show()
34 struct ap_card *ac = to_ap_card(dev); in raw_hwtype_show() local
36 return snprintf(buf, PAGE_SIZE, "%d\n", ac->raw_hwtype); in raw_hwtype_show()
44 struct ap_card *ac = to_ap_card(dev); in depth_show() local
46 return snprintf(buf, PAGE_SIZE, "%d\n", ac->queue_depth); in depth_show()
54 struct ap_card *ac = to_ap_card(dev); in ap_functions_show() local
56 return snprintf(buf, PAGE_SIZE, "0x%08X\n", ac->functions); in ap_functions_show()
65 struct ap_card *ac = to_ap_card(dev); in request_count_show() local
70 req_cnt = atomic64_read(&ac->total_request_count); in request_count_show()
[all …]
Dzcrypt_cex4.c100 struct ap_card *ac = to_ap_card(&ap_dev->device); in zcrypt_cex4_card_probe() local
107 zc->card = ac; in zcrypt_cex4_card_probe()
108 ac->private = zc; in zcrypt_cex4_card_probe()
109 if (ap_test_bit(&ac->functions, AP_FUNC_ACCEL)) { in zcrypt_cex4_card_probe()
110 if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX4) { in zcrypt_cex4_card_probe()
115 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX5) { in zcrypt_cex4_card_probe()
127 if (ap_test_bit(&ac->functions, AP_FUNC_MEX4K) && in zcrypt_cex4_card_probe()
128 ap_test_bit(&ac->functions, AP_FUNC_CRT4K)) { in zcrypt_cex4_card_probe()
137 } else if (ap_test_bit(&ac->functions, AP_FUNC_COPRO)) { in zcrypt_cex4_card_probe()
138 if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX4) { in zcrypt_cex4_card_probe()
[all …]
Dzcrypt_cex2a.c86 struct ap_card *ac = to_ap_card(&ap_dev->device); in zcrypt_cex2a_card_probe() local
93 zc->card = ac; in zcrypt_cex2a_card_probe()
94 ac->private = zc; in zcrypt_cex2a_card_probe()
96 if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX2A) { in zcrypt_cex2a_card_probe()
104 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX3A) { in zcrypt_cex2a_card_probe()
108 if (ap_test_bit(&ac->functions, AP_FUNC_MEX4K) && in zcrypt_cex2a_card_probe()
109 ap_test_bit(&ac->functions, AP_FUNC_CRT4K)) { in zcrypt_cex2a_card_probe()
125 ac->private = NULL; in zcrypt_cex2a_card_probe()
Dap_bus.c412 struct ap_card *ac; in ap_tasklet_fn() local
424 for_each_ap_card(ac) { in ap_tasklet_fn()
425 for_each_ap_queue(aq, ac) { in ap_tasklet_fn()
438 struct ap_card *ac; in ap_pending_requests() local
442 for_each_ap_card(ac) { in ap_pending_requests()
443 for_each_ap_queue(aq, ac) { in ap_pending_requests()
1340 struct ap_card *ac; in ap_scan_bus() local
1357 ac = dev ? to_ap_card(dev) : NULL; in ap_scan_bus()
1399 (ac && ac->functions != func)) in ap_scan_bus()
1420 if (!ac) { in ap_scan_bus()
[all …]
Dzcrypt_pcixcc.c167 struct ap_card *ac = to_ap_card(&ap_dev->device); in zcrypt_pcixcc_card_probe() local
174 zc->card = ac; in zcrypt_pcixcc_card_probe()
175 ac->private = zc; in zcrypt_pcixcc_card_probe()
176 switch (ac->ap_dev.device_type) { in zcrypt_pcixcc_card_probe()
203 ac->private = NULL; in zcrypt_pcixcc_card_probe()
/linux-4.19.296/fs/afs/
Drotate.c41 fc->ac.error = SHRT_MAX; in afs_begin_vnode_operation()
44 fc->ac.error = -EINTR; in afs_begin_vnode_operation()
83 fc->ac.error = -ESTALE; in afs_start_fs_iteration()
130 fc->ac.error = -ERESTARTSYS; in afs_sleep_and_retry()
149 fc->ac.index, fc->ac.start, in afs_select_fileserver()
150 fc->ac.error, fc->ac.abort_code); in afs_select_fileserver()
158 switch (fc->ac.error) { in afs_select_fileserver()
166 _leave(" = f [okay/local %d]", fc->ac.error); in afs_select_fileserver()
173 switch (fc->ac.abort_code) { in afs_select_fileserver()
181 fc->ac.error = -EREMOTEIO; in afs_select_fileserver()
[all …]
Daddr_list.c310 bool afs_iterate_addresses(struct afs_addr_cursor *ac) in afs_iterate_addresses() argument
312 _enter("%hu+%hd", ac->start, (short)ac->index); in afs_iterate_addresses()
314 if (!ac->alist) in afs_iterate_addresses()
317 if (ac->begun) { in afs_iterate_addresses()
318 ac->index++; in afs_iterate_addresses()
319 if (ac->index == ac->alist->nr_addrs) in afs_iterate_addresses()
320 ac->index = 0; in afs_iterate_addresses()
322 if (ac->index == ac->start) { in afs_iterate_addresses()
323 ac->error = -EDESTADDRREQ; in afs_iterate_addresses()
328 ac->begun = true; in afs_iterate_addresses()
[all …]
Dvolume.c78 struct afs_addr_cursor ac; in afs_vl_lookup_vldb() local
82 ret = afs_set_vl_cursor(&ac, cell); in afs_vl_lookup_vldb()
86 while (afs_iterate_addresses(&ac)) { in afs_vl_lookup_vldb()
87 if (!test_bit(ac.index, &ac.alist->probed)) { in afs_vl_lookup_vldb()
88 ret = afs_vl_get_capabilities(cell->net, &ac, key); in afs_vl_lookup_vldb()
91 clear_bit(ac.index, &ac.alist->yfs); in afs_vl_lookup_vldb()
92 set_bit(ac.index, &ac.alist->probed); in afs_vl_lookup_vldb()
93 ac.addr->srx_service = ret; in afs_vl_lookup_vldb()
96 set_bit(ac.index, &ac.alist->yfs); in afs_vl_lookup_vldb()
97 set_bit(ac.index, &ac.alist->probed); in afs_vl_lookup_vldb()
[all …]
Dserver.c244 struct afs_addr_cursor ac; in afs_vl_lookup_addrs() local
248 ret = afs_set_vl_cursor(&ac, cell); in afs_vl_lookup_addrs()
252 while (afs_iterate_addresses(&ac)) { in afs_vl_lookup_addrs()
253 if (test_bit(ac.index, &ac.alist->yfs)) in afs_vl_lookup_addrs()
254 alist = afs_yfsvl_get_endpoints(cell->net, &ac, key, uuid); in afs_vl_lookup_addrs()
256 alist = afs_vl_get_addrs_u(cell->net, &ac, key, uuid); in afs_vl_lookup_addrs()
257 switch (ac.error) { in afs_vl_lookup_addrs()
259 afs_end_cursor(&ac); in afs_vl_lookup_addrs()
262 ac.error = afs_abort_to_error(ac.abort_code); in afs_vl_lookup_addrs()
272 ac.error = -EIO; in afs_vl_lookup_addrs()
[all …]
Dvlclient.c133 struct afs_addr_cursor *ac, in afs_vl_get_entry_by_name_u() argument
172 return (struct afs_vldb_entry *)afs_make_call(ac, call, GFP_KERNEL, false); in afs_vl_get_entry_by_name_u()
272 struct afs_addr_cursor *ac, in afs_vl_get_addrs_u() argument
311 return (struct afs_addr_list *)afs_make_call(ac, call, GFP_KERNEL, false); in afs_vl_get_addrs_u()
388 struct afs_addr_cursor *ac, in afs_vl_get_capabilities() argument
411 return afs_make_call(ac, call, GFP_KERNEL, false); in afs_vl_get_capabilities()
624 struct afs_addr_cursor *ac, in afs_yfsvl_get_endpoints() argument
650 return (struct afs_addr_list *)afs_make_call(ac, call, GFP_KERNEL, false); in afs_yfsvl_get_endpoints()
Drxrpc.c342 long afs_make_call(struct afs_addr_cursor *ac, struct afs_call *call, in afs_make_call() argument
345 struct sockaddr_rxrpc *srx = ac->addr; in afs_make_call()
427 return afs_wait_for_call_to_complete(call, ac); in afs_make_call()
439 ac->abort_code = call->abort_code; in afs_make_call()
440 ac->responded = true; in afs_make_call()
446 ac->error = ret; in afs_make_call()
547 struct afs_addr_cursor *ac) in afs_wait_for_call_to_complete() argument
608 ac->abort_code = call->abort_code; in afs_wait_for_call_to_complete()
609 ac->error = call->error; in afs_wait_for_call_to_complete()
612 ret = ac->error; in afs_wait_for_call_to_complete()
[all …]
Dfsclient.c440 fc->ac.error = -ENOMEM; in afs_fs_fetch_file_status()
459 return afs_make_call(&fc->ac, call, GFP_NOFS, false); in afs_fs_fetch_file_status()
672 return afs_make_call(&fc->ac, call, GFP_NOFS, false); in afs_fs_fetch_data64()
715 return afs_make_call(&fc->ac, call, GFP_NOFS, false); in afs_fs_fetch_data()
822 return afs_make_call(&fc->ac, call, GFP_NOFS, false); in afs_fs_create()
912 return afs_make_call(&fc->ac, call, GFP_NOFS, false); in afs_fs_remove()
998 return afs_make_call(&fc->ac, call, GFP_NOFS, false); in afs_fs_link()
1105 return afs_make_call(&fc->ac, call, GFP_NOFS, false); in afs_fs_symlink()
1214 return afs_make_call(&fc->ac, call, GFP_NOFS, false); in afs_fs_rename()
1317 return afs_make_call(&fc->ac, call, GFP_NOFS, false); in afs_fs_store_data64()
[all …]
/linux-4.19.296/include/linux/ceph/
Dauth.h41 int (*is_authenticated)(struct ceph_auth_client *ac);
47 int (*should_authenticate)(struct ceph_auth_client *ac);
54 int (*build_request)(struct ceph_auth_client *ac, void *buf, void *end);
55 int (*handle_reply)(struct ceph_auth_client *ac, int result,
62 int (*create_authorizer)(struct ceph_auth_client *ac, int peer_type,
65 int (*update_authorizer)(struct ceph_auth_client *ac, int peer_type,
67 int (*add_authorizer_challenge)(struct ceph_auth_client *ac,
71 int (*verify_authorizer_reply)(struct ceph_auth_client *ac,
73 void (*invalidate_authorizer)(struct ceph_auth_client *ac,
77 void (*reset)(struct ceph_auth_client *ac);
[all …]
/linux-4.19.296/fs/ext4/
Dmballoc.c1636 static void ext4_mb_use_best_found(struct ext4_allocation_context *ac, in ext4_mb_use_best_found() argument
1639 struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb); in ext4_mb_use_best_found()
1642 BUG_ON(ac->ac_b_ex.fe_group != e4b->bd_group); in ext4_mb_use_best_found()
1643 BUG_ON(ac->ac_status == AC_STATUS_FOUND); in ext4_mb_use_best_found()
1645 ac->ac_b_ex.fe_len = min(ac->ac_b_ex.fe_len, ac->ac_g_ex.fe_len); in ext4_mb_use_best_found()
1646 ac->ac_b_ex.fe_logical = ac->ac_g_ex.fe_logical; in ext4_mb_use_best_found()
1647 ret = mb_mark_used(e4b, &ac->ac_b_ex); in ext4_mb_use_best_found()
1651 ac->ac_f_ex = ac->ac_b_ex; in ext4_mb_use_best_found()
1653 ac->ac_status = AC_STATUS_FOUND; in ext4_mb_use_best_found()
1654 ac->ac_tail = ret & 0xffff; in ext4_mb_use_best_found()
[all …]
/linux-4.19.296/fs/ocfs2/
Dsuballoc.c107 static int ocfs2_claim_suballoc_bits(struct ocfs2_alloc_context *ac,
132 struct ocfs2_alloc_context **ac);
134 void ocfs2_free_ac_resource(struct ocfs2_alloc_context *ac) in ocfs2_free_ac_resource() argument
136 struct inode *inode = ac->ac_inode; in ocfs2_free_ac_resource()
139 if (ac->ac_which != OCFS2_AC_USE_LOCAL) in ocfs2_free_ac_resource()
145 ac->ac_inode = NULL; in ocfs2_free_ac_resource()
147 brelse(ac->ac_bh); in ocfs2_free_ac_resource()
148 ac->ac_bh = NULL; in ocfs2_free_ac_resource()
149 ac->ac_resv = NULL; in ocfs2_free_ac_resource()
150 kfree(ac->ac_find_loc_priv); in ocfs2_free_ac_resource()
[all …]
Dsuballoc.h66 void ocfs2_free_alloc_context(struct ocfs2_alloc_context *ac);
67 static inline int ocfs2_alloc_context_bits_left(struct ocfs2_alloc_context *ac) in ocfs2_alloc_context_bits_left() argument
69 return ac->ac_bits_wanted - ac->ac_bits_given; in ocfs2_alloc_context_bits_left()
79 struct ocfs2_alloc_context **ac);
82 struct ocfs2_alloc_context **ac);
84 struct ocfs2_alloc_context **ac);
87 struct ocfs2_alloc_context **ac);
106 struct ocfs2_alloc_context *ac,
115 struct ocfs2_alloc_context *ac,
120 struct ocfs2_alloc_context *ac,
[all …]
Dlocalalloc.c67 struct ocfs2_alloc_context **ac,
73 struct ocfs2_alloc_context *ac);
633 struct ocfs2_alloc_context *ac) in ocfs2_reserve_local_alloc_bits() argument
640 BUG_ON(!ac); in ocfs2_reserve_local_alloc_bits()
708 ac->ac_inode = local_alloc_inode; in ocfs2_reserve_local_alloc_bits()
710 ac->ac_alloc_slot = osb->slot_num; in ocfs2_reserve_local_alloc_bits()
711 ac->ac_which = OCFS2_AC_USE_LOCAL; in ocfs2_reserve_local_alloc_bits()
713 ac->ac_bh = osb->local_alloc_bh; in ocfs2_reserve_local_alloc_bits()
722 (unsigned long long)ac->ac_max_block, in ocfs2_reserve_local_alloc_bits()
732 struct ocfs2_alloc_context *ac, in ocfs2_claim_local_alloc_bits() argument
[all …]
Dlocalalloc.h49 struct ocfs2_alloc_context *ac);
53 struct ocfs2_alloc_context *ac,
60 struct ocfs2_alloc_context *ac,
/linux-4.19.296/fs/crypto/
Dfname.c142 int i = 0, bits = 0, ac = 0; in digest_encode() local
146 ac += (((unsigned char) src[i]) << bits); in digest_encode()
149 *cp++ = lookup_table[ac & 0x3f]; in digest_encode()
150 ac >>= 6; in digest_encode()
156 *cp++ = lookup_table[ac & 0x3f]; in digest_encode()
162 int i = 0, bits = 0, ac = 0; in digest_decode() local
170 ac += (p - lookup_table) << bits; in digest_decode()
173 *cp++ = ac & 0xff; in digest_decode()
174 ac >>= 8; in digest_decode()
179 if (ac) in digest_decode()
/linux-4.19.296/include/linux/
Dtransport_class.h58 struct attribute_container ac; member
63 container_of(x, struct transport_container, ac)
87 return attribute_container_register(&tc->ac); in transport_container_register()
92 if (unlikely(attribute_container_unregister(&tc->ac))) in transport_container_unregister()
Draid_class.h59 attribute_container_find_class_device(&r->raid_attrs.ac, dev);\
68 attribute_container_find_class_device(&r->raid_attrs.ac, dev);\
Dcompaction.h98 const struct alloc_context *ac, enum compact_priority prio);
174 bool compaction_zonelist_suitable(struct alloc_context *ac, int order,
/linux-4.19.296/fs/xfs/
Dxfs_itable.c344 struct xfs_bulkstat_agichunk ac; in xfs_bulkstat() local
360 ac.ac_ubuffer = &ubuffer; in xfs_bulkstat()
361 ac.ac_ubleft = ubcount * statstruct_size; /* bytes */; in xfs_bulkstat()
362 ac.ac_ubelem = 0; in xfs_bulkstat()
472 irbp < irbufend && ac.ac_ubleft >= statstruct_size; in xfs_bulkstat()
475 formatter, statstruct_size, &ac, in xfs_bulkstat()
487 if (ac.ac_ubleft < statstruct_size || error) in xfs_bulkstat()
499 *ubcountp = ac.ac_ubelem; in xfs_bulkstat()
508 if (ac.ac_ubelem) in xfs_bulkstat()
/linux-4.19.296/include/trace/events/
Dext4.h633 TP_PROTO(struct ext4_allocation_context *ac,
636 TP_ARGS(ac, pa),
648 __entry->dev = ac->ac_sb->s_dev;
649 __entry->ino = ac->ac_inode->i_ino;
663 TP_PROTO(struct ext4_allocation_context *ac,
666 TP_ARGS(ac, pa)
671 TP_PROTO(struct ext4_allocation_context *ac,
674 TP_ARGS(ac, pa)
977 TP_PROTO(struct ext4_allocation_context *ac),
979 TP_ARGS(ac),
[all …]
/linux-4.19.296/drivers/clk/ti/
Dadpll.c772 struct ti_adpll_clock *ac = &d->clocks[i]; in ti_adpll_free_resources() local
774 if (!ac || IS_ERR_OR_NULL(ac->clk)) in ti_adpll_free_resources()
776 if (ac->cl) in ti_adpll_free_resources()
777 clkdev_drop(ac->cl); in ti_adpll_free_resources()
778 if (ac->unregister) in ti_adpll_free_resources()
779 ac->unregister(ac->clk); in ti_adpll_free_resources()

12