/linux-master/net/ceph/ |
H A D | auth.c | 24 static int init_protocol(struct ceph_auth_client *ac, int proto) argument 30 return ceph_auth_none_init(ac); 32 return ceph_x_init(ac); 39 void ceph_auth_set_global_id(struct ceph_auth_client *ac, u64 global_id) argument 46 if (ac->global_id && global_id != ac->global_id) 47 pr_err("global_id changed from %llu to %llu\n", ac->global_id, 50 ac->global_id = global_id; 60 struct ceph_auth_client *ac; local 62 ac 81 ceph_auth_destroy(struct ceph_auth_client *ac) argument 92 ceph_auth_reset(struct ceph_auth_client *ac) argument 121 ceph_auth_build_hello(struct ceph_auth_client *ac, void *buf, size_t len) argument 164 build_request(struct ceph_auth_client *ac, bool add_header, void *buf, int buf_len) argument 198 ceph_handle_auth_reply(struct ceph_auth_client *ac, void *buf, size_t len, void *reply_buf, size_t reply_len) argument 284 ceph_build_auth(struct ceph_auth_client *ac, void *msg_buf, size_t msg_len) argument 296 ceph_auth_is_authenticated(struct ceph_auth_client *ac) argument 308 __ceph_auth_get_authorizer(struct ceph_auth_client *ac, struct ceph_auth_handshake *auth, int peer_type, bool force_new, int *proto, int *pref_mode, int *fallb_mode) argument 347 ceph_auth_add_authorizer_challenge(struct ceph_auth_client *ac, struct ceph_authorizer *a, void *challenge_buf, int challenge_buf_len) argument 363 ceph_auth_verify_authorizer_reply(struct ceph_auth_client *ac, struct ceph_authorizer *a, void *reply, int reply_len, u8 *session_key, int *session_key_len, u8 *con_secret, int *con_secret_len) argument 381 ceph_auth_invalidate_authorizer(struct ceph_auth_client *ac, int peer_type) argument 427 ceph_auth_get_request(struct ceph_auth_client *ac, void *buf, int buf_len) argument 475 ceph_auth_handle_reply_more(struct ceph_auth_client *ac, void *reply, int reply_len, void *buf, int buf_len) argument 491 ceph_auth_handle_reply_done(struct ceph_auth_client *ac, u64 global_id, void *reply, int reply_len, u8 *session_key, int *session_key_len, u8 *con_secret, int *con_secret_len) argument 507 ceph_auth_handle_bad_method(struct ceph_auth_client *ac, int used_proto, int result, const int *allowed_protos, int proto_cnt, const int *allowed_modes, int mode_cnt) argument 547 ceph_auth_get_authorizer(struct ceph_auth_client *ac, struct ceph_auth_handshake *auth, int peer_type, void *buf, int *buf_len) argument 577 ceph_auth_handle_svc_reply_more(struct ceph_auth_client *ac, struct ceph_auth_handshake *auth, void *reply, int reply_len, void *buf, int *buf_len) argument 601 ceph_auth_handle_svc_reply_done(struct ceph_auth_client *ac, struct ceph_auth_handshake *auth, void *reply, int reply_len, u8 *session_key, int *session_key_len, u8 *con_secret, int *con_secret_len) argument 613 ceph_auth_handle_bad_authorizer(struct ceph_auth_client *ac, int peer_type, int used_proto, int result, const int *allowed_protos, int proto_cnt, const int *allowed_modes, int mode_cnt) argument [all...] |
H A D | auth_none.c | 15 static void reset(struct ceph_auth_client *ac) argument 17 struct ceph_auth_none_info *xi = ac->private; 22 static void destroy(struct ceph_auth_client *ac) argument 24 kfree(ac->private); 25 ac->private = NULL; 28 static int is_authenticated(struct ceph_auth_client *ac) argument 30 struct ceph_auth_none_info *xi = ac->private; 35 static int should_authenticate(struct ceph_auth_client *ac) argument 37 struct ceph_auth_none_info *xi = ac->private; 42 static int ceph_auth_none_build_authorizer(struct ceph_auth_client *ac, argument 63 build_request(struct ceph_auth_client *ac, void *buf, void *end) argument 72 handle_reply(struct ceph_auth_client *ac, u64 global_id, void *buf, void *end, u8 *session_key, int *session_key_len, u8 *con_secret, int *con_secret_len) argument 93 ceph_auth_none_create_authorizer( struct ceph_auth_client *ac, int peer_type, struct ceph_auth_handshake *auth) argument 131 ceph_auth_none_init(struct ceph_auth_client *ac) argument [all...] |
H A D | auth_none.h | 25 int ceph_auth_none_init(struct ceph_auth_client *ac);
|
H A D | auth_x.c | 20 static void ceph_x_validate_tickets(struct ceph_auth_client *ac, int *pneed); 22 static int ceph_x_is_authenticated(struct ceph_auth_client *ac) argument 24 struct ceph_x_info *xi = ac->private; 28 ceph_x_validate_tickets(ac, &need); 29 missing = ac->want_keys & ~xi->have_keys; 32 ac->want_keys, xi->have_keys, missing, !missing); 36 static int ceph_x_should_authenticate(struct ceph_auth_client *ac) argument 38 struct ceph_x_info *xi = ac->private; 41 ceph_x_validate_tickets(ac, &need); 43 ac 120 get_ticket_handler(struct ceph_auth_client *ac, int service) argument 147 remove_ticket_handler(struct ceph_auth_client *ac, struct ceph_x_ticket_handler *th) argument 160 process_one_ticket(struct ceph_auth_client *ac, struct ceph_crypto_key *secret, void **p, void *end) argument 270 ceph_x_proc_ticket_reply(struct ceph_auth_client *ac, struct ceph_crypto_key *secret, void **p, void *end) argument 351 ceph_x_build_authorizer(struct ceph_auth_client *ac, struct ceph_x_ticket_handler *th, struct ceph_x_authorizer *au) argument 458 ceph_x_validate_tickets(struct ceph_auth_client *ac, int *pneed) argument 488 ceph_x_build_request(struct ceph_auth_client *ac, void *buf, void *end) argument 600 handle_auth_session_key(struct ceph_auth_client *ac, u64 global_id, void **p, void *end, u8 *session_key, int *session_key_len, u8 *con_secret, int *con_secret_len) argument 665 ceph_x_handle_reply(struct ceph_auth_client *ac, u64 global_id, void *buf, void *end, u8 *session_key, int *session_key_len, u8 *con_secret, int *con_secret_len) argument 734 ceph_x_create_authorizer( struct ceph_auth_client *ac, int peer_type, struct ceph_auth_handshake *auth) argument 769 ceph_x_update_authorizer( struct ceph_auth_client *ac, int peer_type, struct ceph_auth_handshake *auth) argument 817 ceph_x_add_authorizer_challenge(struct ceph_auth_client *ac, struct ceph_authorizer *a, void *challenge, int challenge_len) argument 875 ceph_x_verify_authorizer_reply(struct ceph_auth_client *ac, struct ceph_authorizer *a, void *reply, int reply_len, u8 *session_key, int *session_key_len, u8 *con_secret, int *con_secret_len) argument 904 ceph_x_reset(struct ceph_auth_client *ac) argument 913 ceph_x_destroy(struct ceph_auth_client *ac) argument 933 invalidate_ticket(struct ceph_auth_client *ac, int peer_type) argument 949 ceph_x_invalidate_authorizer(struct ceph_auth_client *ac, int peer_type) argument 1087 ceph_x_init(struct ceph_auth_client *ac) argument [all...] |
/linux-master/drivers/input/misc/ |
H A D | adxl34x.c | 181 #define AC_READ(ac, reg) ((ac)->bops->read((ac)->dev, reg)) 182 #define AC_WRITE(ac, reg, val) ((ac)->bops->write((ac)->dev, reg, val)) 238 static void adxl34x_get_triple(struct adxl34x *ac, struct axis_triple *axis) argument 242 ac->bops->read_block(ac->dev, DATAX0, DATAZ1 - DATAX0 + 1, buf); 244 mutex_lock(&ac 256 adxl34x_service_ev_fifo(struct adxl34x *ac) argument 278 adxl34x_send_key_events(struct adxl34x *ac, struct adxl34x_platform_data *pdata, int status, int press) argument 290 adxl34x_do_tap(struct adxl34x *ac, struct adxl34x_platform_data *pdata, int status) argument 300 struct adxl34x *ac = handle; local 401 __adxl34x_disable(struct adxl34x *ac) argument 410 __adxl34x_enable(struct adxl34x *ac) argument 417 struct adxl34x *ac = dev_get_drvdata(dev); local 433 struct adxl34x *ac = dev_get_drvdata(dev); local 450 struct adxl34x *ac = dev_get_drvdata(dev); local 459 struct adxl34x *ac = dev_get_drvdata(dev); local 491 struct adxl34x *ac = dev_get_drvdata(dev); local 508 struct adxl34x *ac = dev_get_drvdata(dev); local 539 struct adxl34x *ac = dev_get_drvdata(dev); local 548 struct adxl34x *ac = dev_get_drvdata(dev); local 573 struct adxl34x *ac = dev_get_drvdata(dev); local 583 struct adxl34x *ac = dev_get_drvdata(dev); local 612 struct adxl34x *ac = dev_get_drvdata(dev); local 630 struct adxl34x *ac = dev_get_drvdata(dev); local 669 struct adxl34x *ac = input_get_drvdata(input); local 685 struct adxl34x *ac = input_get_drvdata(input); local 701 struct adxl34x *ac; local 904 adxl34x_remove(struct adxl34x *ac) argument [all...] |
H A D | adxl34x-spi.c | 70 struct adxl34x *ac; local 78 ac = adxl34x_probe(&spi->dev, spi->irq, 82 if (IS_ERR(ac)) 83 return PTR_ERR(ac); 85 spi_set_drvdata(spi, ac); 92 struct adxl34x *ac = spi_get_drvdata(spi); local 94 adxl34x_remove(ac);
|
H A D | adxl34x.h | 26 void adxl34x_remove(struct adxl34x *ac);
|
H A D | adxl34x-i2c.c | 79 struct adxl34x *ac; local 89 ac = adxl34x_probe(&client->dev, client->irq, false, 93 if (IS_ERR(ac)) 94 return PTR_ERR(ac); 96 i2c_set_clientdata(client, ac); 103 struct adxl34x *ac = i2c_get_clientdata(client); local 105 adxl34x_remove(ac);
|
/linux-master/drivers/power/supply/ |
H A D | surface_charger.c | 67 static int spwr_ac_update_unlocked(struct spwr_ac_device *ac) argument 69 __le32 old = ac->state; 72 lockdep_assert_held(&ac->lock); 74 status = ssam_retry(ssam_bat_get_psrc, ac->sdev, &ac->state); 78 return old != ac->state; 81 static int spwr_ac_update(struct spwr_ac_device *ac) argument 85 mutex_lock(&ac->lock); 86 status = spwr_ac_update_unlocked(ac); 87 mutex_unlock(&ac 92 spwr_ac_recheck(struct spwr_ac_device *ac) argument 105 struct spwr_ac_device *ac; local 142 struct spwr_ac_device *ac = power_supply_get_drvdata(psy); local 174 spwr_ac_init(struct spwr_ac_device *ac, struct ssam_device *sdev, struct ssam_event_registry registry, const char *name) argument 197 spwr_ac_register(struct spwr_ac_device *ac) argument 234 struct spwr_ac_device *ac; local 252 struct spwr_ac_device *ac = ssam_device_get_drvdata(sdev); local [all...] |
/linux-master/drivers/acpi/ |
H A D | ac.c | 66 static int acpi_ac_get_state(struct acpi_ac *ac) argument 70 if (!ac) 74 ac->state = 1; 78 status = acpi_evaluate_integer(ac->device->handle, "_PSR", NULL, 79 &ac->state); 81 acpi_handle_info(ac->device->handle, 84 ac->state = ACPI_AC_STATUS_UNKNOWN; 96 struct acpi_ac *ac = to_acpi_ac(psy); local 98 if (!ac) 101 if (acpi_ac_get_state(ac)) 122 struct acpi_ac *ac = data; local 155 struct acpi_ac *ac = container_of(nb, struct acpi_ac, battery_nb); local 208 struct acpi_ac *ac; local 264 struct acpi_ac *ac = dev_get_drvdata(dev); local 281 struct acpi_ac *ac = platform_get_drvdata(pdev); local [all...] |
/linux-master/lib/ |
H A D | base64.c | 34 u32 ac = 0; local 40 ac = (ac << 8) | src[i]; 44 *cp++ = base64_table[(ac >> bits) & 0x3f]; 48 *cp++ = base64_table[(ac << (6 - bits)) & 0x3f]; 75 u32 ac = 0; local 84 ac = (ac << 6); 92 ac = (ac << [all...] |
/linux-master/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-master/drivers/s390/crypto/ |
H A D | ap_card.c | 25 struct ap_card *ac = to_ap_card(dev); local 27 return sysfs_emit(buf, "%d\n", ac->ap_dev.device_type); 35 struct ap_card *ac = to_ap_card(dev); local 37 return sysfs_emit(buf, "%d\n", ac->hwinfo.at); 45 struct ap_card *ac = to_ap_card(dev); local 47 return sysfs_emit(buf, "%d\n", ac->hwinfo.qd); 55 struct ap_card *ac = to_ap_card(dev); local 57 return sysfs_emit(buf, "0x%08X\n", ac->hwinfo.fac); 66 struct ap_card *ac = to_ap_card(dev); local 71 req_cnt = atomic64_read(&ac 82 struct ap_card *ac = to_ap_card(dev); local 102 struct ap_card *ac = to_ap_card(dev); local 121 struct ap_card *ac = to_ap_card(dev); local 145 struct ap_card *ac = to_ap_card(dev); local 155 struct ap_card *ac = to_ap_card(dev); local 179 struct ap_card *ac = to_ap_card(dev); local 189 struct ap_card *ac = to_ap_card(dev); local 227 struct ap_card *ac = to_ap_card(dev); local 235 struct ap_card *ac; local [all...] |
H A D | zcrypt_cex4.c | 84 struct ap_card *ac = to_ap_card(dev); local 89 cca_get_info(ac->id, ap_domain_index, &ci, zc->online); 215 struct ap_card *ac = to_ap_card(dev); local 219 ep11_get_card_info(ac->id, &ci, zc->online); 236 struct ap_card *ac = to_ap_card(dev); local 240 ep11_get_card_info(ac->id, &ci, zc->online); 259 struct ap_card *ac = to_ap_card(dev); local 263 ep11_get_card_info(ac->id, &ci, zc->online); 297 struct ap_card *ac = to_ap_card(dev); local 301 ep11_get_card_info(ac 471 struct ap_card *ac = to_ap_card(&ap_dev->device); local 627 struct ap_card *ac = to_ap_card(&ap_dev->device); local [all...] |
/linux-master/drivers/media/pci/tw686x/ |
H A D | tw686x-audio.c | 38 struct tw686x_audio_channel *ac = &dev->audio_channels[ch]; local 45 spin_lock_irqsave(&ac->lock, flags); 48 if (!ac->ss || !ac->curr_bufs[0] || !ac->curr_bufs[1]) { 49 spin_unlock_irqrestore(&ac->lock, flags); 53 if (!list_empty(&ac->buf_list)) { 54 next = list_first_entry(&ac->buf_list, 56 list_move_tail(&next->list, &ac->buf_list); 57 done = ac 107 struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number]; local 124 struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number]; local 133 struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number]; local 214 struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number]; local 253 struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number]; local 295 tw686x_audio_dma_free(struct tw686x_dev *dev, struct tw686x_audio_channel *ac) argument 310 tw686x_audio_dma_alloc(struct tw686x_dev *dev, struct tw686x_audio_channel *ac) argument 384 struct tw686x_audio_channel *ac; local [all...] |
/linux-master/sound/soc/qcom/qdsp6/ |
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...] |
H A D | q6asm.c | 280 static inline void q6asm_add_hdr(struct audio_client *ac, struct apr_hdr *hdr, argument 285 hdr->src_port = ((ac->session << 8) & 0xFF00) | (stream_id); 286 hdr->dest_port = ((ac->session << 8) & 0xFF00) | (stream_id); 289 hdr->token = ac->session; 292 static int q6asm_apr_send_session_pkt(struct q6asm *a, struct audio_client *ac, argument 298 mutex_lock(&ac->cmd_lock); 299 ac->result.opcode = 0; 300 ac->result.status = 0; 307 (ac->result.opcode == hdr->opcode) || 308 (ac 329 __q6asm_memory_unmap(struct audio_client *ac, phys_addr_t buf_add, int dir) argument 373 q6asm_audio_client_free_buf(struct audio_client *ac, struct audio_port_data *port) argument 393 q6asm_unmap_memory_regions(unsigned int dir, struct audio_client *ac) argument 422 __q6asm_memory_map_regions(struct audio_client *ac, int dir, size_t period_sz, unsigned int periods, bool is_contiguous) argument 501 q6asm_map_memory_regions(unsigned int dir, struct audio_client *ac, phys_addr_t phys, size_t period_sz, unsigned int periods) argument 551 struct audio_client *ac; local 570 q6asm_audio_client_free(struct audio_client *ac) argument 579 struct audio_client *ac = NULL; local 609 struct audio_client *ac; local 753 struct audio_client *ac = NULL; local 847 struct audio_client *ac; local 881 q6asm_ac_send_cmd_sync(struct audio_client *ac, struct apr_pkt *pkt) argument 927 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) argument 1009 __q6asm_run(struct audio_client *ac, uint32_t stream_id, uint32_t flags, uint32_t msw_ts, uint32_t lsw_ts, bool wait) argument 1055 q6asm_run(struct audio_client *ac, uint32_t stream_id, uint32_t flags, uint32_t msw_ts, uint32_t lsw_ts) argument 1073 q6asm_run_nowait(struct audio_client *ac, uint32_t stream_id, uint32_t flags, uint32_t msw_ts, uint32_t lsw_ts) argument 1092 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) argument 1141 q6asm_stream_media_format_block_flac(struct audio_client *ac, uint32_t stream_id, struct q6asm_flac_cfg *cfg) argument 1178 q6asm_stream_media_format_block_wma_v9(struct audio_client *ac, uint32_t stream_id, struct q6asm_wma_cfg *cfg) argument 1216 q6asm_stream_media_format_block_wma_v10(struct audio_client *ac, uint32_t stream_id, struct q6asm_wma_cfg *cfg) argument 1255 q6asm_stream_media_format_block_alac(struct audio_client *ac, uint32_t stream_id, struct q6asm_alac_cfg *cfg) argument 1297 q6asm_stream_media_format_block_ape(struct audio_client *ac, uint32_t stream_id, struct q6asm_ape_cfg *cfg) argument 1337 q6asm_stream_remove_silence(struct audio_client *ac, uint32_t stream_id, uint32_t cmd, uint32_t num_samples) argument 1367 q6asm_stream_remove_initial_silence(struct audio_client *ac, uint32_t stream_id, uint32_t initial_samples) argument 1377 q6asm_stream_remove_trailing_silence(struct audio_client *ac, uint32_t stream_id, uint32_t trailing_samples) argument 1397 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) argument 1452 q6asm_read(struct audio_client *ac, uint32_t stream_id) argument 1501 __q6asm_open_read(struct audio_client *ac, uint32_t stream_id, uint32_t format, uint16_t bits_per_sample) argument 1554 q6asm_open_read(struct audio_client *ac, uint32_t stream_id, uint32_t format, uint16_t bits_per_sample) argument 1573 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) argument 1626 q6asm_reset_buf_state(struct audio_client *ac) argument 1639 __q6asm_cmd(struct audio_client *ac, uint32_t stream_id, int cmd, bool wait) argument 1693 q6asm_cmd(struct audio_client *ac, uint32_t stream_id, int cmd) argument 1708 q6asm_cmd_nowait(struct audio_client *ac, uint32_t stream_id, int cmd) argument [all...] |
/linux-master/drivers/of/ |
H A D | cpu.c | 17 int ac, len; local 19 ac = of_n_addr_cells(cpun); 21 if (!cell || !ac || ((sizeof(*cell) * ac * (thread + 1)) > len)) 24 cell += ac * thread; 25 return of_read_number(cell, ac); 56 int ac, prop_len, tid; local 59 ac = of_n_addr_cells(cpun); 61 if (!cell && !ac && arch_match_cpu_phys_id(cpu, 0)) 63 if (!cell || !ac) [all...] |
/linux-master/fs/ocfs2/ |
H A D | suballoc.h | 50 void ocfs2_free_alloc_context(struct ocfs2_alloc_context *ac); 51 static inline int ocfs2_alloc_context_bits_left(struct ocfs2_alloc_context *ac) argument 53 return ac->ac_bits_wanted - ac->ac_bits_given; 63 struct ocfs2_alloc_context **ac); 66 struct ocfs2_alloc_context **ac); 68 struct ocfs2_alloc_context **ac); 71 struct ocfs2_alloc_context **ac); 90 struct ocfs2_alloc_context *ac, 99 struct ocfs2_alloc_context *ac, [all...] |
H A D | suballoc.c | 91 static int ocfs2_claim_suballoc_bits(struct ocfs2_alloc_context *ac, 116 struct ocfs2_alloc_context **ac); 118 void ocfs2_free_ac_resource(struct ocfs2_alloc_context *ac) argument 120 struct inode *inode = ac->ac_inode; 123 if (ac->ac_which != OCFS2_AC_USE_LOCAL) 129 ac->ac_inode = NULL; 131 brelse(ac->ac_bh); 132 ac->ac_bh = NULL; 133 ac->ac_resv = NULL; 134 kfree(ac 138 ocfs2_free_alloc_context(struct ocfs2_alloc_context *ac) argument 417 ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle, struct inode *alloc_inode, struct ocfs2_alloc_context *ac, struct ocfs2_chain_list *cl) argument 461 ocfs2_block_group_claim_bits(struct ocfs2_super *osb, handle_t *handle, struct ocfs2_alloc_context *ac, unsigned int min_bits, u32 *bit_off, u32 *num_bits) argument 481 ocfs2_block_group_grow_discontig(handle_t *handle, struct inode *alloc_inode, struct buffer_head *bg_bh, struct ocfs2_alloc_context *ac, struct ocfs2_chain_list *cl, unsigned int min_bits) argument 574 ocfs2_block_group_alloc_discontig(handle_t *handle, struct inode *alloc_inode, struct ocfs2_alloc_context *ac, struct ocfs2_chain_list *cl) argument 661 struct ocfs2_alloc_context *ac = NULL; local 762 ocfs2_reserve_suballoc_bits(struct ocfs2_super *osb, struct ocfs2_alloc_context *ac, int type, u32 slot, u64 *last_alloc_group, int flags) argument 910 ocfs2_steal_resource(struct ocfs2_super *osb, struct ocfs2_alloc_context *ac, int type) argument 943 ocfs2_steal_inode(struct ocfs2_super *osb, struct ocfs2_alloc_context *ac) argument 949 ocfs2_steal_meta(struct ocfs2_super *osb, struct ocfs2_alloc_context *ac) argument 955 ocfs2_reserve_new_metadata_blocks(struct ocfs2_super *osb, int blocks, struct ocfs2_alloc_context **ac) argument 1017 ocfs2_reserve_new_metadata(struct ocfs2_super *osb, struct ocfs2_extent_list *root_el, struct ocfs2_alloc_context **ac) argument 1026 ocfs2_reserve_new_inode(struct ocfs2_super *osb, struct ocfs2_alloc_context **ac) argument 1120 ocfs2_reserve_cluster_bitmap_bits(struct ocfs2_super *osb, struct ocfs2_alloc_context *ac) argument 1141 ocfs2_reserve_clusters_with_limit(struct ocfs2_super *osb, u32 bits_wanted, u64 max_block, int flags, struct ocfs2_alloc_context **ac) argument 1219 ocfs2_reserve_clusters(struct ocfs2_super *osb, u32 bits_wanted, struct ocfs2_alloc_context **ac) argument 1638 ocfs2_bg_discontig_fix_result(struct ocfs2_alloc_context *ac, struct ocfs2_group_desc *bg, struct ocfs2_suballoc_result *res) argument 1668 ocfs2_search_one_group(struct ocfs2_alloc_context *ac, handle_t *handle, u32 bits_wanted, u32 min_bits, struct ocfs2_suballoc_result *res, u16 *bits_left) argument 1735 ocfs2_search_chain(struct ocfs2_alloc_context *ac, handle_t *handle, u32 bits_wanted, u32 min_bits, struct ocfs2_suballoc_result *res, u16 *bits_left) argument 1876 ocfs2_claim_suballoc_bits(struct ocfs2_alloc_context *ac, handle_t *handle, u32 bits_wanted, u32 min_bits, struct ocfs2_suballoc_result *res) argument 1987 ocfs2_claim_metadata(handle_t *handle, struct ocfs2_alloc_context *ac, u32 bits_wanted, u64 *suballoc_loc, u16 *suballoc_bit_start, unsigned int *num_bits, u64 *blkno_start) argument 2025 ocfs2_init_inode_ac_group(struct inode *dir, struct buffer_head *parent_di_bh, struct ocfs2_alloc_context *ac) argument 2053 ocfs2_save_inode_ac_group(struct inode *dir, struct ocfs2_alloc_context *ac) argument 2060 ocfs2_find_new_inode_loc(struct inode *dir, struct buffer_head *parent_fe_bh, struct ocfs2_alloc_context *ac, u64 *fe_blkno) argument 2121 ocfs2_claim_new_inode_at_loc(handle_t *handle, struct inode *dir, struct ocfs2_alloc_context *ac, u64 *suballoc_loc, u16 *suballoc_bit, u64 di_blkno) argument 2192 ocfs2_claim_new_inode(handle_t *handle, struct inode *dir, struct buffer_head *parent_fe_bh, struct ocfs2_alloc_context *ac, u64 *suballoc_loc, u16 *suballoc_bit, u64 *fe_blkno) argument 2296 __ocfs2_claim_clusters(handle_t *handle, struct ocfs2_alloc_context *ac, u32 min_clusters, u32 max_clusters, u32 *cluster_start, u32 *num_clusters) argument 2367 ocfs2_claim_clusters(handle_t *handle, struct ocfs2_alloc_context *ac, u32 min_clusters, u32 *cluster_start, u32 *num_clusters) argument [all...] |
H A D | localalloc.h | 33 struct ocfs2_alloc_context *ac); 37 struct ocfs2_alloc_context *ac, 44 struct ocfs2_alloc_context *ac,
|
/linux-master/fs/ext4/ |
H A D | mballoc.c | 421 static void ext4_mb_new_preallocation(struct ext4_allocation_context *ac); 423 static bool ext4_mb_good_group(struct ext4_allocation_context *ac, 872 static void ext4_mb_choose_next_group_p2_aligned(struct ext4_allocation_context *ac, argument 875 struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb); 879 if (ac->ac_status == AC_STATUS_FOUND) 882 if (unlikely(sbi->s_mb_stats && ac->ac_flags & EXT4_MB_CR_POWER2_ALIGNED_OPTIMIZED)) 885 for (i = ac->ac_2order; i < MB_NUM_ORDERS(ac->ac_sb); i++) { 897 if (likely(ext4_mb_good_group(ac, iter->bb_group, CR_POWER2_ALIGNED))) { 899 ac 915 ext4_mb_find_good_group_avg_frag_lists(struct ext4_allocation_context *ac, int order) argument 946 ext4_mb_choose_next_group_goal_fast(struct ext4_allocation_context *ac, enum criteria *new_cr, ext4_group_t *group) argument 991 ext4_mb_choose_next_group_best_avail(struct ext4_allocation_context *ac, enum criteria *new_cr, ext4_group_t *group) argument 1067 should_optimize_scan(struct ext4_allocation_context *ac) argument 1083 next_linear_group(struct ext4_allocation_context *ac, ext4_group_t group, ext4_group_t ngroups) argument 1116 ext4_mb_choose_next_group(struct ext4_allocation_context *ac, enum criteria *new_cr, ext4_group_t *group, ext4_group_t ngroups) argument 2124 ext4_mb_use_best_found(struct ext4_allocation_context *ac, struct ext4_buddy *e4b) argument 2173 ext4_mb_check_limits(struct ext4_allocation_context *ac, struct ext4_buddy *e4b, int finish_group) argument 2226 ext4_mb_measure_extent(struct ext4_allocation_context *ac, struct ext4_free_extent *ex, struct ext4_buddy *e4b) argument 2287 ext4_mb_try_best_found(struct ext4_allocation_context *ac, struct ext4_buddy *e4b) argument 2317 ext4_mb_find_by_goal(struct ext4_allocation_context *ac, struct ext4_buddy *e4b) argument 2386 ext4_mb_simple_scan_group(struct ext4_allocation_context *ac, struct ext4_buddy *e4b) argument 2440 ext4_mb_complex_scan_group(struct ext4_allocation_context *ac, struct ext4_buddy *e4b) argument 2523 ext4_mb_scan_aligned(struct ext4_allocation_context *ac, struct ext4_buddy *e4b) argument 2567 ext4_mb_good_group(struct ext4_allocation_context *ac, ext4_group_t group, enum criteria cr) argument 2636 ext4_mb_good_group_nolock(struct ext4_allocation_context *ac, ext4_group_t group, enum criteria cr) argument 2785 ext4_mb_regular_allocator(struct ext4_allocation_context *ac) argument 4077 ext4_mb_mark_diskspace_used(struct ext4_allocation_context *ac, handle_t *handle, unsigned int reserv_clstrs) argument 4202 ext4_mb_normalize_group_request(struct ext4_allocation_context *ac) argument 4231 ext4_mb_pa_assert_overlap(struct ext4_allocation_context *ac, ext4_lblk_t start, loff_t end) argument 4268 ext4_mb_pa_adjust_overlap(struct ext4_allocation_context *ac, ext4_lblk_t *start, loff_t *end) argument 4408 ext4_mb_normalize_request(struct ext4_allocation_context *ac, struct ext4_allocation_request *ar) argument 4581 ext4_mb_collect_stats(struct ext4_allocation_context *ac) argument 4620 ext4_discard_allocated_blocks(struct ext4_allocation_context *ac) argument 4655 ext4_mb_use_inode_pa(struct ext4_allocation_context *ac, struct ext4_prealloc_space *pa) argument 4686 ext4_mb_use_group_pa(struct ext4_allocation_context *ac, struct ext4_prealloc_space *pa) argument 4741 ext4_mb_pa_goal_check(struct ext4_allocation_context *ac, struct ext4_prealloc_space *pa) argument 4772 ext4_mb_use_preallocated(struct ext4_allocation_context *ac) argument 5055 ext4_mb_put_pa(struct ext4_allocation_context *ac, struct super_block *sb, struct ext4_prealloc_space *pa) argument 5147 ext4_mb_new_inode_pa(struct ext4_allocation_context *ac) argument 5247 ext4_mb_new_group_pa(struct ext4_allocation_context *ac) argument 5296 ext4_mb_new_preallocation(struct ext4_allocation_context *ac) argument 5611 ext4_mb_pa_alloc(struct ext4_allocation_context *ac) argument 5624 ext4_mb_pa_put_free(struct ext4_allocation_context *ac) argument 5675 ext4_mb_show_ac(struct ext4_allocation_context *ac) argument 5713 ext4_mb_show_ac(struct ext4_allocation_context *ac) argument 5726 ext4_mb_group_or_file(struct ext4_allocation_context *ac) argument 5779 ext4_mb_initialize_context(struct ext4_allocation_context *ac, struct ext4_allocation_request *ar) argument 5914 ext4_mb_add_n_trim(struct ext4_allocation_context *ac) argument 5962 ext4_mb_release_context(struct ext4_allocation_context *ac) argument 6028 ext4_mb_discard_preallocations_should_retry(struct super_block *sb, struct ext4_allocation_context *ac, u64 *seq) argument 6127 struct ext4_allocation_context *ac = NULL; local [all...] |
/linux-master/kernel/ |
H A D | acct.c | 434 static void fill_ac(acct_t *ac) argument 445 memset(ac, 0, sizeof(acct_t)); 447 ac->ac_version = ACCT_VERSION | ACCT_BYTEORDER; 448 strscpy(ac->ac_comm, current->comm, sizeof(ac->ac_comm)); 456 ac->ac_etime = encode_float(elapsed); 458 ac->ac_etime = encode_comp_t(elapsed < (unsigned long) -1l ? 466 ac->ac_etime_hi = etime >> 16; 467 ac->ac_etime_lo = (u16) etime; 472 ac 494 acct_t ac; local [all...] |
/linux-master/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_rx_filter.c | 24 struct ionic_rx_filter_add_cmd *ac; local 35 ac = &ctx.cmd.rx_filter_add; 41 memcpy(ac, &f->cmd, sizeof(f->cmd)); 48 switch (le16_to_cpu(ac->match)) { 52 le16_to_cpu(ac->vlan.vlan)); 56 err, ac->mac.addr); 61 le16_to_cpu(ac->vlan.vlan), 62 ac->mac.addr); 128 struct ionic_rx_filter_add_cmd *ac; local 133 ac 242 ionic_rx_filter_find(struct ionic_lif *lif, struct ionic_rx_filter_add_cmd *ac) argument 304 ionic_lif_filter_add(struct ionic_lif *lif, struct ionic_rx_filter_add_cmd *ac) argument 448 struct ionic_rx_filter_add_cmd ac = { local 459 struct ionic_rx_filter_add_cmd ac = { local 467 ionic_lif_filter_del(struct ionic_lif *lif, struct ionic_rx_filter_add_cmd *ac) argument 534 struct ionic_rx_filter_add_cmd ac = { local 545 struct ionic_rx_filter_add_cmd ac = { local [all...] |
/linux-master/include/linux/platform_data/ |
H A D | lp8727.h | 51 * @ac : charging parameters for AC type charger 60 struct lp8727_chg_param *ac; member in struct:lp8727_platform_data
|