| /linux/net/ceph/ |
| H A D | auth.c | 24 static int init_protocol(struct ceph_auth_client *ac, int proto) in init_protocol() argument 30 return ceph_auth_none_init(ac); in init_protocol() 32 return ceph_x_init(ac); in init_protocol() 39 void ceph_auth_set_global_id(struct ceph_auth_client *ac, u64 global_id) in ceph_auth_set_global_id() argument 46 if (ac->global_id && global_id != ac->global_id) in ceph_auth_set_global_id() 47 pr_err("global_id changed from %llu to %llu\n", ac->global_id, in ceph_auth_set_global_id() 50 ac->global_id = global_id; in ceph_auth_set_global_id() 60 struct ceph_auth_client *ac; in ceph_auth_init() local 62 ac = kzalloc_obj(*ac, GFP_NOFS); in ceph_auth_init() 63 if (!ac) in ceph_auth_init() [all …]
|
| H A D | auth_none.c | 15 static void reset(struct ceph_auth_client *ac) in reset() argument 17 struct ceph_auth_none_info *xi = ac->private; in reset() 22 static void destroy(struct ceph_auth_client *ac) in destroy() argument 24 kfree(ac->private); in destroy() 25 ac->private = NULL; in destroy() 28 static int is_authenticated(struct ceph_auth_client *ac) in is_authenticated() argument 30 struct ceph_auth_none_info *xi = ac->private; in is_authenticated() 35 static int should_authenticate(struct ceph_auth_client *ac) in should_authenticate() argument 37 struct ceph_auth_none_info *xi = ac->private; in should_authenticate() 42 static int ceph_auth_none_build_authorizer(struct ceph_auth_client *ac, in ceph_auth_none_build_authorizer() argument [all …]
|
| H A D | auth_x.c | 36 static void ceph_x_validate_tickets(struct ceph_auth_client *ac, int *pneed); 38 static int ceph_x_is_authenticated(struct ceph_auth_client *ac) in ceph_x_is_authenticated() argument 40 struct ceph_x_info *xi = ac->private; in ceph_x_is_authenticated() 44 ceph_x_validate_tickets(ac, &need); in ceph_x_is_authenticated() 45 missing = ac->want_keys & ~xi->have_keys; in ceph_x_is_authenticated() 48 ac->want_keys, xi->have_keys, missing, !missing); in ceph_x_is_authenticated() 52 static int ceph_x_should_authenticate(struct ceph_auth_client *ac) in ceph_x_should_authenticate() argument 54 struct ceph_x_info *xi = ac->private; in ceph_x_should_authenticate() 57 ceph_x_validate_tickets(ac, &need); in ceph_x_should_authenticate() 59 ac->want_keys, xi->have_keys, need, !!need); in ceph_x_should_authenticate() [all …]
|
| /linux/drivers/power/supply/ |
| H A D | surface_charger.c | 67 static int spwr_ac_update_unlocked(struct spwr_ac_device *ac) in spwr_ac_update_unlocked() argument 69 __le32 old = ac->state; in spwr_ac_update_unlocked() 72 lockdep_assert_held(&ac->lock); in spwr_ac_update_unlocked() 74 status = ssam_retry(ssam_bat_get_psrc, ac->sdev, &ac->state); in spwr_ac_update_unlocked() 78 return old != ac->state; in spwr_ac_update_unlocked() 81 static int spwr_ac_update(struct spwr_ac_device *ac) in spwr_ac_update() argument 85 mutex_lock(&ac->lock); in spwr_ac_update() 86 status = spwr_ac_update_unlocked(ac); in spwr_ac_update() 87 mutex_unlock(&ac in spwr_ac_update() 92 spwr_ac_recheck(struct spwr_ac_device * ac) spwr_ac_recheck() argument 105 struct spwr_ac_device *ac; spwr_notify_ac() local 142 struct spwr_ac_device *ac = power_supply_get_drvdata(psy); spwr_ac_get_property() local 174 spwr_ac_init(struct spwr_ac_device * ac,struct ssam_device * sdev,struct ssam_event_registry registry,const char * name) spwr_ac_init() argument 197 spwr_ac_register(struct spwr_ac_device * ac) spwr_ac_register() argument 234 struct spwr_ac_device *ac; surface_ac_probe() local 252 struct spwr_ac_device *ac = ssam_device_get_drvdata(sdev); surface_ac_remove() local [all...] |
| /linux/drivers/media/pci/tw686x/ |
| H A D | tw686x-audio.c | 38 struct tw686x_audio_channel *ac = &dev->audio_channels[ch]; in tw686x_audio_irq() local 45 spin_lock_irqsave(&ac->lock, flags); in tw686x_audio_irq() 48 if (!ac->ss || !ac->curr_bufs[0] || !ac->curr_bufs[1]) { in tw686x_audio_irq() 49 spin_unlock_irqrestore(&ac->lock, flags); in tw686x_audio_irq() 53 if (!list_empty(&ac->buf_list)) { in tw686x_audio_irq() 54 next = list_first_entry(&ac->buf_list, in tw686x_audio_irq() 56 list_move_tail(&next->list, &ac->buf_list); in tw686x_audio_irq() 57 done = ac->curr_bufs[!pb]; in tw686x_audio_irq() 58 ac->curr_bufs[pb] = next; in tw686x_audio_irq() 60 spin_unlock_irqrestore(&ac->lock, flags); in tw686x_audio_irq() [all …]
|
| /linux/sound/soc/qcom/qdsp6/ |
| H A D | q6asm.c | 282 static inline void q6asm_add_hdr(struct audio_client *ac, struct apr_hdr *hdr, in q6asm_add_hdr() argument 287 hdr->src_port = ((ac->session << 8) & 0xFF00) | (stream_id); in q6asm_add_hdr() 288 hdr->dest_port = ((ac->session << 8) & 0xFF00) | (stream_id); in q6asm_add_hdr() 291 hdr->token = ac->session; in q6asm_add_hdr() 294 static int q6asm_apr_send_session_pkt(struct q6asm *a, struct audio_client *ac, in q6asm_apr_send_session_pkt() argument 300 mutex_lock(&ac->cmd_lock); in q6asm_apr_send_session_pkt() 301 ac->result.opcode = 0; in q6asm_apr_send_session_pkt() 302 ac->result.status = 0; in q6asm_apr_send_session_pkt() 309 (ac->result.opcode == hdr->opcode) || in q6asm_apr_send_session_pkt() 310 (ac in q6asm_apr_send_session_pkt() 331 __q6asm_memory_unmap(struct audio_client * ac,phys_addr_t buf_add,int dir) __q6asm_memory_unmap() argument 371 q6asm_audio_client_free_buf(struct audio_client * ac,struct audio_port_data * port) q6asm_audio_client_free_buf() argument 391 q6asm_unmap_memory_regions(unsigned int dir,struct audio_client * ac) q6asm_unmap_memory_regions() argument 420 __q6asm_memory_map_regions(struct audio_client * ac,int dir,size_t period_sz,unsigned int periods,bool is_contiguous) __q6asm_memory_map_regions() argument 493 q6asm_map_memory_regions(unsigned int dir,struct audio_client * ac,phys_addr_t phys,size_t period_sz,unsigned int periods) q6asm_map_memory_regions() argument 543 struct audio_client *ac; q6asm_audio_client_release() local 562 q6asm_audio_client_free(struct audio_client * ac) q6asm_audio_client_free() argument 571 struct audio_client *ac = NULL; q6asm_get_audio_client() local 591 q6asm_get_hw_pointer(struct audio_client * ac,unsigned int dir) q6asm_get_hw_pointer() argument 607 struct audio_client *ac; q6asm_stream_callback() local 750 struct audio_client *ac = NULL; q6asm_srvc_callback() local 844 struct audio_client *ac; q6asm_audio_client_alloc() local 878 q6asm_ac_send_cmd_sync(struct audio_client * ac,struct apr_pkt * pkt) q6asm_ac_send_cmd_sync() argument 924 q6asm_open_write(struct audio_client * ac,uint32_t stream_id,uint32_t format,u32 codec_profile,uint16_t bits_per_sample,bool is_gapless) q6asm_open_write() argument 1002 __q6asm_run(struct audio_client * ac,uint32_t stream_id,uint32_t flags,uint32_t msw_ts,uint32_t lsw_ts,bool wait) __q6asm_run() argument 1045 q6asm_run(struct audio_client * ac,uint32_t stream_id,uint32_t flags,uint32_t msw_ts,uint32_t lsw_ts) q6asm_run() argument 1063 q6asm_run_nowait(struct audio_client * ac,uint32_t stream_id,uint32_t flags,uint32_t msw_ts,uint32_t lsw_ts) q6asm_run_nowait() argument 1082 q6asm_media_format_block_multi_ch_pcm(struct audio_client * ac,uint32_t stream_id,uint32_t rate,uint32_t channels,u8 channel_map[PCM_MAX_NUM_CHANNEL],uint16_t bits_per_sample) q6asm_media_format_block_multi_ch_pcm() argument 1124 q6asm_stream_media_format_block_flac(struct audio_client * ac,uint32_t stream_id,struct q6asm_flac_cfg * cfg) q6asm_stream_media_format_block_flac() argument 1156 q6asm_stream_media_format_block_wma_v9(struct audio_client * ac,uint32_t stream_id,struct q6asm_wma_cfg * cfg) q6asm_stream_media_format_block_wma_v9() argument 1189 q6asm_stream_media_format_block_wma_v10(struct audio_client * ac,uint32_t stream_id,struct q6asm_wma_cfg * cfg) q6asm_stream_media_format_block_wma_v10() argument 1223 q6asm_stream_media_format_block_alac(struct audio_client * ac,uint32_t stream_id,struct q6asm_alac_cfg * cfg) q6asm_stream_media_format_block_alac() argument 1260 q6asm_stream_media_format_block_ape(struct audio_client * ac,uint32_t stream_id,struct q6asm_ape_cfg * cfg) q6asm_stream_media_format_block_ape() argument 1295 q6asm_stream_remove_silence(struct audio_client * ac,uint32_t stream_id,uint32_t cmd,uint32_t num_samples) q6asm_stream_remove_silence() argument 1321 q6asm_stream_remove_initial_silence(struct audio_client * ac,uint32_t stream_id,uint32_t initial_samples) q6asm_stream_remove_initial_silence() argument 1331 q6asm_stream_remove_trailing_silence(struct audio_client * ac,uint32_t stream_id,uint32_t trailing_samples) q6asm_stream_remove_trailing_silence() argument 1351 q6asm_enc_cfg_blk_pcm_format_support(struct audio_client * ac,uint32_t stream_id,uint32_t rate,uint32_t channels,uint16_t bits_per_sample) q6asm_enc_cfg_blk_pcm_format_support() argument 1399 q6asm_read(struct audio_client * ac,uint32_t stream_id) q6asm_read() argument 1445 __q6asm_open_read(struct audio_client * ac,uint32_t stream_id,uint32_t format,uint16_t bits_per_sample) __q6asm_open_read() argument 1493 q6asm_open_read(struct audio_client * ac,uint32_t stream_id,uint32_t format,uint16_t bits_per_sample) q6asm_open_read() argument 1512 q6asm_write_async(struct audio_client * ac,uint32_t stream_id,uint32_t len,uint32_t msw_ts,uint32_t lsw_ts,uint32_t wflags) q6asm_write_async() argument 1562 q6asm_reset_buf_state(struct audio_client * ac) q6asm_reset_buf_state() argument 1573 __q6asm_cmd(struct audio_client * ac,uint32_t stream_id,int cmd,bool wait) __q6asm_cmd() argument 1627 q6asm_cmd(struct audio_client * ac,uint32_t stream_id,int cmd) q6asm_cmd() argument 1642 q6asm_cmd_nowait(struct audio_client * ac,uint32_t stream_id,int cmd) q6asm_cmd_nowait() argument [all...] |
| H A D | q6asm.h | 97 void q6asm_audio_client_free(struct audio_client *ac); 98 int q6asm_write_async(struct audio_client *ac, uint32_t stream_id, uint32_t len, 100 int q6asm_open_write(struct audio_client *ac, uint32_t stream_id, 104 int q6asm_open_read(struct audio_client *ac, uint32_t stream_id, 106 int q6asm_enc_cfg_blk_pcm_format_support(struct audio_client *ac, 111 int q6asm_read(struct audio_client *ac, uint32_t stream_id); 113 int q6asm_media_format_block_multi_ch_pcm(struct audio_client *ac, 118 int q6asm_stream_media_format_block_flac(struct audio_client *ac, 121 int q6asm_stream_media_format_block_wma_v9(struct audio_client *ac, 124 int q6asm_stream_media_format_block_wma_v10(struct audio_client *ac, [all...] |
| /linux/include/linux/ceph/ |
| H A D | auth.h | 39 int (*is_authenticated)(struct ceph_auth_client *ac); 45 int (*should_authenticate)(struct ceph_auth_client *ac); 52 int (*build_request)(struct ceph_auth_client *ac, void *buf, void *end); 53 int (*handle_reply)(struct ceph_auth_client *ac, u64 global_id, 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, 76 void (*invalidate_authorizer)(struct ceph_auth_client *ac, 80 void (*reset)(struct ceph_auth_client *ac); [all …]
|
| /linux/fs/ext4/ |
| H A D | mballoc.c | 426 static void ext4_mb_new_preallocation(struct ext4_allocation_context *ac); 428 static int ext4_mb_scan_group(struct ext4_allocation_context *ac, 896 struct ext4_allocation_context *ac) in ext4_get_allocation_groups_count() argument 898 ext4_group_t ngroups = ext4_get_groups_count(ac->ac_sb); in ext4_get_allocation_groups_count() 901 if (!(ext4_test_inode_flag(ac->ac_inode, EXT4_INODE_EXTENTS))) in ext4_get_allocation_groups_count() 903 ngroups = smp_load_acquire(&EXT4_SB(ac->ac_sb)->s_blockfile_groups); in ext4_get_allocation_groups_count() 908 static int ext4_mb_scan_groups_xa_range(struct ext4_allocation_context *ac, in ext4_get_allocation_groups_count() 912 struct super_block *sb = ac->ac_sb; in ext4_mb_scan_groups_xa_range() 914 enum criteria cr = ac->ac_criteria; in ext4_mb_scan_groups_xa_range() 915 ext4_group_t ngroups = ext4_get_allocation_groups_count(ac); in ext4_mb_scan_groups_xa_range() 910 ext4_mb_scan_groups_xa_range(struct ext4_allocation_context * ac,struct xarray * xa,ext4_group_t start,ext4_group_t end) ext4_mb_scan_groups_xa_range() argument 944 ext4_mb_scan_groups_largest_free_order_range(struct ext4_allocation_context * ac,int order,ext4_group_t start,ext4_group_t end) ext4_mb_scan_groups_largest_free_order_range() argument 960 ext4_mb_scan_groups_p2_aligned(struct ext4_allocation_context * ac,ext4_group_t group) ext4_mb_scan_groups_p2_aligned() argument 995 ext4_mb_scan_groups_avg_frag_order_range(struct ext4_allocation_context * ac,int order,ext4_group_t start,ext4_group_t end) ext4_mb_scan_groups_avg_frag_order_range() argument 1011 ext4_mb_scan_groups_goal_fast(struct ext4_allocation_context * ac,ext4_group_t group) ext4_mb_scan_groups_goal_fast() argument 1061 ext4_mb_scan_groups_best_avail(struct ext4_allocation_context * ac,ext4_group_t group) ext4_mb_scan_groups_best_avail() argument 1145 should_optimize_scan(struct ext4_allocation_context * ac) should_optimize_scan() argument 1166 ext4_mb_scan_groups_linear(struct ext4_allocation_context * ac,ext4_group_t ngroups,ext4_group_t * start,ext4_group_t count) ext4_mb_scan_groups_linear() argument 1193 ext4_mb_scan_groups(struct ext4_allocation_context * ac) ext4_mb_scan_groups() argument 2237 ext4_mb_use_best_found(struct ext4_allocation_context * ac,struct ext4_buddy * e4b) ext4_mb_use_best_found() argument 2286 ext4_mb_check_limits(struct ext4_allocation_context * ac,struct ext4_buddy * e4b,int finish_group) ext4_mb_check_limits() argument 2339 ext4_mb_measure_extent(struct ext4_allocation_context * ac,struct ext4_free_extent * ex,struct ext4_buddy * e4b) ext4_mb_measure_extent() argument 2400 ext4_mb_try_best_found(struct ext4_allocation_context * ac,struct ext4_buddy * e4b) ext4_mb_try_best_found() argument 2430 ext4_mb_find_by_goal(struct ext4_allocation_context * ac,struct ext4_buddy * e4b) ext4_mb_find_by_goal() argument 2503 ext4_mb_simple_scan_group(struct ext4_allocation_context * ac,struct ext4_buddy * e4b) ext4_mb_simple_scan_group() argument 2557 ext4_mb_complex_scan_group(struct ext4_allocation_context * ac,struct ext4_buddy * e4b) ext4_mb_complex_scan_group() argument 2640 ext4_mb_scan_aligned(struct ext4_allocation_context * ac,struct ext4_buddy * e4b) ext4_mb_scan_aligned() argument 2679 __ext4_mb_scan_group(struct ext4_allocation_context * ac) __ext4_mb_scan_group() argument 2708 ext4_mb_good_group(struct ext4_allocation_context * ac,ext4_group_t group,enum criteria cr) ext4_mb_good_group() argument 2777 ext4_mb_good_group_nolock(struct ext4_allocation_context * ac,ext4_group_t group,enum criteria cr) ext4_mb_good_group_nolock() argument 2899 ext4_mb_might_prefetch(struct ext4_allocation_context * ac,ext4_group_t group) ext4_mb_might_prefetch() argument 2957 ext4_mb_scan_group(struct ext4_allocation_context * ac,ext4_group_t group) ext4_mb_scan_group() argument 3002 ext4_mb_regular_allocator(struct ext4_allocation_context * ac) ext4_mb_regular_allocator() argument 4197 ext4_mb_mark_diskspace_used(struct ext4_allocation_context * ac,handle_t * handle) ext4_mb_mark_diskspace_used() argument 4313 ext4_mb_normalize_group_request(struct ext4_allocation_context * ac) ext4_mb_normalize_group_request() argument 4342 ext4_mb_pa_assert_overlap(struct ext4_allocation_context * ac,ext4_lblk_t start,loff_t end) ext4_mb_pa_assert_overlap() argument 4379 ext4_mb_pa_adjust_overlap(struct ext4_allocation_context * ac,ext4_lblk_t * start,loff_t * end) ext4_mb_pa_adjust_overlap() argument 4519 ext4_mb_normalize_request(struct ext4_allocation_context * ac,struct ext4_allocation_request * ar) ext4_mb_normalize_request() argument 4686 ext4_mb_collect_stats(struct ext4_allocation_context * ac) ext4_mb_collect_stats() argument 4725 ext4_discard_allocated_blocks(struct ext4_allocation_context * ac) ext4_discard_allocated_blocks() argument 4760 ext4_mb_use_inode_pa(struct ext4_allocation_context * ac,struct ext4_prealloc_space * pa) ext4_mb_use_inode_pa() argument 4791 ext4_mb_use_group_pa(struct ext4_allocation_context * ac,struct ext4_prealloc_space * pa) ext4_mb_use_group_pa() argument 4846 ext4_mb_pa_goal_check(struct ext4_allocation_context * ac,struct ext4_prealloc_space * pa) ext4_mb_pa_goal_check() argument 4877 ext4_mb_use_preallocated(struct ext4_allocation_context * ac) ext4_mb_use_preallocated() argument 5160 ext4_mb_put_pa(struct ext4_allocation_context * ac,struct super_block * sb,struct ext4_prealloc_space * pa) ext4_mb_put_pa() argument 5252 ext4_mb_new_inode_pa(struct ext4_allocation_context * ac) ext4_mb_new_inode_pa() argument 5352 ext4_mb_new_group_pa(struct ext4_allocation_context * ac) ext4_mb_new_group_pa() argument 5401 ext4_mb_new_preallocation(struct ext4_allocation_context * ac) ext4_mb_new_preallocation() argument 5716 ext4_mb_pa_alloc(struct ext4_allocation_context * ac) ext4_mb_pa_alloc() argument 5729 ext4_mb_pa_put_free(struct ext4_allocation_context * ac) ext4_mb_pa_put_free() argument 5780 ext4_mb_show_ac(struct ext4_allocation_context * ac) ext4_mb_show_ac() argument 5818 ext4_mb_show_ac(struct ext4_allocation_context * ac) ext4_mb_show_ac() argument 5831 ext4_mb_group_or_file(struct ext4_allocation_context * ac) ext4_mb_group_or_file() argument 5884 ext4_mb_initialize_context(struct ext4_allocation_context * ac,struct ext4_allocation_request * ar) ext4_mb_initialize_context() argument 6019 ext4_mb_add_n_trim(struct ext4_allocation_context * ac) ext4_mb_add_n_trim() argument 6067 ext4_mb_release_context(struct ext4_allocation_context * ac) ext4_mb_release_context() argument 6134 ext4_mb_discard_preallocations_should_retry(struct super_block * sb,struct ext4_allocation_context * ac,u64 * seq) ext4_mb_discard_preallocations_should_retry() argument 6233 struct ext4_allocation_context *ac = NULL; ext4_mb_new_blocks() local 7225 ext4_mb_mark_diskspace_used_test(struct ext4_allocation_context * ac,handle_t * handle) ext4_mb_mark_diskspace_used_test() argument [all...] |
| /linux/drivers/net/ethernet/pensando/ionic/ |
| H A D | ionic_rx_filter.c | 24 struct ionic_rx_filter_add_cmd *ac; in ionic_rx_filter_replay() local 35 ac = &ctx.cmd.rx_filter_add; in ionic_rx_filter_replay() 41 memcpy(ac, &f->cmd, sizeof(f->cmd)); in ionic_rx_filter_replay() 48 switch (le16_to_cpu(ac->match)) { in ionic_rx_filter_replay() 52 le16_to_cpu(ac->vlan.vlan)); in ionic_rx_filter_replay() 56 err, ac->mac.addr); in ionic_rx_filter_replay() 61 le16_to_cpu(ac->vlan.vlan), in ionic_rx_filter_replay() 62 ac->mac.addr); in ionic_rx_filter_replay() 128 struct ionic_rx_filter_add_cmd *ac; in ionic_rx_filter_save() local 133 ac in ionic_rx_filter_save() 243 ionic_rx_filter_find(struct ionic_lif * lif,struct ionic_rx_filter_add_cmd * ac) ionic_rx_filter_find() argument 305 ionic_lif_filter_add(struct ionic_lif * lif,struct ionic_rx_filter_add_cmd * ac) ionic_lif_filter_add() argument 448 struct ionic_rx_filter_add_cmd ac = { ionic_lif_addr_add() local 459 struct ionic_rx_filter_add_cmd ac = { ionic_lif_vlan_add() local 468 ionic_lif_filter_del(struct ionic_lif * lif,struct ionic_rx_filter_add_cmd * ac) ionic_lif_filter_del() argument 534 struct ionic_rx_filter_add_cmd ac = { ionic_lif_addr_del() local 545 struct ionic_rx_filter_add_cmd ac = { ionic_lif_vlan_del() local [all...] |
| /linux/fs/ocfs2/ |
| H A D | suballoc.h | 51 void ocfs2_free_alloc_context(struct ocfs2_alloc_context *ac); 52 static inline int ocfs2_alloc_context_bits_left(struct ocfs2_alloc_context *ac) in ocfs2_alloc_context_bits_left() argument 54 return ac->ac_bits_wanted - ac->ac_bits_given; in ocfs2_alloc_context_bits_left() 64 struct ocfs2_alloc_context **ac); 67 struct ocfs2_alloc_context **ac); 69 struct ocfs2_alloc_context **ac); 72 struct ocfs2_alloc_context **ac); 95 struct ocfs2_alloc_context *ac, 104 struct ocfs2_alloc_context *ac, [all...] |
| H A D | localalloc.c | 51 struct ocfs2_alloc_context **ac, 57 struct ocfs2_alloc_context *ac); 617 struct ocfs2_alloc_context *ac) in ocfs2_reserve_local_alloc_bits() argument 624 BUG_ON(!ac); in ocfs2_reserve_local_alloc_bits() 692 ac->ac_inode = local_alloc_inode; in ocfs2_reserve_local_alloc_bits() 694 ac->ac_alloc_slot = osb->slot_num; in ocfs2_reserve_local_alloc_bits() 695 ac->ac_which = OCFS2_AC_USE_LOCAL; in ocfs2_reserve_local_alloc_bits() 697 ac->ac_bh = osb->local_alloc_bh; in ocfs2_reserve_local_alloc_bits() 706 (unsigned long long)ac->ac_max_block, in ocfs2_reserve_local_alloc_bits() 716 struct ocfs2_alloc_context *ac, in ocfs2_claim_local_alloc_bits() argument [all …]
|
| /linux/drivers/s390/crypto/ |
| H A D | zcrypt_cex4.c | 83 struct ap_card *ac = to_ap_card(dev); in cca_serialnr_show() local 88 cca_get_info(ac->id, AUTOSEL_DOM, &ci, 0); in cca_serialnr_show() 238 struct ap_card *ac = to_ap_card(dev); in ep11_api_ordinalnr_show() local 243 ep11_get_card_info(ac->id, &ci, 0); in ep11_api_ordinalnr_show() 258 struct ap_card *ac = to_ap_card(dev); in ep11_fw_version_show() local 263 ep11_get_card_info(ac->id, &ci, 0); in ep11_fw_version_show() 280 struct ap_card *ac = to_ap_card(dev); in ep11_serialnr_show() local 285 ep11_get_card_info(ac->id, &ci, 0); in ep11_serialnr_show() 316 struct ap_card *ac = to_ap_card(dev); in ep11_card_op_modes_show() local 322 ep11_get_card_info(ac->id, &ci, 0); in ep11_card_op_modes_show() [all …]
|
| H A D | ap_bus.c | 671 struct ap_card *ac = to_ap_card(&ap_dev->device); in ap_uevent() local 683 if (ac->hwinfo.accel) in ap_uevent() 685 else if (ac->hwinfo.cca) in ap_uevent() 687 else if (ac->hwinfo.ep11) in ap_uevent() 1986 static inline void ap_scan_rm_card_dev_and_queue_devs(struct ap_card *ac) in ap_scan_rm_card_dev_and_queue_devs() argument 1989 (void *)(long)ac->id, in ap_scan_rm_card_dev_and_queue_devs() 1991 device_unregister(&ac->ap_dev.device); in ap_scan_rm_card_dev_and_queue_devs() 1999 static inline void ap_scan_domains(struct ap_card *ac) in ap_scan_domains() argument 2015 qid = AP_MKQID(ac->id, dom); in ap_scan_domains() 2023 __func__, ac->id, dom); in ap_scan_domains() [all …]
|
| H A D | zcrypt_card.c | 54 struct ap_card *ac = to_ap_card(dev); in online_show() local 55 int online = ac->config && !ac->chkstop && zc->online ? 1 : 0; in online_show() 65 struct ap_card *ac = to_ap_card(dev); in online_store() local 73 if (online && (!ac->config || ac->chkstop)) in online_store() 81 ap_send_online_uevent(&ac->ap_dev, online); in online_store()
|
| /linux/io_uring/ |
| H A D | uring_cmd.c | 20 struct io_async_cmd *ac = (struct io_async_cmd *)entry; in io_cmd_cache_free() local 22 io_vec_free(&ac->vec); in io_cmd_cache_free() 23 kfree(ac); in io_cmd_cache_free() 29 struct io_async_cmd *ac = req->async_data; in io_req_uring_cleanup() local 34 io_alloc_cache_vec_kasan(&ac->vec); in io_req_uring_cleanup() 35 if (ac->vec.nr > IO_VEC_CACHE_SOFT_CAP) in io_req_uring_cleanup() 36 io_vec_free(&ac->vec); in io_req_uring_cleanup() 38 if (io_alloc_cache_put(&req->ctx->cmd_cache, ac)) { in io_req_uring_cleanup() 42 io_vec_free(&ac->vec); in io_req_uring_cleanup() 172 struct io_async_cmd *ac; in __io_uring_cmd_done() 189 struct io_async_cmd *ac; io_uring_cmd_prep() local 234 struct io_async_cmd *ac = req->async_data; io_uring_cmd_sqe_copy() local 310 struct io_async_cmd *ac = req->async_data; io_uring_cmd_import_fixed_vec() local [all...] |
| /linux/Documentation/admin-guide/media/ |
| H A D | cx88-cardlist.rst | 79 - 18ac:db00 87 - 18ac:d810, 18ac:d800 103 - 18ac:db10, 18ac:db11 131 - 18ac:d820 143 - 18ac:d500 195 - 18ac:db50, 18ac:db54 203 - 18ac:db40, 18ac:db44 255 - 18ac:d530 275 - 18ac:db30 279 - 18ac:d610 [all …]
|
| /linux/net/mac80211/ |
| H A D | sta_info.c | 134 int ac, i; in __cleanup_single_sta() local 162 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in __cleanup_single_sta() 163 local->total_ps_buffered -= skb_queue_len(&sta->ps_tx_buf[ac]); in __cleanup_single_sta() 164 ieee80211_purge_tx_queue(&local->hw, &sta->ps_tx_buf[ac]); in __cleanup_single_sta() 165 ieee80211_purge_tx_queue(&local->hw, &sta->tx_filtered[ac]); in __cleanup_single_sta() 373 int ac, tid; in sta_accumulate_removed_link_stats() local 377 for (ac = 0; ac < IEEE80211_NUM_AC in sta_accumulate_removed_link_stats() 1089 ieee80211_tids_for_ac(int ac) ieee80211_tids_for_ac() argument 1113 int ac; __sta_info_recalc_tim() local 1215 sta_info_cleanup_expire_buffered_ac(struct ieee80211_local * local,struct sta_info * sta,int ac) sta_info_cleanup_expire_buffered_ac() argument 1296 int ac; sta_info_cleanup_expire_buffered() local 1834 int filtered = 0, buffered = 0, ac, i; ieee80211_sta_ps_deliver_wakeup() local 2019 int ac; ieee80211_sta_ps_more_data() local 2050 int ac; ieee80211_sta_ps_get_frames() local 2124 int tid, ac; ieee80211_sta_ps_deliver_response() local 2422 u8 ac = ieee80211_ac_from_tid(tid); ieee80211_sta_register_airtime() local 2495 ieee80211_sta_update_pending_airtime(struct ieee80211_local * local,struct sta_info * sta,u8 ac,u16 tx_airtime,bool tx_completed,bool mcast) ieee80211_sta_update_pending_airtime() argument 2846 int i, ac, cpu, link_id = link->link_id; sta_set_link_sinfo() local 3087 int i, ac, cpu; sta_set_sinfo() local [all...] |
| /linux/fs/xfs/ |
| H A D | xfs_zone_space_resv.c | 223 struct xfs_zone_alloc_ctx *ac) in xfs_zoned_space_reserve() argument 227 ASSERT(ac->reserved_blocks == 0); in xfs_zoned_space_reserve() 228 ASSERT(ac->open_zone == NULL); in xfs_zoned_space_reserve() 247 ac->reserved_blocks = count_fsb; in xfs_zoned_space_reserve() 254 struct xfs_zone_alloc_ctx *ac) in xfs_zoned_space_unreserve() argument 256 if (ac->reserved_blocks > 0) { in xfs_zoned_space_unreserve() 257 xfs_zoned_add_available(mp, ac->reserved_blocks); in xfs_zoned_space_unreserve() 258 xfs_add_freecounter(mp, XC_FREE_RTEXTENTS, ac->reserved_blocks); in xfs_zoned_space_unreserve() 260 if (ac->open_zone) in xfs_zoned_space_unreserve() 261 xfs_open_zone_put(ac->open_zone); in xfs_zoned_space_unreserve()
|
| H A D | xfs_file.c | 334 struct xfs_zone_alloc_ctx *ac) 388 error = xfs_zero_range(ip, isize, iocb->ki_pos - isize, ac, NULL); in xfs_file_write_zero_eof() 406 struct xfs_zone_alloc_ctx *ac) in xfs_file_write_zero_eof() 450 if (xfs_is_zoned_inode(XFS_I(inode)) != !!ac) { in xfs_file_write_checks() 469 &drained_dio, ac); in xfs_file_write_checks() 485 struct xfs_zone_alloc_ctx *ac) in xfs_file_write_checks() 518 flags, ac); in xfs_zoned_write_space_reserve() 668 struct xfs_zone_alloc_ctx *ac = iter->private; in xfs_dio_write_end_io() 673 if (count_fsb > ac->reserved_blocks) { in xfs_dio_write_end_io() 676 count_fsb, ac in xfs_dio_write_end_io() 377 xfs_file_write_zero_eof(struct kiocb * iocb,struct iov_iter * from,unsigned int * iolock,size_t count,bool * drained_dio,struct xfs_zone_alloc_ctx * ac) xfs_file_write_zero_eof() argument 449 xfs_file_write_checks(struct kiocb * iocb,struct iov_iter * from,unsigned int * iolock,struct xfs_zone_alloc_ctx * ac) xfs_file_write_checks() argument 515 xfs_zoned_write_space_reserve(struct xfs_mount * mp,struct kiocb * iocb,struct iov_iter * from,unsigned int flags,struct xfs_zone_alloc_ctx * ac) xfs_zoned_write_space_reserve() argument 698 struct xfs_zone_alloc_ctx *ac = iter->private; xfs_dio_zoned_submit_io() local 735 xfs_file_dio_write_aligned(struct xfs_inode * ip,struct kiocb * iocb,struct iov_iter * from,const struct iomap_ops * ops,const struct iomap_dio_ops * dops,struct xfs_zone_alloc_ctx * ac) xfs_file_dio_write_aligned() argument 783 struct xfs_zone_alloc_ctx ac = { }; xfs_file_dio_write_zoned() local 1096 struct xfs_zone_alloc_ctx ac = { }; xfs_file_buffered_write_zoned() local 1251 xfs_falloc_collapse_range(struct file * file,loff_t offset,loff_t len,struct xfs_zone_alloc_ctx * ac) xfs_falloc_collapse_range() argument 1347 xfs_falloc_force_zero(struct xfs_inode * ip,struct xfs_zone_alloc_ctx * ac) xfs_falloc_force_zero() argument 1365 xfs_falloc_write_zeroes(struct file * file,int mode,loff_t offset,loff_t len,struct xfs_zone_alloc_ctx * ac) xfs_falloc_write_zeroes() argument 1451 xfs_falloc_zero_range(struct file * file,int mode,loff_t offset,loff_t len,struct xfs_zone_alloc_ctx * ac) xfs_falloc_zero_range() argument 1550 __xfs_file_fallocate(struct file * file,int mode,loff_t offset,loff_t len,struct xfs_zone_alloc_ctx * ac) __xfs_file_fallocate() argument 1617 struct xfs_zone_alloc_ctx ac = { }; xfs_file_zoned_fallocate() local 1996 __xfs_write_fault(struct vm_fault * vmf,unsigned int order,struct xfs_zone_alloc_ctx * ac) __xfs_write_fault() argument 2038 struct xfs_zone_alloc_ctx ac = { }; xfs_write_fault_zoned() local [all...] |
| /linux/drivers/net/ethernet/microsoft/mana/ |
| H A D | mana_en.c | 58 if (apc && apc->ac && apc->ac->gdma_dev && in mana_en_need_log() 59 apc->ac->gdma_dev->gdma_context) in mana_en_need_log() 60 return mana_need_log(apc->ac->gdma_dev->gdma_context, err); in mana_en_need_log() 109 struct mana_context *ac; in mana_link_state_handle() local 115 ac = container_of(w, struct mana_context, link_change_work); in mana_link_state_handle() 119 link_event = READ_ONCE(ac->link_event); in mana_link_state_handle() 129 for (i = 0; i < ac->num_ports; i++) { in mana_link_state_handle() 130 ndev = ac->ports[i]; in mana_link_state_handle() 192 struct gdma_dev *gd = apc->ac in mana_map_skb() 942 struct mana_context *ac = apc->ac; mana_tx_timeout() local 1118 mana_send_request(struct mana_context * ac,void * in_buf,u32 in_len,void * out_buf,u32 out_len) mana_send_request() argument 1753 struct mana_context *ac = apc->ac; mana_destroy_eq() local 2739 struct mana_context *ac = apc->ac; mana_create_txq() local 3372 mana_query_gf_stats(struct mana_context * ac) mana_query_gf_stats() argument 3836 mana_probe_port(struct mana_context * ac,int port_idx,struct net_device ** ndev_storage) mana_probe_port() argument 4080 struct mana_context *ac = mana_gf_stats_work_handler() local 4104 struct mana_context *ac = gd->driver_data; mana_probe() local 4228 struct mana_context *ac = gd->driver_data; mana_remove() local 4358 mana_get_primary_netdev(struct mana_context * ac,u32 port_index,netdevice_tracker * tracker) mana_get_primary_netdev() argument [all...] |
| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A D | Kconfig | 3 tristate "Realtek 802.11ac wireless chips support" 7 enables Realtek IEEE 802.11ac wireless chipsets. 73 802.11ac PCIe wireless network adapter 84 802.11ac SDIO wireless network adapter 95 802.11ac USB wireless network adapter 106 802.11ac PCIe wireless network adapter 117 802.11ac SDIO wireless network adapter 128 802.11ac USB wireless network adapter 200 802.11ac PCIe wireless network adapter 211 802.11ac SDI [all...] |
| /linux/mm/ |
| H A D | page_alloc.c | 3507 static bool unreserve_highatomic_pageblock(const struct alloc_context *ac, in unreserve_highatomic_pageblock() 3510 struct zonelist *zonelist = ac->zonelist; in unreserve_highatomic_pageblock() 3517 for_each_zone_zonelist_nodemask(zone, z, zonelist, ac->highest_zoneidx, in unreserve_highatomic_pageblock() 3518 ac->nodemask) { in unreserve_highatomic_pageblock() 3549 * Convert to ac->migratetype and avoid the normal in unreserve_highatomic_pageblock() 3560 ac->migratetype); in unreserve_highatomic_pageblock() 3564 ac->migratetype); in unreserve_highatomic_pageblock() 3566 ac->migratetype); in unreserve_highatomic_pageblock() 3812 const struct alloc_context *ac) in get_page_from_freelist() 3827 preferred_zone = zonelist_zone(ac in get_page_from_freelist() 3496 unreserve_highatomic_pageblock(const struct alloc_context * ac,bool force) unreserve_highatomic_pageblock() argument 3801 get_page_from_freelist(gfp_t gfp_mask,unsigned int order,int alloc_flags,const struct alloc_context * ac) get_page_from_freelist() argument 4027 __alloc_pages_cpuset_fallback(gfp_t gfp_mask,unsigned int order,unsigned int alloc_flags,const struct alloc_context * ac) __alloc_pages_cpuset_fallback() argument 4045 __alloc_pages_may_oom(gfp_t gfp_mask,unsigned int order,const struct alloc_context * ac,unsigned long * did_some_progress) __alloc_pages_may_oom() argument 4140 __alloc_pages_direct_compact(gfp_t gfp_mask,unsigned int order,unsigned int alloc_flags,const struct alloc_context * ac,enum compact_priority prio,enum compact_result * compact_result) __alloc_pages_direct_compact() argument 4248 should_compact_retry(gfp_t gfp_mask,struct alloc_context * ac,int order,int alloc_flags,enum compact_result compact_result,enum compact_priority * compact_priority,int * compaction_retries) should_compact_retry() argument 4317 __alloc_pages_direct_compact(gfp_t gfp_mask,unsigned int order,unsigned int alloc_flags,const struct alloc_context * ac,enum compact_priority prio,enum compact_result * compact_result) __alloc_pages_direct_compact() argument 4325 should_compact_retry(gfp_t gfp_mask,struct alloc_context * ac,int order,int alloc_flags,enum compact_result compact_result,enum compact_priority * compact_priority,int * compaction_retries) should_compact_retry() argument 4439 __perform_reclaim(gfp_t gfp_mask,unsigned int order,const struct alloc_context * ac) __perform_reclaim() argument 4465 __alloc_pages_direct_reclaim(gfp_t gfp_mask,unsigned int order,unsigned int alloc_flags,const struct alloc_context * ac,unsigned long * did_some_progress) __alloc_pages_direct_reclaim() argument 4503 wake_all_kswapds(unsigned int order,gfp_t gfp_mask,const struct alloc_context * ac) wake_all_kswapds() argument 4641 should_reclaim_retry(gfp_t gfp_mask,unsigned order,struct alloc_context * ac,int alloc_flags,bool did_some_progress,int * no_progress_loops) should_reclaim_retry() argument 4717 check_retry_cpuset(int cpuset_mems_cookie,struct alloc_context * ac) check_retry_cpuset() argument 4785 __alloc_pages_slowpath(gfp_t gfp_mask,unsigned int order,struct alloc_context * ac) __alloc_pages_slowpath() argument 5093 prepare_alloc_pages(gfp_t gfp_mask,unsigned int order,int preferred_nid,nodemask_t * nodemask,struct alloc_context * ac,gfp_t * alloc_gfp,unsigned int * alloc_flags) prepare_alloc_pages() argument 5169 struct alloc_context ac; alloc_pages_bulk_noprof() local 5388 struct alloc_context ac = { __alloc_frozen_pages_noprof() local [all...] |
| /linux/drivers/input/misc/ |
| H A D | adxl34x-spi.c | 70 struct adxl34x *ac; in adxl34x_spi_probe() local 78 ac = adxl34x_probe(&spi->dev, spi->irq, in adxl34x_spi_probe() 82 if (IS_ERR(ac)) in adxl34x_spi_probe() 83 return PTR_ERR(ac); in adxl34x_spi_probe() 85 spi_set_drvdata(spi, ac); in adxl34x_spi_probe()
|
| H A D | adxl34x-i2c.c | 79 struct adxl34x *ac; in adxl34x_i2c_probe() local 86 ac = adxl34x_probe(&client->dev, client->irq, false, in adxl34x_i2c_probe() 90 if (IS_ERR(ac)) in adxl34x_i2c_probe() 91 return PTR_ERR(ac); in adxl34x_i2c_probe() 93 i2c_set_clientdata(client, ac); in adxl34x_i2c_probe()
|