/kernel/linux/linux-5.10/net/ceph/ |
H A D | auth.c | 24 static int ceph_auth_init_protocol(struct ceph_auth_client *ac, int protocol) in ceph_auth_init_protocol() argument 28 return ceph_auth_none_init(ac); in ceph_auth_init_protocol() 30 return ceph_x_init(ac); in ceph_auth_init_protocol() 41 struct ceph_auth_client *ac; in ceph_auth_init() local 47 ac = kzalloc(sizeof(*ac), GFP_NOFS); in ceph_auth_init() 48 if (!ac) in ceph_auth_init() 51 mutex_init(&ac->mutex); in ceph_auth_init() 52 ac->negotiating = true; in ceph_auth_init() 54 ac in ceph_auth_init() 65 ceph_auth_destroy(struct ceph_auth_client *ac) ceph_auth_destroy() argument 76 ceph_auth_reset(struct ceph_auth_client *ac) ceph_auth_reset() argument 105 ceph_auth_build_hello(struct ceph_auth_client *ac, void *buf, size_t len) ceph_auth_build_hello() argument 148 ceph_build_auth_request(struct ceph_auth_client *ac, void *msg_buf, size_t msg_len) ceph_build_auth_request() argument 178 ceph_handle_auth_reply(struct ceph_auth_client *ac, void *buf, size_t len, void *reply_buf, size_t reply_len) ceph_handle_auth_reply() argument 260 ceph_build_auth(struct ceph_auth_client *ac, void *msg_buf, size_t msg_len) ceph_build_auth() argument 272 ceph_auth_is_authenticated(struct ceph_auth_client *ac) ceph_auth_is_authenticated() argument 284 ceph_auth_create_authorizer(struct ceph_auth_client *ac, int peer_type, struct ceph_auth_handshake *auth) ceph_auth_create_authorizer() argument 304 ceph_auth_update_authorizer(struct ceph_auth_client *ac, int peer_type, struct ceph_auth_handshake *a) ceph_auth_update_authorizer() argument 318 ceph_auth_add_authorizer_challenge(struct ceph_auth_client *ac, struct ceph_authorizer *a, void *challenge_buf, int challenge_buf_len) ceph_auth_add_authorizer_challenge() argument 334 ceph_auth_verify_authorizer_reply(struct ceph_auth_client *ac, struct ceph_authorizer *a) ceph_auth_verify_authorizer_reply() argument 347 ceph_auth_invalidate_authorizer(struct ceph_auth_client *ac, int peer_type) ceph_auth_invalidate_authorizer() argument [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 63 build_request(struct ceph_auth_client *ac, void *buf, void *end) build_request() argument 72 handle_reply(struct ceph_auth_client *ac, int result, void *buf, void *end) handle_reply() argument 90 ceph_auth_none_create_authorizer( struct ceph_auth_client *ac, int peer_type, struct ceph_auth_handshake *auth) ceph_auth_none_create_authorizer() argument 129 ceph_auth_none_init(struct ceph_auth_client *ac) ceph_auth_none_init() argument [all...] |
/kernel/linux/linux-5.10/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) in adxl34x_get_triple() argument 242 ac->bops->read_block(ac->dev, DATAX0, DATAZ1 - DATAX0 + 1, buf); in adxl34x_get_triple() 244 mutex_lock(&ac in adxl34x_get_triple() 256 adxl34x_service_ev_fifo(struct adxl34x *ac) adxl34x_service_ev_fifo() argument 278 adxl34x_send_key_events(struct adxl34x *ac, struct adxl34x_platform_data *pdata, int status, int press) adxl34x_send_key_events() argument 290 adxl34x_do_tap(struct adxl34x *ac, struct adxl34x_platform_data *pdata, int status) adxl34x_do_tap() argument 300 struct adxl34x *ac = handle; adxl34x_irq() local 401 __adxl34x_disable(struct adxl34x *ac) __adxl34x_disable() argument 410 __adxl34x_enable(struct adxl34x *ac) __adxl34x_enable() argument 415 adxl34x_suspend(struct adxl34x *ac) adxl34x_suspend() argument 428 adxl34x_resume(struct adxl34x *ac) adxl34x_resume() argument 444 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_disable_show() local 453 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_disable_store() local 485 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_calibrate_show() local 502 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_calibrate_store() local 533 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_rate_show() local 542 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_rate_store() local 567 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_autosleep_show() local 577 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_autosleep_store() local 606 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_position_show() local 624 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_write_store() local 663 struct adxl34x *ac = input_get_drvdata(input); adxl34x_input_open() local 679 struct adxl34x *ac = input_get_drvdata(input); adxl34x_input_close() local 695 struct adxl34x *ac; adxl34x_probe() local 898 adxl34x_remove(struct adxl34x *ac) adxl34x_remove() argument [all...] |
/kernel/linux/linux-6.6/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) in adxl34x_get_triple() argument 242 ac->bops->read_block(ac->dev, DATAX0, DATAZ1 - DATAX0 + 1, buf); in adxl34x_get_triple() 244 mutex_lock(&ac in adxl34x_get_triple() 256 adxl34x_service_ev_fifo(struct adxl34x *ac) adxl34x_service_ev_fifo() argument 278 adxl34x_send_key_events(struct adxl34x *ac, struct adxl34x_platform_data *pdata, int status, int press) adxl34x_send_key_events() argument 290 adxl34x_do_tap(struct adxl34x *ac, struct adxl34x_platform_data *pdata, int status) adxl34x_do_tap() argument 300 struct adxl34x *ac = handle; adxl34x_irq() local 401 __adxl34x_disable(struct adxl34x *ac) __adxl34x_disable() argument 410 __adxl34x_enable(struct adxl34x *ac) __adxl34x_enable() argument 417 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_suspend() local 433 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_resume() local 450 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_disable_show() local 459 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_disable_store() local 491 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_calibrate_show() local 508 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_calibrate_store() local 539 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_rate_show() local 548 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_rate_store() local 573 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_autosleep_show() local 583 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_autosleep_store() local 612 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_position_show() local 630 struct adxl34x *ac = dev_get_drvdata(dev); adxl34x_write_store() local 669 struct adxl34x *ac = input_get_drvdata(input); adxl34x_input_open() local 685 struct adxl34x *ac = input_get_drvdata(input); adxl34x_input_close() local 701 struct adxl34x *ac; adxl34x_probe() local 904 adxl34x_remove(struct adxl34x *ac) adxl34x_remove() argument [all...] |
/kernel/linux/linux-6.6/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 in ceph_auth_init() 81 ceph_auth_destroy(struct ceph_auth_client *ac) ceph_auth_destroy() argument 92 ceph_auth_reset(struct ceph_auth_client *ac) ceph_auth_reset() argument 121 ceph_auth_build_hello(struct ceph_auth_client *ac, void *buf, size_t len) ceph_auth_build_hello() argument 164 build_request(struct ceph_auth_client *ac, bool add_header, void *buf, int buf_len) build_request() argument 198 ceph_handle_auth_reply(struct ceph_auth_client *ac, void *buf, size_t len, void *reply_buf, size_t reply_len) ceph_handle_auth_reply() argument 284 ceph_build_auth(struct ceph_auth_client *ac, void *msg_buf, size_t msg_len) ceph_build_auth() argument 296 ceph_auth_is_authenticated(struct ceph_auth_client *ac) ceph_auth_is_authenticated() 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) __ceph_auth_get_authorizer() argument 347 ceph_auth_add_authorizer_challenge(struct ceph_auth_client *ac, struct ceph_authorizer *a, void *challenge_buf, int challenge_buf_len) ceph_auth_add_authorizer_challenge() 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) ceph_auth_verify_authorizer_reply() argument 381 ceph_auth_invalidate_authorizer(struct ceph_auth_client *ac, int peer_type) ceph_auth_invalidate_authorizer() argument 427 ceph_auth_get_request(struct ceph_auth_client *ac, void *buf, int buf_len) ceph_auth_get_request() argument 475 ceph_auth_handle_reply_more(struct ceph_auth_client *ac, void *reply, int reply_len, void *buf, int buf_len) ceph_auth_handle_reply_more() 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) ceph_auth_handle_reply_done() 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) ceph_auth_handle_bad_method() argument 547 ceph_auth_get_authorizer(struct ceph_auth_client *ac, struct ceph_auth_handshake *auth, int peer_type, void *buf, int *buf_len) ceph_auth_get_authorizer() 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) ceph_auth_handle_svc_reply_more() 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) ceph_auth_handle_svc_reply_done() 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) ceph_auth_handle_bad_authorizer() argument [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 63 build_request(struct ceph_auth_client *ac, void *buf, void *end) build_request() 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) handle_reply() argument 93 ceph_auth_none_create_authorizer( struct ceph_auth_client *ac, int peer_type, struct ceph_auth_handshake *auth) ceph_auth_none_create_authorizer() argument 131 ceph_auth_none_init(struct ceph_auth_client *ac) ceph_auth_none_init() argument [all...] |
/kernel/linux/linux-6.6/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...] |
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | ac.c | 54 .name = "ac", 75 static int acpi_ac_get_state(struct acpi_ac *ac) in acpi_ac_get_state() argument 79 if (!ac) in acpi_ac_get_state() 83 ac->state = 1; in acpi_ac_get_state() 87 status = acpi_evaluate_integer(ac->device->handle, "_PSR", NULL, in acpi_ac_get_state() 88 &ac->state); in acpi_ac_get_state() 90 acpi_handle_info(ac->device->handle, in acpi_ac_get_state() 93 ac->state = ACPI_AC_STATUS_UNKNOWN; in acpi_ac_get_state() 105 struct acpi_ac *ac = to_acpi_ac(psy); in get_ac_property() local 107 if (!ac) in get_ac_property() 132 struct acpi_ac *ac = acpi_driver_data(device); acpi_ac_notify() local 167 struct acpi_ac *ac = container_of(nb, struct acpi_ac, battery_nb); acpi_ac_battery_notify() local 220 struct acpi_ac *ac = NULL; acpi_ac_add() local 278 struct acpi_ac *ac; acpi_ac_resume() local 302 struct acpi_ac *ac = NULL; acpi_ac_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/s390/crypto/ |
H A D | ap_card.c | 25 struct ap_card *ac = to_ap_card(dev); in hwtype_show() local 27 return sysfs_emit(buf, "%d\n", ac->ap_dev.device_type); in hwtype_show() 35 struct ap_card *ac = to_ap_card(dev); in raw_hwtype_show() local 37 return sysfs_emit(buf, "%d\n", ac->raw_hwtype); in raw_hwtype_show() 45 struct ap_card *ac = to_ap_card(dev); in depth_show() local 47 return sysfs_emit(buf, "%d\n", ac->queue_depth); in depth_show() 55 struct ap_card *ac = to_ap_card(dev); in ap_functions_show() local 57 return sysfs_emit(buf, "0x%08X\n", ac->functions); in ap_functions_show() 66 struct ap_card *ac = to_ap_card(dev); in request_count_show() local 71 req_cnt = atomic64_read(&ac in request_count_show() 82 struct ap_card *ac = to_ap_card(dev); request_count_store() local 102 struct ap_card *ac = to_ap_card(dev); requestq_count_show() local 121 struct ap_card *ac = to_ap_card(dev); pendingq_count_show() local 145 struct ap_card *ac = to_ap_card(dev); config_show() local 155 struct ap_card *ac = to_ap_card(dev); config_store() local 179 struct ap_card *ac = to_ap_card(dev); chkstop_show() local 189 struct ap_card *ac = to_ap_card(dev); max_msg_size_show() local 227 struct ap_card *ac = to_ap_card(dev); ap_card_device_release() local 235 struct ap_card *ac; ap_card_create() local [all...] |
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | ac.c | 32 ACPI_MODULE_NAME("ac"); 70 .name = "ac", 96 static int acpi_ac_get_state(struct acpi_ac *ac) in acpi_ac_get_state() argument 100 if (!ac) in acpi_ac_get_state() 104 ac->state = 1; in acpi_ac_get_state() 108 status = acpi_evaluate_integer(ac->device->handle, "_PSR", NULL, in acpi_ac_get_state() 109 &ac->state); in acpi_ac_get_state() 113 ac->state = ACPI_AC_STATUS_UNKNOWN; in acpi_ac_get_state() 127 struct acpi_ac *ac = to_acpi_ac(psy); in get_ac_property() local 129 if (!ac) in get_ac_property() 155 struct acpi_ac *ac = acpi_driver_data(device); acpi_ac_notify() local 192 struct acpi_ac *ac = container_of(nb, struct acpi_ac, battery_nb); acpi_ac_battery_notify() local 267 struct acpi_ac *ac = NULL; acpi_ac_add() local 317 struct acpi_ac *ac; acpi_ac_resume() local 340 struct acpi_ac *ac = NULL; acpi_ac_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/s390/crypto/ |
H A D | ap_card.c | 25 struct ap_card *ac = to_ap_card(dev); in hwtype_show() local 27 return scnprintf(buf, PAGE_SIZE, "%d\n", ac->ap_dev.device_type); in hwtype_show() 35 struct ap_card *ac = to_ap_card(dev); in raw_hwtype_show() local 37 return scnprintf(buf, PAGE_SIZE, "%d\n", ac->raw_hwtype); in raw_hwtype_show() 45 struct ap_card *ac = to_ap_card(dev); in depth_show() local 47 return scnprintf(buf, PAGE_SIZE, "%d\n", ac->queue_depth); in depth_show() 55 struct ap_card *ac = to_ap_card(dev); in ap_functions_show() local 57 return scnprintf(buf, PAGE_SIZE, "0x%08X\n", ac->functions); in ap_functions_show() 66 struct ap_card *ac = to_ap_card(dev); in request_count_show() local 71 req_cnt = atomic64_read(&ac in request_count_show() 82 struct ap_card *ac = to_ap_card(dev); request_count_store() local 102 struct ap_card *ac = to_ap_card(dev); requestq_count_show() local 121 struct ap_card *ac = to_ap_card(dev); pendingq_count_show() local 146 struct ap_card *ac = to_ap_card(dev); config_show() local 156 struct ap_card *ac = to_ap_card(dev); config_store() local 204 struct ap_card *ac = to_ap_card(dev); ap_card_device_release() local 212 struct ap_card *ac; ap_card_create() local [all...] |
/kernel/linux/linux-5.10/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 in tw686x_audio_irq() 107 struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number]; tw686x_pcm_open() local 124 struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number]; tw686x_pcm_close() local 133 struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number]; tw686x_pcm_prepare() local 214 struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number]; tw686x_pcm_trigger() local 253 struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number]; tw686x_pcm_pointer() local 295 tw686x_audio_dma_free(struct tw686x_dev *dev, struct tw686x_audio_channel *ac) tw686x_audio_dma_free() argument 310 tw686x_audio_dma_alloc(struct tw686x_dev *dev, struct tw686x_audio_channel *ac) tw686x_audio_dma_alloc() argument 383 struct tw686x_audio_channel *ac; tw686x_audio_init() local [all...] |
/kernel/linux/linux-6.6/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 in tw686x_audio_irq() 107 struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number]; tw686x_pcm_open() local 124 struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number]; tw686x_pcm_close() local 133 struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number]; tw686x_pcm_prepare() local 214 struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number]; tw686x_pcm_trigger() local 253 struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number]; tw686x_pcm_pointer() local 295 tw686x_audio_dma_free(struct tw686x_dev *dev, struct tw686x_audio_channel *ac) tw686x_audio_dma_free() argument 310 tw686x_audio_dma_alloc(struct tw686x_dev *dev, struct tw686x_audio_channel *ac) tw686x_audio_dma_alloc() argument 384 struct tw686x_audio_channel *ac; tw686x_audio_init() local [all...] |
/kernel/linux/linux-6.6/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...] |
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/ |
H A D | q6asm.c | 279 static inline void q6asm_add_hdr(struct audio_client *ac, struct apr_hdr *hdr, in q6asm_add_hdr() argument 284 hdr->src_port = ((ac->session << 8) & 0xFF00) | (stream_id); in q6asm_add_hdr() 285 hdr->dest_port = ((ac->session << 8) & 0xFF00) | (stream_id); in q6asm_add_hdr() 288 hdr->token = ac->session; in q6asm_add_hdr() 291 static int q6asm_apr_send_session_pkt(struct q6asm *a, struct audio_client *ac, in q6asm_apr_send_session_pkt() argument 297 mutex_lock(&ac->cmd_lock); in q6asm_apr_send_session_pkt() 298 ac->result.opcode = 0; in q6asm_apr_send_session_pkt() 299 ac->result.status = 0; in q6asm_apr_send_session_pkt() 306 (ac->result.opcode == hdr->opcode) || in q6asm_apr_send_session_pkt() 307 (ac in q6asm_apr_send_session_pkt() 328 __q6asm_memory_unmap(struct audio_client *ac, phys_addr_t buf_add, int dir) __q6asm_memory_unmap() argument 372 q6asm_audio_client_free_buf(struct audio_client *ac, struct audio_port_data *port) q6asm_audio_client_free_buf() argument 392 q6asm_unmap_memory_regions(unsigned int dir, struct audio_client *ac) q6asm_unmap_memory_regions() argument 421 __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 500 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 550 struct audio_client *ac; q6asm_audio_client_release() local 569 q6asm_audio_client_free(struct audio_client *ac) q6asm_audio_client_free() argument 578 struct audio_client *ac = NULL; q6asm_get_audio_client() local 608 struct audio_client *ac; q6asm_stream_callback() local 752 struct audio_client *ac = NULL; q6asm_srvc_callback() local 846 struct audio_client *ac; q6asm_audio_client_alloc() local 880 q6asm_ac_send_cmd_sync(struct audio_client *ac, struct apr_pkt *pkt) q6asm_ac_send_cmd_sync() argument 926 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 1008 __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 1054 q6asm_run(struct audio_client *ac, uint32_t stream_id, uint32_t flags, uint32_t msw_ts, uint32_t lsw_ts) q6asm_run() argument 1072 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 1091 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 1140 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 1177 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 1215 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 1254 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 1296 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 1336 q6asm_stream_remove_silence(struct audio_client *ac, uint32_t stream_id, uint32_t cmd, uint32_t num_samples) q6asm_stream_remove_silence() argument 1366 q6asm_stream_remove_initial_silence(struct audio_client *ac, uint32_t stream_id, uint32_t initial_samples) q6asm_stream_remove_initial_silence() argument 1376 q6asm_stream_remove_trailing_silence(struct audio_client *ac, uint32_t stream_id, uint32_t trailing_samples) q6asm_stream_remove_trailing_silence() argument 1396 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 1451 q6asm_read(struct audio_client *ac, uint32_t stream_id) q6asm_read() argument 1500 __q6asm_open_read(struct audio_client *ac, uint32_t stream_id, uint32_t format, uint16_t bits_per_sample) __q6asm_open_read() argument 1553 q6asm_open_read(struct audio_client *ac, uint32_t stream_id, uint32_t format, uint16_t bits_per_sample) q6asm_open_read() argument 1572 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 1625 q6asm_reset_buf_state(struct audio_client *ac) q6asm_reset_buf_state() argument 1638 __q6asm_cmd(struct audio_client *ac, uint32_t stream_id, int cmd, bool wait) __q6asm_cmd() argument 1692 q6asm_cmd(struct audio_client *ac, uint32_t stream_id, int cmd) q6asm_cmd() argument 1707 q6asm_cmd_nowait(struct audio_client *ac, uint32_t stream_id, int cmd) q6asm_cmd_nowait() argument [all...] |
H A D | q6asm.h | 98 void q6asm_audio_client_free(struct audio_client *ac); 99 int q6asm_write_async(struct audio_client *ac, uint32_t stream_id, uint32_t len, 101 int q6asm_open_write(struct audio_client *ac, uint32_t stream_id, 105 int q6asm_open_read(struct audio_client *ac, uint32_t stream_id, 107 int q6asm_enc_cfg_blk_pcm_format_support(struct audio_client *ac, 112 int q6asm_read(struct audio_client *ac, uint32_t stream_id); 114 int q6asm_media_format_block_multi_ch_pcm(struct audio_client *ac, 119 int q6asm_stream_media_format_block_flac(struct audio_client *ac, 122 int q6asm_stream_media_format_block_wma_v9(struct audio_client *ac, 125 int q6asm_stream_media_format_block_wma_v10(struct audio_client *ac, [all...] |
/kernel/linux/linux-6.6/sound/soc/qcom/qdsp6/ |
H A D | q6asm.c | 279 static inline void q6asm_add_hdr(struct audio_client *ac, struct apr_hdr *hdr, in q6asm_add_hdr() argument 284 hdr->src_port = ((ac->session << 8) & 0xFF00) | (stream_id); in q6asm_add_hdr() 285 hdr->dest_port = ((ac->session << 8) & 0xFF00) | (stream_id); in q6asm_add_hdr() 288 hdr->token = ac->session; in q6asm_add_hdr() 291 static int q6asm_apr_send_session_pkt(struct q6asm *a, struct audio_client *ac, in q6asm_apr_send_session_pkt() argument 297 mutex_lock(&ac->cmd_lock); in q6asm_apr_send_session_pkt() 298 ac->result.opcode = 0; in q6asm_apr_send_session_pkt() 299 ac->result.status = 0; in q6asm_apr_send_session_pkt() 306 (ac->result.opcode == hdr->opcode) || in q6asm_apr_send_session_pkt() 307 (ac in q6asm_apr_send_session_pkt() 328 __q6asm_memory_unmap(struct audio_client *ac, phys_addr_t buf_add, int dir) __q6asm_memory_unmap() argument 372 q6asm_audio_client_free_buf(struct audio_client *ac, struct audio_port_data *port) q6asm_audio_client_free_buf() argument 392 q6asm_unmap_memory_regions(unsigned int dir, struct audio_client *ac) q6asm_unmap_memory_regions() argument 421 __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 500 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 550 struct audio_client *ac; q6asm_audio_client_release() local 569 q6asm_audio_client_free(struct audio_client *ac) q6asm_audio_client_free() argument 578 struct audio_client *ac = NULL; q6asm_get_audio_client() local 608 struct audio_client *ac; q6asm_stream_callback() local 752 struct audio_client *ac = NULL; q6asm_srvc_callback() local 846 struct audio_client *ac; q6asm_audio_client_alloc() local 880 q6asm_ac_send_cmd_sync(struct audio_client *ac, struct apr_pkt *pkt) q6asm_ac_send_cmd_sync() argument 926 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 1008 __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 1054 q6asm_run(struct audio_client *ac, uint32_t stream_id, uint32_t flags, uint32_t msw_ts, uint32_t lsw_ts) q6asm_run() argument 1072 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 1091 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 1140 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 1177 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 1215 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 1254 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 1296 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 1336 q6asm_stream_remove_silence(struct audio_client *ac, uint32_t stream_id, uint32_t cmd, uint32_t num_samples) q6asm_stream_remove_silence() argument 1366 q6asm_stream_remove_initial_silence(struct audio_client *ac, uint32_t stream_id, uint32_t initial_samples) q6asm_stream_remove_initial_silence() argument 1376 q6asm_stream_remove_trailing_silence(struct audio_client *ac, uint32_t stream_id, uint32_t trailing_samples) q6asm_stream_remove_trailing_silence() argument 1396 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 1451 q6asm_read(struct audio_client *ac, uint32_t stream_id) q6asm_read() argument 1500 __q6asm_open_read(struct audio_client *ac, uint32_t stream_id, uint32_t format, uint16_t bits_per_sample) __q6asm_open_read() argument 1553 q6asm_open_read(struct audio_client *ac, uint32_t stream_id, uint32_t format, uint16_t bits_per_sample) q6asm_open_read() argument 1572 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 1625 q6asm_reset_buf_state(struct audio_client *ac) q6asm_reset_buf_state() argument 1638 __q6asm_cmd(struct audio_client *ac, uint32_t stream_id, int cmd, bool wait) __q6asm_cmd() argument 1692 q6asm_cmd(struct audio_client *ac, uint32_t stream_id, int cmd) q6asm_cmd() argument 1707 q6asm_cmd_nowait(struct audio_client *ac, uint32_t stream_id, int cmd) q6asm_cmd_nowait() argument [all...] |
H A D | q6asm.h | 98 void q6asm_audio_client_free(struct audio_client *ac); 99 int q6asm_write_async(struct audio_client *ac, uint32_t stream_id, uint32_t len, 101 int q6asm_open_write(struct audio_client *ac, uint32_t stream_id, 105 int q6asm_open_read(struct audio_client *ac, uint32_t stream_id, 107 int q6asm_enc_cfg_blk_pcm_format_support(struct audio_client *ac, 112 int q6asm_read(struct audio_client *ac, uint32_t stream_id); 114 int q6asm_media_format_block_multi_ch_pcm(struct audio_client *ac, 119 int q6asm_stream_media_format_block_flac(struct audio_client *ac, 122 int q6asm_stream_media_format_block_wma_v9(struct audio_client *ac, 125 int q6asm_stream_media_format_block_wma_v10(struct audio_client *ac, [all...] |
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | mballoc.c | 353 static void ext4_mb_new_preallocation(struct ext4_allocation_context *ac); 1704 static void ext4_mb_use_best_found(struct ext4_allocation_context *ac, in ext4_mb_use_best_found() argument 1707 struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb); in ext4_mb_use_best_found() 1710 BUG_ON(ac->ac_b_ex.fe_group != e4b->bd_group); in ext4_mb_use_best_found() 1711 BUG_ON(ac->ac_status == AC_STATUS_FOUND); in ext4_mb_use_best_found() 1713 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() 1714 ac->ac_b_ex.fe_logical = ac in ext4_mb_use_best_found() 1753 ext4_mb_check_limits(struct ext4_allocation_context *ac, struct ext4_buddy *e4b, int finish_group) ext4_mb_check_limits() argument 1803 ext4_mb_measure_extent(struct ext4_allocation_context *ac, struct ext4_free_extent *ex, struct ext4_buddy *e4b) ext4_mb_measure_extent() argument 1863 ext4_mb_try_best_found(struct ext4_allocation_context *ac, struct ext4_buddy *e4b) ext4_mb_try_best_found() argument 1895 ext4_mb_find_by_goal(struct ext4_allocation_context *ac, struct ext4_buddy *e4b) ext4_mb_find_by_goal() argument 1964 ext4_mb_simple_scan_group(struct ext4_allocation_context *ac, struct ext4_buddy *e4b) ext4_mb_simple_scan_group() argument 2015 ext4_mb_complex_scan_group(struct ext4_allocation_context *ac, struct ext4_buddy *e4b) ext4_mb_complex_scan_group() argument 2080 ext4_mb_scan_aligned(struct ext4_allocation_context *ac, struct ext4_buddy *e4b) ext4_mb_scan_aligned() argument 2121 ext4_mb_good_group(struct ext4_allocation_context *ac, ext4_group_t group, int cr) ext4_mb_good_group() argument 2183 ext4_mb_good_group_nolock(struct ext4_allocation_context *ac, ext4_group_t group, int cr) ext4_mb_good_group_nolock() argument 2322 ext4_mb_regular_allocator(struct ext4_allocation_context *ac) ext4_mb_regular_allocator() argument 3293 ext4_mb_mark_diskspace_used(struct ext4_allocation_context *ac, handle_t *handle, unsigned int reserv_clstrs) ext4_mb_mark_diskspace_used() argument 3520 ext4_mb_normalize_group_request(struct ext4_allocation_context *ac) ext4_mb_normalize_group_request() argument 3535 ext4_mb_normalize_request(struct ext4_allocation_context *ac, struct ext4_allocation_request *ar) ext4_mb_normalize_request() argument 3743 ext4_mb_collect_stats(struct ext4_allocation_context *ac) ext4_mb_collect_stats() argument 3773 ext4_discard_allocated_blocks(struct ext4_allocation_context *ac) ext4_discard_allocated_blocks() argument 3806 ext4_mb_use_inode_pa(struct ext4_allocation_context *ac, struct ext4_prealloc_space *pa) ext4_mb_use_inode_pa() argument 3837 ext4_mb_use_group_pa(struct ext4_allocation_context *ac, struct ext4_prealloc_space *pa) ext4_mb_use_group_pa() argument 3892 ext4_mb_use_preallocated(struct ext4_allocation_context *ac) ext4_mb_use_preallocated() argument 4080 ext4_mb_put_pa(struct ext4_allocation_context *ac, struct super_block *sb, struct ext4_prealloc_space *pa) ext4_mb_put_pa() argument 4140 ext4_mb_new_inode_pa(struct ext4_allocation_context *ac) ext4_mb_new_inode_pa() argument 4240 ext4_mb_new_group_pa(struct ext4_allocation_context *ac) ext4_mb_new_group_pa() argument 4293 ext4_mb_new_preallocation(struct ext4_allocation_context *ac) ext4_mb_new_preallocation() argument 4608 ext4_mb_pa_alloc(struct ext4_allocation_context *ac) ext4_mb_pa_alloc() argument 4621 ext4_mb_pa_free(struct ext4_allocation_context *ac) ext4_mb_pa_free() argument 4666 ext4_mb_show_ac(struct ext4_allocation_context *ac) ext4_mb_show_ac() argument 4701 ext4_mb_show_ac(struct ext4_allocation_context *ac) ext4_mb_show_ac() argument 4715 ext4_mb_group_or_file(struct ext4_allocation_context *ac) ext4_mb_group_or_file() argument 4765 ext4_mb_initialize_context(struct ext4_allocation_context *ac, struct ext4_allocation_request *ar) ext4_mb_initialize_context() argument 4903 ext4_mb_add_n_trim(struct ext4_allocation_context *ac) ext4_mb_add_n_trim() argument 4971 ext4_mb_release_context(struct ext4_allocation_context *ac) ext4_mb_release_context() argument 5051 ext4_mb_discard_preallocations_should_retry(struct super_block *sb, struct ext4_allocation_context *ac, u64 *seq) ext4_mb_discard_preallocations_should_retry() argument 5086 struct ext4_allocation_context *ac = NULL; ext4_mb_new_blocks() local [all...] |
/kernel/linux/linux-5.10/include/linux/ceph/ |
H A D | auth.h | 41 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...] |
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | suballoc.c | 93 static int ocfs2_claim_suballoc_bits(struct ocfs2_alloc_context *ac, 118 struct ocfs2_alloc_context **ac); 120 void ocfs2_free_ac_resource(struct ocfs2_alloc_context *ac) in ocfs2_free_ac_resource() argument 122 struct inode *inode = ac->ac_inode; in ocfs2_free_ac_resource() 125 if (ac->ac_which != OCFS2_AC_USE_LOCAL) in ocfs2_free_ac_resource() 131 ac->ac_inode = NULL; in ocfs2_free_ac_resource() 133 brelse(ac->ac_bh); in ocfs2_free_ac_resource() 134 ac->ac_bh = NULL; in ocfs2_free_ac_resource() 135 ac->ac_resv = NULL; in ocfs2_free_ac_resource() 136 kfree(ac in ocfs2_free_ac_resource() 140 ocfs2_free_alloc_context(struct ocfs2_alloc_context *ac) ocfs2_free_alloc_context() argument 419 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) ocfs2_block_group_alloc_contig() argument 463 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) ocfs2_block_group_claim_bits() argument 483 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) ocfs2_block_group_grow_discontig() argument 576 ocfs2_block_group_alloc_discontig(handle_t *handle, struct inode *alloc_inode, struct ocfs2_alloc_context *ac, struct ocfs2_chain_list *cl) ocfs2_block_group_alloc_discontig() argument 663 struct ocfs2_alloc_context *ac = NULL; ocfs2_block_group_alloc() local 764 ocfs2_reserve_suballoc_bits(struct ocfs2_super *osb, struct ocfs2_alloc_context *ac, int type, u32 slot, u64 *last_alloc_group, int flags) ocfs2_reserve_suballoc_bits() argument 912 ocfs2_steal_resource(struct ocfs2_super *osb, struct ocfs2_alloc_context *ac, int type) ocfs2_steal_resource() argument 945 ocfs2_steal_inode(struct ocfs2_super *osb, struct ocfs2_alloc_context *ac) ocfs2_steal_inode() argument 951 ocfs2_steal_meta(struct ocfs2_super *osb, struct ocfs2_alloc_context *ac) ocfs2_steal_meta() argument 957 ocfs2_reserve_new_metadata_blocks(struct ocfs2_super *osb, int blocks, struct ocfs2_alloc_context **ac) ocfs2_reserve_new_metadata_blocks() argument 1019 ocfs2_reserve_new_metadata(struct ocfs2_super *osb, struct ocfs2_extent_list *root_el, struct ocfs2_alloc_context **ac) ocfs2_reserve_new_metadata() argument 1028 ocfs2_reserve_new_inode(struct ocfs2_super *osb, struct ocfs2_alloc_context **ac) ocfs2_reserve_new_inode() argument 1122 ocfs2_reserve_cluster_bitmap_bits(struct ocfs2_super *osb, struct ocfs2_alloc_context *ac) ocfs2_reserve_cluster_bitmap_bits() argument 1143 ocfs2_reserve_clusters_with_limit(struct ocfs2_super *osb, u32 bits_wanted, u64 max_block, int flags, struct ocfs2_alloc_context **ac) ocfs2_reserve_clusters_with_limit() argument 1221 ocfs2_reserve_clusters(struct ocfs2_super *osb, u32 bits_wanted, struct ocfs2_alloc_context **ac) ocfs2_reserve_clusters() argument 1640 ocfs2_bg_discontig_fix_result(struct ocfs2_alloc_context *ac, struct ocfs2_group_desc *bg, struct ocfs2_suballoc_result *res) ocfs2_bg_discontig_fix_result() argument 1670 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) ocfs2_search_one_group() argument 1737 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) ocfs2_search_chain() argument 1878 ocfs2_claim_suballoc_bits(struct ocfs2_alloc_context *ac, handle_t *handle, u32 bits_wanted, u32 min_bits, struct ocfs2_suballoc_result *res) ocfs2_claim_suballoc_bits() argument 1989 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) ocfs2_claim_metadata() argument 2027 ocfs2_init_inode_ac_group(struct inode *dir, struct buffer_head *parent_di_bh, struct ocfs2_alloc_context *ac) ocfs2_init_inode_ac_group() argument 2055 ocfs2_save_inode_ac_group(struct inode *dir, struct ocfs2_alloc_context *ac) ocfs2_save_inode_ac_group() argument 2062 ocfs2_find_new_inode_loc(struct inode *dir, struct buffer_head *parent_fe_bh, struct ocfs2_alloc_context *ac, u64 *fe_blkno) ocfs2_find_new_inode_loc() argument 2123 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) ocfs2_claim_new_inode_at_loc() argument 2194 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) ocfs2_claim_new_inode() argument 2298 __ocfs2_claim_clusters(handle_t *handle, struct ocfs2_alloc_context *ac, u32 min_clusters, u32 max_clusters, u32 *cluster_start, u32 *num_clusters) __ocfs2_claim_clusters() argument 2369 ocfs2_claim_clusters(handle_t *handle, struct ocfs2_alloc_context *ac, u32 min_clusters, u32 *cluster_start, u32 *num_clusters) ocfs2_claim_clusters() argument [all...] |
/kernel/linux/linux-6.6/fs/ocfs2/ |
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) in ocfs2_free_ac_resource() argument 120 struct inode *inode = ac->ac_inode; in ocfs2_free_ac_resource() 123 if (ac->ac_which != OCFS2_AC_USE_LOCAL) in ocfs2_free_ac_resource() 129 ac->ac_inode = NULL; in ocfs2_free_ac_resource() 131 brelse(ac->ac_bh); in ocfs2_free_ac_resource() 132 ac->ac_bh = NULL; in ocfs2_free_ac_resource() 133 ac->ac_resv = NULL; in ocfs2_free_ac_resource() 134 kfree(ac in ocfs2_free_ac_resource() 138 ocfs2_free_alloc_context(struct ocfs2_alloc_context *ac) ocfs2_free_alloc_context() 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) ocfs2_block_group_alloc_contig() 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) ocfs2_block_group_claim_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) ocfs2_block_group_grow_discontig() argument 574 ocfs2_block_group_alloc_discontig(handle_t *handle, struct inode *alloc_inode, struct ocfs2_alloc_context *ac, struct ocfs2_chain_list *cl) ocfs2_block_group_alloc_discontig() argument 661 struct ocfs2_alloc_context *ac = NULL; ocfs2_block_group_alloc() 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) ocfs2_reserve_suballoc_bits() argument 910 ocfs2_steal_resource(struct ocfs2_super *osb, struct ocfs2_alloc_context *ac, int type) ocfs2_steal_resource() argument 943 ocfs2_steal_inode(struct ocfs2_super *osb, struct ocfs2_alloc_context *ac) ocfs2_steal_inode() argument 949 ocfs2_steal_meta(struct ocfs2_super *osb, struct ocfs2_alloc_context *ac) ocfs2_steal_meta() argument 955 ocfs2_reserve_new_metadata_blocks(struct ocfs2_super *osb, int blocks, struct ocfs2_alloc_context **ac) ocfs2_reserve_new_metadata_blocks() argument 1017 ocfs2_reserve_new_metadata(struct ocfs2_super *osb, struct ocfs2_extent_list *root_el, struct ocfs2_alloc_context **ac) ocfs2_reserve_new_metadata() argument 1026 ocfs2_reserve_new_inode(struct ocfs2_super *osb, struct ocfs2_alloc_context **ac) ocfs2_reserve_new_inode() argument 1120 ocfs2_reserve_cluster_bitmap_bits(struct ocfs2_super *osb, struct ocfs2_alloc_context *ac) ocfs2_reserve_cluster_bitmap_bits() argument 1141 ocfs2_reserve_clusters_with_limit(struct ocfs2_super *osb, u32 bits_wanted, u64 max_block, int flags, struct ocfs2_alloc_context **ac) ocfs2_reserve_clusters_with_limit() argument 1219 ocfs2_reserve_clusters(struct ocfs2_super *osb, u32 bits_wanted, struct ocfs2_alloc_context **ac) ocfs2_reserve_clusters() argument 1638 ocfs2_bg_discontig_fix_result(struct ocfs2_alloc_context *ac, struct ocfs2_group_desc *bg, struct ocfs2_suballoc_result *res) ocfs2_bg_discontig_fix_result() 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) ocfs2_search_one_group() 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) ocfs2_search_chain() 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) ocfs2_claim_suballoc_bits() 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) ocfs2_claim_metadata() argument 2025 ocfs2_init_inode_ac_group(struct inode *dir, struct buffer_head *parent_di_bh, struct ocfs2_alloc_context *ac) ocfs2_init_inode_ac_group() argument 2053 ocfs2_save_inode_ac_group(struct inode *dir, struct ocfs2_alloc_context *ac) ocfs2_save_inode_ac_group() argument 2060 ocfs2_find_new_inode_loc(struct inode *dir, struct buffer_head *parent_fe_bh, struct ocfs2_alloc_context *ac, u64 *fe_blkno) ocfs2_find_new_inode_loc() 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) ocfs2_claim_new_inode_at_loc() 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) ocfs2_claim_new_inode() 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) __ocfs2_claim_clusters() argument 2367 ocfs2_claim_clusters(handle_t *handle, struct ocfs2_alloc_context *ac, u32 min_clusters, u32 *cluster_start, u32 *num_clusters) ocfs2_claim_clusters() argument [all...] |
/kernel/linux/linux-5.10/fs/afs/ |
H A D | vl_rotate.c | 24 vc->ac.error = SHRT_MAX; in afs_begin_vlserver_operation() 96 int error = vc->ac.error, i; in afs_select_vlserver() 100 vc->ac.tried, vc->ac.index, in afs_select_vlserver() 101 error, vc->ac.abort_code); in afs_select_vlserver() 120 _leave(" = f [okay/local %d]", vc->ac.error); in afs_select_vlserver() 127 switch (vc->ac.abort_code) { in afs_select_vlserver() 139 vc->error = afs_abort_to_error(vc->ac.abort_code); in afs_select_vlserver() 168 afs_end_cursor(&vc->ac); in afs_select_vlserver() 221 ASSERTCMP(vc->ac in afs_select_vlserver() [all...] |
/kernel/linux/linux-6.6/fs/afs/ |
H A D | vl_rotate.c | 24 vc->ac.error = SHRT_MAX; in afs_begin_vlserver_operation() 96 int error = vc->ac.error, i; in afs_select_vlserver() 100 vc->ac.tried, vc->ac.index, in afs_select_vlserver() 101 error, vc->ac.abort_code); in afs_select_vlserver() 120 _leave(" = f [okay/local %d]", vc->ac.error); in afs_select_vlserver() 127 switch (vc->ac.abort_code) { in afs_select_vlserver() 139 vc->error = afs_abort_to_error(vc->ac.abort_code); in afs_select_vlserver() 168 afs_end_cursor(&vc->ac); in afs_select_vlserver() 221 ASSERTCMP(vc->ac in afs_select_vlserver() [all...] |
/kernel/linux/linux-6.6/fs/ext4/ |
H A D | mballoc.c | 420 static void ext4_mb_new_preallocation(struct ext4_allocation_context *ac); 422 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, in ext4_mb_choose_next_group_p2_aligned() argument 875 struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb); in ext4_mb_choose_next_group_p2_aligned() 879 if (ac->ac_status == AC_STATUS_FOUND) in ext4_mb_choose_next_group_p2_aligned() 882 if (unlikely(sbi->s_mb_stats && ac->ac_flags & EXT4_MB_CR_POWER2_ALIGNED_OPTIMIZED)) in ext4_mb_choose_next_group_p2_aligned() 885 for (i = ac->ac_2order; i < MB_NUM_ORDERS(ac->ac_sb); i++) { in ext4_mb_choose_next_group_p2_aligned() 897 if (likely(ext4_mb_good_group(ac, iter->bb_group, CR_POWER2_ALIGNED))) { in ext4_mb_choose_next_group_p2_aligned() 899 ac in ext4_mb_choose_next_group_p2_aligned() 915 ext4_mb_find_good_group_avg_frag_lists(struct ext4_allocation_context *ac, int order) ext4_mb_find_good_group_avg_frag_lists() argument 946 ext4_mb_choose_next_group_goal_fast(struct ext4_allocation_context *ac, enum criteria *new_cr, ext4_group_t *group, ext4_group_t ngroups) ext4_mb_choose_next_group_goal_fast() argument 991 ext4_mb_choose_next_group_best_avail(struct ext4_allocation_context *ac, enum criteria *new_cr, ext4_group_t *group, ext4_group_t ngroups) ext4_mb_choose_next_group_best_avail() argument 1067 should_optimize_scan(struct ext4_allocation_context *ac) should_optimize_scan() argument 1083 next_linear_group(struct ext4_allocation_context *ac, ext4_group_t group, ext4_group_t ngroups) next_linear_group() argument 1116 ext4_mb_choose_next_group(struct ext4_allocation_context *ac, enum criteria *new_cr, ext4_group_t *group, ext4_group_t ngroups) ext4_mb_choose_next_group() argument 2130 ext4_mb_use_best_found(struct ext4_allocation_context *ac, struct ext4_buddy *e4b) ext4_mb_use_best_found() argument 2179 ext4_mb_check_limits(struct ext4_allocation_context *ac, struct ext4_buddy *e4b, int finish_group) ext4_mb_check_limits() argument 2232 ext4_mb_measure_extent(struct ext4_allocation_context *ac, struct ext4_free_extent *ex, struct ext4_buddy *e4b) ext4_mb_measure_extent() argument 2293 ext4_mb_try_best_found(struct ext4_allocation_context *ac, struct ext4_buddy *e4b) ext4_mb_try_best_found() argument 2323 ext4_mb_find_by_goal(struct ext4_allocation_context *ac, struct ext4_buddy *e4b) ext4_mb_find_by_goal() argument 2392 ext4_mb_simple_scan_group(struct ext4_allocation_context *ac, struct ext4_buddy *e4b) ext4_mb_simple_scan_group() argument 2446 ext4_mb_complex_scan_group(struct ext4_allocation_context *ac, struct ext4_buddy *e4b) ext4_mb_complex_scan_group() argument 2529 ext4_mb_scan_aligned(struct ext4_allocation_context *ac, struct ext4_buddy *e4b) ext4_mb_scan_aligned() argument 2573 ext4_mb_good_group(struct ext4_allocation_context *ac, ext4_group_t group, enum criteria cr) ext4_mb_good_group() argument 2642 ext4_mb_good_group_nolock(struct ext4_allocation_context *ac, ext4_group_t group, enum criteria cr) ext4_mb_good_group_nolock() argument 2791 ext4_mb_regular_allocator(struct ext4_allocation_context *ac) ext4_mb_regular_allocator() argument 3986 ext4_mb_mark_diskspace_used(struct ext4_allocation_context *ac, handle_t *handle, unsigned int reserv_clstrs) ext4_mb_mark_diskspace_used() argument 4220 ext4_mb_normalize_group_request(struct ext4_allocation_context *ac) ext4_mb_normalize_group_request() argument 4249 ext4_mb_pa_assert_overlap(struct ext4_allocation_context *ac, ext4_lblk_t start, loff_t end) ext4_mb_pa_assert_overlap() argument 4286 ext4_mb_pa_adjust_overlap(struct ext4_allocation_context *ac, ext4_lblk_t *start, loff_t *end) ext4_mb_pa_adjust_overlap() argument 4426 ext4_mb_normalize_request(struct ext4_allocation_context *ac, struct ext4_allocation_request *ar) ext4_mb_normalize_request() argument 4599 ext4_mb_collect_stats(struct ext4_allocation_context *ac) ext4_mb_collect_stats() argument 4638 ext4_discard_allocated_blocks(struct ext4_allocation_context *ac) ext4_discard_allocated_blocks() argument 4673 ext4_mb_use_inode_pa(struct ext4_allocation_context *ac, struct ext4_prealloc_space *pa) ext4_mb_use_inode_pa() argument 4704 ext4_mb_use_group_pa(struct ext4_allocation_context *ac, struct ext4_prealloc_space *pa) ext4_mb_use_group_pa() argument 4759 ext4_mb_pa_goal_check(struct ext4_allocation_context *ac, struct ext4_prealloc_space *pa) ext4_mb_pa_goal_check() argument 4790 ext4_mb_use_preallocated(struct ext4_allocation_context *ac) ext4_mb_use_preallocated() argument 5073 ext4_mb_put_pa(struct ext4_allocation_context *ac, struct super_block *sb, struct ext4_prealloc_space *pa) ext4_mb_put_pa() argument 5165 ext4_mb_new_inode_pa(struct ext4_allocation_context *ac) ext4_mb_new_inode_pa() argument 5265 ext4_mb_new_group_pa(struct ext4_allocation_context *ac) ext4_mb_new_group_pa() argument 5314 ext4_mb_new_preallocation(struct ext4_allocation_context *ac) ext4_mb_new_preallocation() argument 5638 ext4_mb_pa_alloc(struct ext4_allocation_context *ac) ext4_mb_pa_alloc() argument 5651 ext4_mb_pa_put_free(struct ext4_allocation_context *ac) ext4_mb_pa_put_free() argument 5702 ext4_mb_show_ac(struct ext4_allocation_context *ac) ext4_mb_show_ac() argument 5740 ext4_mb_show_ac(struct ext4_allocation_context *ac) ext4_mb_show_ac() argument 5753 ext4_mb_group_or_file(struct ext4_allocation_context *ac) ext4_mb_group_or_file() argument 5806 ext4_mb_initialize_context(struct ext4_allocation_context *ac, struct ext4_allocation_request *ar) ext4_mb_initialize_context() argument 5941 ext4_mb_add_n_trim(struct ext4_allocation_context *ac) ext4_mb_add_n_trim() argument 5989 ext4_mb_release_context(struct ext4_allocation_context *ac) ext4_mb_release_context() argument 6056 ext4_mb_discard_preallocations_should_retry(struct super_block *sb, struct ext4_allocation_context *ac, u64 *seq) ext4_mb_discard_preallocations_should_retry() argument 6155 struct ext4_allocation_context *ac = NULL; ext4_mb_new_blocks() local [all...] |