ac                416 arch/arm/mach-pxa/palm27x.c void __init palm27x_power_init(int ac, int usb)
ac                418 arch/arm/mach-pxa/palm27x.c 	palm_ac_state	= ac;
ac                 65 arch/arm/mach-pxa/palm27x.h extern void __init palm27x_power_init(int ac, int usb);
ac                 67 arch/arm/mach-pxa/palm27x.h static inline void palm27x_power_init(int ac, int usb) {}
ac                 89 arch/ia64/include/asm/processor.h 	__u64 ac : 1;
ac                115 arch/powerpc/boot/addnote.c main(int ac, char **av)
ac                121 arch/powerpc/boot/addnote.c 	if (ac != 2) {
ac                 28 arch/powerpc/boot/hack-coff.c main(int ac, char **av)
ac                 37 arch/powerpc/boot/hack-coff.c     if (ac != 2) {
ac               2774 arch/powerpc/kernel/prom_init.c 	u32 ac, sc;
ac               2783 arch/powerpc/kernel/prom_init.c 	prom_getprop(prom.root, "#address-cells", &ac, sizeof(ac));
ac               2785 arch/powerpc/kernel/prom_init.c 	if ((ac != 2) || (sc != 2))
ac                 66 arch/s390/include/asm/qdio.h 	u32 ac	   : 8;
ac                104 arch/s390/include/asm/qdio.h 	u32 ac	   : 8;
ac                105 drivers/acpi/ac.c static int acpi_ac_get_state(struct acpi_ac *ac)
ac                109 drivers/acpi/ac.c 	if (!ac)
ac                112 drivers/acpi/ac.c 	status = acpi_evaluate_integer(ac->device->handle, "_PSR", NULL,
ac                113 drivers/acpi/ac.c 				       &ac->state);
ac                117 drivers/acpi/ac.c 		ac->state = ACPI_AC_STATUS_UNKNOWN;
ac                131 drivers/acpi/ac.c 	struct acpi_ac *ac = to_acpi_ac(psy);
ac                133 drivers/acpi/ac.c 	if (!ac)
ac                136 drivers/acpi/ac.c 	if (acpi_ac_get_state(ac))
ac                141 drivers/acpi/ac.c 		val->intval = ac->state;
ac                162 drivers/acpi/ac.c 	struct acpi_ac *ac = seq->private;
ac                165 drivers/acpi/ac.c 	if (!ac)
ac                168 drivers/acpi/ac.c 	if (acpi_ac_get_state(ac)) {
ac                174 drivers/acpi/ac.c 	switch (ac->state) {
ac                189 drivers/acpi/ac.c static int acpi_ac_add_fs(struct acpi_ac *ac)
ac                195 drivers/acpi/ac.c 	if (!acpi_device_dir(ac->device)) {
ac                196 drivers/acpi/ac.c 		acpi_device_dir(ac->device) =
ac                197 drivers/acpi/ac.c 			proc_mkdir(acpi_device_bid(ac->device), acpi_ac_dir);
ac                198 drivers/acpi/ac.c 		if (!acpi_device_dir(ac->device))
ac                204 drivers/acpi/ac.c 			acpi_device_dir(ac->device), acpi_ac_seq_show, ac);
ac                210 drivers/acpi/ac.c static int acpi_ac_remove_fs(struct acpi_ac *ac)
ac                213 drivers/acpi/ac.c 	if (acpi_device_dir(ac->device)) {
ac                215 drivers/acpi/ac.c 				  acpi_device_dir(ac->device));
ac                216 drivers/acpi/ac.c 		remove_proc_entry(acpi_device_bid(ac->device), acpi_ac_dir);
ac                217 drivers/acpi/ac.c 		acpi_device_dir(ac->device) = NULL;
ac                230 drivers/acpi/ac.c 	struct acpi_ac *ac = acpi_driver_data(device);
ac                232 drivers/acpi/ac.c 	if (!ac)
ac                253 drivers/acpi/ac.c 		acpi_ac_get_state(ac);
ac                256 drivers/acpi/ac.c 						  (u32) ac->state);
ac                257 drivers/acpi/ac.c 		acpi_notifier_call_chain(device, event, (u32) ac->state);
ac                258 drivers/acpi/ac.c 		kobject_uevent(&ac->charger->dev.kobj, KOBJ_CHANGE);
ac                267 drivers/acpi/ac.c 	struct acpi_ac *ac = container_of(nb, struct acpi_ac, battery_nb);
ac                279 drivers/acpi/ac.c 		acpi_ac_get_state(ac);
ac                328 drivers/acpi/ac.c 	struct acpi_ac *ac = NULL;
ac                334 drivers/acpi/ac.c 	ac = kzalloc(sizeof(struct acpi_ac), GFP_KERNEL);
ac                335 drivers/acpi/ac.c 	if (!ac)
ac                338 drivers/acpi/ac.c 	ac->device = device;
ac                341 drivers/acpi/ac.c 	device->driver_data = ac;
ac                343 drivers/acpi/ac.c 	result = acpi_ac_get_state(ac);
ac                347 drivers/acpi/ac.c 	psy_cfg.drv_data = ac;
ac                349 drivers/acpi/ac.c 	ac->charger_desc.name = acpi_device_bid(device);
ac                351 drivers/acpi/ac.c 	result = acpi_ac_add_fs(ac);
ac                355 drivers/acpi/ac.c 	ac->charger_desc.type = POWER_SUPPLY_TYPE_MAINS;
ac                356 drivers/acpi/ac.c 	ac->charger_desc.properties = ac_props;
ac                357 drivers/acpi/ac.c 	ac->charger_desc.num_properties = ARRAY_SIZE(ac_props);
ac                358 drivers/acpi/ac.c 	ac->charger_desc.get_property = get_ac_property;
ac                359 drivers/acpi/ac.c 	ac->charger = power_supply_register(&ac->device->dev,
ac                360 drivers/acpi/ac.c 					    &ac->charger_desc, &psy_cfg);
ac                361 drivers/acpi/ac.c 	if (IS_ERR(ac->charger)) {
ac                362 drivers/acpi/ac.c 		result = PTR_ERR(ac->charger);
ac                368 drivers/acpi/ac.c 	       ac->state ? "on-line" : "off-line");
ac                370 drivers/acpi/ac.c 	ac->battery_nb.notifier_call = acpi_ac_battery_notify;
ac                371 drivers/acpi/ac.c 	register_acpi_notifier(&ac->battery_nb);
ac                375 drivers/acpi/ac.c 		acpi_ac_remove_fs(ac);
ac                377 drivers/acpi/ac.c 		kfree(ac);
ac                386 drivers/acpi/ac.c 	struct acpi_ac *ac;
ac                392 drivers/acpi/ac.c 	ac = acpi_driver_data(to_acpi_device(dev));
ac                393 drivers/acpi/ac.c 	if (!ac)
ac                396 drivers/acpi/ac.c 	old_state = ac->state;
ac                397 drivers/acpi/ac.c 	if (acpi_ac_get_state(ac))
ac                399 drivers/acpi/ac.c 	if (old_state != ac->state)
ac                400 drivers/acpi/ac.c 		kobject_uevent(&ac->charger->dev.kobj, KOBJ_CHANGE);
ac                409 drivers/acpi/ac.c 	struct acpi_ac *ac = NULL;
ac                415 drivers/acpi/ac.c 	ac = acpi_driver_data(device);
ac                417 drivers/acpi/ac.c 	power_supply_unregister(ac->charger);
ac                418 drivers/acpi/ac.c 	unregister_acpi_notifier(&ac->battery_nb);
ac                421 drivers/acpi/ac.c 	acpi_ac_remove_fs(ac);
ac                424 drivers/acpi/ac.c 	kfree(ac);
ac                248 drivers/ata/libata-transport.c 	return &ata_scsi_transport_template->host_attrs.ac == cont;
ac                374 drivers/ata/libata-transport.c 	return &i->link_attr_cont.ac == cont;
ac                614 drivers/ata/libata-transport.c 	return &i->dev_attr_cont.ac == cont;
ac                722 drivers/ata/libata-transport.c 	i->t.host_attrs.ac.attrs = &i->port_attrs[0];
ac                723 drivers/ata/libata-transport.c 	i->t.host_attrs.ac.class = &ata_port_class.class;
ac                724 drivers/ata/libata-transport.c 	i->t.host_attrs.ac.match = ata_tport_match;
ac                727 drivers/ata/libata-transport.c 	i->link_attr_cont.ac.class = &ata_link_class.class;
ac                728 drivers/ata/libata-transport.c 	i->link_attr_cont.ac.attrs = &i->link_attrs[0];
ac                729 drivers/ata/libata-transport.c 	i->link_attr_cont.ac.match = ata_tlink_match;
ac                732 drivers/ata/libata-transport.c 	i->dev_attr_cont.ac.class = &ata_dev_class.class;
ac                733 drivers/ata/libata-transport.c 	i->dev_attr_cont.ac.attrs = &i->dev_attrs[0];
ac                734 drivers/ata/libata-transport.c 	i->dev_attr_cont.ac.match = ata_tdev_match;
ac                780 drivers/clk/ti/adpll.c 		struct ti_adpll_clock *ac = &d->clocks[i];
ac                782 drivers/clk/ti/adpll.c 		if (!ac || IS_ERR_OR_NULL(ac->clk))
ac                784 drivers/clk/ti/adpll.c 		if (ac->cl)
ac                785 drivers/clk/ti/adpll.c 			clkdev_drop(ac->cl);
ac                786 drivers/clk/ti/adpll.c 		if (ac->unregister)
ac                787 drivers/clk/ti/adpll.c 			ac->unregister(ac->clk);
ac                450 drivers/crypto/axis/artpec6_crypto.c 	struct artpec6_crypto *ac = dev_get_drvdata(artpec6_crypto_dev);
ac                451 drivers/crypto/axis/artpec6_crypto.c 	int fifo_count = ac->pending_count;
ac                458 drivers/crypto/axis/artpec6_crypto.c 	struct artpec6_crypto *ac = dev_get_drvdata(artpec6_crypto_dev);
ac                461 drivers/crypto/axis/artpec6_crypto.c 	spin_lock_bh(&ac->queue_lock);
ac                464 drivers/crypto/axis/artpec6_crypto.c 		list_add_tail(&req->list, &ac->pending);
ac                468 drivers/crypto/axis/artpec6_crypto.c 		list_add_tail(&req->list, &ac->queue);
ac                473 drivers/crypto/axis/artpec6_crypto.c 	spin_unlock_bh(&ac->queue_lock);
ac                480 drivers/crypto/axis/artpec6_crypto.c 	struct artpec6_crypto *ac = dev_get_drvdata(artpec6_crypto_dev);
ac                481 drivers/crypto/axis/artpec6_crypto.c 	enum artpec6_crypto_variant variant = ac->variant;
ac                482 drivers/crypto/axis/artpec6_crypto.c 	void __iomem *base = ac->base;
ac                511 drivers/crypto/axis/artpec6_crypto.c 	ac->pending_count++;
ac               1044 drivers/crypto/axis/artpec6_crypto.c 	struct artpec6_crypto *ac = dev_get_drvdata(artpec6_crypto_dev);
ac               1050 drivers/crypto/axis/artpec6_crypto.c 	common->dma = kmem_cache_alloc(ac->dma_cache, flags);
ac               1073 drivers/crypto/axis/artpec6_crypto.c 	struct artpec6_crypto *ac = dev_get_drvdata(artpec6_crypto_dev);
ac               1077 drivers/crypto/axis/artpec6_crypto.c 	kmem_cache_free(ac->dma_cache, common->dma);
ac               1318 drivers/crypto/axis/artpec6_crypto.c 	struct artpec6_crypto *ac = dev_get_drvdata(artpec6_crypto_dev);
ac               1319 drivers/crypto/axis/artpec6_crypto.c 	enum artpec6_crypto_variant variant = ac->variant;
ac               1387 drivers/crypto/axis/artpec6_crypto.c 	error = artpec6_crypto_setup_in_descr(common, ac->pad_buffer, 4, false);
ac               1673 drivers/crypto/axis/artpec6_crypto.c 	struct artpec6_crypto *ac = dev_get_drvdata(artpec6_crypto_dev);
ac               1674 drivers/crypto/axis/artpec6_crypto.c 	enum artpec6_crypto_variant variant = ac->variant;
ac               1778 drivers/crypto/axis/artpec6_crypto.c 	ret = artpec6_crypto_setup_in_descr(common, ac->pad_buffer, 4, false);
ac               1808 drivers/crypto/axis/artpec6_crypto.c 							     ac->pad_buffer,
ac               1814 drivers/crypto/axis/artpec6_crypto.c 							    ac->pad_buffer, pad,
ac               1841 drivers/crypto/axis/artpec6_crypto.c 	struct artpec6_crypto *ac = dev_get_drvdata(artpec6_crypto_dev);
ac               1842 drivers/crypto/axis/artpec6_crypto.c 	enum artpec6_crypto_variant variant = ac->variant;
ac               1904 drivers/crypto/axis/artpec6_crypto.c 	ret = artpec6_crypto_setup_in_descr(common, ac->pad_buffer, 4, false);
ac               1944 drivers/crypto/axis/artpec6_crypto.c 							     ac->zero_buffer,
ac               1961 drivers/crypto/axis/artpec6_crypto.c 							     ac->zero_buffer,
ac               1995 drivers/crypto/axis/artpec6_crypto.c 							    ac->pad_buffer,
ac               2026 drivers/crypto/axis/artpec6_crypto.c 					ac->pad_buffer,
ac               2046 drivers/crypto/axis/artpec6_crypto.c static void artpec6_crypto_process_queue(struct artpec6_crypto *ac,
ac               2051 drivers/crypto/axis/artpec6_crypto.c 	while (!list_empty(&ac->queue) && !artpec6_crypto_busy()) {
ac               2052 drivers/crypto/axis/artpec6_crypto.c 		req = list_first_entry(&ac->queue,
ac               2055 drivers/crypto/axis/artpec6_crypto.c 		list_move_tail(&req->list, &ac->pending);
ac               2068 drivers/crypto/axis/artpec6_crypto.c 	if (ac->pending_count)
ac               2069 drivers/crypto/axis/artpec6_crypto.c 		mod_timer(&ac->timer, jiffies + msecs_to_jiffies(100));
ac               2071 drivers/crypto/axis/artpec6_crypto.c 		del_timer(&ac->timer);
ac               2076 drivers/crypto/axis/artpec6_crypto.c 	struct artpec6_crypto *ac = from_timer(ac, t, timer);
ac               2080 drivers/crypto/axis/artpec6_crypto.c 	tasklet_schedule(&ac->task);
ac               2085 drivers/crypto/axis/artpec6_crypto.c 	struct artpec6_crypto *ac = (struct artpec6_crypto *)data;
ac               2094 drivers/crypto/axis/artpec6_crypto.c 	if (list_empty(&ac->pending)) {
ac               2099 drivers/crypto/axis/artpec6_crypto.c 	spin_lock_bh(&ac->queue_lock);
ac               2101 drivers/crypto/axis/artpec6_crypto.c 	list_for_each_entry_safe(req, n, &ac->pending, list) {
ac               2131 drivers/crypto/axis/artpec6_crypto.c 		ac->pending_count--;
ac               2134 drivers/crypto/axis/artpec6_crypto.c 	artpec6_crypto_process_queue(ac, &complete_in_progress);
ac               2136 drivers/crypto/axis/artpec6_crypto.c 	spin_unlock_bh(&ac->queue_lock);
ac               2269 drivers/crypto/axis/artpec6_crypto.c 	struct artpec6_crypto *ac = dev_get_drvdata(artpec6_crypto_dev);
ac               2270 drivers/crypto/axis/artpec6_crypto.c 	enum artpec6_crypto_variant variant = ac->variant;
ac               2446 drivers/crypto/axis/artpec6_crypto.c 	struct artpec6_crypto *ac = dev_get_drvdata(artpec6_crypto_dev);
ac               2447 drivers/crypto/axis/artpec6_crypto.c 	enum artpec6_crypto_variant variant = ac->variant;
ac               2474 drivers/crypto/axis/artpec6_crypto.c 	struct artpec6_crypto *ac = dev_get_drvdata(artpec6_crypto_dev);
ac               2475 drivers/crypto/axis/artpec6_crypto.c 	enum artpec6_crypto_variant variant = ac->variant;
ac               2496 drivers/crypto/axis/artpec6_crypto.c static int init_crypto_hw(struct artpec6_crypto *ac)
ac               2498 drivers/crypto/axis/artpec6_crypto.c 	enum artpec6_crypto_variant variant = ac->variant;
ac               2499 drivers/crypto/axis/artpec6_crypto.c 	void __iomem *base = ac->base;
ac               2556 drivers/crypto/axis/artpec6_crypto.c static void artpec6_crypto_disable_hw(struct artpec6_crypto *ac)
ac               2558 drivers/crypto/axis/artpec6_crypto.c 	enum artpec6_crypto_variant variant = ac->variant;
ac               2559 drivers/crypto/axis/artpec6_crypto.c 	void __iomem *base = ac->base;
ac               2577 drivers/crypto/axis/artpec6_crypto.c 	struct artpec6_crypto *ac = dev_id;
ac               2578 drivers/crypto/axis/artpec6_crypto.c 	enum artpec6_crypto_variant variant = ac->variant;
ac               2579 drivers/crypto/axis/artpec6_crypto.c 	void __iomem *base = ac->base;
ac               2620 drivers/crypto/axis/artpec6_crypto.c 		tasklet_schedule(&ac->task);
ac               2854 drivers/crypto/axis/artpec6_crypto.c 	struct artpec6_crypto *ac;
ac               2877 drivers/crypto/axis/artpec6_crypto.c 	ac = devm_kzalloc(&pdev->dev, sizeof(struct artpec6_crypto),
ac               2879 drivers/crypto/axis/artpec6_crypto.c 	if (!ac)
ac               2882 drivers/crypto/axis/artpec6_crypto.c 	platform_set_drvdata(pdev, ac);
ac               2883 drivers/crypto/axis/artpec6_crypto.c 	ac->variant = variant;
ac               2885 drivers/crypto/axis/artpec6_crypto.c 	spin_lock_init(&ac->queue_lock);
ac               2886 drivers/crypto/axis/artpec6_crypto.c 	INIT_LIST_HEAD(&ac->queue);
ac               2887 drivers/crypto/axis/artpec6_crypto.c 	INIT_LIST_HEAD(&ac->pending);
ac               2888 drivers/crypto/axis/artpec6_crypto.c 	timer_setup(&ac->timer, artpec6_crypto_timeout, 0);
ac               2890 drivers/crypto/axis/artpec6_crypto.c 	ac->base = base;
ac               2892 drivers/crypto/axis/artpec6_crypto.c 	ac->dma_cache = kmem_cache_create("artpec6_crypto_dma",
ac               2897 drivers/crypto/axis/artpec6_crypto.c 	if (!ac->dma_cache)
ac               2904 drivers/crypto/axis/artpec6_crypto.c 	tasklet_init(&ac->task, artpec6_crypto_task,
ac               2905 drivers/crypto/axis/artpec6_crypto.c 		     (unsigned long)ac);
ac               2907 drivers/crypto/axis/artpec6_crypto.c 	ac->pad_buffer = devm_kzalloc(&pdev->dev, 2 * ARTPEC_CACHE_LINE_MAX,
ac               2909 drivers/crypto/axis/artpec6_crypto.c 	if (!ac->pad_buffer)
ac               2911 drivers/crypto/axis/artpec6_crypto.c 	ac->pad_buffer = PTR_ALIGN(ac->pad_buffer, ARTPEC_CACHE_LINE_MAX);
ac               2913 drivers/crypto/axis/artpec6_crypto.c 	ac->zero_buffer = devm_kzalloc(&pdev->dev, 2 * ARTPEC_CACHE_LINE_MAX,
ac               2915 drivers/crypto/axis/artpec6_crypto.c 	if (!ac->zero_buffer)
ac               2917 drivers/crypto/axis/artpec6_crypto.c 	ac->zero_buffer = PTR_ALIGN(ac->zero_buffer, ARTPEC_CACHE_LINE_MAX);
ac               2919 drivers/crypto/axis/artpec6_crypto.c 	err = init_crypto_hw(ac);
ac               2924 drivers/crypto/axis/artpec6_crypto.c 			       "artpec6-crypto", ac);
ac               2955 drivers/crypto/axis/artpec6_crypto.c 	artpec6_crypto_disable_hw(ac);
ac               2957 drivers/crypto/axis/artpec6_crypto.c 	kmem_cache_destroy(ac->dma_cache);
ac               2963 drivers/crypto/axis/artpec6_crypto.c 	struct artpec6_crypto *ac = platform_get_drvdata(pdev);
ac               2970 drivers/crypto/axis/artpec6_crypto.c 	tasklet_disable(&ac->task);
ac               2971 drivers/crypto/axis/artpec6_crypto.c 	devm_free_irq(&pdev->dev, irq, ac);
ac               2972 drivers/crypto/axis/artpec6_crypto.c 	tasklet_kill(&ac->task);
ac               2973 drivers/crypto/axis/artpec6_crypto.c 	del_timer_sync(&ac->timer);
ac               2975 drivers/crypto/axis/artpec6_crypto.c 	artpec6_crypto_disable_hw(ac);
ac               2977 drivers/crypto/axis/artpec6_crypto.c 	kmem_cache_destroy(ac->dma_cache);
ac                 64 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h #define nvkm_memory_map(p,o,vm,va,av,ac)                                       \
ac                 65 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h 	(p)->func->map((p),(o),(vm),(va),(av),(ac))
ac                 80 drivers/input/misc/adxl34x-i2c.c 	struct adxl34x *ac;
ac                 90 drivers/input/misc/adxl34x-i2c.c 	ac = adxl34x_probe(&client->dev, client->irq, false,
ac                 94 drivers/input/misc/adxl34x-i2c.c 	if (IS_ERR(ac))
ac                 95 drivers/input/misc/adxl34x-i2c.c 		return PTR_ERR(ac);
ac                 97 drivers/input/misc/adxl34x-i2c.c 	i2c_set_clientdata(client, ac);
ac                104 drivers/input/misc/adxl34x-i2c.c 	struct adxl34x *ac = i2c_get_clientdata(client);
ac                106 drivers/input/misc/adxl34x-i2c.c 	return adxl34x_remove(ac);
ac                112 drivers/input/misc/adxl34x-i2c.c 	struct adxl34x *ac = i2c_get_clientdata(client);
ac                114 drivers/input/misc/adxl34x-i2c.c 	adxl34x_suspend(ac);
ac                122 drivers/input/misc/adxl34x-i2c.c 	struct adxl34x *ac = i2c_get_clientdata(client);
ac                124 drivers/input/misc/adxl34x-i2c.c 	adxl34x_resume(ac);
ac                 70 drivers/input/misc/adxl34x-spi.c 	struct adxl34x *ac;
ac                 78 drivers/input/misc/adxl34x-spi.c 	ac = adxl34x_probe(&spi->dev, spi->irq,
ac                 82 drivers/input/misc/adxl34x-spi.c 	if (IS_ERR(ac))
ac                 83 drivers/input/misc/adxl34x-spi.c 		return PTR_ERR(ac);
ac                 85 drivers/input/misc/adxl34x-spi.c 	spi_set_drvdata(spi, ac);
ac                 92 drivers/input/misc/adxl34x-spi.c 	struct adxl34x *ac = spi_get_drvdata(spi);
ac                 94 drivers/input/misc/adxl34x-spi.c 	return adxl34x_remove(ac);
ac                100 drivers/input/misc/adxl34x-spi.c 	struct adxl34x *ac = spi_get_drvdata(spi);
ac                102 drivers/input/misc/adxl34x-spi.c 	adxl34x_suspend(ac);
ac                110 drivers/input/misc/adxl34x-spi.c 	struct adxl34x *ac = spi_get_drvdata(spi);
ac                112 drivers/input/misc/adxl34x-spi.c 	adxl34x_resume(ac);
ac                181 drivers/input/misc/adxl34x.c #define AC_READ(ac, reg)	((ac)->bops->read((ac)->dev, reg))
ac                182 drivers/input/misc/adxl34x.c #define AC_WRITE(ac, reg, val)	((ac)->bops->write((ac)->dev, reg, val))
ac                238 drivers/input/misc/adxl34x.c static void adxl34x_get_triple(struct adxl34x *ac, struct axis_triple *axis)
ac                242 drivers/input/misc/adxl34x.c 	ac->bops->read_block(ac->dev, DATAX0, DATAZ1 - DATAX0 + 1, buf);
ac                244 drivers/input/misc/adxl34x.c 	mutex_lock(&ac->mutex);
ac                245 drivers/input/misc/adxl34x.c 	ac->saved.x = (s16) le16_to_cpu(buf[0]);
ac                246 drivers/input/misc/adxl34x.c 	axis->x = ac->saved.x;
ac                248 drivers/input/misc/adxl34x.c 	ac->saved.y = (s16) le16_to_cpu(buf[1]);
ac                249 drivers/input/misc/adxl34x.c 	axis->y = ac->saved.y;
ac                251 drivers/input/misc/adxl34x.c 	ac->saved.z = (s16) le16_to_cpu(buf[2]);
ac                252 drivers/input/misc/adxl34x.c 	axis->z = ac->saved.z;
ac                253 drivers/input/misc/adxl34x.c 	mutex_unlock(&ac->mutex);
ac                256 drivers/input/misc/adxl34x.c static void adxl34x_service_ev_fifo(struct adxl34x *ac)
ac                258 drivers/input/misc/adxl34x.c 	struct adxl34x_platform_data *pdata = &ac->pdata;
ac                261 drivers/input/misc/adxl34x.c 	adxl34x_get_triple(ac, &axis);
ac                263 drivers/input/misc/adxl34x.c 	input_event(ac->input, pdata->ev_type, pdata->ev_code_x,
ac                264 drivers/input/misc/adxl34x.c 		    axis.x - ac->swcal.x);
ac                265 drivers/input/misc/adxl34x.c 	input_event(ac->input, pdata->ev_type, pdata->ev_code_y,
ac                266 drivers/input/misc/adxl34x.c 		    axis.y - ac->swcal.y);
ac                267 drivers/input/misc/adxl34x.c 	input_event(ac->input, pdata->ev_type, pdata->ev_code_z,
ac                268 drivers/input/misc/adxl34x.c 		    axis.z - ac->swcal.z);
ac                278 drivers/input/misc/adxl34x.c static void adxl34x_send_key_events(struct adxl34x *ac,
ac                285 drivers/input/misc/adxl34x.c 			input_report_key(ac->input,
ac                290 drivers/input/misc/adxl34x.c static void adxl34x_do_tap(struct adxl34x *ac,
ac                293 drivers/input/misc/adxl34x.c 	adxl34x_send_key_events(ac, pdata, status, true);
ac                294 drivers/input/misc/adxl34x.c 	input_sync(ac->input);
ac                295 drivers/input/misc/adxl34x.c 	adxl34x_send_key_events(ac, pdata, status, false);
ac                300 drivers/input/misc/adxl34x.c 	struct adxl34x *ac = handle;
ac                301 drivers/input/misc/adxl34x.c 	struct adxl34x_platform_data *pdata = &ac->pdata;
ac                310 drivers/input/misc/adxl34x.c 		tap_stat = AC_READ(ac, ACT_TAP_STATUS);
ac                314 drivers/input/misc/adxl34x.c 	int_stat = AC_READ(ac, INT_SOURCE);
ac                317 drivers/input/misc/adxl34x.c 		adxl34x_report_key_single(ac->input, pdata->ev_code_ff);
ac                320 drivers/input/misc/adxl34x.c 		dev_dbg(ac->dev, "OVERRUN\n");
ac                323 drivers/input/misc/adxl34x.c 		adxl34x_do_tap(ac, pdata, tap_stat);
ac                326 drivers/input/misc/adxl34x.c 			adxl34x_do_tap(ac, pdata, tap_stat);
ac                331 drivers/input/misc/adxl34x.c 			input_report_key(ac->input,
ac                334 drivers/input/misc/adxl34x.c 			input_report_key(ac->input,
ac                342 drivers/input/misc/adxl34x.c 		orient = AC_READ(ac, ORIENT);
ac                348 drivers/input/misc/adxl34x.c 			if (ac->orient2d_saved != orient_code) {
ac                349 drivers/input/misc/adxl34x.c 				ac->orient2d_saved = orient_code;
ac                350 drivers/input/misc/adxl34x.c 				adxl34x_report_key_single(ac->input,
ac                360 drivers/input/misc/adxl34x.c 			if (ac->orient3d_saved != orient_code) {
ac                361 drivers/input/misc/adxl34x.c 				ac->orient3d_saved = orient_code;
ac                362 drivers/input/misc/adxl34x.c 				adxl34x_report_key_single(ac->input,
ac                371 drivers/input/misc/adxl34x.c 			samples = ENTRIES(AC_READ(ac, FIFO_STATUS)) + 1;
ac                376 drivers/input/misc/adxl34x.c 			adxl34x_service_ev_fifo(ac);
ac                391 drivers/input/misc/adxl34x.c 			if (ac->fifo_delay && (samples > 1))
ac                396 drivers/input/misc/adxl34x.c 	input_sync(ac->input);
ac                401 drivers/input/misc/adxl34x.c static void __adxl34x_disable(struct adxl34x *ac)
ac                407 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, POWER_CTL, 0);
ac                410 drivers/input/misc/adxl34x.c static void __adxl34x_enable(struct adxl34x *ac)
ac                412 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, POWER_CTL, ac->pdata.power_mode | PCTL_MEASURE);
ac                415 drivers/input/misc/adxl34x.c void adxl34x_suspend(struct adxl34x *ac)
ac                417 drivers/input/misc/adxl34x.c 	mutex_lock(&ac->mutex);
ac                419 drivers/input/misc/adxl34x.c 	if (!ac->suspended && !ac->disabled && ac->opened)
ac                420 drivers/input/misc/adxl34x.c 		__adxl34x_disable(ac);
ac                422 drivers/input/misc/adxl34x.c 	ac->suspended = true;
ac                424 drivers/input/misc/adxl34x.c 	mutex_unlock(&ac->mutex);
ac                428 drivers/input/misc/adxl34x.c void adxl34x_resume(struct adxl34x *ac)
ac                430 drivers/input/misc/adxl34x.c 	mutex_lock(&ac->mutex);
ac                432 drivers/input/misc/adxl34x.c 	if (ac->suspended && !ac->disabled && ac->opened)
ac                433 drivers/input/misc/adxl34x.c 		__adxl34x_enable(ac);
ac                435 drivers/input/misc/adxl34x.c 	ac->suspended = false;
ac                437 drivers/input/misc/adxl34x.c 	mutex_unlock(&ac->mutex);
ac                444 drivers/input/misc/adxl34x.c 	struct adxl34x *ac = dev_get_drvdata(dev);
ac                446 drivers/input/misc/adxl34x.c 	return sprintf(buf, "%u\n", ac->disabled);
ac                453 drivers/input/misc/adxl34x.c 	struct adxl34x *ac = dev_get_drvdata(dev);
ac                461 drivers/input/misc/adxl34x.c 	mutex_lock(&ac->mutex);
ac                463 drivers/input/misc/adxl34x.c 	if (!ac->suspended && ac->opened) {
ac                465 drivers/input/misc/adxl34x.c 			if (!ac->disabled)
ac                466 drivers/input/misc/adxl34x.c 				__adxl34x_disable(ac);
ac                468 drivers/input/misc/adxl34x.c 			if (ac->disabled)
ac                469 drivers/input/misc/adxl34x.c 				__adxl34x_enable(ac);
ac                473 drivers/input/misc/adxl34x.c 	ac->disabled = !!val;
ac                475 drivers/input/misc/adxl34x.c 	mutex_unlock(&ac->mutex);
ac                485 drivers/input/misc/adxl34x.c 	struct adxl34x *ac = dev_get_drvdata(dev);
ac                488 drivers/input/misc/adxl34x.c 	mutex_lock(&ac->mutex);
ac                490 drivers/input/misc/adxl34x.c 			ac->hwcal.x * 4 + ac->swcal.x,
ac                491 drivers/input/misc/adxl34x.c 			ac->hwcal.y * 4 + ac->swcal.y,
ac                492 drivers/input/misc/adxl34x.c 			ac->hwcal.z * 4 + ac->swcal.z);
ac                493 drivers/input/misc/adxl34x.c 	mutex_unlock(&ac->mutex);
ac                502 drivers/input/misc/adxl34x.c 	struct adxl34x *ac = dev_get_drvdata(dev);
ac                509 drivers/input/misc/adxl34x.c 	mutex_lock(&ac->mutex);
ac                510 drivers/input/misc/adxl34x.c 	ac->hwcal.x -= (ac->saved.x / 4);
ac                511 drivers/input/misc/adxl34x.c 	ac->swcal.x = ac->saved.x % 4;
ac                513 drivers/input/misc/adxl34x.c 	ac->hwcal.y -= (ac->saved.y / 4);
ac                514 drivers/input/misc/adxl34x.c 	ac->swcal.y = ac->saved.y % 4;
ac                516 drivers/input/misc/adxl34x.c 	ac->hwcal.z -= (ac->saved.z / 4);
ac                517 drivers/input/misc/adxl34x.c 	ac->swcal.z = ac->saved.z % 4;
ac                519 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, OFSX, (s8) ac->hwcal.x);
ac                520 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, OFSY, (s8) ac->hwcal.y);
ac                521 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, OFSZ, (s8) ac->hwcal.z);
ac                522 drivers/input/misc/adxl34x.c 	mutex_unlock(&ac->mutex);
ac                533 drivers/input/misc/adxl34x.c 	struct adxl34x *ac = dev_get_drvdata(dev);
ac                535 drivers/input/misc/adxl34x.c 	return sprintf(buf, "%u\n", RATE(ac->pdata.data_rate));
ac                542 drivers/input/misc/adxl34x.c 	struct adxl34x *ac = dev_get_drvdata(dev);
ac                550 drivers/input/misc/adxl34x.c 	mutex_lock(&ac->mutex);
ac                552 drivers/input/misc/adxl34x.c 	ac->pdata.data_rate = RATE(val);
ac                553 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, BW_RATE,
ac                554 drivers/input/misc/adxl34x.c 		 ac->pdata.data_rate |
ac                555 drivers/input/misc/adxl34x.c 			(ac->pdata.low_power_mode ? LOW_POWER : 0));
ac                557 drivers/input/misc/adxl34x.c 	mutex_unlock(&ac->mutex);
ac                567 drivers/input/misc/adxl34x.c 	struct adxl34x *ac = dev_get_drvdata(dev);
ac                570 drivers/input/misc/adxl34x.c 		ac->pdata.power_mode & (PCTL_AUTO_SLEEP | PCTL_LINK) ? 1 : 0);
ac                577 drivers/input/misc/adxl34x.c 	struct adxl34x *ac = dev_get_drvdata(dev);
ac                585 drivers/input/misc/adxl34x.c 	mutex_lock(&ac->mutex);
ac                588 drivers/input/misc/adxl34x.c 		ac->pdata.power_mode |= (PCTL_AUTO_SLEEP | PCTL_LINK);
ac                590 drivers/input/misc/adxl34x.c 		ac->pdata.power_mode &= ~(PCTL_AUTO_SLEEP | PCTL_LINK);
ac                592 drivers/input/misc/adxl34x.c 	if (!ac->disabled && !ac->suspended && ac->opened)
ac                593 drivers/input/misc/adxl34x.c 		AC_WRITE(ac, POWER_CTL, ac->pdata.power_mode | PCTL_MEASURE);
ac                595 drivers/input/misc/adxl34x.c 	mutex_unlock(&ac->mutex);
ac                606 drivers/input/misc/adxl34x.c 	struct adxl34x *ac = dev_get_drvdata(dev);
ac                609 drivers/input/misc/adxl34x.c 	mutex_lock(&ac->mutex);
ac                611 drivers/input/misc/adxl34x.c 			ac->saved.x, ac->saved.y, ac->saved.z);
ac                612 drivers/input/misc/adxl34x.c 	mutex_unlock(&ac->mutex);
ac                624 drivers/input/misc/adxl34x.c 	struct adxl34x *ac = dev_get_drvdata(dev);
ac                635 drivers/input/misc/adxl34x.c 	mutex_lock(&ac->mutex);
ac                636 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, val >> 8, val & 0xFF);
ac                637 drivers/input/misc/adxl34x.c 	mutex_unlock(&ac->mutex);
ac                663 drivers/input/misc/adxl34x.c 	struct adxl34x *ac = input_get_drvdata(input);
ac                665 drivers/input/misc/adxl34x.c 	mutex_lock(&ac->mutex);
ac                667 drivers/input/misc/adxl34x.c 	if (!ac->suspended && !ac->disabled)
ac                668 drivers/input/misc/adxl34x.c 		__adxl34x_enable(ac);
ac                670 drivers/input/misc/adxl34x.c 	ac->opened = true;
ac                672 drivers/input/misc/adxl34x.c 	mutex_unlock(&ac->mutex);
ac                679 drivers/input/misc/adxl34x.c 	struct adxl34x *ac = input_get_drvdata(input);
ac                681 drivers/input/misc/adxl34x.c 	mutex_lock(&ac->mutex);
ac                683 drivers/input/misc/adxl34x.c 	if (!ac->suspended && !ac->disabled)
ac                684 drivers/input/misc/adxl34x.c 		__adxl34x_disable(ac);
ac                686 drivers/input/misc/adxl34x.c 	ac->opened = false;
ac                688 drivers/input/misc/adxl34x.c 	mutex_unlock(&ac->mutex);
ac                695 drivers/input/misc/adxl34x.c 	struct adxl34x *ac;
ac                707 drivers/input/misc/adxl34x.c 	ac = kzalloc(sizeof(*ac), GFP_KERNEL);
ac                709 drivers/input/misc/adxl34x.c 	if (!ac || !input_dev) {
ac                714 drivers/input/misc/adxl34x.c 	ac->fifo_delay = fifo_delay_default;
ac                723 drivers/input/misc/adxl34x.c 	ac->pdata = *pdata;
ac                724 drivers/input/misc/adxl34x.c 	pdata = &ac->pdata;
ac                726 drivers/input/misc/adxl34x.c 	ac->input = input_dev;
ac                727 drivers/input/misc/adxl34x.c 	ac->dev = dev;
ac                728 drivers/input/misc/adxl34x.c 	ac->irq = irq;
ac                729 drivers/input/misc/adxl34x.c 	ac->bops = bops;
ac                731 drivers/input/misc/adxl34x.c 	mutex_init(&ac->mutex);
ac                734 drivers/input/misc/adxl34x.c 	revid = AC_READ(ac, DEVID);
ac                738 drivers/input/misc/adxl34x.c 		ac->model = 345;
ac                741 drivers/input/misc/adxl34x.c 		ac->model = 346;
ac                749 drivers/input/misc/adxl34x.c 	snprintf(ac->phys, sizeof(ac->phys), "%s/input0", dev_name(dev));
ac                751 drivers/input/misc/adxl34x.c 	input_dev->phys = ac->phys;
ac                753 drivers/input/misc/adxl34x.c 	input_dev->id.product = ac->model;
ac                758 drivers/input/misc/adxl34x.c 	input_set_drvdata(input_dev, ac);
ac                760 drivers/input/misc/adxl34x.c 	__set_bit(ac->pdata.ev_type, input_dev->evbit);
ac                762 drivers/input/misc/adxl34x.c 	if (ac->pdata.ev_type == EV_REL) {
ac                788 drivers/input/misc/adxl34x.c 		ac->int_mask = FREE_FALL;
ac                795 drivers/input/misc/adxl34x.c 	ac->int_mask |= ACTIVITY | INACTIVITY;
ac                798 drivers/input/misc/adxl34x.c 		ac->int_mask |= WATERMARK;
ac                800 drivers/input/misc/adxl34x.c 			ac->pdata.fifo_mode |= FIFO_STREAM;
ac                802 drivers/input/misc/adxl34x.c 		ac->int_mask |= DATA_READY;
ac                806 drivers/input/misc/adxl34x.c 		ac->int_mask |= SINGLE_TAP | DOUBLE_TAP;
ac                809 drivers/input/misc/adxl34x.c 		ac->fifo_delay = false;
ac                811 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, POWER_CTL, 0);
ac                813 drivers/input/misc/adxl34x.c 	err = request_threaded_irq(ac->irq, NULL, adxl34x_irq,
ac                815 drivers/input/misc/adxl34x.c 				   dev_name(dev), ac);
ac                817 drivers/input/misc/adxl34x.c 		dev_err(dev, "irq %d busy?\n", ac->irq);
ac                829 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, OFSX, pdata->x_axis_offset);
ac                830 drivers/input/misc/adxl34x.c 	ac->hwcal.x = pdata->x_axis_offset;
ac                831 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, OFSY, pdata->y_axis_offset);
ac                832 drivers/input/misc/adxl34x.c 	ac->hwcal.y = pdata->y_axis_offset;
ac                833 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, OFSZ, pdata->z_axis_offset);
ac                834 drivers/input/misc/adxl34x.c 	ac->hwcal.z = pdata->z_axis_offset;
ac                835 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, THRESH_TAP, pdata->tap_threshold);
ac                836 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, DUR, pdata->tap_duration);
ac                837 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, LATENT, pdata->tap_latency);
ac                838 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, WINDOW, pdata->tap_window);
ac                839 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, THRESH_ACT, pdata->activity_threshold);
ac                840 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, THRESH_INACT, pdata->inactivity_threshold);
ac                841 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, TIME_INACT, pdata->inactivity_time);
ac                842 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, THRESH_FF, pdata->free_fall_threshold);
ac                843 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, TIME_FF, pdata->free_fall_time);
ac                844 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, TAP_AXES, pdata->tap_axis_control);
ac                845 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, ACT_INACT_CTL, pdata->act_axis_control);
ac                846 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, BW_RATE, RATE(ac->pdata.data_rate) |
ac                848 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, DATA_FORMAT, pdata->data_range);
ac                849 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, FIFO_CTL, FIFO_MODE(pdata->fifo_mode) |
ac                854 drivers/input/misc/adxl34x.c 		AC_WRITE(ac, INT_MAP, ac->int_mask | OVERRUN);
ac                857 drivers/input/misc/adxl34x.c 		AC_WRITE(ac, INT_MAP, 0);
ac                860 drivers/input/misc/adxl34x.c 	if (ac->model == 346 && ac->pdata.orientation_enable) {
ac                861 drivers/input/misc/adxl34x.c 		AC_WRITE(ac, ORIENT_CONF,
ac                862 drivers/input/misc/adxl34x.c 			ORIENT_DEADZONE(ac->pdata.deadzone_angle) |
ac                863 drivers/input/misc/adxl34x.c 			ORIENT_DIVISOR(ac->pdata.divisor_length));
ac                865 drivers/input/misc/adxl34x.c 		ac->orient2d_saved = 1234;
ac                866 drivers/input/misc/adxl34x.c 		ac->orient3d_saved = 1234;
ac                878 drivers/input/misc/adxl34x.c 		ac->pdata.orientation_enable = 0;
ac                881 drivers/input/misc/adxl34x.c 	AC_WRITE(ac, INT_ENABLE, ac->int_mask | OVERRUN);
ac                883 drivers/input/misc/adxl34x.c 	ac->pdata.power_mode &= (PCTL_AUTO_SLEEP | PCTL_LINK);
ac                885 drivers/input/misc/adxl34x.c 	return ac;
ac                890 drivers/input/misc/adxl34x.c 	free_irq(ac->irq, ac);
ac                893 drivers/input/misc/adxl34x.c 	kfree(ac);
ac                899 drivers/input/misc/adxl34x.c int adxl34x_remove(struct adxl34x *ac)
ac                901 drivers/input/misc/adxl34x.c 	sysfs_remove_group(&ac->dev->kobj, &adxl34x_attr_group);
ac                902 drivers/input/misc/adxl34x.c 	free_irq(ac->irq, ac);
ac                903 drivers/input/misc/adxl34x.c 	input_unregister_device(ac->input);
ac                904 drivers/input/misc/adxl34x.c 	dev_dbg(ac->dev, "unregistered accelerometer\n");
ac                905 drivers/input/misc/adxl34x.c 	kfree(ac);
ac                 23 drivers/input/misc/adxl34x.h void adxl34x_suspend(struct adxl34x *ac);
ac                 24 drivers/input/misc/adxl34x.h void adxl34x_resume(struct adxl34x *ac);
ac                 28 drivers/input/misc/adxl34x.h int adxl34x_remove(struct adxl34x *ac);
ac                 38 drivers/media/pci/tw686x/tw686x-audio.c 		struct tw686x_audio_channel *ac = &dev->audio_channels[ch];
ac                 45 drivers/media/pci/tw686x/tw686x-audio.c 		spin_lock_irqsave(&ac->lock, flags);
ac                 48 drivers/media/pci/tw686x/tw686x-audio.c 		if (!ac->ss || !ac->curr_bufs[0] || !ac->curr_bufs[1]) {
ac                 49 drivers/media/pci/tw686x/tw686x-audio.c 			spin_unlock_irqrestore(&ac->lock, flags);
ac                 53 drivers/media/pci/tw686x/tw686x-audio.c 		if (!list_empty(&ac->buf_list)) {
ac                 54 drivers/media/pci/tw686x/tw686x-audio.c 			next = list_first_entry(&ac->buf_list,
ac                 56 drivers/media/pci/tw686x/tw686x-audio.c 			list_move_tail(&next->list, &ac->buf_list);
ac                 57 drivers/media/pci/tw686x/tw686x-audio.c 			done = ac->curr_bufs[!pb];
ac                 58 drivers/media/pci/tw686x/tw686x-audio.c 			ac->curr_bufs[pb] = next;
ac                 60 drivers/media/pci/tw686x/tw686x-audio.c 		spin_unlock_irqrestore(&ac->lock, flags);
ac                 68 drivers/media/pci/tw686x/tw686x-audio.c 		desc = &ac->dma_descs[pb];
ac                 76 drivers/media/pci/tw686x/tw686x-audio.c 		ac->ptr = done->dma - ac->buf[0].dma;
ac                 77 drivers/media/pci/tw686x/tw686x-audio.c 		snd_pcm_period_elapsed(ac->ss);
ac                118 drivers/media/pci/tw686x/tw686x-audio.c 	struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number];
ac                122 drivers/media/pci/tw686x/tw686x-audio.c 	ac->ss = ss;
ac                135 drivers/media/pci/tw686x/tw686x-audio.c 	struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number];
ac                137 drivers/media/pci/tw686x/tw686x-audio.c 	ac->ss = NULL;
ac                144 drivers/media/pci/tw686x/tw686x-audio.c 	struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number];
ac                160 drivers/media/pci/tw686x/tw686x-audio.c 	tw686x_disable_channel(dev, AUDIO_CHANNEL_OFFSET + ac->ch);
ac                188 drivers/media/pci/tw686x/tw686x-audio.c 	spin_lock_irqsave(&ac->lock, flags);
ac                189 drivers/media/pci/tw686x/tw686x-audio.c 	INIT_LIST_HEAD(&ac->buf_list);
ac                192 drivers/media/pci/tw686x/tw686x-audio.c 		ac->buf[i].dma = rt->dma_addr + period_size * i;
ac                193 drivers/media/pci/tw686x/tw686x-audio.c 		ac->buf[i].virt = rt->dma_area + period_size * i;
ac                194 drivers/media/pci/tw686x/tw686x-audio.c 		INIT_LIST_HEAD(&ac->buf[i].list);
ac                195 drivers/media/pci/tw686x/tw686x-audio.c 		list_add_tail(&ac->buf[i].list, &ac->buf_list);
ac                198 drivers/media/pci/tw686x/tw686x-audio.c 	p_buf =	list_first_entry(&ac->buf_list, struct tw686x_audio_buf, list);
ac                199 drivers/media/pci/tw686x/tw686x-audio.c 	list_move_tail(&p_buf->list, &ac->buf_list);
ac                201 drivers/media/pci/tw686x/tw686x-audio.c 	b_buf =	list_first_entry(&ac->buf_list, struct tw686x_audio_buf, list);
ac                202 drivers/media/pci/tw686x/tw686x-audio.c 	list_move_tail(&b_buf->list, &ac->buf_list);
ac                204 drivers/media/pci/tw686x/tw686x-audio.c 	ac->curr_bufs[0] = p_buf;
ac                205 drivers/media/pci/tw686x/tw686x-audio.c 	ac->curr_bufs[1] = b_buf;
ac                206 drivers/media/pci/tw686x/tw686x-audio.c 	ac->ptr = 0;
ac                209 drivers/media/pci/tw686x/tw686x-audio.c 		reg_write(dev, ADMA_P_ADDR[ac->ch], p_buf->dma);
ac                210 drivers/media/pci/tw686x/tw686x-audio.c 		reg_write(dev, ADMA_B_ADDR[ac->ch], b_buf->dma);
ac                213 drivers/media/pci/tw686x/tw686x-audio.c 	spin_unlock_irqrestore(&ac->lock, flags);
ac                225 drivers/media/pci/tw686x/tw686x-audio.c 	struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number];
ac                231 drivers/media/pci/tw686x/tw686x-audio.c 		if (ac->curr_bufs[0] && ac->curr_bufs[1]) {
ac                235 drivers/media/pci/tw686x/tw686x-audio.c 				AUDIO_CHANNEL_OFFSET + ac->ch);
ac                247 drivers/media/pci/tw686x/tw686x-audio.c 		tw686x_disable_channel(dev, AUDIO_CHANNEL_OFFSET + ac->ch);
ac                250 drivers/media/pci/tw686x/tw686x-audio.c 		spin_lock_irqsave(&ac->lock, flags);
ac                251 drivers/media/pci/tw686x/tw686x-audio.c 		ac->curr_bufs[0] = NULL;
ac                252 drivers/media/pci/tw686x/tw686x-audio.c 		ac->curr_bufs[1] = NULL;
ac                253 drivers/media/pci/tw686x/tw686x-audio.c 		spin_unlock_irqrestore(&ac->lock, flags);
ac                264 drivers/media/pci/tw686x/tw686x-audio.c 	struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number];
ac                266 drivers/media/pci/tw686x/tw686x-audio.c 	return bytes_to_frames(ss->runtime, ac->ptr);
ac                310 drivers/media/pci/tw686x/tw686x-audio.c 				  struct tw686x_audio_channel *ac)
ac                315 drivers/media/pci/tw686x/tw686x-audio.c 		if (!ac->dma_descs[pb].virt)
ac                317 drivers/media/pci/tw686x/tw686x-audio.c 		pci_free_consistent(dev->pci_dev, ac->dma_descs[pb].size,
ac                318 drivers/media/pci/tw686x/tw686x-audio.c 				    ac->dma_descs[pb].virt,
ac                319 drivers/media/pci/tw686x/tw686x-audio.c 				    ac->dma_descs[pb].phys);
ac                320 drivers/media/pci/tw686x/tw686x-audio.c 		ac->dma_descs[pb].virt = NULL;
ac                325 drivers/media/pci/tw686x/tw686x-audio.c 				  struct tw686x_audio_channel *ac)
ac                338 drivers/media/pci/tw686x/tw686x-audio.c 		u32 reg = pb ? ADMA_B_ADDR[ac->ch] : ADMA_P_ADDR[ac->ch];
ac                342 drivers/media/pci/tw686x/tw686x-audio.c 					    &ac->dma_descs[pb].phys);
ac                346 drivers/media/pci/tw686x/tw686x-audio.c 				ac->ch, pb ? "B" : "P");
ac                349 drivers/media/pci/tw686x/tw686x-audio.c 		ac->dma_descs[pb].virt = virt;
ac                350 drivers/media/pci/tw686x/tw686x-audio.c 		ac->dma_descs[pb].size = AUDIO_DMA_SIZE_MAX;
ac                351 drivers/media/pci/tw686x/tw686x-audio.c 		reg_write(dev, reg, ac->dma_descs[pb].phys);
ac                397 drivers/media/pci/tw686x/tw686x-audio.c 		struct tw686x_audio_channel *ac;
ac                399 drivers/media/pci/tw686x/tw686x-audio.c 		ac = &dev->audio_channels[ch];
ac                400 drivers/media/pci/tw686x/tw686x-audio.c 		spin_lock_init(&ac->lock);
ac                401 drivers/media/pci/tw686x/tw686x-audio.c 		ac->dev = dev;
ac                402 drivers/media/pci/tw686x/tw686x-audio.c 		ac->ch = ch;
ac                404 drivers/media/pci/tw686x/tw686x-audio.c 		err = tw686x_audio_dma_alloc(dev, ac);
ac                113 drivers/misc/lis3lv02d/lis3lv02d.c module_param_array_named(axes, lis3_dev.ac.as_array, axis, NULL, 0644);
ac                199 drivers/misc/lis3lv02d/lis3lv02d.c 	*x = lis3lv02d_get_axis(lis3->ac.x, position);
ac                200 drivers/misc/lis3lv02d/lis3lv02d.c 	*y = lis3lv02d_get_axis(lis3->ac.y, position);
ac                201 drivers/misc/lis3lv02d/lis3lv02d.c 	*z = lis3lv02d_get_axis(lis3->ac.z, position);
ac                715 drivers/misc/lis3lv02d/lis3lv02d.c 	lis3->mapped_btns[0] = lis3lv02d_get_axis(abs(lis3->ac.x), btns);
ac                716 drivers/misc/lis3lv02d/lis3lv02d.c 	lis3->mapped_btns[1] = lis3lv02d_get_axis(abs(lis3->ac.y), btns);
ac                717 drivers/misc/lis3lv02d/lis3lv02d.c 	lis3->mapped_btns[2] = lis3lv02d_get_axis(abs(lis3->ac.z), btns);
ac                288 drivers/misc/lis3lv02d/lis3lv02d.h 	union axis_conversion	ac;        /* hw -> logical axis */
ac                155 drivers/misc/lis3lv02d/lis3lv02d_i2c.c 	lis3_dev.ac	  = lis3lv02d_axis_map;
ac                 83 drivers/misc/lis3lv02d/lis3lv02d_spi.c 	lis3_dev.ac		= lis3lv02d_axis_normal;
ac               1570 drivers/net/ethernet/mscc/ocelot.c 			u32 ac;
ac               1572 drivers/net/ethernet/mscc/ocelot.c 			ac = ocelot_read_rix(ocelot, ANA_PGID_PGID, i);
ac               1573 drivers/net/ethernet/mscc/ocelot.c 			ac &= ~bond_mask;
ac               1574 drivers/net/ethernet/mscc/ocelot.c 			ac |= BIT(aggr_idx[i % aggr_count]);
ac               1575 drivers/net/ethernet/mscc/ocelot.c 			ocelot_write_rix(ocelot, ac, ANA_PGID_PGID, i);
ac                 65 drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c 	struct ionic_rx_filter_add_cmd *ac;
ac                 70 drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c 	ac = &ctx->cmd.rx_filter_add;
ac                 72 drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c 	switch (le16_to_cpu(ac->match)) {
ac                 74 drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c 		key = le16_to_cpu(ac->vlan.vlan);
ac                 77 drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c 		key = *(u32 *)ac->mac.addr;
ac                 80 drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c 		key = le16_to_cpu(ac->mac_vlan.vlan);
ac                 93 drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c 	memcpy(&f->cmd, ac, sizeof(f->cmd));
ac               3130 drivers/net/wireless/ath/ath10k/htt_rx.c 		ieee80211_txq_schedule_start(hw, txq->ac);
ac               3145 drivers/net/wireless/ath/ath10k/htt_rx.c 		ieee80211_txq_schedule_end(hw, txq->ac);
ac               4122 drivers/net/wireless/ath/ath10k/mac.c static int ath10k_mac_schedule_txq(struct ieee80211_hw *hw, u32 ac)
ac               4127 drivers/net/wireless/ath/ath10k/mac.c 	ieee80211_txq_schedule_start(hw, ac);
ac               4128 drivers/net/wireless/ath/ath10k/mac.c 	while ((txq = ieee80211_next_txq(hw, ac))) {
ac               4139 drivers/net/wireless/ath/ath10k/mac.c 	ieee80211_txq_schedule_end(hw, ac);
ac               4147 drivers/net/wireless/ath/ath10k/mac.c 	u32 ac;
ac               4156 drivers/net/wireless/ath/ath10k/mac.c 	for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) {
ac               4157 drivers/net/wireless/ath/ath10k/mac.c 		if (ath10k_mac_schedule_txq(hw, ac) == -EBUSY)
ac               4402 drivers/net/wireless/ath/ath10k/mac.c 	u8 ac;
ac               4408 drivers/net/wireless/ath/ath10k/mac.c 	ac = txq->ac;
ac               4409 drivers/net/wireless/ath/ath10k/mac.c 	ieee80211_txq_schedule_start(hw, ac);
ac               4410 drivers/net/wireless/ath/ath10k/mac.c 	txq = ieee80211_next_txq(hw, ac);
ac               4422 drivers/net/wireless/ath/ath10k/mac.c 	ieee80211_txq_schedule_end(hw, ac);
ac               6711 drivers/net/wireless/ath/ath10k/mac.c 				u16 ac, bool enable)
ac               6724 drivers/net/wireless/ath/ath10k/mac.c 	switch (ac) {
ac               6817 drivers/net/wireless/ath/ath10k/mac.c 			  struct ieee80211_vif *vif, u16 ac,
ac               6827 drivers/net/wireless/ath/ath10k/mac.c 	switch (ac) {
ac               6877 drivers/net/wireless/ath/ath10k/mac.c 	ret = ath10k_conf_tx_uapsd(ar, vif, ac, params->uapsd);
ac               2236 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_sta_uapsd_auto_trig_param *ac;
ac               2241 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*ac));
ac               2242 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ac = (void *)tlv->value;
ac               2244 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ac->wmm_ac = __cpu_to_le32(arg->wmm_ac);
ac               2245 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ac->user_priority = __cpu_to_le32(arg->user_priority);
ac               2246 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ac->service_interval = __cpu_to_le32(arg->service_interval);
ac               2247 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ac->suspend_interval = __cpu_to_le32(arg->suspend_interval);
ac               2248 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ac->delay_interval = __cpu_to_le32(arg->delay_interval);
ac               2252 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		   ac->wmm_ac, ac->user_priority, ac->service_interval,
ac               2253 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		   ac->suspend_interval, ac->delay_interval);
ac               2255 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	return ptr + sizeof(*tlv) + sizeof(*ac);
ac               2265 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_sta_uapsd_auto_trig_param *ac;
ac               2273 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ac_tlv_len = num_ac * (sizeof(*tlv) + sizeof(*ac));
ac               2295 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ac = (void *)tlv->value;
ac               5870 drivers/net/wireless/ath/ath10k/wmi.h #define WMI_UAPSD_AC_BIT_MASK(ac, type) \
ac               5871 drivers/net/wireless/ath/ath10k/wmi.h 	(type == WMI_UAPSD_AC_TYPE_DELI ? 1 << (ac << 1) : 1 << ((ac << 1) + 1))
ac                955 drivers/net/wireless/ath/ath6kl/core.h enum htc_endpoint_id ath6kl_ac2_endpoint_id(void *devt, u8 ac);
ac                765 drivers/net/wireless/ath/ath6kl/htc_mbox.c 	u8 ac = WMM_NUM_AC;
ac                769 drivers/net/wireless/ath/ath6kl/htc_mbox.c 		ac = target->dev->ar->ep2ac_map[endpoint->eid];
ac                789 drivers/net/wireless/ath/ath6kl/htc_mbox.c 		if ((ac < WMM_NUM_AC) && (ac != WMM_AC_BK)) {
ac                790 drivers/net/wireless/ath/ath6kl/htc_mbox.c 			if (WMM_AC_BE == ac)
ac                801 drivers/net/wireless/ath/ath6kl/htc_mbox.c 				txb_mask = ((1 << ac) - 1);
ac                865 drivers/net/wireless/ath/ath6kl/htc_mbox.c 	u8 ac = WMM_NUM_AC;
ac                886 drivers/net/wireless/ath/ath6kl/htc_mbox.c 		ac = target->dev->ar->ep2ac_map[endpoint->eid];
ac                910 drivers/net/wireless/ath/ath6kl/htc_mbox.c 				if (target->tx_bndl_mask & (1 << ac)) {
ac                946 drivers/net/wireless/ath/ath6kl/htc_mbox.c 			if (!(target->tx_bndl_mask & (1 << ac)) &&
ac                947 drivers/net/wireless/ath/ath6kl/htc_mbox.c 			    (ac < WMM_NUM_AC)) {
ac                948 drivers/net/wireless/ath/ath6kl/htc_mbox.c 				if (++target->ac_tx_count[ac] >=
ac                950 drivers/net/wireless/ath/ath6kl/htc_mbox.c 					target->ac_tx_count[ac] = 0;
ac                951 drivers/net/wireless/ath/ath6kl/htc_mbox.c 					target->tx_bndl_mask |= (1 << ac);
ac                956 drivers/net/wireless/ath/ath6kl/htc_mbox.c 			if (ac < WMM_NUM_AC)
ac                957 drivers/net/wireless/ath/ath6kl/htc_mbox.c 				target->ac_tx_count[ac] = 0;
ac                274 drivers/net/wireless/ath/ath6kl/init.c 				  u8 ac,
ac                277 drivers/net/wireless/ath/ath6kl/init.c 	ar->ac2ep_map[ac] = ep;
ac                278 drivers/net/wireless/ath/ath6kl/init.c 	ar->ep2ac_map[ep] = ac;
ac                149 drivers/net/wireless/ath/ath6kl/main.c enum htc_endpoint_id ath6kl_ac2_endpoint_id(void *devt, u8 ac)
ac                152 drivers/net/wireless/ath/ath6kl/main.c 	return ar->ac2ep_map[ac];
ac                708 drivers/net/wireless/ath/ath6kl/main.c 	u8 ac;
ac                726 drivers/net/wireless/ath/ath6kl/main.c 	for (ac = 0; ac < WMM_NUM_AC; ac++)
ac                727 drivers/net/wireless/ath/ath6kl/main.c 		stats->tx_pkt_per_ac[ac] +=
ac                728 drivers/net/wireless/ath/ath6kl/main.c 			le32_to_cpu(tgt_stats->stats.tx.pkt_per_ac[ac]);
ac                825 drivers/net/wireless/ath/ath6kl/main.c 	u8 ac;
ac                831 drivers/net/wireless/ath/ath6kl/main.c 		for (ac = 0; ac < AP_MAX_NUM_STA; ac++) {
ac                832 drivers/net/wireless/ath/ath6kl/main.c 			st_ap = &ap->sta[ac];
ac                833 drivers/net/wireless/ath/ath6kl/main.c 			st_p = &p->sta[ac];
ac                364 drivers/net/wireless/ath/ath6kl/txrx.c 	u8 ac = 99; /* initialize to unmapped ac */
ac                445 drivers/net/wireless/ath/ath6kl/txrx.c 				    0, test_bit(WMM_ENABLED, &vif->flags), &ac);
ac                458 drivers/net/wireless/ath/ath6kl/txrx.c 		eid = ar->ac2ep_map[ac];
ac                301 drivers/net/wireless/ath/ath6kl/wmi.c 				       u8 *ac)
ac                383 drivers/net/wireless/ath/ath6kl/wmi.c 	*ac = traffic_class;
ac               1523 drivers/net/wireless/ath/ath6kl/wmi.c 	if (reply->ac >= WMM_NUM_AC) {
ac               1524 drivers/net/wireless/ath/ath6kl/wmi.c 		ath6kl_err("invalid AC: %d\n", reply->ac);
ac               1536 drivers/net/wireless/ath/ath6kl/wmi.c 					      reply->ac, tsid);
ac               1543 drivers/net/wireless/ath/ath6kl/wmi.c 		active_tsids = wmi->stream_exist_for_ac[reply->ac];
ac               1552 drivers/net/wireless/ath/ath6kl/wmi.c 						      reply->ac, index);
ac               1566 drivers/net/wireless/ath/ath6kl/wmi.c 		wmi->stream_exist_for_ac[reply->ac] &= ~(1 << ts_id);
ac               1567 drivers/net/wireless/ath/ath6kl/wmi.c 		active_tsids = wmi->stream_exist_for_ac[reply->ac];
ac               1574 drivers/net/wireless/ath/ath6kl/wmi.c 			ath6kl_indicate_tx_activity(wmi->parent_dev, reply->ac,
ac               1576 drivers/net/wireless/ath/ath6kl/wmi.c 			wmi->fat_pipe_exist &= ~(1 << reply->ac);
ac               1936 drivers/net/wireless/ath/ath6kl/wmi.h 	u8 ac;
ac               2548 drivers/net/wireless/ath/ath6kl/wmi.h 				       bool wmm_enabled, u8 *ac);
ac               2529 drivers/net/wireless/ath/ath9k/main.c 	int ac;
ac               2544 drivers/net/wireless/ath/ath9k/main.c 	for (ac = 0; ac < IEEE80211_NUM_ACS; ac++)
ac               2545 drivers/net/wireless/ath/ath9k/main.c 		vif->hw_queue[ac] = IEEE80211_INVAL_HW_QUEUE;
ac               3499 drivers/net/wireless/ath/wcn36xx/hal.h 	u8 ac;
ac                 23 drivers/net/wireless/broadcom/b43/phy_ac.c 	dev->phy.ac = phy_ac;
ac                 31 drivers/net/wireless/broadcom/b43/phy_ac.c 	struct b43_phy_ac *phy_ac = phy->ac;
ac                 34 drivers/net/wireless/broadcom/b43/phy_ac.c 	phy->ac = NULL;
ac                217 drivers/net/wireless/broadcom/b43/phy_common.h 		struct b43_phy_ac *ac;
ac                343 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c static u8 brcms_ac_to_fifo(u8 ac)
ac                345 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	if (ac >= ARRAY_SIZE(ac_to_fifo_mapping))
ac                347 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	return ac_to_fifo_mapping[ac];
ac               5003 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	int ac;
ac               5009 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	for (ac = 0; ac < IEEE80211_NUM_ACS; ac++)
ac               5010 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		brcms_b_write_shm(wlc->hw, M_AC_TXLMT_ADDR(ac),
ac               5011 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 				  wlc->wme_retries[ac]);
ac               5447 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	int ac;
ac               5458 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) {
ac               5459 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		wlc->wme_retries[ac] =	SFIELD(wlc->wme_retries[ac],
ac               5461 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		wlc->wme_retries[ac] =	SFIELD(wlc->wme_retries[ac],
ac               6230 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	uint ac;
ac               6756 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	ac = skb_get_queue_mapping(p);
ac               6757 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	if ((scb->flags & SCB_WMECAP) && qos && wlc->edcf_txop[ac]) {
ac               6809 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			if (wlc->edcf_txop[ac] >= (dur - frag_dur)) {
ac               6815 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 					(wlc->edcf_txop[ac] -
ac               6837 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			if (dur > wlc->edcf_txop[ac])
ac               6843 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 					   dur, wlc->edcf_txop[ac]);
ac               7942 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		int ac;
ac               7944 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		for (ac = 0; ac < IEEE80211_NUM_ACS; ac++)
ac               7945 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			wlc->wme_retries[ac] =
ac               7946 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			    brcms_b_read_shm(wlc->hw, M_AC_TXLMT_ADDR(ac));
ac               5247 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		int ac = default_queue_to_tx_fifo[i];
ac               5251 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		if (ac == IL_TX_FIFO_UNUSED)
ac               5254 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		il4965_tx_queue_set_status(il, &il->txq[i], ac, 0);
ac                833 drivers/net/wireless/intel/iwlegacy/commands.h 	struct il_ac_qos ac[AC_NUM];
ac               4515 drivers/net/wireless/intel/iwlegacy/common.c 	il->qos_data.def_qos_parm.ac[q].cw_min =
ac               4517 drivers/net/wireless/intel/iwlegacy/common.c 	il->qos_data.def_qos_parm.ac[q].cw_max =
ac               4519 drivers/net/wireless/intel/iwlegacy/common.c 	il->qos_data.def_qos_parm.ac[q].aifsn = params->aifs;
ac               4520 drivers/net/wireless/intel/iwlegacy/common.c 	il->qos_data.def_qos_parm.ac[q].edca_txop =
ac               4523 drivers/net/wireless/intel/iwlegacy/common.c 	il->qos_data.def_qos_parm.ac[q].reserved1 = 0;
ac               2248 drivers/net/wireless/intel/iwlegacy/common.h il_set_swq_id(struct il_tx_queue *txq, u8 ac, u8 hwq)
ac               2250 drivers/net/wireless/intel/iwlegacy/common.h 	BUG_ON(ac > 3);		/* only have 2 bits */
ac               2253 drivers/net/wireless/intel/iwlegacy/common.h 	txq->swq_id = (hwq << 2) | ac;
ac               2257 drivers/net/wireless/intel/iwlegacy/common.h _il_wake_queue(struct il_priv *il, u8 ac)
ac               2259 drivers/net/wireless/intel/iwlegacy/common.h 	if (atomic_dec_return(&il->queue_stop_count[ac]) <= 0)
ac               2260 drivers/net/wireless/intel/iwlegacy/common.h 		ieee80211_wake_queue(il->hw, ac);
ac               2264 drivers/net/wireless/intel/iwlegacy/common.h _il_stop_queue(struct il_priv *il, u8 ac)
ac               2266 drivers/net/wireless/intel/iwlegacy/common.h 	if (atomic_inc_return(&il->queue_stop_count[ac]) > 0)
ac               2267 drivers/net/wireless/intel/iwlegacy/common.h 		ieee80211_stop_queue(il->hw, ac);
ac               2273 drivers/net/wireless/intel/iwlegacy/common.h 	u8 ac = queue & 3;
ac               2277 drivers/net/wireless/intel/iwlegacy/common.h 		_il_wake_queue(il, ac);
ac               2284 drivers/net/wireless/intel/iwlegacy/common.h 	u8 ac = queue & 3;
ac               2288 drivers/net/wireless/intel/iwlegacy/common.h 		_il_stop_queue(il, ac);
ac               2294 drivers/net/wireless/intel/iwlegacy/common.h 	u8 ac;
ac               2297 drivers/net/wireless/intel/iwlegacy/common.h 		for (ac = 0; ac < 4; ac++)
ac               2298 drivers/net/wireless/intel/iwlegacy/common.h 			_il_wake_queue(il, ac);
ac               2304 drivers/net/wireless/intel/iwlegacy/common.h 	u8 ac;
ac               2307 drivers/net/wireless/intel/iwlegacy/common.h 		for (ac = 0; ac < 4; ac++)
ac               2308 drivers/net/wireless/intel/iwlegacy/common.h 			_il_stop_queue(il, ac);
ac                752 drivers/net/wireless/intel/iwlegacy/debug.c 			      il->qos_data.def_qos_parm.ac[i].cw_min,
ac                753 drivers/net/wireless/intel/iwlegacy/debug.c 			      il->qos_data.def_qos_parm.ac[i].cw_max,
ac                754 drivers/net/wireless/intel/iwlegacy/debug.c 			      il->qos_data.def_qos_parm.ac[i].aifsn,
ac                755 drivers/net/wireless/intel/iwlegacy/debug.c 			      il->qos_data.def_qos_parm.ac[i].edca_txop);
ac                766 drivers/net/wireless/intel/iwlwifi/dvm/commands.h 	struct iwl_ac_qos ac[AC_NUM];
ac                450 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 				ctx->qos_data.def_qos_parm.ac[i].cw_min,
ac                451 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 				ctx->qos_data.def_qos_parm.ac[i].cw_max,
ac                452 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 				ctx->qos_data.def_qos_parm.ac[i].aifsn,
ac                453 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 				ctx->qos_data.def_qos_parm.ac[i].edca_txop);
ac               1187 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 	ctx->qos_data.def_qos_parm.ac[q].cw_min =
ac               1189 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 	ctx->qos_data.def_qos_parm.ac[q].cw_max =
ac               1191 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 	ctx->qos_data.def_qos_parm.ac[q].aifsn = params->aifs;
ac               1192 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 	ctx->qos_data.def_qos_parm.ac[q].edca_txop =
ac               1195 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 	ctx->qos_data.def_qos_parm.ac[q].reserved1 = 0;
ac               1223 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 	int err, ac;
ac               1254 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 	for (ac = 0; ac < IEEE80211_NUM_ACS; ac++)
ac               1255 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		vif->hw_queue[ac] = ctx->ac_to_queue[ac];
ac                376 drivers/net/wireless/intel/iwlwifi/fw/api/mac.h 	struct iwl_ac_qos ac[AC_NUM+1];
ac                701 drivers/net/wireless/intel/iwlwifi/mvm/coex.c 			   struct ieee80211_tx_info *info, u8 ac)
ac                714 drivers/net/wireless/intel/iwlwifi/mvm/coex.c 			switch (ac) {
ac                563 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 		cmd->ac[ucode_ac].cw_min =
ac                565 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 		cmd->ac[ucode_ac].cw_max =
ac                567 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 		cmd->ac[ucode_ac].edca_txop =
ac                569 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 		cmd->ac[ucode_ac].aifsn = mvmvif->queue_params[i].aifs;
ac                570 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 		cmd->ac[ucode_ac].fifos_mask = BIT(txf);
ac               1096 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 	cmd->ac[IWL_MVM_TX_FIFO_VO].fifos_mask |= BIT(IWL_MVM_TX_FIFO_MCAST);
ac               2175 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		u8 ac = iwl_mvm_mac80211_ac_to_ucode_ac(i);
ac               2182 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		sta_ctxt_cmd.trig_based_txf[ac].cwmin =
ac               2184 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		sta_ctxt_cmd.trig_based_txf[ac].cwmax =
ac               2186 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		sta_ctxt_cmd.trig_based_txf[ac].aifsn =
ac               2188 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		sta_ctxt_cmd.trig_based_txf[ac].mu_time =
ac               3226 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			       struct ieee80211_vif *vif, u16 ac,
ac               3232 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	mvmvif->queue_params[ac] = *params;
ac               1463 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 					   enum ieee80211_ac_numbers ac)
ac               1466 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 		iwl_mvm_ac_to_gen2_tx_fifo[ac] : iwl_mvm_ac_to_tx_fifo[ac];
ac               1493 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h u8 iwl_mvm_mac80211_ac_to_ucode_ac(enum ieee80211_ac_numbers ac);
ac               1850 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 			   struct ieee80211_tx_info *info, u8 ac);
ac                186 drivers/net/wireless/intel/iwlwifi/mvm/power.c 	enum ieee80211_ac_numbers ac;
ac                197 drivers/net/wireless/intel/iwlwifi/mvm/power.c 	for (ac = IEEE80211_AC_VO; ac <= IEEE80211_AC_BK; ac++) {
ac                198 drivers/net/wireless/intel/iwlwifi/mvm/power.c 		if (!mvmvif->queue_params[ac].uapsd)
ac                205 drivers/net/wireless/intel/iwlwifi/mvm/power.c 		cmd->uapsd_ac_flags |= BIT(ac);
ac                208 drivers/net/wireless/intel/iwlwifi/mvm/power.c 		if (!tid_found && !mvmvif->queue_params[ac].acm) {
ac                210 drivers/net/wireless/intel/iwlwifi/mvm/power.c 			switch (ac) {
ac                265 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 	int ac = IEEE80211_AC_BE; /* treat non-QoS as BE */
ac                274 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 		ac = tid_to_mac80211_ac[ieee80211_get_tid(hdr)];
ac                282 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 	mdata->rx.pkts[ac]++;
ac                559 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 				    unsigned long tfd_queue_mask, u8 ac)
ac                599 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	else if (ac_to_queue[ac] != IEEE80211_INVAL_HW_QUEUE)
ac                600 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		queue = ac_to_queue[ac];
ac                602 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	else if (ac == IEEE80211_AC_VO &&
ac                633 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 				  int ac, int ssn, unsigned int wdg_timeout,
ac                654 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	if (ac <= mvm->queue_info[queue].mac80211_ac && !force) {
ac                667 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			    queue, iwl_mvm_ac_to_tx_fifo[ac]);
ac                696 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	iwl_mvm_reconfig_scd(mvm, queue, iwl_mvm_ac_to_tx_fifo[ac],
ac                700 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	mvm->queue_info[queue].mac80211_ac = ac;
ac                774 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 					struct ieee80211_sta *sta, u8 ac,
ac               1202 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 				   struct ieee80211_sta *sta, u8 ac, int tid)
ac               1206 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		.fifo = iwl_mvm_mac_ac_to_tx_fifo(mvm, ac),
ac               1224 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		return iwl_mvm_sta_alloc_queue_tvqm(mvm, sta, ac, tid);
ac               1261 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		queue = iwl_mvm_get_shared_queue(mvm, tfd_queue_mask, ac);
ac               1352 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		ret = iwl_mvm_redirect_queue(mvm, queue, tid, ac, ssn,
ac               1398 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		iwl_mvm_sta_alloc_queue(mvm, txq->sta, txq->ac, tid);
ac               1477 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		int ac;
ac               1482 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		ac = tid_to_mac80211_ac[i];
ac               1510 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			cfg.fifo = iwl_mvm_mac_ac_to_tx_fifo(mvm, ac);
ac               2784 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		u8 ac = tid_to_mac80211_ac[tid];
ac               2786 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		ret = iwl_mvm_sta_alloc_queue_tvqm(mvm, sta, ac, tid);
ac                210 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	u8 ac;
ac                257 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		ac = tid_to_mac80211_ac[tx_cmd->tid_tspec];
ac                259 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		ac = tid_to_mac80211_ac[0];
ac                261 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	tx_flags |= iwl_mvm_bt_coex_tx_prio(mvm, hdr, info, ac) <<
ac                791 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	u8 ac = tid_to_mac80211_ac[tid];
ac                801 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		ac += 4;
ac                803 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	txf = iwl_mvm_mac_ac_to_tx_fifo(mvm, ac);
ac               1048 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	u32 ac = tid_to_mac80211_ac[tid];
ac               1057 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	mdata->tx.pkts[ac]++;
ac                235 drivers/net/wireless/intel/iwlwifi/mvm/utils.c u8 iwl_mvm_mac80211_ac_to_ucode_ac(enum ieee80211_ac_numbers ac)
ac                244 drivers/net/wireless/intel/iwlwifi/mvm/utils.c 	return mac80211_ac_to_ucode_ac[ac];
ac               1228 drivers/net/wireless/intel/iwlwifi/mvm/utils.c 	int ac, mac, i;
ac               1258 drivers/net/wireless/intel/iwlwifi/mvm/utils.c 		for (ac = IEEE80211_AC_VO; ac <= IEEE80211_AC_VI; ac++)
ac               1259 drivers/net/wireless/intel/iwlwifi/mvm/utils.c 			vo_vi_pkts += mdata->rx.pkts[ac] +
ac               1260 drivers/net/wireless/intel/iwlwifi/mvm/utils.c 				      mdata->tx.pkts[ac];
ac                402 drivers/net/wireless/marvell/mwifiex/tdls.c 	memcpy(&wmm->ac[0], ac_be, sizeof(ac_be));
ac                403 drivers/net/wireless/marvell/mwifiex/tdls.c 	memcpy(&wmm->ac[1], ac_bk, sizeof(ac_bk));
ac                404 drivers/net/wireless/marvell/mwifiex/tdls.c 	memcpy(&wmm->ac[2], ac_vi, sizeof(ac_vi));
ac                405 drivers/net/wireless/marvell/mwifiex/tdls.c 	memcpy(&wmm->ac[3], ac_vo, sizeof(ac_vo));
ac                386 drivers/net/wireless/marvell/mwifiex/wmm.c 	enum mwifiex_wmm_ac_e ac, ac_down;
ac                389 drivers/net/wireless/marvell/mwifiex/wmm.c 	ac = mwifiex_wmm_convert_tos_to_ac(priv->adapter, tid);
ac                390 drivers/net/wireless/marvell/mwifiex/wmm.c 	ac_down = priv->wmm.ac_down_graded_vals[ac];
ac                653 drivers/net/wireless/mediatek/mt76/mt76.h u8 mt76_ac_to_hwq(u8 ac);
ac                 83 drivers/net/wireless/mediatek/mt76/tx.c 	return txq->ac;
ac                624 drivers/net/wireless/mediatek/mt76/tx.c u8 mt76_ac_to_hwq(u8 ac)
ac                633 drivers/net/wireless/mediatek/mt76/tx.c 	if (WARN_ON(ac >= IEEE80211_NUM_ACS))
ac                636 drivers/net/wireless/mediatek/mt76/tx.c 	return wmm_queue_map[ac];
ac                997 drivers/net/wireless/realtek/rtlwifi/core.c 	mac->ac[aci].aifs = param->aifs;
ac                998 drivers/net/wireless/realtek/rtlwifi/core.c 	mac->ac[aci].cw_min = cpu_to_le16(param->cw_min);
ac                999 drivers/net/wireless/realtek/rtlwifi/core.c 	mac->ac[aci].cw_max = cpu_to_le16(param->cw_max);
ac               1000 drivers/net/wireless/realtek/rtlwifi/core.c 	mac->ac[aci].tx_op = cpu_to_le16(param->txop);
ac                520 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		    (union aci_aifsn *)(&(mac->ac[0].aifs));
ac                310 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 			    (union aci_aifsn *)(&(mac->ac[0].aifs));
ac               1733 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 			u16 cw_min = le16_to_cpu(mac->ac[e_aci].cw_min);
ac               1734 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 			u16 cw_max = le16_to_cpu(mac->ac[e_aci].cw_max);
ac               1735 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 			u16 tx_op = le16_to_cpu(mac->ac[e_aci].tx_op);
ac               1737 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 			u4b_ac_param = (u32) mac->ac[e_aci].aifs;
ac                304 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 		    (union aci_aifsn *)(&(mac->ac[0].aifs));
ac                512 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 		union aci_aifsn *aifs = (union aci_aifsn *)(&mac->ac[0].aifs);
ac                237 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 							mac->ac[0].aifs));
ac                312 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 			    (union aci_aifsn *)(&mac->ac[0].aifs);
ac                555 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 				(union aci_aifsn *)(&(mac->ac[0].aifs));
ac                616 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		    (union aci_aifsn *)(&mac->ac[0].aifs);
ac               1563 drivers/net/wireless/realtek/rtlwifi/wifi.h 	struct rtl_qos_parameters ac[AC_MAX];
ac                993 drivers/net/wireless/ti/wl1251/acx.c int wl1251_acx_ac_cfg(struct wl1251 *wl, u8 ac, u8 cw_min, u16 cw_max,
ac               1000 drivers/net/wireless/ti/wl1251/acx.c 		     "aifs %d txop %d", ac, cw_min, cw_max, aifs, txop);
ac               1006 drivers/net/wireless/ti/wl1251/acx.c 	acx->ac = ac;
ac               1242 drivers/net/wireless/ti/wl1251/acx.h 	u8 ac;
ac               1478 drivers/net/wireless/ti/wl1251/acx.h int wl1251_acx_ac_cfg(struct wl1251 *wl, u8 ac, u8 cw_min, u16 cw_max,
ac                126 drivers/net/wireless/ti/wl12xx/main.c 				.ac          = CONF_TX_AC_BE,
ac                133 drivers/net/wireless/ti/wl12xx/main.c 				.ac          = CONF_TX_AC_BK,
ac                140 drivers/net/wireless/ti/wl12xx/main.c 				.ac          = CONF_TX_AC_VI,
ac                147 drivers/net/wireless/ti/wl12xx/main.c 				.ac          = CONF_TX_AC_VO,
ac                267 drivers/net/wireless/ti/wl18xx/main.c 				.ac          = CONF_TX_AC_BE,
ac                274 drivers/net/wireless/ti/wl18xx/main.c 				.ac          = CONF_TX_AC_BK,
ac                281 drivers/net/wireless/ti/wl18xx/main.c 				.ac          = CONF_TX_AC_VI,
ac                288 drivers/net/wireless/ti/wl18xx/main.c 				.ac          = CONF_TX_AC_VO,
ac                826 drivers/net/wireless/ti/wlcore/acx.c 		      u8 ac, u8 cw_min, u16 cw_max, u8 aifsn, u16 txop)
ac                832 drivers/net/wireless/ti/wlcore/acx.c 		     "aifs %d txop %d", ac, cw_min, cw_max, aifsn, txop);
ac                842 drivers/net/wireless/ti/wlcore/acx.c 	acx->ac = ac;
ac                427 drivers/net/wireless/ti/wlcore/acx.h 	u8 ac;
ac               1069 drivers/net/wireless/ti/wlcore/acx.h 		      u8 ac, u8 cw_min, u16 cw_max, u8 aifsn, u16 txop);
ac                313 drivers/net/wireless/ti/wlcore/conf.h 	u8 ac;
ac                614 drivers/net/wireless/ti/wlcore/init.c 		ret = wl1271_acx_ac_cfg(wl, wlvif, conf_ac->ac,
ac                197 drivers/net/wireless/ti/wlcore/tx.c 	int id, ret = -EBUSY, ac;
ac                232 drivers/net/wireless/ti/wlcore/tx.c 		ac = wl1271_tx_get_queue(skb_get_queue_mapping(skb));
ac                233 drivers/net/wireless/ti/wlcore/tx.c 		wl->tx_allocated_pkts[ac]++;
ac                255 drivers/net/wireless/ti/wlcore/tx.c 	int ac, rate_idx;
ac                286 drivers/net/wireless/ti/wlcore/tx.c 	ac = wl1271_tx_get_queue(skb_get_queue_mapping(skb));
ac                339 drivers/net/wireless/ti/wlcore/tx.c 			rate_idx = wlvif->ap.ucast_rate_idx[ac];
ac                485 drivers/net/wireless/ti/wlcore/tx.c 	int i, q = -1, ac;
ac                496 drivers/net/wireless/ti/wlcore/tx.c 		ac = wl1271_tx_get_queue(i);
ac                497 drivers/net/wireless/ti/wlcore/tx.c 		if (wl->tx_queue_count[ac] &&
ac                498 drivers/net/wireless/ti/wlcore/tx.c 		    wl->tx_allocated_pkts[ac] < min_pkts) {
ac                499 drivers/net/wireless/ti/wlcore/tx.c 			q = ac;
ac                529 drivers/net/wireless/ti/wlcore/tx.c 						    u8 hlid, u8 ac,
ac                536 drivers/net/wireless/ti/wlcore/tx.c 		    !skb_queue_empty(&lnk->tx_queue[ac]) &&
ac                544 drivers/net/wireless/ti/wlcore/tx.c 	return wlcore_lnk_dequeue(wl, lnk, ac);
ac                549 drivers/net/wireless/ti/wlcore/tx.c 						    u8 ac, u8 *hlid,
ac                566 drivers/net/wireless/ti/wlcore/tx.c 		skb = wlcore_lnk_dequeue_high_prio(wl, h, ac,
ac                587 drivers/net/wireless/ti/wlcore/tx.c 	int ac;
ac                590 drivers/net/wireless/ti/wlcore/tx.c 	ac = wlcore_select_ac(wl);
ac                591 drivers/net/wireless/ti/wlcore/tx.c 	if (ac < 0)
ac                597 drivers/net/wireless/ti/wlcore/tx.c 			if (!wlvif->tx_queue_count[ac])
ac                600 drivers/net/wireless/ti/wlcore/tx.c 			skb = wlcore_vif_dequeue_high_prio(wl, wlvif, ac, hlid,
ac                613 drivers/net/wireless/ti/wlcore/tx.c 						   ac, &low_prio_hlid);
ac                624 drivers/net/wireless/ti/wlcore/tx.c 			if (!wlvif->tx_queue_count[ac])
ac                627 drivers/net/wireless/ti/wlcore/tx.c 			skb = wlcore_vif_dequeue_high_prio(wl, wlvif, ac, hlid,
ac                643 drivers/net/wireless/ti/wlcore/tx.c 		skb = wlcore_lnk_dequeue(wl, lnk, ac);
ac                379 drivers/of/base.c 	int ac, prop_len, tid;
ac                382 drivers/of/base.c 	ac = of_n_addr_cells(cpun);
ac                384 drivers/of/base.c 	if (!cell && !ac && arch_match_cpu_phys_id(cpu, 0))
ac                386 drivers/of/base.c 	if (!cell || !ac)
ac                388 drivers/of/base.c 	prop_len /= sizeof(*cell) * ac;
ac                390 drivers/of/base.c 		hwid = of_read_number(cell, ac);
ac                396 drivers/of/base.c 		cell += ac;
ac                151 drivers/platform/x86/hp_accel.c 	lis3_dev.ac = *((union axis_conversion *)dmi->driver_data);
ac                350 drivers/platform/x86/hp_accel.c 	if (lis3_dev.ac.x && lis3_dev.ac.y && lis3_dev.ac.z) {
ac                352 drivers/platform/x86/hp_accel.c 			lis3_dev.ac.x, lis3_dev.ac.y, lis3_dev.ac.z);
ac                355 drivers/platform/x86/hp_accel.c 		lis3_dev.ac = lis3lv02d_axis_normal;
ac                293 drivers/power/supply/ab8500_charger.c 	struct ab8500_charger_info ac;
ac                412 drivers/power/supply/ab8500_charger.c 		    !di->ac.charger_connected &&
ac                417 drivers/power/supply/ab8500_charger.c 			   (di->ac.charger_connected ||
ac                465 drivers/power/supply/ab8500_charger.c 	if (di->ac.charger_connected) {
ac                487 drivers/power/supply/ab8500_charger.c 	if (di->ac.charger_online) {
ac                560 drivers/power/supply/ab8500_charger.c 	if (di->ac.charger_online) {
ac               1136 drivers/power/supply/ab8500_charger.c 		if (!di->ac.charger_connected)
ac               1156 drivers/power/supply/ab8500_charger.c 		if (!di->usb.charger_connected && !di->ac.charger_connected)
ac               1366 drivers/power/supply/ab8500_charger.c 		if (!di->ac.charger_connected) {
ac               1446 drivers/power/supply/ab8500_charger.c 		di->ac.charger_online = 1;
ac               1504 drivers/power/supply/ab8500_charger.c 		di->ac.charger_online = 0;
ac               1505 drivers/power/supply/ab8500_charger.c 		di->ac.wd_expired = false;
ac               1765 drivers/power/supply/ab8500_charger.c 	if (!di->ac.charger_connected)
ac               2058 drivers/power/supply/ab8500_charger.c 		di->ac.charger_connected = 1;
ac               2061 drivers/power/supply/ab8500_charger.c 		di->ac.charger_connected = 0;
ac               2802 drivers/power/supply/ab8500_charger.c 	if (di->ac.charger_online) {
ac               2803 drivers/power/supply/ab8500_charger.c 		di->ac.wd_expired = true;
ac               2886 drivers/power/supply/ab8500_charger.c 		else if (di->ac.wd_expired || di->usb.wd_expired)
ac               2894 drivers/power/supply/ab8500_charger.c 		val->intval = di->ac.charger_online;
ac               2897 drivers/power/supply/ab8500_charger.c 		val->intval = di->ac.charger_connected;
ac               2902 drivers/power/supply/ab8500_charger.c 			di->ac.charger_voltage = ret;
ac               2904 drivers/power/supply/ab8500_charger.c 		val->intval = di->ac.charger_voltage * 1000;
ac               2911 drivers/power/supply/ab8500_charger.c 		di->ac.cv_active = ab8500_charger_ac_cv(di);
ac               2912 drivers/power/supply/ab8500_charger.c 		val->intval = di->ac.cv_active;
ac               2917 drivers/power/supply/ab8500_charger.c 			di->ac.charger_current = ret;
ac               2918 drivers/power/supply/ab8500_charger.c 		val->intval = di->ac.charger_current * 1000;
ac               2953 drivers/power/supply/ab8500_charger.c 		else if (di->ac.wd_expired || di->usb.wd_expired)
ac               3543 drivers/power/supply/ab8500_charger.c 		di->ac.charger_connected = 1;
ac                189 drivers/power/supply/bq24735-charger.c 		int ac = 0;
ac                191 drivers/power/supply/bq24735-charger.c 		ac = bq24735_read_word(charger->client, BQ24735_CHG_OPT);
ac                192 drivers/power/supply/bq24735-charger.c 		if (ac < 0) {
ac                195 drivers/power/supply/bq24735-charger.c 				ac);
ac                198 drivers/power/supply/bq24735-charger.c 		return (ac & BQ24735_CHG_OPT_AC_PRESENT) ? true : false;
ac                 27 drivers/power/supply/goldfish_battery.c 	struct power_supply *ac;
ac                176 drivers/power/supply/goldfish_battery.c 		power_supply_changed(data->ac);
ac                237 drivers/power/supply/goldfish_battery.c 	data->ac = power_supply_register(&pdev->dev, &ac_desc, &psy_cfg);
ac                238 drivers/power/supply/goldfish_battery.c 	if (IS_ERR(data->ac))
ac                239 drivers/power/supply/goldfish_battery.c 		return PTR_ERR(data->ac);
ac                244 drivers/power/supply/goldfish_battery.c 		power_supply_unregister(data->ac);
ac                259 drivers/power/supply/goldfish_battery.c 	power_supply_unregister(data->ac);
ac                 42 drivers/power/supply/ipaq_micro_battery.c 	u8 ac;
ac                 75 drivers/power/supply/ipaq_micro_battery.c 	mb->ac = msg_battery.rx_data[0];
ac                184 drivers/power/supply/ipaq_micro_battery.c 		val->intval = mb->ac;
ac                 79 drivers/power/supply/lp8727_charger.c 	struct power_supply *ac;
ac                188 drivers/power/supply/lp8727_charger.c 		pchg->chg_param = pdata ? pdata->ac : NULL;
ac                192 drivers/power/supply/lp8727_charger.c 			pchg->chg_param = pdata ? pdata->ac : NULL;
ac                241 drivers/power/supply/lp8727_charger.c 	power_supply_changed(pchg->psy->ac);
ac                456 drivers/power/supply/lp8727_charger.c 	psy->ac = power_supply_register(pchg->dev, &lp8727_ac_desc, &psy_cfg);
ac                457 drivers/power/supply/lp8727_charger.c 	if (IS_ERR(psy->ac))
ac                474 drivers/power/supply/lp8727_charger.c 	power_supply_unregister(psy->ac);
ac                486 drivers/power/supply/lp8727_charger.c 	power_supply_unregister(psy->ac);
ac                528 drivers/power/supply/lp8727_charger.c 			pdata->ac = lp8727_parse_charge_pdata(dev, child);
ac                 68 drivers/power/supply/max8925_power.c 	struct power_supply	*ac;
ac                531 drivers/power/supply/max8925_power.c 	info->ac = power_supply_register(&pdev->dev, &ac_desc, &psy_cfg);
ac                532 drivers/power/supply/max8925_power.c 	if (IS_ERR(info->ac)) {
ac                533 drivers/power/supply/max8925_power.c 		ret = PTR_ERR(info->ac);
ac                536 drivers/power/supply/max8925_power.c 	info->ac->dev.parent = &pdev->dev;
ac                564 drivers/power/supply/max8925_power.c 	power_supply_unregister(info->ac);
ac                574 drivers/power/supply/max8925_power.c 		power_supply_unregister(info->ac);
ac                 33 drivers/power/supply/pcf50633-charger.c 	struct power_supply *ac;
ac                271 drivers/power/supply/pcf50633-charger.c 	power_supply_changed(mbc->ac);
ac                426 drivers/power/supply/pcf50633-charger.c 	mbc->ac = power_supply_register(&pdev->dev, &pcf50633_mbc_ac_desc,
ac                428 drivers/power/supply/pcf50633-charger.c 	if (IS_ERR(mbc->ac)) {
ac                432 drivers/power/supply/pcf50633-charger.c 		return PTR_ERR(mbc->ac);
ac                455 drivers/power/supply/pcf50633-charger.c 	power_supply_unregister(mbc->ac);
ac                114 drivers/power/supply/pm2301_charger.c 	if (!pm2->ac.charger_connected && gpio_is_valid(pm2->lpn_pin)) {
ac                122 drivers/power/supply/pm2301_charger.c 	if (!pm2->ac.charger_connected && gpio_is_valid(pm2->lpn_pin))
ac                228 drivers/power/supply/pm2301_charger.c 	pm2->ac.wd_expired = true;
ac                306 drivers/power/supply/pm2301_charger.c 		pm2->ac.charger_connected = 1;
ac                318 drivers/power/supply/pm2301_charger.c 	pm2->ac.charger_connected = 0;
ac                510 drivers/power/supply/pm2301_charger.c 	if (pm2->ac.charger_connected && pm2->ac.charger_online) {
ac                613 drivers/power/supply/pm2301_charger.c 		else if (pm2->ac.wd_expired)
ac                623 drivers/power/supply/pm2301_charger.c 		val->intval = pm2->ac.charger_online;
ac                626 drivers/power/supply/pm2301_charger.c 		val->intval = pm2->ac.charger_connected;
ac                629 drivers/power/supply/pm2301_charger.c 		pm2->ac.cv_active = pm2xxx_charger_get_ac_cv(pm2);
ac                630 drivers/power/supply/pm2301_charger.c 		val->intval = pm2->ac.cv_active;
ac                715 drivers/power/supply/pm2301_charger.c 		if (!pm2->ac.charger_connected) {
ac                796 drivers/power/supply/pm2301_charger.c 		pm2->ac.charger_online = 1;
ac                798 drivers/power/supply/pm2301_charger.c 		pm2->ac.charger_online = 0;
ac                799 drivers/power/supply/pm2301_charger.c 		pm2->ac.wd_expired = false;
ac               1158 drivers/power/supply/pm2301_charger.c 		pm2->ac.charger_connected = 1;
ac                480 drivers/power/supply/pm2301_charger.h 	struct pm2xxx_charger_info ac;
ac                 36 drivers/power/supply/tps65090-charger.c 	struct power_supply	*ac;
ac                182 drivers/power/supply/tps65090-charger.c 		power_supply_changed(charger->ac);
ac                265 drivers/power/supply/tps65090-charger.c 	cdata->ac = power_supply_register(&pdev->dev, &tps65090_charger_desc,
ac                267 drivers/power/supply/tps65090-charger.c 	if (IS_ERR(cdata->ac)) {
ac                269 drivers/power/supply/tps65090-charger.c 		return PTR_ERR(cdata->ac);
ac                299 drivers/power/supply/tps65090-charger.c 		power_supply_changed(cdata->ac);
ac                326 drivers/power/supply/tps65090-charger.c 	power_supply_unregister(cdata->ac);
ac                337 drivers/power/supply/tps65090-charger.c 	power_supply_unregister(cdata->ac);
ac                113 drivers/power/supply/twl4030_charger.c 	struct power_supply	*ac;
ac                596 drivers/power/supply/twl4030_charger.c 	power_supply_changed(bci->ac);
ac                625 drivers/power/supply/twl4030_charger.c 		power_supply_changed(bci->ac);
ac                698 drivers/power/supply/twl4030_charger.c 	if (dev == &bci->ac->dev) {
ac                724 drivers/power/supply/twl4030_charger.c 	if (dev == &bci->ac->dev)
ac               1041 drivers/power/supply/twl4030_charger.c 	bci->ac = devm_power_supply_register(&pdev->dev, &twl4030_bci_ac_desc,
ac               1043 drivers/power/supply/twl4030_charger.c 	if (IS_ERR(bci->ac)) {
ac               1044 drivers/power/supply/twl4030_charger.c 		ret = PTR_ERR(bci->ac);
ac               1093 drivers/power/supply/twl4030_charger.c 	if (device_create_file(&bci->ac->dev, &dev_attr_mode))
ac               1121 drivers/power/supply/twl4030_charger.c 	device_remove_file(&bci->ac->dev, &dev_attr_mode);
ac                234 drivers/power/supply/wm8350_power.c 		power_supply_changed(power->ac);
ac                474 drivers/power/supply/wm8350_power.c 	power->ac = power_supply_register(&pdev->dev, &wm8350_ac_desc, NULL);
ac                475 drivers/power/supply/wm8350_power.c 	if (IS_ERR(power->ac))
ac                476 drivers/power/supply/wm8350_power.c 		return PTR_ERR(power->ac);
ac                508 drivers/power/supply/wm8350_power.c 	power_supply_unregister(power->ac);
ac                521 drivers/power/supply/wm8350_power.c 	power_supply_unregister(power->ac);
ac                340 drivers/s390/cio/qdio.h #define pci_out_supported(irq) ((irq)->qib.ac & QIB_AC_OUTBOUND_PCI_SUPPORTED)
ac                353 drivers/s390/cio/qdio_setup.c 	DBF_EVENT("3:%4x qib:%4x", irq_ptr->ssqd_desc.qdioac3, irq_ptr->qib.ac);
ac                422 drivers/s390/cio/qdio_setup.c 	irq_ptr->qdr->ac = qdio_init->qdr_ac;
ac                428 drivers/s390/crypto/ap_bus.c 	struct ap_card *ac;
ac                440 drivers/s390/crypto/ap_bus.c 	for_each_ap_card(ac) {
ac                441 drivers/s390/crypto/ap_bus.c 		for_each_ap_queue(aq, ac) {
ac                454 drivers/s390/crypto/ap_bus.c 	struct ap_card *ac;
ac                458 drivers/s390/crypto/ap_bus.c 	for_each_ap_card(ac) {
ac                459 drivers/s390/crypto/ap_bus.c 		for_each_ap_queue(aq, ac) {
ac               1388 drivers/s390/crypto/ap_bus.c 	struct ap_card *ac;
ac               1397 drivers/s390/crypto/ap_bus.c 	ac = dev ? to_ap_card(dev) : NULL;
ac               1415 drivers/s390/crypto/ap_bus.c 	if (ac) {
ac               1426 drivers/s390/crypto/ap_bus.c 		} else if (ac->raw_hwtype != type) {
ac               1430 drivers/s390/crypto/ap_bus.c 		} else if (ac->functions != func) {
ac               1445 drivers/s390/crypto/ap_bus.c 			ac = NULL;
ac               1497 drivers/s390/crypto/ap_bus.c 		if (!ac) {
ac               1498 drivers/s390/crypto/ap_bus.c 			ac = ap_card_create(id, depth, type, comp_type, func);
ac               1499 drivers/s390/crypto/ap_bus.c 			if (!ac)
ac               1501 drivers/s390/crypto/ap_bus.c 			ac->ap_dev.device.bus = &ap_bus_type;
ac               1502 drivers/s390/crypto/ap_bus.c 			ac->ap_dev.device.parent = ap_root_device;
ac               1503 drivers/s390/crypto/ap_bus.c 			dev_set_name(&ac->ap_dev.device, "card%02x", id);
ac               1505 drivers/s390/crypto/ap_bus.c 			rc = device_register(&ac->ap_dev.device);
ac               1507 drivers/s390/crypto/ap_bus.c 				put_device(&ac->ap_dev.device);
ac               1508 drivers/s390/crypto/ap_bus.c 				ac = NULL;
ac               1512 drivers/s390/crypto/ap_bus.c 			get_device(&ac->ap_dev.device);
ac               1518 drivers/s390/crypto/ap_bus.c 		aq->card = ac;
ac               1520 drivers/s390/crypto/ap_bus.c 		aq->ap_dev.device.parent = &ac->ap_dev.device;
ac               1530 drivers/s390/crypto/ap_bus.c 	if (ac)
ac               1531 drivers/s390/crypto/ap_bus.c 		put_device(&ac->ap_dev.device);
ac                 24 drivers/s390/crypto/ap_card.c 	struct ap_card *ac = to_ap_card(dev);
ac                 26 drivers/s390/crypto/ap_card.c 	return snprintf(buf, PAGE_SIZE, "%d\n", ac->ap_dev.device_type);
ac                 34 drivers/s390/crypto/ap_card.c 	struct ap_card *ac = to_ap_card(dev);
ac                 36 drivers/s390/crypto/ap_card.c 	return snprintf(buf, PAGE_SIZE, "%d\n", ac->raw_hwtype);
ac                 44 drivers/s390/crypto/ap_card.c 	struct ap_card *ac = to_ap_card(dev);
ac                 46 drivers/s390/crypto/ap_card.c 	return snprintf(buf, PAGE_SIZE, "%d\n", ac->queue_depth);
ac                 54 drivers/s390/crypto/ap_card.c 	struct ap_card *ac = to_ap_card(dev);
ac                 56 drivers/s390/crypto/ap_card.c 	return snprintf(buf, PAGE_SIZE, "0x%08X\n", ac->functions);
ac                 65 drivers/s390/crypto/ap_card.c 	struct ap_card *ac = to_ap_card(dev);
ac                 70 drivers/s390/crypto/ap_card.c 	req_cnt = atomic64_read(&ac->total_request_count);
ac                 79 drivers/s390/crypto/ap_card.c 	struct ap_card *ac = to_ap_card(dev);
ac                 83 drivers/s390/crypto/ap_card.c 	for_each_ap_queue(aq, ac)
ac                 86 drivers/s390/crypto/ap_card.c 	atomic64_set(&ac->total_request_count, 0);
ac                 96 drivers/s390/crypto/ap_card.c 	struct ap_card *ac = to_ap_card(dev);
ac                102 drivers/s390/crypto/ap_card.c 	for_each_ap_queue(aq, ac)
ac                113 drivers/s390/crypto/ap_card.c 	struct ap_card *ac = to_ap_card(dev);
ac                119 drivers/s390/crypto/ap_card.c 	for_each_ap_queue(aq, ac)
ac                163 drivers/s390/crypto/ap_card.c 	struct ap_card *ac = to_ap_card(dev);
ac                165 drivers/s390/crypto/ap_card.c 	if (!list_empty(&ac->list)) {
ac                167 drivers/s390/crypto/ap_card.c 		list_del_init(&ac->list);
ac                170 drivers/s390/crypto/ap_card.c 	kfree(ac);
ac                176 drivers/s390/crypto/ap_card.c 	struct ap_card *ac;
ac                178 drivers/s390/crypto/ap_card.c 	ac = kzalloc(sizeof(*ac), GFP_KERNEL);
ac                179 drivers/s390/crypto/ap_card.c 	if (!ac)
ac                181 drivers/s390/crypto/ap_card.c 	INIT_LIST_HEAD(&ac->list);
ac                182 drivers/s390/crypto/ap_card.c 	INIT_LIST_HEAD(&ac->queues);
ac                183 drivers/s390/crypto/ap_card.c 	ac->ap_dev.device.release = ap_card_device_release;
ac                184 drivers/s390/crypto/ap_card.c 	ac->ap_dev.device.type = &ap_card_type;
ac                185 drivers/s390/crypto/ap_card.c 	ac->ap_dev.device_type = comp_type;
ac                186 drivers/s390/crypto/ap_card.c 	ac->raw_hwtype = raw_type;
ac                187 drivers/s390/crypto/ap_card.c 	ac->queue_depth = queue_depth;
ac                188 drivers/s390/crypto/ap_card.c 	ac->functions = functions;
ac                189 drivers/s390/crypto/ap_card.c 	ac->id = id;
ac                190 drivers/s390/crypto/ap_card.c 	return ac;
ac                 84 drivers/s390/crypto/zcrypt_cex2a.c 	struct ap_card *ac = to_ap_card(&ap_dev->device);
ac                 91 drivers/s390/crypto/zcrypt_cex2a.c 	zc->card = ac;
ac                 92 drivers/s390/crypto/zcrypt_cex2a.c 	ac->private = zc;
ac                 94 drivers/s390/crypto/zcrypt_cex2a.c 	if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX2A) {
ac                102 drivers/s390/crypto/zcrypt_cex2a.c 	} else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX3A) {
ac                106 drivers/s390/crypto/zcrypt_cex2a.c 		if (ap_test_bit(&ac->functions, AP_FUNC_MEX4K) &&
ac                107 drivers/s390/crypto/zcrypt_cex2a.c 		    ap_test_bit(&ac->functions, AP_FUNC_CRT4K)) {
ac                123 drivers/s390/crypto/zcrypt_cex2a.c 		ac->private = NULL;
ac                144 drivers/s390/crypto/zcrypt_cex2c.c 	struct ap_card *ac = to_ap_card(&ap_dev->device);
ac                151 drivers/s390/crypto/zcrypt_cex2c.c 	zc->card = ac;
ac                152 drivers/s390/crypto/zcrypt_cex2c.c 	ac->private = zc;
ac                153 drivers/s390/crypto/zcrypt_cex2c.c 	switch (ac->ap_dev.device_type) {
ac                180 drivers/s390/crypto/zcrypt_cex2c.c 		ac->private = NULL;
ac                 81 drivers/s390/crypto/zcrypt_cex4.c 	struct ap_card *ac = to_ap_card(dev);
ac                 82 drivers/s390/crypto/zcrypt_cex4.c 	struct zcrypt_card *zc = ac->private;
ac                 87 drivers/s390/crypto/zcrypt_cex4.c 		cca_get_info(ac->id, ap_domain_index, &ci, zc->online);
ac                191 drivers/s390/crypto/zcrypt_cex4.c 	struct ap_card *ac = to_ap_card(&ap_dev->device);
ac                198 drivers/s390/crypto/zcrypt_cex4.c 	zc->card = ac;
ac                199 drivers/s390/crypto/zcrypt_cex4.c 	ac->private = zc;
ac                200 drivers/s390/crypto/zcrypt_cex4.c 	if (ap_test_bit(&ac->functions, AP_FUNC_ACCEL)) {
ac                201 drivers/s390/crypto/zcrypt_cex4.c 		if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX4) {
ac                206 drivers/s390/crypto/zcrypt_cex4.c 		} else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX5) {
ac                211 drivers/s390/crypto/zcrypt_cex4.c 		} else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX6) {
ac                226 drivers/s390/crypto/zcrypt_cex4.c 		if (ap_test_bit(&ac->functions, AP_FUNC_MEX4K) &&
ac                227 drivers/s390/crypto/zcrypt_cex4.c 		    ap_test_bit(&ac->functions, AP_FUNC_CRT4K)) {
ac                236 drivers/s390/crypto/zcrypt_cex4.c 	} else if (ap_test_bit(&ac->functions, AP_FUNC_COPRO)) {
ac                237 drivers/s390/crypto/zcrypt_cex4.c 		if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX4) {
ac                245 drivers/s390/crypto/zcrypt_cex4.c 		} else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX5) {
ac                253 drivers/s390/crypto/zcrypt_cex4.c 		} else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX6) {
ac                273 drivers/s390/crypto/zcrypt_cex4.c 	} else if (ap_test_bit(&ac->functions, AP_FUNC_EP11)) {
ac                274 drivers/s390/crypto/zcrypt_cex4.c 		if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX4) {
ac                279 drivers/s390/crypto/zcrypt_cex4.c 		} else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX5) {
ac                284 drivers/s390/crypto/zcrypt_cex4.c 		} else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX6) {
ac                309 drivers/s390/crypto/zcrypt_cex4.c 		ac->private = NULL;
ac                314 drivers/s390/crypto/zcrypt_cex4.c 	if (ap_test_bit(&ac->functions, AP_FUNC_COPRO)) {
ac                331 drivers/s390/crypto/zcrypt_cex4.c 	struct ap_card *ac = to_ap_card(&ap_dev->device);
ac                332 drivers/s390/crypto/zcrypt_cex4.c 	struct zcrypt_card *zc = ac->private;
ac                334 drivers/s390/crypto/zcrypt_cex4.c 	if (ap_test_bit(&ac->functions, AP_FUNC_COPRO))
ac               1118 drivers/scsi/esas2r/esas2r_ioctl.c 		struct atto_hba_adap_ctrl *ac = &hi->data.adap_ctrl;
ac               1131 drivers/scsi/esas2r/esas2r_ioctl.c 		if (ac->adap_func == ATTO_AC_AF_HARD_RST) {
ac               1133 drivers/scsi/esas2r/esas2r_ioctl.c 		} else if (ac->adap_func != ATTO_AC_AF_GET_STATE) {
ac               1139 drivers/scsi/esas2r/esas2r_ioctl.c 			ac->adap_state = ATTO_AC_AS_RST_SCHED;
ac               1141 drivers/scsi/esas2r/esas2r_ioctl.c 			ac->adap_state = ATTO_AC_AS_RST_IN_PROG;
ac               1143 drivers/scsi/esas2r/esas2r_ioctl.c 			ac->adap_state = ATTO_AC_AS_RST_DISC;
ac               1145 drivers/scsi/esas2r/esas2r_ioctl.c 			ac->adap_state = ATTO_AC_AS_DISABLED;
ac               1147 drivers/scsi/esas2r/esas2r_ioctl.c 			ac->adap_state = ATTO_AC_AS_DEGRADED;
ac               1149 drivers/scsi/esas2r/esas2r_ioctl.c 			ac->adap_state = ATTO_AC_AS_OK;
ac               3101 drivers/scsi/hpsa.c 	struct hpsa_tmf_struct *ac = (struct hpsa_tmf_struct *) c2;
ac               3136 drivers/scsi/hpsa.c 					le32_to_cpu(ac->it_nexus);
ac                 88 drivers/scsi/libsas/sas_ata.c 	enum ata_completion_errors ac;
ac                138 drivers/scsi/libsas/sas_ata.c 		ac = sas_to_ata_err(stat);
ac                139 drivers/scsi/libsas/sas_ata.c 		if (ac) {
ac                143 drivers/scsi/libsas/sas_ata.c 				qc->err_mask = ac;
ac                 48 drivers/scsi/raid_class.c 		container_of(acont, struct transport_container, ac);	\
ac                 53 drivers/scsi/raid_class.c 	struct attribute_container *ac =				\
ac                 55 drivers/scsi/raid_class.c 	ac_to_raid_internal(ac);					\
ac                225 drivers/scsi/raid_class.c 		attribute_container_find_class_device(&r->raid_attrs.ac,
ac                271 drivers/scsi/raid_class.c 	i->r.raid_attrs.ac.class = &raid_class.class;
ac                272 drivers/scsi/raid_class.c 	i->r.raid_attrs.ac.match = raid_match;
ac                273 drivers/scsi/raid_class.c 	i->r.raid_attrs.ac.attrs = &i->attrs[0];
ac                275 drivers/scsi/raid_class.c 	attribute_container_register(&i->r.raid_attrs.ac);
ac                293 drivers/scsi/raid_class.c 	BUG_ON(attribute_container_unregister(&i->r.raid_attrs.ac));
ac               1952 drivers/scsi/scsi_transport_fc.c 	if (!shost->transportt  || shost->transportt->host_attrs.ac.class
ac               1958 drivers/scsi/scsi_transport_fc.c 	return &i->t.host_attrs.ac == cont;
ac               1971 drivers/scsi/scsi_transport_fc.c 	if (!shost->transportt  || shost->transportt->host_attrs.ac.class
ac               1977 drivers/scsi/scsi_transport_fc.c 	return &i->t.target_attrs.ac == cont;
ac               2003 drivers/scsi/scsi_transport_fc.c 	if (!shost->transportt  || shost->transportt->host_attrs.ac.class
ac               2009 drivers/scsi/scsi_transport_fc.c 	return &i->rport_attr_cont.ac == cont;
ac               2037 drivers/scsi/scsi_transport_fc.c 	if (!shost->transportt  || shost->transportt->host_attrs.ac.class
ac               2042 drivers/scsi/scsi_transport_fc.c 	return &i->vport_attr_cont.ac == cont;
ac               2162 drivers/scsi/scsi_transport_fc.c 	i->t.target_attrs.ac.attrs = &i->starget_attrs[0];
ac               2163 drivers/scsi/scsi_transport_fc.c 	i->t.target_attrs.ac.class = &fc_transport_class.class;
ac               2164 drivers/scsi/scsi_transport_fc.c 	i->t.target_attrs.ac.match = fc_target_match;
ac               2168 drivers/scsi/scsi_transport_fc.c 	i->t.host_attrs.ac.attrs = &i->host_attrs[0];
ac               2169 drivers/scsi/scsi_transport_fc.c 	i->t.host_attrs.ac.class = &fc_host_class.class;
ac               2170 drivers/scsi/scsi_transport_fc.c 	i->t.host_attrs.ac.match = fc_host_match;
ac               2176 drivers/scsi/scsi_transport_fc.c 	i->rport_attr_cont.ac.attrs = &i->rport_attrs[0];
ac               2177 drivers/scsi/scsi_transport_fc.c 	i->rport_attr_cont.ac.class = &fc_rport_class.class;
ac               2178 drivers/scsi/scsi_transport_fc.c 	i->rport_attr_cont.ac.match = fc_rport_match;
ac               2181 drivers/scsi/scsi_transport_fc.c 	i->vport_attr_cont.ac.attrs = &i->vport_attrs[0];
ac               2182 drivers/scsi/scsi_transport_fc.c 	i->vport_attr_cont.ac.class = &fc_vport_class.class;
ac               2183 drivers/scsi/scsi_transport_fc.c 	i->vport_attr_cont.ac.match = fc_vport_match;
ac               4390 drivers/scsi/scsi_transport_iscsi.c 	if (priv->session_cont.ac.class != &iscsi_session_class.class)
ac               4393 drivers/scsi/scsi_transport_iscsi.c 	return &priv->session_cont.ac == cont;
ac               4415 drivers/scsi/scsi_transport_iscsi.c 	if (priv->conn_cont.ac.class != &iscsi_connection_class.class)
ac               4418 drivers/scsi/scsi_transport_iscsi.c 	return &priv->conn_cont.ac == cont;
ac               4432 drivers/scsi/scsi_transport_iscsi.c 	    shost->transportt->host_attrs.ac.class != &iscsi_host_class.class)
ac               4436 drivers/scsi/scsi_transport_iscsi.c         return &priv->t.host_attrs.ac == cont;
ac               4471 drivers/scsi/scsi_transport_iscsi.c 	priv->t.host_attrs.ac.class = &iscsi_host_class.class;
ac               4472 drivers/scsi/scsi_transport_iscsi.c 	priv->t.host_attrs.ac.match = iscsi_host_match;
ac               4473 drivers/scsi/scsi_transport_iscsi.c 	priv->t.host_attrs.ac.grp = &iscsi_host_group;
ac               4478 drivers/scsi/scsi_transport_iscsi.c 	priv->conn_cont.ac.class = &iscsi_connection_class.class;
ac               4479 drivers/scsi/scsi_transport_iscsi.c 	priv->conn_cont.ac.match = iscsi_conn_match;
ac               4480 drivers/scsi/scsi_transport_iscsi.c 	priv->conn_cont.ac.grp = &iscsi_conn_group;
ac               4484 drivers/scsi/scsi_transport_iscsi.c 	priv->session_cont.ac.class = &iscsi_session_class.class;
ac               4485 drivers/scsi/scsi_transport_iscsi.c 	priv->session_cont.ac.match = iscsi_session_match;
ac               4486 drivers/scsi/scsi_transport_iscsi.c 	priv->session_cont.ac.grp = &iscsi_session_group;
ac                267 drivers/scsi/scsi_transport_sas.c 	if (shost->transportt->host_attrs.ac.class !=
ac                272 drivers/scsi/scsi_transport_sas.c 	return &i->t.host_attrs.ac == cont;
ac                647 drivers/scsi/scsi_transport_sas.c 	if (shost->transportt->host_attrs.ac.class !=
ac                652 drivers/scsi/scsi_transport_sas.c 	return &i->phy_attr_cont.ac == cont;
ac                813 drivers/scsi/scsi_transport_sas.c 	if (shost->transportt->host_attrs.ac.class !=
ac                818 drivers/scsi/scsi_transport_sas.c 	return &i->port_attr_cont.ac == cont;
ac               1334 drivers/scsi/scsi_transport_sas.c 	if (shost->transportt->host_attrs.ac.class !=
ac               1339 drivers/scsi/scsi_transport_sas.c 	return &i->rphy_attr_cont.ac == cont;
ac               1356 drivers/scsi/scsi_transport_sas.c 	if (shost->transportt->host_attrs.ac.class !=
ac               1361 drivers/scsi/scsi_transport_sas.c 	return &i->end_dev_attr_cont.ac == cont &&
ac               1379 drivers/scsi/scsi_transport_sas.c 	if (shost->transportt->host_attrs.ac.class !=
ac               1384 drivers/scsi/scsi_transport_sas.c 	return &i->expander_attr_cont.ac == cont &&
ac               1753 drivers/scsi/scsi_transport_sas.c 	i->t.host_attrs.ac.attrs = &i->host_attrs[0];
ac               1754 drivers/scsi/scsi_transport_sas.c 	i->t.host_attrs.ac.class = &sas_host_class.class;
ac               1755 drivers/scsi/scsi_transport_sas.c 	i->t.host_attrs.ac.match = sas_host_match;
ac               1759 drivers/scsi/scsi_transport_sas.c 	i->phy_attr_cont.ac.class = &sas_phy_class.class;
ac               1760 drivers/scsi/scsi_transport_sas.c 	i->phy_attr_cont.ac.attrs = &i->phy_attrs[0];
ac               1761 drivers/scsi/scsi_transport_sas.c 	i->phy_attr_cont.ac.match = sas_phy_match;
ac               1764 drivers/scsi/scsi_transport_sas.c 	i->port_attr_cont.ac.class = &sas_port_class.class;
ac               1765 drivers/scsi/scsi_transport_sas.c 	i->port_attr_cont.ac.attrs = &i->port_attrs[0];
ac               1766 drivers/scsi/scsi_transport_sas.c 	i->port_attr_cont.ac.match = sas_port_match;
ac               1769 drivers/scsi/scsi_transport_sas.c 	i->rphy_attr_cont.ac.class = &sas_rphy_class.class;
ac               1770 drivers/scsi/scsi_transport_sas.c 	i->rphy_attr_cont.ac.attrs = &i->rphy_attrs[0];
ac               1771 drivers/scsi/scsi_transport_sas.c 	i->rphy_attr_cont.ac.match = sas_rphy_match;
ac               1774 drivers/scsi/scsi_transport_sas.c 	i->end_dev_attr_cont.ac.class = &sas_end_dev_class.class;
ac               1775 drivers/scsi/scsi_transport_sas.c 	i->end_dev_attr_cont.ac.attrs = &i->end_dev_attrs[0];
ac               1776 drivers/scsi/scsi_transport_sas.c 	i->end_dev_attr_cont.ac.match = sas_end_dev_match;
ac               1779 drivers/scsi/scsi_transport_sas.c 	i->expander_attr_cont.ac.class = &sas_expander_class.class;
ac               1780 drivers/scsi/scsi_transport_sas.c 	i->expander_attr_cont.ac.attrs = &i->expander_attrs[0];
ac               1781 drivers/scsi/scsi_transport_sas.c 	i->expander_attr_cont.ac.match = sas_expander_match;
ac                195 drivers/scsi/scsi_transport_spi.c 	if (!shost->transportt  || shost->transportt->host_attrs.ac.class
ac                199 drivers/scsi/scsi_transport_spi.c 	return &shost->transportt->host_attrs.ac == cont;
ac               1377 drivers/scsi/scsi_transport_spi.c 	if (!shost->transportt  || shost->transportt->host_attrs.ac.class
ac               1400 drivers/scsi/scsi_transport_spi.c 	if (!shost->transportt  || shost->transportt->host_attrs.ac.class
ac               1410 drivers/scsi/scsi_transport_spi.c 	return &i->t.target_attrs.ac == cont;
ac               1566 drivers/scsi/scsi_transport_spi.c 	i->t.target_attrs.ac.class = &spi_transport_class.class;
ac               1567 drivers/scsi/scsi_transport_spi.c 	i->t.target_attrs.ac.grp = &target_attribute_group;
ac               1568 drivers/scsi/scsi_transport_spi.c 	i->t.target_attrs.ac.match = spi_target_match;
ac               1571 drivers/scsi/scsi_transport_spi.c 	i->t.host_attrs.ac.class = &spi_host_class.class;
ac               1572 drivers/scsi/scsi_transport_spi.c 	i->t.host_attrs.ac.grp = &host_attribute_group;
ac               1573 drivers/scsi/scsi_transport_spi.c 	i->t.host_attrs.ac.match = spi_host_match;
ac                638 drivers/scsi/scsi_transport_srp.c 	if (shost->transportt->host_attrs.ac.class != &srp_host_class.class)
ac                642 drivers/scsi/scsi_transport_srp.c 	return &i->rport_attr_cont.ac == cont;
ac                656 drivers/scsi/scsi_transport_srp.c 	if (shost->transportt->host_attrs.ac.class != &srp_host_class.class)
ac                660 drivers/scsi/scsi_transport_srp.c 	return &i->t.host_attrs.ac == cont;
ac                817 drivers/scsi/scsi_transport_srp.c 	i->t.host_attrs.ac.attrs = &i->host_attrs[0];
ac                818 drivers/scsi/scsi_transport_srp.c 	i->t.host_attrs.ac.class = &srp_host_class.class;
ac                819 drivers/scsi/scsi_transport_srp.c 	i->t.host_attrs.ac.match = srp_host_match;
ac                823 drivers/scsi/scsi_transport_srp.c 	i->rport_attr_cont.ac.attrs = &i->rport_attrs[0];
ac                824 drivers/scsi/scsi_transport_srp.c 	i->rport_attr_cont.ac.class = &srp_rport_class.class;
ac                825 drivers/scsi/scsi_transport_srp.c 	i->rport_attr_cont.ac.match = srp_rport_match;
ac               1431 drivers/staging/rtl8188eu/core/rtw_xmit.c 				     struct sta_info *psta, int up, u8 *ac)
ac               1439 drivers/staging/rtl8188eu/core/rtw_xmit.c 		*(ac) = 3;
ac               1446 drivers/staging/rtl8188eu/core/rtw_xmit.c 		*(ac) = 1;
ac               1453 drivers/staging/rtl8188eu/core/rtw_xmit.c 		*(ac) = 0;
ac               1461 drivers/staging/rtl8188eu/core/rtw_xmit.c 		*(ac) = 2;
ac                321 drivers/staging/rtl8188eu/include/rtw_xmit.h 				     struct sta_info *psta, int up, u8 *ac);
ac                 80 drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h #define is_ac_valid(ac)			(((ac) <= 7) ? true : false)
ac               2039 drivers/staging/rtl8723bs/core/rtw_xmit.c struct tx_servq *rtw_get_sta_pending(struct adapter *padapter, struct sta_info *psta, sint up, u8 *ac)
ac               2047 drivers/staging/rtl8723bs/core/rtw_xmit.c 		*(ac) = 3;
ac               2054 drivers/staging/rtl8723bs/core/rtw_xmit.c 		*(ac) = 1;
ac               2061 drivers/staging/rtl8723bs/core/rtw_xmit.c 		*(ac) = 0;
ac               2069 drivers/staging/rtl8723bs/core/rtw_xmit.c 		*(ac) = 2;
ac                470 drivers/staging/rtl8723bs/include/rtw_xmit.h struct tx_servq *rtw_get_sta_pending(struct adapter *padapter, struct sta_info *psta, sint up, u8 *ac);
ac                354 fs/afs/addr_list.c bool afs_iterate_addresses(struct afs_addr_cursor *ac)
ac                359 fs/afs/addr_list.c 	if (!ac->alist)
ac                362 fs/afs/addr_list.c 	set = ac->alist->responded;
ac                363 fs/afs/addr_list.c 	failed = ac->alist->failed;
ac                364 fs/afs/addr_list.c 	_enter("%lx-%lx-%lx,%d", set, failed, ac->tried, ac->index);
ac                366 fs/afs/addr_list.c 	ac->nr_iterations++;
ac                368 fs/afs/addr_list.c 	set &= ~(failed | ac->tried);
ac                373 fs/afs/addr_list.c 	index = READ_ONCE(ac->alist->preferred);
ac                380 fs/afs/addr_list.c 	ac->index = index;
ac                381 fs/afs/addr_list.c 	set_bit(index, &ac->tried);
ac                382 fs/afs/addr_list.c 	ac->responded = false;
ac                389 fs/afs/addr_list.c int afs_end_cursor(struct afs_addr_cursor *ac)
ac                393 fs/afs/addr_list.c 	alist = ac->alist;
ac                395 fs/afs/addr_list.c 		if (ac->responded &&
ac                396 fs/afs/addr_list.c 		    ac->index != alist->preferred &&
ac                397 fs/afs/addr_list.c 		    test_bit(ac->alist->preferred, &ac->tried))
ac                398 fs/afs/addr_list.c 			WRITE_ONCE(alist->preferred, ac->index);
ac                400 fs/afs/addr_list.c 		ac->alist = NULL;
ac                403 fs/afs/addr_list.c 	return ac->error;
ac                740 fs/afs/dir.c   				fc.ac.abort_code = RX_INVALID_OPERATION;
ac                741 fs/afs/dir.c   				fc.ac.error = -ECONNABORTED;
ac                753 fs/afs/dir.c   		if (fc.ac.error == 0)
ac                755 fs/afs/dir.c   		if (fc.ac.abort_code == RX_INVALID_OPERATION)
ac                762 fs/afs/dir.c   	if (fc.ac.abort_code != RX_INVALID_OPERATION)
ac                783 fs/afs/dir.c   		if (fc.ac.error == 0)
ac               1226 fs/afs/dir.c   	if (fc->ac.error < 0)
ac               1235 fs/afs/dir.c   		fc->ac.error = PTR_ERR(inode);
ac               1241 fs/afs/dir.c   	if (fc->ac.error == 0)
ac               1263 fs/afs/dir.c   	if (fc->ac.error == 0)
ac               1539 fs/afs/dir.c   				if (fc.ac.error != -ECONNABORTED ||
ac               1540 fs/afs/dir.c   				    fc.ac.abort_code != RXGEN_OPCODE)
ac                169 fs/afs/dir_silly.c 				if (fc.ac.error != -ECONNABORTED ||
ac                170 fs/afs/dir_silly.c 				    fc.ac.abort_code != RXGEN_OPCODE)
ac                129 fs/afs/fs_probe.c 	struct afs_addr_cursor ac = {
ac                138 fs/afs/fs_probe.c 	ac.alist = rcu_dereference_protected(server->addresses,
ac                140 fs/afs/fs_probe.c 	afs_get_addrlist(ac.alist);
ac                143 fs/afs/fs_probe.c 	atomic_set(&server->probe_outstanding, ac.alist->nr_addrs);
ac                147 fs/afs/fs_probe.c 	for (ac.index = 0; ac.index < ac.alist->nr_addrs; ac.index++) {
ac                148 fs/afs/fs_probe.c 		call = afs_fs_get_capabilities(net, server, &ac, key, server_index);
ac                153 fs/afs/fs_probe.c 			afs_prioritise_error(_e, PTR_ERR(call), ac.abort_code);
ac                159 fs/afs/fs_probe.c 	afs_put_addrlist(ac.alist);
ac                297 fs/afs/fsclient.c 		fc->ac.error = -ENOMEM;
ac                316 fs/afs/fsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac                317 fs/afs/fsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac                515 fs/afs/fsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac                516 fs/afs/fsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac                563 fs/afs/fsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac                564 fs/afs/fsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac                677 fs/afs/fsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac                678 fs/afs/fsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac                769 fs/afs/fsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac                770 fs/afs/fsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac                862 fs/afs/fsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac                863 fs/afs/fsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac                975 fs/afs/fsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac                976 fs/afs/fsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1088 fs/afs/fsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1089 fs/afs/fsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1190 fs/afs/fsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1191 fs/afs/fsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1268 fs/afs/fsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1269 fs/afs/fsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1366 fs/afs/fsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1367 fs/afs/fsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1414 fs/afs/fsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1415 fs/afs/fsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1460 fs/afs/fsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1461 fs/afs/fsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1635 fs/afs/fsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1636 fs/afs/fsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1728 fs/afs/fsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1729 fs/afs/fsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1765 fs/afs/fsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1766 fs/afs/fsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1802 fs/afs/fsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1803 fs/afs/fsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1829 fs/afs/fsclient.c 				 struct afs_addr_cursor *ac,
ac               1848 fs/afs/fsclient.c 	afs_make_call(ac, call, GFP_NOFS);
ac               1849 fs/afs/fsclient.c 	return afs_wait_for_call_to_complete(call, ac);
ac               1915 fs/afs/fsclient.c 					 struct afs_addr_cursor *ac,
ac               1941 fs/afs/fsclient.c 	afs_make_call(ac, call, GFP_NOFS);
ac               1999 fs/afs/fsclient.c 		fc->ac.error = -ENOMEM;
ac               2018 fs/afs/fsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               2019 fs/afs/fsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               2169 fs/afs/fsclient.c 		fc->ac.error = -ENOMEM;
ac               2191 fs/afs/fsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               2192 fs/afs/fsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               2295 fs/afs/fsclient.c 		fc->ac.error = -ENOMEM;
ac               2313 fs/afs/fsclient.c 	afs_make_call(&fc->ac, call, GFP_KERNEL);
ac               2314 fs/afs/fsclient.c 	return (struct afs_acl *)afs_wait_for_call_to_complete(call, &fc->ac);
ac               2369 fs/afs/fsclient.c 		fc->ac.error = -ENOMEM;
ac               2389 fs/afs/fsclient.c 	afs_make_call(&fc->ac, call, GFP_KERNEL);
ac               2390 fs/afs/fsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac                277 fs/afs/inode.c 	if (fc->ac.error != 0)
ac                297 fs/afs/inode.c 	if (fc->ac.error == 0 && scb->have_status)
ac                747 fs/afs/internal.h 	struct afs_addr_cursor	ac;
ac                767 fs/afs/internal.h 	struct afs_addr_cursor	ac;
ac               1424 fs/afs/internal.h 	if (fc->ac.error == -ENOENT) {
ac                 29 fs/afs/rotate.c 	fc->ac.error = SHRT_MAX;
ac                147 fs/afs/rotate.c 	int error = fc->ac.error, i;
ac                151 fs/afs/rotate.c 	       fc->ac.tried, fc->ac.index,
ac                152 fs/afs/rotate.c 	       error, fc->ac.abort_code);
ac                178 fs/afs/rotate.c 		switch (fc->ac.abort_code) {
ac                223 fs/afs/rotate.c 			fc->error = afs_abort_to_error(fc->ac.abort_code);
ac                228 fs/afs/rotate.c 				afs_busy(vnode->volume, fc->ac.abort_code);
ac                252 fs/afs/rotate.c 				afs_busy(vnode->volume, fc->ac.abort_code);
ac                307 fs/afs/rotate.c 			fc->error = afs_abort_to_error(fc->ac.abort_code);
ac                334 fs/afs/rotate.c 	afs_end_cursor(&fc->ac);
ac                399 fs/afs/rotate.c 	ASSERTCMP(fc->ac.alist, ==, NULL);
ac                427 fs/afs/rotate.c 	memset(&fc->ac, 0, sizeof(fc->ac));
ac                429 fs/afs/rotate.c 	if (!fc->ac.alist)
ac                430 fs/afs/rotate.c 		fc->ac.alist = alist;
ac                434 fs/afs/rotate.c 	fc->ac.index = -1;
ac                437 fs/afs/rotate.c 	ASSERT(fc->ac.alist);
ac                441 fs/afs/rotate.c 	if (!afs_iterate_addresses(&fc->ac))
ac                444 fs/afs/rotate.c 	_debug("address [%u] %u/%u", fc->index, fc->ac.index, fc->ac.alist->nr_addrs);
ac                451 fs/afs/rotate.c 	afs_end_cursor(&fc->ac);
ac                476 fs/afs/rotate.c 	afs_end_cursor(&fc->ac);
ac                491 fs/afs/rotate.c 	int error = fc->ac.error;
ac                519 fs/afs/rotate.c 		memset(&fc->ac, 0, sizeof(fc->ac));
ac                520 fs/afs/rotate.c 		fc->ac.alist = alist;
ac                521 fs/afs/rotate.c 		fc->ac.index = -1;
ac                533 fs/afs/rotate.c 		fc->error = afs_abort_to_error(fc->ac.abort_code);
ac                555 fs/afs/rotate.c 	if (afs_iterate_addresses(&fc->ac)) {
ac                560 fs/afs/rotate.c 	afs_end_cursor(&fc->ac);
ac                601 fs/afs/rotate.c 				if (a == fc->ac.alist)
ac                608 fs/afs/rotate.c 		  fc->ac.tried, fc->ac.index, fc->ac.abort_code, fc->ac.error,
ac                609 fs/afs/rotate.c 		  fc->ac.responded, fc->ac.nr_iterations);
ac                628 fs/afs/rotate.c 	afs_end_cursor(&fc->ac);
ac                633 fs/afs/rotate.c 		fc->error = afs_abort_to_error(fc->ac.abort_code);
ac                361 fs/afs/rxrpc.c void afs_make_call(struct afs_addr_cursor *ac, struct afs_call *call, gfp_t gfp)
ac                363 fs/afs/rxrpc.c 	struct sockaddr_rxrpc *srx = &ac->alist->addrs[ac->index];
ac                379 fs/afs/rxrpc.c 	call->addr_ix = ac->index;
ac                380 fs/afs/rxrpc.c 	call->alist = afs_get_addrlist(ac->alist);
ac                472 fs/afs/rxrpc.c 		ac->abort_code = call->abort_code;
ac                473 fs/afs/rxrpc.c 		ac->responded = true;
ac                495 fs/afs/rxrpc.c 	ac->error = ret;
ac                605 fs/afs/rxrpc.c 				   struct afs_addr_cursor *ac)
ac                659 fs/afs/rxrpc.c 	ac->abort_code = call->abort_code;
ac                660 fs/afs/rxrpc.c 	ac->error = call->error;
ac                663 fs/afs/rxrpc.c 	ret = ac->error;
ac                671 fs/afs/rxrpc.c 		ac->responded = true;
ac                376 fs/afs/server.c 	struct afs_addr_cursor ac = {
ac                386 fs/afs/server.c 		afs_fs_give_up_all_callbacks(net, server, &ac, NULL);
ac                129 fs/afs/vl_probe.c 	struct afs_addr_cursor ac = {
ac                138 fs/afs/vl_probe.c 	ac.alist = rcu_dereference_protected(server->addresses,
ac                142 fs/afs/vl_probe.c 	atomic_set(&server->probe_outstanding, ac.alist->nr_addrs);
ac                146 fs/afs/vl_probe.c 	for (ac.index = 0; ac.index < ac.alist->nr_addrs; ac.index++) {
ac                147 fs/afs/vl_probe.c 		call = afs_vl_get_capabilities(net, &ac, key, server,
ac                153 fs/afs/vl_probe.c 			afs_prioritise_error(_e, PTR_ERR(call), ac.abort_code);
ac                 24 fs/afs/vl_rotate.c 	vc->ac.error = SHRT_MAX;
ac                 90 fs/afs/vl_rotate.c 	int error = vc->ac.error, i;
ac                 94 fs/afs/vl_rotate.c 	       vc->ac.tried, vc->ac.index,
ac                 95 fs/afs/vl_rotate.c 	       error, vc->ac.abort_code);
ac                114 fs/afs/vl_rotate.c 		_leave(" = f [okay/local %d]", vc->ac.error);
ac                121 fs/afs/vl_rotate.c 		switch (vc->ac.abort_code) {
ac                133 fs/afs/vl_rotate.c 			vc->error = afs_abort_to_error(vc->ac.abort_code);
ac                158 fs/afs/vl_rotate.c 	afs_end_cursor(&vc->ac);
ac                210 fs/afs/vl_rotate.c 	ASSERTCMP(vc->ac.alist, ==, NULL);
ac                222 fs/afs/vl_rotate.c 	memset(&vc->ac, 0, sizeof(vc->ac));
ac                224 fs/afs/vl_rotate.c 	if (!vc->ac.alist)
ac                225 fs/afs/vl_rotate.c 		vc->ac.alist = alist;
ac                229 fs/afs/vl_rotate.c 	vc->ac.index = -1;
ac                232 fs/afs/vl_rotate.c 	ASSERT(vc->ac.alist);
ac                236 fs/afs/vl_rotate.c 	if (!afs_iterate_addresses(&vc->ac))
ac                239 fs/afs/vl_rotate.c 	_debug("VL address %d/%d", vc->ac.index, vc->ac.alist->nr_addrs);
ac                241 fs/afs/vl_rotate.c 	_leave(" = t %pISpc", &vc->ac.alist->addrs[vc->ac.index].transport);
ac                246 fs/afs/vl_rotate.c 	afs_end_cursor(&vc->ac);
ac                269 fs/afs/vl_rotate.c 	afs_end_cursor(&vc->ac);
ac                307 fs/afs/vl_rotate.c 				if (a == vc->ac.alist)
ac                314 fs/afs/vl_rotate.c 		  vc->ac.tried, vc->ac.index, vc->ac.abort_code, vc->ac.error,
ac                315 fs/afs/vl_rotate.c 		  vc->ac.responded, vc->ac.nr_iterations);
ac                332 fs/afs/vl_rotate.c 	afs_end_cursor(&vc->ac);
ac                336 fs/afs/vl_rotate.c 		vc->error = afs_abort_to_error(vc->ac.abort_code);
ac                167 fs/afs/vlclient.c 	afs_make_call(&vc->ac, call, GFP_KERNEL);
ac                168 fs/afs/vlclient.c 	return (struct afs_vldb_entry *)afs_wait_for_call_to_complete(call, &vc->ac);
ac                306 fs/afs/vlclient.c 	afs_make_call(&vc->ac, call, GFP_KERNEL);
ac                307 fs/afs/vlclient.c 	return (struct afs_addr_list *)afs_wait_for_call_to_complete(call, &vc->ac);
ac                380 fs/afs/vlclient.c 					 struct afs_addr_cursor *ac,
ac                407 fs/afs/vlclient.c 	afs_make_call(ac, call, GFP_KERNEL);
ac                650 fs/afs/vlclient.c 	afs_make_call(&vc->ac, call, GFP_KERNEL);
ac                651 fs/afs/vlclient.c 	return (struct afs_addr_list *)afs_wait_for_call_to_complete(call, &vc->ac);
ac                416 fs/afs/write.c 		if (fc.ac.error == 0)
ac                415 fs/afs/yfsclient.c 		fc->ac.error = -ENOMEM;
ac                433 fs/afs/yfsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac                434 fs/afs/yfsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac                627 fs/afs/yfsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac                628 fs/afs/yfsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac                724 fs/afs/yfsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac                725 fs/afs/yfsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac                786 fs/afs/yfsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac                787 fs/afs/yfsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac                874 fs/afs/yfsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac                875 fs/afs/yfsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac                959 fs/afs/yfsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac                960 fs/afs/yfsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1044 fs/afs/yfsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1045 fs/afs/yfsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1139 fs/afs/yfsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1140 fs/afs/yfsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1230 fs/afs/yfsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1231 fs/afs/yfsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1309 fs/afs/yfsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1310 fs/afs/yfsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1372 fs/afs/yfsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1373 fs/afs/yfsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1417 fs/afs/yfsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1418 fs/afs/yfsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1597 fs/afs/yfsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1598 fs/afs/yfsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1670 fs/afs/yfsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1671 fs/afs/yfsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1708 fs/afs/yfsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1709 fs/afs/yfsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1746 fs/afs/yfsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1747 fs/afs/yfsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1782 fs/afs/yfsclient.c 		fc->ac.error = -ENOMEM;
ac               1800 fs/afs/yfsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1801 fs/afs/yfsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1951 fs/afs/yfsclient.c 		fc->ac.error = -ENOMEM;
ac               1972 fs/afs/yfsclient.c 	afs_make_call(&fc->ac, call, GFP_NOFS);
ac               1973 fs/afs/yfsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               2128 fs/afs/yfsclient.c 		fc->ac.error = -ENOMEM;
ac               2146 fs/afs/yfsclient.c 	afs_make_call(&fc->ac, call, GFP_KERNEL);
ac               2147 fs/afs/yfsclient.c 	return (struct yfs_acl *)afs_wait_for_call_to_complete(call, &fc->ac);
ac               2183 fs/afs/yfsclient.c 		fc->ac.error = -ENOMEM;
ac               2203 fs/afs/yfsclient.c 	afs_make_call(&fc->ac, call, GFP_KERNEL);
ac               2204 fs/afs/yfsclient.c 	return afs_wait_for_call_to_complete(call, &fc->ac);
ac               1770 fs/btrfs/transaction.c 	struct btrfs_async_commit *ac =
ac               1777 fs/btrfs/transaction.c 	if (ac->newtrans->type & __TRANS_FREEZABLE)
ac               1778 fs/btrfs/transaction.c 		__sb_writers_acquired(ac->newtrans->fs_info->sb, SB_FREEZE_FS);
ac               1780 fs/btrfs/transaction.c 	current->journal_info = ac->newtrans;
ac               1782 fs/btrfs/transaction.c 	btrfs_commit_transaction(ac->newtrans);
ac               1783 fs/btrfs/transaction.c 	kfree(ac);
ac               1790 fs/btrfs/transaction.c 	struct btrfs_async_commit *ac;
ac               1793 fs/btrfs/transaction.c 	ac = kmalloc(sizeof(*ac), GFP_NOFS);
ac               1794 fs/btrfs/transaction.c 	if (!ac)
ac               1797 fs/btrfs/transaction.c 	INIT_WORK(&ac->work, do_async_commit);
ac               1798 fs/btrfs/transaction.c 	ac->newtrans = btrfs_join_transaction(trans->root);
ac               1799 fs/btrfs/transaction.c 	if (IS_ERR(ac->newtrans)) {
ac               1800 fs/btrfs/transaction.c 		int err = PTR_ERR(ac->newtrans);
ac               1801 fs/btrfs/transaction.c 		kfree(ac);
ac               1815 fs/btrfs/transaction.c 	if (ac->newtrans->type & __TRANS_FREEZABLE)
ac               1818 fs/btrfs/transaction.c 	schedule_work(&ac->work);
ac                176 fs/ceph/debugfs.c 	struct ceph_auth_client *ac = fsc->client->monc.auth;
ac                183 fs/ceph/debugfs.c 	seq_printf(s, "global_id %llu\n", ac->global_id);
ac               4694 fs/ceph/mds_client.c 	struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth;
ac               4702 fs/ceph/mds_client.c 		int ret = ceph_auth_create_authorizer(ac, CEPH_ENTITY_TYPE_MDS,
ac               4707 fs/ceph/mds_client.c 		int ret = ceph_auth_update_authorizer(ac, CEPH_ENTITY_TYPE_MDS,
ac               4712 fs/ceph/mds_client.c 	*proto = ac->protocol;
ac               4722 fs/ceph/mds_client.c 	struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth;
ac               4724 fs/ceph/mds_client.c 	return ceph_auth_add_authorizer_challenge(ac, s->s_auth.authorizer,
ac               4732 fs/ceph/mds_client.c 	struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth;
ac               4734 fs/ceph/mds_client.c 	return ceph_auth_verify_authorizer_reply(ac, s->s_auth.authorizer);
ac               4741 fs/ceph/mds_client.c 	struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth;
ac               4743 fs/ceph/mds_client.c 	ceph_auth_invalidate_authorizer(ac, CEPH_ENTITY_TYPE_MDS);
ac                141 fs/crypto/fname.c 	int i, bits = 0, ac = 0;
ac                145 fs/crypto/fname.c 		ac += src[i] << bits;
ac                148 fs/crypto/fname.c 			*cp++ = lookup_table[ac & 0x3f];
ac                149 fs/crypto/fname.c 			ac >>= 6;
ac                154 fs/crypto/fname.c 		*cp++ = lookup_table[ac & 0x3f];
ac                160 fs/crypto/fname.c 	int i, bits = 0, ac = 0;
ac                168 fs/crypto/fname.c 		ac += (p - lookup_table) << bits;
ac                171 fs/crypto/fname.c 			*cp++ = ac & 0xff;
ac                172 fs/crypto/fname.c 			ac >>= 8;
ac                176 fs/crypto/fname.c 	if (ac)
ac               1634 fs/ext4/mballoc.c static void ext4_mb_use_best_found(struct ext4_allocation_context *ac,
ac               1637 fs/ext4/mballoc.c 	struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb);
ac               1640 fs/ext4/mballoc.c 	BUG_ON(ac->ac_b_ex.fe_group != e4b->bd_group);
ac               1641 fs/ext4/mballoc.c 	BUG_ON(ac->ac_status == AC_STATUS_FOUND);
ac               1643 fs/ext4/mballoc.c 	ac->ac_b_ex.fe_len = min(ac->ac_b_ex.fe_len, ac->ac_g_ex.fe_len);
ac               1644 fs/ext4/mballoc.c 	ac->ac_b_ex.fe_logical = ac->ac_g_ex.fe_logical;
ac               1645 fs/ext4/mballoc.c 	ret = mb_mark_used(e4b, &ac->ac_b_ex);
ac               1649 fs/ext4/mballoc.c 	ac->ac_f_ex = ac->ac_b_ex;
ac               1651 fs/ext4/mballoc.c 	ac->ac_status = AC_STATUS_FOUND;
ac               1652 fs/ext4/mballoc.c 	ac->ac_tail = ret & 0xffff;
ac               1653 fs/ext4/mballoc.c 	ac->ac_buddy = ret >> 16;
ac               1662 fs/ext4/mballoc.c 	ac->ac_bitmap_page = e4b->bd_bitmap_page;
ac               1663 fs/ext4/mballoc.c 	get_page(ac->ac_bitmap_page);
ac               1664 fs/ext4/mballoc.c 	ac->ac_buddy_page = e4b->bd_buddy_page;
ac               1665 fs/ext4/mballoc.c 	get_page(ac->ac_buddy_page);
ac               1667 fs/ext4/mballoc.c 	if (ac->ac_flags & EXT4_MB_STREAM_ALLOC) {
ac               1669 fs/ext4/mballoc.c 		sbi->s_mb_last_group = ac->ac_f_ex.fe_group;
ac               1670 fs/ext4/mballoc.c 		sbi->s_mb_last_start = ac->ac_f_ex.fe_start;
ac               1679 fs/ext4/mballoc.c static void ext4_mb_check_limits(struct ext4_allocation_context *ac,
ac               1683 fs/ext4/mballoc.c 	struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb);
ac               1684 fs/ext4/mballoc.c 	struct ext4_free_extent *bex = &ac->ac_b_ex;
ac               1685 fs/ext4/mballoc.c 	struct ext4_free_extent *gex = &ac->ac_g_ex;
ac               1689 fs/ext4/mballoc.c 	if (ac->ac_status == AC_STATUS_FOUND)
ac               1694 fs/ext4/mballoc.c 	if (ac->ac_found > sbi->s_mb_max_to_scan &&
ac               1695 fs/ext4/mballoc.c 			!(ac->ac_flags & EXT4_MB_HINT_FIRST)) {
ac               1696 fs/ext4/mballoc.c 		ac->ac_status = AC_STATUS_BREAK;
ac               1706 fs/ext4/mballoc.c 	if ((finish_group || ac->ac_found > sbi->s_mb_min_to_scan)
ac               1713 fs/ext4/mballoc.c 			ext4_mb_use_best_found(ac, e4b);
ac               1729 fs/ext4/mballoc.c static void ext4_mb_measure_extent(struct ext4_allocation_context *ac,
ac               1733 fs/ext4/mballoc.c 	struct ext4_free_extent *bex = &ac->ac_b_ex;
ac               1734 fs/ext4/mballoc.c 	struct ext4_free_extent *gex = &ac->ac_g_ex;
ac               1737 fs/ext4/mballoc.c 	BUG_ON(ex->fe_len > EXT4_CLUSTERS_PER_GROUP(ac->ac_sb));
ac               1738 fs/ext4/mballoc.c 	BUG_ON(ex->fe_start >= EXT4_CLUSTERS_PER_GROUP(ac->ac_sb));
ac               1739 fs/ext4/mballoc.c 	BUG_ON(ac->ac_status != AC_STATUS_CONTINUE);
ac               1741 fs/ext4/mballoc.c 	ac->ac_found++;
ac               1746 fs/ext4/mballoc.c 	if (unlikely(ac->ac_flags & EXT4_MB_HINT_FIRST)) {
ac               1748 fs/ext4/mballoc.c 		ext4_mb_use_best_found(ac, e4b);
ac               1757 fs/ext4/mballoc.c 		ext4_mb_use_best_found(ac, e4b);
ac               1785 fs/ext4/mballoc.c 	ext4_mb_check_limits(ac, e4b, 0);
ac               1789 fs/ext4/mballoc.c int ext4_mb_try_best_found(struct ext4_allocation_context *ac,
ac               1792 fs/ext4/mballoc.c 	struct ext4_free_extent ex = ac->ac_b_ex;
ac               1798 fs/ext4/mballoc.c 	err = ext4_mb_load_buddy(ac->ac_sb, group, e4b);
ac               1802 fs/ext4/mballoc.c 	ext4_lock_group(ac->ac_sb, group);
ac               1806 fs/ext4/mballoc.c 		ac->ac_b_ex = ex;
ac               1807 fs/ext4/mballoc.c 		ext4_mb_use_best_found(ac, e4b);
ac               1810 fs/ext4/mballoc.c 	ext4_unlock_group(ac->ac_sb, group);
ac               1817 fs/ext4/mballoc.c int ext4_mb_find_by_goal(struct ext4_allocation_context *ac,
ac               1820 fs/ext4/mballoc.c 	ext4_group_t group = ac->ac_g_ex.fe_group;
ac               1823 fs/ext4/mballoc.c 	struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb);
ac               1824 fs/ext4/mballoc.c 	struct ext4_group_info *grp = ext4_get_group_info(ac->ac_sb, group);
ac               1827 fs/ext4/mballoc.c 	if (!(ac->ac_flags & EXT4_MB_HINT_TRY_GOAL))
ac               1832 fs/ext4/mballoc.c 	err = ext4_mb_load_buddy(ac->ac_sb, group, e4b);
ac               1841 fs/ext4/mballoc.c 	ext4_lock_group(ac->ac_sb, group);
ac               1842 fs/ext4/mballoc.c 	max = mb_find_extent(e4b, ac->ac_g_ex.fe_start,
ac               1843 fs/ext4/mballoc.c 			     ac->ac_g_ex.fe_len, &ex);
ac               1846 fs/ext4/mballoc.c 	if (max >= ac->ac_g_ex.fe_len && ac->ac_g_ex.fe_len == sbi->s_stripe) {
ac               1849 fs/ext4/mballoc.c 		start = ext4_group_first_block_no(ac->ac_sb, e4b->bd_group) +
ac               1853 fs/ext4/mballoc.c 			ac->ac_found++;
ac               1854 fs/ext4/mballoc.c 			ac->ac_b_ex = ex;
ac               1855 fs/ext4/mballoc.c 			ext4_mb_use_best_found(ac, e4b);
ac               1857 fs/ext4/mballoc.c 	} else if (max >= ac->ac_g_ex.fe_len) {
ac               1859 fs/ext4/mballoc.c 		BUG_ON(ex.fe_group != ac->ac_g_ex.fe_group);
ac               1860 fs/ext4/mballoc.c 		BUG_ON(ex.fe_start != ac->ac_g_ex.fe_start);
ac               1861 fs/ext4/mballoc.c 		ac->ac_found++;
ac               1862 fs/ext4/mballoc.c 		ac->ac_b_ex = ex;
ac               1863 fs/ext4/mballoc.c 		ext4_mb_use_best_found(ac, e4b);
ac               1864 fs/ext4/mballoc.c 	} else if (max > 0 && (ac->ac_flags & EXT4_MB_HINT_MERGE)) {
ac               1868 fs/ext4/mballoc.c 		BUG_ON(ex.fe_group != ac->ac_g_ex.fe_group);
ac               1869 fs/ext4/mballoc.c 		BUG_ON(ex.fe_start != ac->ac_g_ex.fe_start);
ac               1870 fs/ext4/mballoc.c 		ac->ac_found++;
ac               1871 fs/ext4/mballoc.c 		ac->ac_b_ex = ex;
ac               1872 fs/ext4/mballoc.c 		ext4_mb_use_best_found(ac, e4b);
ac               1874 fs/ext4/mballoc.c 	ext4_unlock_group(ac->ac_sb, group);
ac               1885 fs/ext4/mballoc.c void ext4_mb_simple_scan_group(struct ext4_allocation_context *ac,
ac               1888 fs/ext4/mballoc.c 	struct super_block *sb = ac->ac_sb;
ac               1895 fs/ext4/mballoc.c 	BUG_ON(ac->ac_2order <= 0);
ac               1896 fs/ext4/mballoc.c 	for (i = ac->ac_2order; i <= sb->s_blocksize_bits + 1; i++) {
ac               1906 fs/ext4/mballoc.c 		ac->ac_found++;
ac               1908 fs/ext4/mballoc.c 		ac->ac_b_ex.fe_len = 1 << i;
ac               1909 fs/ext4/mballoc.c 		ac->ac_b_ex.fe_start = k << i;
ac               1910 fs/ext4/mballoc.c 		ac->ac_b_ex.fe_group = e4b->bd_group;
ac               1912 fs/ext4/mballoc.c 		ext4_mb_use_best_found(ac, e4b);
ac               1914 fs/ext4/mballoc.c 		BUG_ON(ac->ac_b_ex.fe_len != ac->ac_g_ex.fe_len);
ac               1929 fs/ext4/mballoc.c void ext4_mb_complex_scan_group(struct ext4_allocation_context *ac,
ac               1932 fs/ext4/mballoc.c 	struct super_block *sb = ac->ac_sb;
ac               1944 fs/ext4/mballoc.c 	while (free && ac->ac_status == AC_STATUS_CONTINUE) {
ac               1962 fs/ext4/mballoc.c 		mb_find_extent(e4b, i, ac->ac_g_ex.fe_len, &ex);
ac               1980 fs/ext4/mballoc.c 		ext4_mb_measure_extent(ac, &ex, e4b);
ac               1986 fs/ext4/mballoc.c 	ext4_mb_check_limits(ac, e4b, 1);
ac               1994 fs/ext4/mballoc.c void ext4_mb_scan_aligned(struct ext4_allocation_context *ac,
ac               1997 fs/ext4/mballoc.c 	struct super_block *sb = ac->ac_sb;
ac               2019 fs/ext4/mballoc.c 				ac->ac_found++;
ac               2021 fs/ext4/mballoc.c 				ac->ac_b_ex = ex;
ac               2022 fs/ext4/mballoc.c 				ext4_mb_use_best_found(ac, e4b);
ac               2036 fs/ext4/mballoc.c static int ext4_mb_good_group(struct ext4_allocation_context *ac,
ac               2040 fs/ext4/mballoc.c 	int flex_size = ext4_flex_bg_size(EXT4_SB(ac->ac_sb));
ac               2041 fs/ext4/mballoc.c 	struct ext4_group_info *grp = ext4_get_group_info(ac->ac_sb, group);
ac               2048 fs/ext4/mballoc.c 	if (cr <= 2 && free < ac->ac_g_ex.fe_len)
ac               2056 fs/ext4/mballoc.c 		int ret = ext4_mb_init_group(ac->ac_sb, group, GFP_NOFS);
ac               2067 fs/ext4/mballoc.c 		BUG_ON(ac->ac_2order == 0);
ac               2070 fs/ext4/mballoc.c 		if ((ac->ac_flags & EXT4_MB_HINT_DATA) &&
ac               2075 fs/ext4/mballoc.c 		if ((ac->ac_2order > ac->ac_sb->s_blocksize_bits+1) ||
ac               2076 fs/ext4/mballoc.c 		    (free / fragments) >= ac->ac_g_ex.fe_len)
ac               2079 fs/ext4/mballoc.c 		if (grp->bb_largest_free_order < ac->ac_2order)
ac               2084 fs/ext4/mballoc.c 		if ((free / fragments) >= ac->ac_g_ex.fe_len)
ac               2088 fs/ext4/mballoc.c 		if (free >= ac->ac_g_ex.fe_len)
ac               2101 fs/ext4/mballoc.c ext4_mb_regular_allocator(struct ext4_allocation_context *ac)
ac               2110 fs/ext4/mballoc.c 	sb = ac->ac_sb;
ac               2114 fs/ext4/mballoc.c 	if (!(ext4_test_inode_flag(ac->ac_inode, EXT4_INODE_EXTENTS)))
ac               2117 fs/ext4/mballoc.c 	BUG_ON(ac->ac_status == AC_STATUS_FOUND);
ac               2120 fs/ext4/mballoc.c 	err = ext4_mb_find_by_goal(ac, &e4b);
ac               2121 fs/ext4/mballoc.c 	if (err || ac->ac_status == AC_STATUS_FOUND)
ac               2124 fs/ext4/mballoc.c 	if (unlikely(ac->ac_flags & EXT4_MB_HINT_GOAL_ONLY))
ac               2132 fs/ext4/mballoc.c 	i = fls(ac->ac_g_ex.fe_len);
ac               2133 fs/ext4/mballoc.c 	ac->ac_2order = 0;
ac               2145 fs/ext4/mballoc.c 		if ((ac->ac_g_ex.fe_len & (~(1 << (i - 1)))) == 0)
ac               2146 fs/ext4/mballoc.c 			ac->ac_2order = array_index_nospec(i - 1,
ac               2151 fs/ext4/mballoc.c 	if (ac->ac_flags & EXT4_MB_STREAM_ALLOC) {
ac               2154 fs/ext4/mballoc.c 		ac->ac_g_ex.fe_group = sbi->s_mb_last_group;
ac               2155 fs/ext4/mballoc.c 		ac->ac_g_ex.fe_start = sbi->s_mb_last_start;
ac               2160 fs/ext4/mballoc.c 	cr = ac->ac_2order ? 0 : 1;
ac               2166 fs/ext4/mballoc.c 	for (; cr < 4 && ac->ac_status == AC_STATUS_CONTINUE; cr++) {
ac               2167 fs/ext4/mballoc.c 		ac->ac_criteria = cr;
ac               2172 fs/ext4/mballoc.c 		group = ac->ac_g_ex.fe_group;
ac               2185 fs/ext4/mballoc.c 			ret = ext4_mb_good_group(ac, group, cr);
ac               2202 fs/ext4/mballoc.c 			ret = ext4_mb_good_group(ac, group, cr);
ac               2211 fs/ext4/mballoc.c 			ac->ac_groups_scanned++;
ac               2213 fs/ext4/mballoc.c 				ext4_mb_simple_scan_group(ac, &e4b);
ac               2215 fs/ext4/mballoc.c 					!(ac->ac_g_ex.fe_len % sbi->s_stripe))
ac               2216 fs/ext4/mballoc.c 				ext4_mb_scan_aligned(ac, &e4b);
ac               2218 fs/ext4/mballoc.c 				ext4_mb_complex_scan_group(ac, &e4b);
ac               2223 fs/ext4/mballoc.c 			if (ac->ac_status != AC_STATUS_CONTINUE)
ac               2228 fs/ext4/mballoc.c 	if (ac->ac_b_ex.fe_len > 0 && ac->ac_status != AC_STATUS_FOUND &&
ac               2229 fs/ext4/mballoc.c 	    !(ac->ac_flags & EXT4_MB_HINT_FIRST)) {
ac               2235 fs/ext4/mballoc.c 		ext4_mb_try_best_found(ac, &e4b);
ac               2236 fs/ext4/mballoc.c 		if (ac->ac_status != AC_STATUS_FOUND) {
ac               2243 fs/ext4/mballoc.c 			ac->ac_b_ex.fe_group = 0;
ac               2244 fs/ext4/mballoc.c 			ac->ac_b_ex.fe_start = 0;
ac               2245 fs/ext4/mballoc.c 			ac->ac_b_ex.fe_len = 0;
ac               2246 fs/ext4/mballoc.c 			ac->ac_status = AC_STATUS_CONTINUE;
ac               2247 fs/ext4/mballoc.c 			ac->ac_flags |= EXT4_MB_HINT_FIRST;
ac               2254 fs/ext4/mballoc.c 	if (!err && ac->ac_status != AC_STATUS_FOUND && first_err)
ac               2943 fs/ext4/mballoc.c ext4_mb_mark_diskspace_used(struct ext4_allocation_context *ac,
ac               2954 fs/ext4/mballoc.c 	BUG_ON(ac->ac_status != AC_STATUS_FOUND);
ac               2955 fs/ext4/mballoc.c 	BUG_ON(ac->ac_b_ex.fe_len <= 0);
ac               2957 fs/ext4/mballoc.c 	sb = ac->ac_sb;
ac               2960 fs/ext4/mballoc.c 	bitmap_bh = ext4_read_block_bitmap(sb, ac->ac_b_ex.fe_group);
ac               2973 fs/ext4/mballoc.c 	gdp = ext4_get_group_desc(sb, ac->ac_b_ex.fe_group, &gdp_bh);
ac               2977 fs/ext4/mballoc.c 	ext4_debug("using block group %u(%d)\n", ac->ac_b_ex.fe_group,
ac               2985 fs/ext4/mballoc.c 	block = ext4_grp_offs_to_block(sb, &ac->ac_b_ex);
ac               2987 fs/ext4/mballoc.c 	len = EXT4_C2B(sbi, ac->ac_b_ex.fe_len);
ac               2995 fs/ext4/mballoc.c 		ext4_lock_group(sb, ac->ac_b_ex.fe_group);
ac               2996 fs/ext4/mballoc.c 		ext4_set_bits(bitmap_bh->b_data, ac->ac_b_ex.fe_start,
ac               2997 fs/ext4/mballoc.c 			      ac->ac_b_ex.fe_len);
ac               2998 fs/ext4/mballoc.c 		ext4_unlock_group(sb, ac->ac_b_ex.fe_group);
ac               3005 fs/ext4/mballoc.c 	ext4_lock_group(sb, ac->ac_b_ex.fe_group);
ac               3009 fs/ext4/mballoc.c 		for (i = 0; i < ac->ac_b_ex.fe_len; i++) {
ac               3010 fs/ext4/mballoc.c 			BUG_ON(mb_test_bit(ac->ac_b_ex.fe_start + i,
ac               3015 fs/ext4/mballoc.c 	ext4_set_bits(bitmap_bh->b_data, ac->ac_b_ex.fe_start,
ac               3016 fs/ext4/mballoc.c 		      ac->ac_b_ex.fe_len);
ac               3022 fs/ext4/mballoc.c 						ac->ac_b_ex.fe_group, gdp));
ac               3024 fs/ext4/mballoc.c 	len = ext4_free_group_clusters(sb, gdp) - ac->ac_b_ex.fe_len;
ac               3026 fs/ext4/mballoc.c 	ext4_block_bitmap_csum_set(sb, ac->ac_b_ex.fe_group, gdp, bitmap_bh);
ac               3027 fs/ext4/mballoc.c 	ext4_group_desc_csum_set(sb, ac->ac_b_ex.fe_group, gdp);
ac               3029 fs/ext4/mballoc.c 	ext4_unlock_group(sb, ac->ac_b_ex.fe_group);
ac               3030 fs/ext4/mballoc.c 	percpu_counter_sub(&sbi->s_freeclusters_counter, ac->ac_b_ex.fe_len);
ac               3034 fs/ext4/mballoc.c 	if (!(ac->ac_flags & EXT4_MB_DELALLOC_RESERVED))
ac               3041 fs/ext4/mballoc.c 							  ac->ac_b_ex.fe_group);
ac               3042 fs/ext4/mballoc.c 		atomic64_sub(ac->ac_b_ex.fe_len,
ac               3066 fs/ext4/mballoc.c static void ext4_mb_normalize_group_request(struct ext4_allocation_context *ac)
ac               3068 fs/ext4/mballoc.c 	struct super_block *sb = ac->ac_sb;
ac               3069 fs/ext4/mballoc.c 	struct ext4_locality_group *lg = ac->ac_lg;
ac               3072 fs/ext4/mballoc.c 	ac->ac_g_ex.fe_len = EXT4_SB(sb)->s_mb_group_prealloc;
ac               3074 fs/ext4/mballoc.c 		current->pid, ac->ac_g_ex.fe_len);
ac               3082 fs/ext4/mballoc.c ext4_mb_normalize_request(struct ext4_allocation_context *ac,
ac               3085 fs/ext4/mballoc.c 	struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb);
ac               3091 fs/ext4/mballoc.c 	struct ext4_inode_info *ei = EXT4_I(ac->ac_inode);
ac               3096 fs/ext4/mballoc.c 	if (!(ac->ac_flags & EXT4_MB_HINT_DATA))
ac               3100 fs/ext4/mballoc.c 	if (unlikely(ac->ac_flags & EXT4_MB_HINT_GOAL_ONLY))
ac               3105 fs/ext4/mballoc.c 	if (ac->ac_flags & EXT4_MB_HINT_NOPREALLOC)
ac               3108 fs/ext4/mballoc.c 	if (ac->ac_flags & EXT4_MB_HINT_GROUP_ALLOC) {
ac               3109 fs/ext4/mballoc.c 		ext4_mb_normalize_group_request(ac);
ac               3113 fs/ext4/mballoc.c 	bsbits = ac->ac_sb->s_blocksize_bits;
ac               3117 fs/ext4/mballoc.c 	size = ac->ac_o_ex.fe_logical + EXT4_C2B(sbi, ac->ac_o_ex.fe_len);
ac               3119 fs/ext4/mballoc.c 	if (size < i_size_read(ac->ac_inode))
ac               3120 fs/ext4/mballoc.c 		size = i_size_read(ac->ac_inode);
ac               3147 fs/ext4/mballoc.c 		start_off = ((loff_t)ac->ac_o_ex.fe_logical >>
ac               3151 fs/ext4/mballoc.c 		start_off = ((loff_t)ac->ac_o_ex.fe_logical >>
ac               3154 fs/ext4/mballoc.c 	} else if (NRL_CHECK_SIZE(ac->ac_o_ex.fe_len,
ac               3156 fs/ext4/mballoc.c 		start_off = ((loff_t)ac->ac_o_ex.fe_logical >>
ac               3160 fs/ext4/mballoc.c 		start_off = (loff_t) ac->ac_o_ex.fe_logical << bsbits;
ac               3161 fs/ext4/mballoc.c 		size	  = (loff_t) EXT4_C2B(EXT4_SB(ac->ac_sb),
ac               3162 fs/ext4/mballoc.c 					      ac->ac_o_ex.fe_len) << bsbits;
ac               3179 fs/ext4/mballoc.c 	if (size > EXT4_BLOCKS_PER_GROUP(ac->ac_sb))
ac               3180 fs/ext4/mballoc.c 		size = EXT4_BLOCKS_PER_GROUP(ac->ac_sb);
ac               3197 fs/ext4/mballoc.c 		pa_end = pa->pa_lstart + EXT4_C2B(EXT4_SB(ac->ac_sb),
ac               3201 fs/ext4/mballoc.c 		BUG_ON(!(ac->ac_o_ex.fe_logical >= pa_end ||
ac               3202 fs/ext4/mballoc.c 			ac->ac_o_ex.fe_logical < pa->pa_lstart));
ac               3212 fs/ext4/mballoc.c 		if (pa_end <= ac->ac_o_ex.fe_logical) {
ac               3215 fs/ext4/mballoc.c 		} else if (pa->pa_lstart > ac->ac_o_ex.fe_logical) {
ac               3231 fs/ext4/mballoc.c 			pa_end = pa->pa_lstart + EXT4_C2B(EXT4_SB(ac->ac_sb),
ac               3239 fs/ext4/mballoc.c 	if (start + size <= ac->ac_o_ex.fe_logical &&
ac               3240 fs/ext4/mballoc.c 			start > ac->ac_o_ex.fe_logical) {
ac               3241 fs/ext4/mballoc.c 		ext4_msg(ac->ac_sb, KERN_ERR,
ac               3244 fs/ext4/mballoc.c 			 (unsigned long) ac->ac_o_ex.fe_logical);
ac               3247 fs/ext4/mballoc.c 	BUG_ON(size <= 0 || size > EXT4_BLOCKS_PER_GROUP(ac->ac_sb));
ac               3253 fs/ext4/mballoc.c 	ac->ac_g_ex.fe_logical = start;
ac               3254 fs/ext4/mballoc.c 	ac->ac_g_ex.fe_len = EXT4_NUM_B2C(sbi, size);
ac               3259 fs/ext4/mballoc.c 		ext4_get_group_no_and_offset(ac->ac_sb, ar->pright - size,
ac               3260 fs/ext4/mballoc.c 						&ac->ac_f_ex.fe_group,
ac               3261 fs/ext4/mballoc.c 						&ac->ac_f_ex.fe_start);
ac               3262 fs/ext4/mballoc.c 		ac->ac_flags |= EXT4_MB_HINT_TRY_GOAL;
ac               3266 fs/ext4/mballoc.c 		ext4_get_group_no_and_offset(ac->ac_sb, ar->pleft + 1,
ac               3267 fs/ext4/mballoc.c 						&ac->ac_f_ex.fe_group,
ac               3268 fs/ext4/mballoc.c 						&ac->ac_f_ex.fe_start);
ac               3269 fs/ext4/mballoc.c 		ac->ac_flags |= EXT4_MB_HINT_TRY_GOAL;
ac               3276 fs/ext4/mballoc.c static void ext4_mb_collect_stats(struct ext4_allocation_context *ac)
ac               3278 fs/ext4/mballoc.c 	struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb);
ac               3280 fs/ext4/mballoc.c 	if (sbi->s_mb_stats && ac->ac_g_ex.fe_len > 1) {
ac               3282 fs/ext4/mballoc.c 		atomic_add(ac->ac_b_ex.fe_len, &sbi->s_bal_allocated);
ac               3283 fs/ext4/mballoc.c 		if (ac->ac_b_ex.fe_len >= ac->ac_o_ex.fe_len)
ac               3285 fs/ext4/mballoc.c 		atomic_add(ac->ac_found, &sbi->s_bal_ex_scanned);
ac               3286 fs/ext4/mballoc.c 		if (ac->ac_g_ex.fe_start == ac->ac_b_ex.fe_start &&
ac               3287 fs/ext4/mballoc.c 				ac->ac_g_ex.fe_group == ac->ac_b_ex.fe_group)
ac               3289 fs/ext4/mballoc.c 		if (ac->ac_found > sbi->s_mb_max_to_scan)
ac               3293 fs/ext4/mballoc.c 	if (ac->ac_op == EXT4_MB_HISTORY_ALLOC)
ac               3294 fs/ext4/mballoc.c 		trace_ext4_mballoc_alloc(ac);
ac               3296 fs/ext4/mballoc.c 		trace_ext4_mballoc_prealloc(ac);
ac               3305 fs/ext4/mballoc.c static void ext4_discard_allocated_blocks(struct ext4_allocation_context *ac)
ac               3307 fs/ext4/mballoc.c 	struct ext4_prealloc_space *pa = ac->ac_pa;
ac               3312 fs/ext4/mballoc.c 		if (ac->ac_f_ex.fe_len == 0)
ac               3314 fs/ext4/mballoc.c 		err = ext4_mb_load_buddy(ac->ac_sb, ac->ac_f_ex.fe_group, &e4b);
ac               3324 fs/ext4/mballoc.c 		ext4_lock_group(ac->ac_sb, ac->ac_f_ex.fe_group);
ac               3325 fs/ext4/mballoc.c 		mb_free_blocks(ac->ac_inode, &e4b, ac->ac_f_ex.fe_start,
ac               3326 fs/ext4/mballoc.c 			       ac->ac_f_ex.fe_len);
ac               3327 fs/ext4/mballoc.c 		ext4_unlock_group(ac->ac_sb, ac->ac_f_ex.fe_group);
ac               3332 fs/ext4/mballoc.c 		pa->pa_free += ac->ac_b_ex.fe_len;
ac               3338 fs/ext4/mballoc.c static void ext4_mb_use_inode_pa(struct ext4_allocation_context *ac,
ac               3341 fs/ext4/mballoc.c 	struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb);
ac               3347 fs/ext4/mballoc.c 	start = pa->pa_pstart + (ac->ac_o_ex.fe_logical - pa->pa_lstart);
ac               3349 fs/ext4/mballoc.c 		  start + EXT4_C2B(sbi, ac->ac_o_ex.fe_len));
ac               3351 fs/ext4/mballoc.c 	ext4_get_group_no_and_offset(ac->ac_sb, start, &ac->ac_b_ex.fe_group,
ac               3352 fs/ext4/mballoc.c 					&ac->ac_b_ex.fe_start);
ac               3353 fs/ext4/mballoc.c 	ac->ac_b_ex.fe_len = len;
ac               3354 fs/ext4/mballoc.c 	ac->ac_status = AC_STATUS_FOUND;
ac               3355 fs/ext4/mballoc.c 	ac->ac_pa = pa;
ac               3368 fs/ext4/mballoc.c static void ext4_mb_use_group_pa(struct ext4_allocation_context *ac,
ac               3371 fs/ext4/mballoc.c 	unsigned int len = ac->ac_o_ex.fe_len;
ac               3373 fs/ext4/mballoc.c 	ext4_get_group_no_and_offset(ac->ac_sb, pa->pa_pstart,
ac               3374 fs/ext4/mballoc.c 					&ac->ac_b_ex.fe_group,
ac               3375 fs/ext4/mballoc.c 					&ac->ac_b_ex.fe_start);
ac               3376 fs/ext4/mballoc.c 	ac->ac_b_ex.fe_len = len;
ac               3377 fs/ext4/mballoc.c 	ac->ac_status = AC_STATUS_FOUND;
ac               3378 fs/ext4/mballoc.c 	ac->ac_pa = pa;
ac               3422 fs/ext4/mballoc.c ext4_mb_use_preallocated(struct ext4_allocation_context *ac)
ac               3424 fs/ext4/mballoc.c 	struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb);
ac               3426 fs/ext4/mballoc.c 	struct ext4_inode_info *ei = EXT4_I(ac->ac_inode);
ac               3432 fs/ext4/mballoc.c 	if (!(ac->ac_flags & EXT4_MB_HINT_DATA))
ac               3441 fs/ext4/mballoc.c 		if (ac->ac_o_ex.fe_logical < pa->pa_lstart ||
ac               3442 fs/ext4/mballoc.c 		    ac->ac_o_ex.fe_logical >= (pa->pa_lstart +
ac               3447 fs/ext4/mballoc.c 		if (!(ext4_test_inode_flag(ac->ac_inode, EXT4_INODE_EXTENTS)) &&
ac               3456 fs/ext4/mballoc.c 			ext4_mb_use_inode_pa(ac, pa);
ac               3458 fs/ext4/mballoc.c 			ac->ac_criteria = 10;
ac               3467 fs/ext4/mballoc.c 	if (!(ac->ac_flags & EXT4_MB_HINT_GROUP_ALLOC))
ac               3471 fs/ext4/mballoc.c 	lg = ac->ac_lg;
ac               3474 fs/ext4/mballoc.c 	order  = fls(ac->ac_o_ex.fe_len) - 1;
ac               3479 fs/ext4/mballoc.c 	goal_block = ext4_grp_offs_to_block(ac->ac_sb, &ac->ac_g_ex);
ac               3490 fs/ext4/mballoc.c 					pa->pa_free >= ac->ac_o_ex.fe_len) {
ac               3500 fs/ext4/mballoc.c 		ext4_mb_use_group_pa(ac, cpa);
ac               3501 fs/ext4/mballoc.c 		ac->ac_criteria = 20;
ac               3586 fs/ext4/mballoc.c static void ext4_mb_put_pa(struct ext4_allocation_context *ac,
ac               3646 fs/ext4/mballoc.c ext4_mb_new_inode_pa(struct ext4_allocation_context *ac)
ac               3648 fs/ext4/mballoc.c 	struct super_block *sb = ac->ac_sb;
ac               3655 fs/ext4/mballoc.c 	BUG_ON(ac->ac_o_ex.fe_len >= ac->ac_b_ex.fe_len);
ac               3656 fs/ext4/mballoc.c 	BUG_ON(ac->ac_status != AC_STATUS_FOUND);
ac               3657 fs/ext4/mballoc.c 	BUG_ON(!S_ISREG(ac->ac_inode->i_mode));
ac               3663 fs/ext4/mballoc.c 	if (ac->ac_b_ex.fe_len < ac->ac_g_ex.fe_len) {
ac               3672 fs/ext4/mballoc.c 		BUG_ON(ac->ac_g_ex.fe_logical > ac->ac_o_ex.fe_logical);
ac               3673 fs/ext4/mballoc.c 		BUG_ON(ac->ac_g_ex.fe_len < ac->ac_o_ex.fe_len);
ac               3678 fs/ext4/mballoc.c 		winl = ac->ac_o_ex.fe_logical - ac->ac_g_ex.fe_logical;
ac               3681 fs/ext4/mballoc.c 		wins = EXT4_C2B(sbi, ac->ac_b_ex.fe_len - ac->ac_o_ex.fe_len);
ac               3686 fs/ext4/mballoc.c 		offs = ac->ac_o_ex.fe_logical %
ac               3687 fs/ext4/mballoc.c 			EXT4_C2B(sbi, ac->ac_b_ex.fe_len);
ac               3691 fs/ext4/mballoc.c 		ac->ac_b_ex.fe_logical = ac->ac_o_ex.fe_logical -
ac               3693 fs/ext4/mballoc.c 		BUG_ON(ac->ac_o_ex.fe_logical < ac->ac_b_ex.fe_logical);
ac               3694 fs/ext4/mballoc.c 		BUG_ON(ac->ac_o_ex.fe_len > ac->ac_b_ex.fe_len);
ac               3699 fs/ext4/mballoc.c 	ac->ac_f_ex = ac->ac_b_ex;
ac               3701 fs/ext4/mballoc.c 	pa->pa_lstart = ac->ac_b_ex.fe_logical;
ac               3702 fs/ext4/mballoc.c 	pa->pa_pstart = ext4_grp_offs_to_block(sb, &ac->ac_b_ex);
ac               3703 fs/ext4/mballoc.c 	pa->pa_len = ac->ac_b_ex.fe_len;
ac               3714 fs/ext4/mballoc.c 	trace_ext4_mb_new_inode_pa(ac, pa);
ac               3716 fs/ext4/mballoc.c 	ext4_mb_use_inode_pa(ac, pa);
ac               3719 fs/ext4/mballoc.c 	ei = EXT4_I(ac->ac_inode);
ac               3720 fs/ext4/mballoc.c 	grp = ext4_get_group_info(sb, ac->ac_b_ex.fe_group);
ac               3723 fs/ext4/mballoc.c 	pa->pa_inode = ac->ac_inode;
ac               3725 fs/ext4/mballoc.c 	ext4_lock_group(sb, ac->ac_b_ex.fe_group);
ac               3727 fs/ext4/mballoc.c 	ext4_unlock_group(sb, ac->ac_b_ex.fe_group);
ac               3740 fs/ext4/mballoc.c ext4_mb_new_group_pa(struct ext4_allocation_context *ac)
ac               3742 fs/ext4/mballoc.c 	struct super_block *sb = ac->ac_sb;
ac               3748 fs/ext4/mballoc.c 	BUG_ON(ac->ac_o_ex.fe_len >= ac->ac_b_ex.fe_len);
ac               3749 fs/ext4/mballoc.c 	BUG_ON(ac->ac_status != AC_STATUS_FOUND);
ac               3750 fs/ext4/mballoc.c 	BUG_ON(!S_ISREG(ac->ac_inode->i_mode));
ac               3759 fs/ext4/mballoc.c 	ac->ac_f_ex = ac->ac_b_ex;
ac               3761 fs/ext4/mballoc.c 	pa->pa_pstart = ext4_grp_offs_to_block(sb, &ac->ac_b_ex);
ac               3763 fs/ext4/mballoc.c 	pa->pa_len = ac->ac_b_ex.fe_len;
ac               3774 fs/ext4/mballoc.c 	trace_ext4_mb_new_group_pa(ac, pa);
ac               3776 fs/ext4/mballoc.c 	ext4_mb_use_group_pa(ac, pa);
ac               3779 fs/ext4/mballoc.c 	grp = ext4_get_group_info(sb, ac->ac_b_ex.fe_group);
ac               3780 fs/ext4/mballoc.c 	lg = ac->ac_lg;
ac               3786 fs/ext4/mballoc.c 	ext4_lock_group(sb, ac->ac_b_ex.fe_group);
ac               3788 fs/ext4/mballoc.c 	ext4_unlock_group(sb, ac->ac_b_ex.fe_group);
ac               3797 fs/ext4/mballoc.c static int ext4_mb_new_preallocation(struct ext4_allocation_context *ac)
ac               3801 fs/ext4/mballoc.c 	if (ac->ac_flags & EXT4_MB_HINT_GROUP_ALLOC)
ac               3802 fs/ext4/mballoc.c 		err = ext4_mb_new_group_pa(ac);
ac               3804 fs/ext4/mballoc.c 		err = ext4_mb_new_inode_pa(ac);
ac               4115 fs/ext4/mballoc.c static void ext4_mb_show_ac(struct ext4_allocation_context *ac)
ac               4117 fs/ext4/mballoc.c 	struct super_block *sb = ac->ac_sb;
ac               4124 fs/ext4/mballoc.c 	ext4_msg(ac->ac_sb, KERN_ERR, "Can't allocate:"
ac               4126 fs/ext4/mballoc.c 	ext4_msg(ac->ac_sb, KERN_ERR, "status %d flags %d",
ac               4127 fs/ext4/mballoc.c 			ac->ac_status, ac->ac_flags);
ac               4128 fs/ext4/mballoc.c 	ext4_msg(ac->ac_sb, KERN_ERR, "orig %lu/%lu/%lu@%lu, "
ac               4131 fs/ext4/mballoc.c 			(unsigned long)ac->ac_o_ex.fe_group,
ac               4132 fs/ext4/mballoc.c 			(unsigned long)ac->ac_o_ex.fe_start,
ac               4133 fs/ext4/mballoc.c 			(unsigned long)ac->ac_o_ex.fe_len,
ac               4134 fs/ext4/mballoc.c 			(unsigned long)ac->ac_o_ex.fe_logical,
ac               4135 fs/ext4/mballoc.c 			(unsigned long)ac->ac_g_ex.fe_group,
ac               4136 fs/ext4/mballoc.c 			(unsigned long)ac->ac_g_ex.fe_start,
ac               4137 fs/ext4/mballoc.c 			(unsigned long)ac->ac_g_ex.fe_len,
ac               4138 fs/ext4/mballoc.c 			(unsigned long)ac->ac_g_ex.fe_logical,
ac               4139 fs/ext4/mballoc.c 			(unsigned long)ac->ac_b_ex.fe_group,
ac               4140 fs/ext4/mballoc.c 			(unsigned long)ac->ac_b_ex.fe_start,
ac               4141 fs/ext4/mballoc.c 			(unsigned long)ac->ac_b_ex.fe_len,
ac               4142 fs/ext4/mballoc.c 			(unsigned long)ac->ac_b_ex.fe_logical,
ac               4143 fs/ext4/mballoc.c 			(int)ac->ac_criteria);
ac               4144 fs/ext4/mballoc.c 	ext4_msg(ac->ac_sb, KERN_ERR, "%d found", ac->ac_found);
ac               4145 fs/ext4/mballoc.c 	ext4_msg(ac->ac_sb, KERN_ERR, "groups: ");
ac               4173 fs/ext4/mballoc.c static inline void ext4_mb_show_ac(struct ext4_allocation_context *ac)
ac               4186 fs/ext4/mballoc.c static void ext4_mb_group_or_file(struct ext4_allocation_context *ac)
ac               4188 fs/ext4/mballoc.c 	struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb);
ac               4189 fs/ext4/mballoc.c 	int bsbits = ac->ac_sb->s_blocksize_bits;
ac               4192 fs/ext4/mballoc.c 	if (!(ac->ac_flags & EXT4_MB_HINT_DATA))
ac               4195 fs/ext4/mballoc.c 	if (unlikely(ac->ac_flags & EXT4_MB_HINT_GOAL_ONLY))
ac               4198 fs/ext4/mballoc.c 	size = ac->ac_o_ex.fe_logical + EXT4_C2B(sbi, ac->ac_o_ex.fe_len);
ac               4199 fs/ext4/mballoc.c 	isize = (i_size_read(ac->ac_inode) + ac->ac_sb->s_blocksize - 1)
ac               4203 fs/ext4/mballoc.c 	    !inode_is_open_for_write(ac->ac_inode)) {
ac               4204 fs/ext4/mballoc.c 		ac->ac_flags |= EXT4_MB_HINT_NOPREALLOC;
ac               4209 fs/ext4/mballoc.c 		ac->ac_flags |= EXT4_MB_STREAM_ALLOC;
ac               4216 fs/ext4/mballoc.c 		ac->ac_flags |= EXT4_MB_STREAM_ALLOC;
ac               4220 fs/ext4/mballoc.c 	BUG_ON(ac->ac_lg != NULL);
ac               4226 fs/ext4/mballoc.c 	ac->ac_lg = raw_cpu_ptr(sbi->s_locality_groups);
ac               4229 fs/ext4/mballoc.c 	ac->ac_flags |= EXT4_MB_HINT_GROUP_ALLOC;
ac               4232 fs/ext4/mballoc.c 	mutex_lock(&ac->ac_lg->lg_mutex);
ac               4236 fs/ext4/mballoc.c ext4_mb_initialize_context(struct ext4_allocation_context *ac,
ac               4262 fs/ext4/mballoc.c 	ac->ac_b_ex.fe_logical = EXT4_LBLK_CMASK(sbi, ar->logical);
ac               4263 fs/ext4/mballoc.c 	ac->ac_status = AC_STATUS_CONTINUE;
ac               4264 fs/ext4/mballoc.c 	ac->ac_sb = sb;
ac               4265 fs/ext4/mballoc.c 	ac->ac_inode = ar->inode;
ac               4266 fs/ext4/mballoc.c 	ac->ac_o_ex.fe_logical = ac->ac_b_ex.fe_logical;
ac               4267 fs/ext4/mballoc.c 	ac->ac_o_ex.fe_group = group;
ac               4268 fs/ext4/mballoc.c 	ac->ac_o_ex.fe_start = block;
ac               4269 fs/ext4/mballoc.c 	ac->ac_o_ex.fe_len = len;
ac               4270 fs/ext4/mballoc.c 	ac->ac_g_ex = ac->ac_o_ex;
ac               4271 fs/ext4/mballoc.c 	ac->ac_flags = ar->flags;
ac               4275 fs/ext4/mballoc.c 	ext4_mb_group_or_file(ac);
ac               4280 fs/ext4/mballoc.c 			(unsigned) ar->goal, ac->ac_flags, ac->ac_2order,
ac               4373 fs/ext4/mballoc.c static void ext4_mb_add_n_trim(struct ext4_allocation_context *ac)
ac               4376 fs/ext4/mballoc.c 	struct super_block *sb = ac->ac_sb;
ac               4377 fs/ext4/mballoc.c 	struct ext4_locality_group *lg = ac->ac_lg;
ac               4378 fs/ext4/mballoc.c 	struct ext4_prealloc_space *tmp_pa, *pa = ac->ac_pa;
ac               4423 fs/ext4/mballoc.c static int ext4_mb_release_context(struct ext4_allocation_context *ac)
ac               4425 fs/ext4/mballoc.c 	struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb);
ac               4426 fs/ext4/mballoc.c 	struct ext4_prealloc_space *pa = ac->ac_pa;
ac               4431 fs/ext4/mballoc.c 			pa->pa_pstart += EXT4_C2B(sbi, ac->ac_b_ex.fe_len);
ac               4432 fs/ext4/mballoc.c 			pa->pa_lstart += EXT4_C2B(sbi, ac->ac_b_ex.fe_len);
ac               4433 fs/ext4/mballoc.c 			pa->pa_free -= ac->ac_b_ex.fe_len;
ac               4434 fs/ext4/mballoc.c 			pa->pa_len -= ac->ac_b_ex.fe_len;
ac               4449 fs/ext4/mballoc.c 			ext4_mb_add_n_trim(ac);
ac               4451 fs/ext4/mballoc.c 		ext4_mb_put_pa(ac, ac->ac_sb, pa);
ac               4453 fs/ext4/mballoc.c 	if (ac->ac_bitmap_page)
ac               4454 fs/ext4/mballoc.c 		put_page(ac->ac_bitmap_page);
ac               4455 fs/ext4/mballoc.c 	if (ac->ac_buddy_page)
ac               4456 fs/ext4/mballoc.c 		put_page(ac->ac_buddy_page);
ac               4457 fs/ext4/mballoc.c 	if (ac->ac_flags & EXT4_MB_HINT_GROUP_ALLOC)
ac               4458 fs/ext4/mballoc.c 		mutex_unlock(&ac->ac_lg->lg_mutex);
ac               4459 fs/ext4/mballoc.c 	ext4_mb_collect_stats(ac);
ac               4488 fs/ext4/mballoc.c 	struct ext4_allocation_context *ac = NULL;
ac               4541 fs/ext4/mballoc.c 	ac = kmem_cache_zalloc(ext4_ac_cachep, GFP_NOFS);
ac               4542 fs/ext4/mballoc.c 	if (!ac) {
ac               4548 fs/ext4/mballoc.c 	*errp = ext4_mb_initialize_context(ac, ar);
ac               4554 fs/ext4/mballoc.c 	ac->ac_op = EXT4_MB_HISTORY_PREALLOC;
ac               4555 fs/ext4/mballoc.c 	if (!ext4_mb_use_preallocated(ac)) {
ac               4556 fs/ext4/mballoc.c 		ac->ac_op = EXT4_MB_HISTORY_ALLOC;
ac               4557 fs/ext4/mballoc.c 		ext4_mb_normalize_request(ac, ar);
ac               4560 fs/ext4/mballoc.c 		*errp = ext4_mb_regular_allocator(ac);
ac               4567 fs/ext4/mballoc.c 		if (ac->ac_status == AC_STATUS_FOUND &&
ac               4568 fs/ext4/mballoc.c 		    ac->ac_o_ex.fe_len < ac->ac_b_ex.fe_len)
ac               4569 fs/ext4/mballoc.c 			*errp = ext4_mb_new_preallocation(ac);
ac               4572 fs/ext4/mballoc.c 			ext4_discard_allocated_blocks(ac);
ac               4576 fs/ext4/mballoc.c 	if (likely(ac->ac_status == AC_STATUS_FOUND)) {
ac               4577 fs/ext4/mballoc.c 		*errp = ext4_mb_mark_diskspace_used(ac, handle, reserv_clstrs);
ac               4579 fs/ext4/mballoc.c 			ext4_discard_allocated_blocks(ac);
ac               4582 fs/ext4/mballoc.c 			block = ext4_grp_offs_to_block(sb, &ac->ac_b_ex);
ac               4583 fs/ext4/mballoc.c 			ar->len = ac->ac_b_ex.fe_len;
ac               4586 fs/ext4/mballoc.c 		freed  = ext4_mb_discard_preallocations(sb, ac->ac_o_ex.fe_len);
ac               4594 fs/ext4/mballoc.c 		ac->ac_b_ex.fe_len = 0;
ac               4596 fs/ext4/mballoc.c 		ext4_mb_show_ac(ac);
ac               4598 fs/ext4/mballoc.c 	ext4_mb_release_context(ac);
ac               4600 fs/ext4/mballoc.c 	if (ac)
ac               4601 fs/ext4/mballoc.c 		kmem_cache_free(ext4_ac_cachep, ac);
ac               5654 fs/ocfs2/alloc.c 					      struct ocfs2_alloc_context **ac,
ac               5661 fs/ocfs2/alloc.c 	*ac = NULL;
ac               5675 fs/ocfs2/alloc.c 		ret = ocfs2_reserve_new_metadata_blocks(osb, extra_blocks, ac);
ac               5684 fs/ocfs2/alloc.c 		if (*ac) {
ac               5685 fs/ocfs2/alloc.c 			ocfs2_free_alloc_context(*ac);
ac               5686 fs/ocfs2/alloc.c 			*ac = NULL;
ac                 53 fs/ocfs2/localalloc.c 						struct ocfs2_alloc_context **ac,
ac                 59 fs/ocfs2/localalloc.c 					struct ocfs2_alloc_context *ac);
ac                618 fs/ocfs2/localalloc.c 				   struct ocfs2_alloc_context *ac)
ac                625 fs/ocfs2/localalloc.c 	BUG_ON(!ac);
ac                693 fs/ocfs2/localalloc.c 	ac->ac_inode = local_alloc_inode;
ac                695 fs/ocfs2/localalloc.c 	ac->ac_alloc_slot = osb->slot_num;
ac                696 fs/ocfs2/localalloc.c 	ac->ac_which = OCFS2_AC_USE_LOCAL;
ac                698 fs/ocfs2/localalloc.c 	ac->ac_bh = osb->local_alloc_bh;
ac                707 fs/ocfs2/localalloc.c 		(unsigned long long)ac->ac_max_block,
ac                717 fs/ocfs2/localalloc.c 				 struct ocfs2_alloc_context *ac,
ac                728 fs/ocfs2/localalloc.c 	BUG_ON(ac->ac_which != OCFS2_AC_USE_LOCAL);
ac                730 fs/ocfs2/localalloc.c 	local_alloc_inode = ac->ac_inode;
ac                735 fs/ocfs2/localalloc.c 						  ac->ac_resv);
ac                756 fs/ocfs2/localalloc.c 	ocfs2_resmap_claimed_bits(&osb->osb_la_resmap, ac->ac_resv, start,
ac                773 fs/ocfs2/localalloc.c 				struct ocfs2_alloc_context *ac,
ac                784 fs/ocfs2/localalloc.c 	BUG_ON(ac->ac_which != OCFS2_AC_USE_LOCAL);
ac                786 fs/ocfs2/localalloc.c 	local_alloc_inode = ac->ac_inode;
ac               1099 fs/ocfs2/localalloc.c 						struct ocfs2_alloc_context **ac,
ac               1105 fs/ocfs2/localalloc.c 	*ac = kzalloc(sizeof(struct ocfs2_alloc_context), GFP_KERNEL);
ac               1106 fs/ocfs2/localalloc.c 	if (!(*ac)) {
ac               1113 fs/ocfs2/localalloc.c 	(*ac)->ac_bits_wanted = osb->local_alloc_bits;
ac               1114 fs/ocfs2/localalloc.c 	status = ocfs2_reserve_cluster_bitmap_bits(osb, *ac);
ac               1120 fs/ocfs2/localalloc.c 		ocfs2_free_ac_resource(*ac);
ac               1121 fs/ocfs2/localalloc.c 		memset(*ac, 0, sizeof(struct ocfs2_alloc_context));
ac               1129 fs/ocfs2/localalloc.c 	*bitmap_inode = (*ac)->ac_inode;
ac               1131 fs/ocfs2/localalloc.c 	*bitmap_bh = (*ac)->ac_bh;
ac               1135 fs/ocfs2/localalloc.c 	if ((status < 0) && *ac) {
ac               1136 fs/ocfs2/localalloc.c 		ocfs2_free_alloc_context(*ac);
ac               1137 fs/ocfs2/localalloc.c 		*ac = NULL;
ac               1150 fs/ocfs2/localalloc.c 					struct ocfs2_alloc_context *ac)
ac               1167 fs/ocfs2/localalloc.c 	ac->ac_last_group = osb->la_last_gd;
ac               1172 fs/ocfs2/localalloc.c 	status = ocfs2_claim_clusters(handle, ac, osb->local_alloc_bits,
ac               1185 fs/ocfs2/localalloc.c 		ac->ac_bits_wanted = osb->local_alloc_bits;
ac               1186 fs/ocfs2/localalloc.c 		status = ocfs2_claim_clusters(handle, ac,
ac               1209 fs/ocfs2/localalloc.c 	osb->la_last_gd = ac->ac_last_group;
ac               1245 fs/ocfs2/localalloc.c 	struct ocfs2_alloc_context *ac = NULL;
ac               1251 fs/ocfs2/localalloc.c 						      &ac,
ac               1301 fs/ocfs2/localalloc.c 	status = ocfs2_local_alloc_new_window(osb, handle, ac);
ac               1319 fs/ocfs2/localalloc.c 	if (ac)
ac               1320 fs/ocfs2/localalloc.c 		ocfs2_free_alloc_context(ac);
ac                 35 fs/ocfs2/localalloc.h 				   struct ocfs2_alloc_context *ac);
ac                 39 fs/ocfs2/localalloc.h 				 struct ocfs2_alloc_context *ac,
ac                 46 fs/ocfs2/localalloc.h 				struct ocfs2_alloc_context *ac,
ac                 93 fs/ocfs2/suballoc.c static int ocfs2_claim_suballoc_bits(struct ocfs2_alloc_context *ac,
ac                118 fs/ocfs2/suballoc.c 					     struct ocfs2_alloc_context **ac);
ac                120 fs/ocfs2/suballoc.c void ocfs2_free_ac_resource(struct ocfs2_alloc_context *ac)
ac                122 fs/ocfs2/suballoc.c 	struct inode *inode = ac->ac_inode;
ac                125 fs/ocfs2/suballoc.c 		if (ac->ac_which != OCFS2_AC_USE_LOCAL)
ac                131 fs/ocfs2/suballoc.c 		ac->ac_inode = NULL;
ac                133 fs/ocfs2/suballoc.c 	brelse(ac->ac_bh);
ac                134 fs/ocfs2/suballoc.c 	ac->ac_bh = NULL;
ac                135 fs/ocfs2/suballoc.c 	ac->ac_resv = NULL;
ac                136 fs/ocfs2/suballoc.c 	kfree(ac->ac_find_loc_priv);
ac                137 fs/ocfs2/suballoc.c 	ac->ac_find_loc_priv = NULL;
ac                140 fs/ocfs2/suballoc.c void ocfs2_free_alloc_context(struct ocfs2_alloc_context *ac)
ac                142 fs/ocfs2/suballoc.c 	ocfs2_free_ac_resource(ac);
ac                143 fs/ocfs2/suballoc.c 	kfree(ac);
ac                421 fs/ocfs2/suballoc.c 			       struct ocfs2_alloc_context *ac,
ac                430 fs/ocfs2/suballoc.c 	status = ocfs2_claim_clusters(handle, ac,
ac                465 fs/ocfs2/suballoc.c 					struct ocfs2_alloc_context *ac,
ac                472 fs/ocfs2/suballoc.c 		status = ocfs2_claim_clusters(handle, ac, min_bits,
ac                486 fs/ocfs2/suballoc.c 					    struct ocfs2_alloc_context *ac,
ac                513 fs/ocfs2/suballoc.c 		status = ocfs2_block_group_claim_bits(osb, handle, ac,
ac                578 fs/ocfs2/suballoc.c 				  struct ocfs2_alloc_context *ac,
ac                607 fs/ocfs2/suballoc.c 	ac->ac_disable_chain_relink = 1;
ac                610 fs/ocfs2/suballoc.c 	status = ocfs2_block_group_claim_bits(osb, handle, ac, min_bits,
ac                640 fs/ocfs2/suballoc.c 						  bg_bh, ac, cl, min_bits);
ac                646 fs/ocfs2/suballoc.c 		ocfs2_bg_alloc_cleanup(handle, ac, alloc_inode, bg_bh);
ac                663 fs/ocfs2/suballoc.c 	struct ocfs2_alloc_context *ac = NULL;
ac                674 fs/ocfs2/suballoc.c 						   max_block, flags, &ac);
ac                694 fs/ocfs2/suballoc.c 		ac->ac_last_group = *last_alloc_group;
ac                698 fs/ocfs2/suballoc.c 					       ac, cl);
ac                702 fs/ocfs2/suballoc.c 							  ac, cl);
ac                748 fs/ocfs2/suballoc.c 		*last_alloc_group = ac->ac_last_group;
ac                754 fs/ocfs2/suballoc.c 	if (ac)
ac                755 fs/ocfs2/suballoc.c 		ocfs2_free_alloc_context(ac);
ac                765 fs/ocfs2/suballoc.c 				       struct ocfs2_alloc_context *ac,
ac                772 fs/ocfs2/suballoc.c 	u32 bits_wanted = ac->ac_bits_wanted;
ac                795 fs/ocfs2/suballoc.c 	ac->ac_inode = alloc_inode;
ac                796 fs/ocfs2/suballoc.c 	ac->ac_alloc_slot = slot;
ac                831 fs/ocfs2/suballoc.c 						 ac->ac_max_block,
ac                847 fs/ocfs2/suballoc.c 	ac->ac_bh = bh;
ac                913 fs/ocfs2/suballoc.c 				struct ocfs2_alloc_context *ac,
ac                930 fs/ocfs2/suballoc.c 		status = ocfs2_reserve_suballoc_bits(osb, ac,
ac                939 fs/ocfs2/suballoc.c 		ocfs2_free_ac_resource(ac);
ac                946 fs/ocfs2/suballoc.c 			     struct ocfs2_alloc_context *ac)
ac                948 fs/ocfs2/suballoc.c 	return ocfs2_steal_resource(osb, ac, INODE_ALLOC_SYSTEM_INODE);
ac                952 fs/ocfs2/suballoc.c 			    struct ocfs2_alloc_context *ac)
ac                954 fs/ocfs2/suballoc.c 	return ocfs2_steal_resource(osb, ac, EXTENT_ALLOC_SYSTEM_INODE);
ac                959 fs/ocfs2/suballoc.c 				      struct ocfs2_alloc_context **ac)
ac                964 fs/ocfs2/suballoc.c 	*ac = kzalloc(sizeof(struct ocfs2_alloc_context), GFP_KERNEL);
ac                965 fs/ocfs2/suballoc.c 	if (!(*ac)) {
ac                971 fs/ocfs2/suballoc.c 	(*ac)->ac_bits_wanted = blocks;
ac                972 fs/ocfs2/suballoc.c 	(*ac)->ac_which = OCFS2_AC_USE_META;
ac                973 fs/ocfs2/suballoc.c 	(*ac)->ac_group_search = ocfs2_block_group_search;
ac                980 fs/ocfs2/suballoc.c 	status = ocfs2_reserve_suballoc_bits(osb, (*ac),
ac                996 fs/ocfs2/suballoc.c 	ocfs2_free_ac_resource(*ac);
ac                999 fs/ocfs2/suballoc.c 	status = ocfs2_steal_meta(osb, *ac);
ac               1009 fs/ocfs2/suballoc.c 	if ((status < 0) && *ac) {
ac               1010 fs/ocfs2/suballoc.c 		ocfs2_free_alloc_context(*ac);
ac               1011 fs/ocfs2/suballoc.c 		*ac = NULL;
ac               1021 fs/ocfs2/suballoc.c 			       struct ocfs2_alloc_context **ac)
ac               1025 fs/ocfs2/suballoc.c 					ac);
ac               1029 fs/ocfs2/suballoc.c 			    struct ocfs2_alloc_context **ac)
ac               1035 fs/ocfs2/suballoc.c 	*ac = kzalloc(sizeof(struct ocfs2_alloc_context), GFP_KERNEL);
ac               1036 fs/ocfs2/suballoc.c 	if (!(*ac)) {
ac               1042 fs/ocfs2/suballoc.c 	(*ac)->ac_bits_wanted = 1;
ac               1043 fs/ocfs2/suballoc.c 	(*ac)->ac_which = OCFS2_AC_USE_INODE;
ac               1045 fs/ocfs2/suballoc.c 	(*ac)->ac_group_search = ocfs2_block_group_search;
ac               1053 fs/ocfs2/suballoc.c 		(*ac)->ac_max_block = (u32)~0U;
ac               1070 fs/ocfs2/suballoc.c 	status = ocfs2_reserve_suballoc_bits(osb, *ac,
ac               1097 fs/ocfs2/suballoc.c 	ocfs2_free_ac_resource(*ac);
ac               1100 fs/ocfs2/suballoc.c 	status = ocfs2_steal_inode(osb, *ac);
ac               1110 fs/ocfs2/suballoc.c 	if ((status < 0) && *ac) {
ac               1111 fs/ocfs2/suballoc.c 		ocfs2_free_alloc_context(*ac);
ac               1112 fs/ocfs2/suballoc.c 		*ac = NULL;
ac               1123 fs/ocfs2/suballoc.c 				      struct ocfs2_alloc_context *ac)
ac               1127 fs/ocfs2/suballoc.c 	ac->ac_which = OCFS2_AC_USE_MAIN;
ac               1128 fs/ocfs2/suballoc.c 	ac->ac_group_search = ocfs2_cluster_group_search;
ac               1130 fs/ocfs2/suballoc.c 	status = ocfs2_reserve_suballoc_bits(osb, ac,
ac               1146 fs/ocfs2/suballoc.c 					     struct ocfs2_alloc_context **ac)
ac               1151 fs/ocfs2/suballoc.c 	*ac = kzalloc(sizeof(struct ocfs2_alloc_context), GFP_KERNEL);
ac               1152 fs/ocfs2/suballoc.c 	if (!(*ac)) {
ac               1158 fs/ocfs2/suballoc.c 	(*ac)->ac_bits_wanted = bits_wanted;
ac               1159 fs/ocfs2/suballoc.c 	(*ac)->ac_max_block = max_block;
ac               1166 fs/ocfs2/suballoc.c 							*ac);
ac               1175 fs/ocfs2/suballoc.c 		status = ocfs2_reserve_cluster_bitmap_bits(osb, *ac);
ac               1179 fs/ocfs2/suballoc.c 			ocfs2_inode_unlock((*ac)->ac_inode, 1);
ac               1180 fs/ocfs2/suballoc.c 			inode_unlock((*ac)->ac_inode);
ac               1184 fs/ocfs2/suballoc.c 				iput((*ac)->ac_inode);
ac               1185 fs/ocfs2/suballoc.c 				(*ac)->ac_inode = NULL;
ac               1192 fs/ocfs2/suballoc.c 			inode_lock((*ac)->ac_inode);
ac               1193 fs/ocfs2/suballoc.c 			ret = ocfs2_inode_lock((*ac)->ac_inode, NULL, 1);
ac               1196 fs/ocfs2/suballoc.c 				inode_unlock((*ac)->ac_inode);
ac               1197 fs/ocfs2/suballoc.c 				iput((*ac)->ac_inode);
ac               1198 fs/ocfs2/suballoc.c 				(*ac)->ac_inode = NULL;
ac               1211 fs/ocfs2/suballoc.c 	if ((status < 0) && *ac) {
ac               1212 fs/ocfs2/suballoc.c 		ocfs2_free_alloc_context(*ac);
ac               1213 fs/ocfs2/suballoc.c 		*ac = NULL;
ac               1223 fs/ocfs2/suballoc.c 			   struct ocfs2_alloc_context **ac)
ac               1226 fs/ocfs2/suballoc.c 						 ALLOC_NEW_GROUP, ac);
ac               1637 fs/ocfs2/suballoc.c static void ocfs2_bg_discontig_fix_result(struct ocfs2_alloc_context *ac,
ac               1644 fs/ocfs2/suballoc.c 	struct ocfs2_dinode *di = (struct ocfs2_dinode *)ac->ac_bh->b_data;
ac               1647 fs/ocfs2/suballoc.c 	if (ocfs2_is_cluster_bitmap(ac->ac_inode)) {
ac               1654 fs/ocfs2/suballoc.c 	if (!ocfs2_supports_discontig_bg(OCFS2_SB(ac->ac_inode->i_sb)) ||
ac               1667 fs/ocfs2/suballoc.c static int ocfs2_search_one_group(struct ocfs2_alloc_context *ac,
ac               1677 fs/ocfs2/suballoc.c 	struct ocfs2_dinode *di = (struct ocfs2_dinode *)ac->ac_bh->b_data;
ac               1678 fs/ocfs2/suballoc.c 	struct inode *alloc_inode = ac->ac_inode;
ac               1688 fs/ocfs2/suballoc.c 	ret = ac->ac_group_search(alloc_inode, group_bh, bits_wanted, min_bits,
ac               1689 fs/ocfs2/suballoc.c 				  ac->ac_max_block, res);
ac               1697 fs/ocfs2/suballoc.c 		ocfs2_bg_discontig_fix_result(ac, gd, res);
ac               1705 fs/ocfs2/suballoc.c 	if (ac->ac_find_loc_only)
ac               1708 fs/ocfs2/suballoc.c 	ret = ocfs2_alloc_dinode_update_counts(alloc_inode, handle, ac->ac_bh,
ac               1719 fs/ocfs2/suballoc.c 		ocfs2_rollback_alloc_dinode_counts(alloc_inode, ac->ac_bh,
ac               1734 fs/ocfs2/suballoc.c static int ocfs2_search_chain(struct ocfs2_alloc_context *ac,
ac               1744 fs/ocfs2/suballoc.c 	struct inode *alloc_inode = ac->ac_inode;
ac               1747 fs/ocfs2/suballoc.c 	struct ocfs2_dinode *fe = (struct ocfs2_dinode *) ac->ac_bh->b_data;
ac               1751 fs/ocfs2/suballoc.c 	chain = ac->ac_chain;
ac               1768 fs/ocfs2/suballoc.c 	while ((status = ac->ac_group_search(alloc_inode, group_bh,
ac               1770 fs/ocfs2/suballoc.c 					     ac->ac_max_block,
ac               1802 fs/ocfs2/suballoc.c 		ocfs2_bg_discontig_fix_result(ac, bg, res);
ac               1823 fs/ocfs2/suballoc.c 	if (!ac->ac_disable_chain_relink &&
ac               1827 fs/ocfs2/suballoc.c 						  ac->ac_bh, group_bh,
ac               1835 fs/ocfs2/suballoc.c 	if (ac->ac_find_loc_only)
ac               1839 fs/ocfs2/suballoc.c 						  ac->ac_bh, res->sr_bits,
ac               1854 fs/ocfs2/suballoc.c 					ac->ac_bh, res->sr_bits, chain);
ac               1875 fs/ocfs2/suballoc.c static int ocfs2_claim_suballoc_bits(struct ocfs2_alloc_context *ac,
ac               1884 fs/ocfs2/suballoc.c 	u64 hint = ac->ac_last_group;
ac               1888 fs/ocfs2/suballoc.c 	BUG_ON(ac->ac_bits_given >= ac->ac_bits_wanted);
ac               1889 fs/ocfs2/suballoc.c 	BUG_ON(bits_wanted > (ac->ac_bits_wanted - ac->ac_bits_given));
ac               1890 fs/ocfs2/suballoc.c 	BUG_ON(!ac->ac_bh);
ac               1892 fs/ocfs2/suballoc.c 	fe = (struct ocfs2_dinode *) ac->ac_bh->b_data;
ac               1900 fs/ocfs2/suballoc.c 		status = ocfs2_error(ac->ac_inode->i_sb,
ac               1914 fs/ocfs2/suballoc.c 		status = ocfs2_search_one_group(ac, handle, bits_wanted,
ac               1927 fs/ocfs2/suballoc.c 	ac->ac_chain = victim;
ac               1929 fs/ocfs2/suballoc.c 	status = ocfs2_search_chain(ac, handle, bits_wanted, min_bits,
ac               1932 fs/ocfs2/suballoc.c 		if (ocfs2_is_cluster_bitmap(ac->ac_inode))
ac               1949 fs/ocfs2/suballoc.c 	ac->ac_disable_chain_relink = 1;
ac               1956 fs/ocfs2/suballoc.c 		ac->ac_chain = i;
ac               1957 fs/ocfs2/suballoc.c 		status = ocfs2_search_chain(ac, handle, bits_wanted, min_bits,
ac               1975 fs/ocfs2/suballoc.c 			ac->ac_last_group = 0;
ac               1977 fs/ocfs2/suballoc.c 			ac->ac_last_group = hint;
ac               1987 fs/ocfs2/suballoc.c 			 struct ocfs2_alloc_context *ac,
ac               1997 fs/ocfs2/suballoc.c 	BUG_ON(!ac);
ac               1998 fs/ocfs2/suballoc.c 	BUG_ON(ac->ac_bits_wanted < (ac->ac_bits_given + bits_wanted));
ac               1999 fs/ocfs2/suballoc.c 	BUG_ON(ac->ac_which != OCFS2_AC_USE_META);
ac               2001 fs/ocfs2/suballoc.c 	status = ocfs2_claim_suballoc_bits(ac,
ac               2010 fs/ocfs2/suballoc.c 	atomic_inc(&OCFS2_SB(ac->ac_inode->i_sb)->alloc_stats.bg_allocs);
ac               2015 fs/ocfs2/suballoc.c 	ac->ac_bits_given += res.sr_bits;
ac               2026 fs/ocfs2/suballoc.c 				      struct ocfs2_alloc_context *ac)
ac               2040 fs/ocfs2/suballoc.c 	    OCFS2_I(dir)->ip_last_used_slot == ac->ac_alloc_slot)
ac               2041 fs/ocfs2/suballoc.c 		ac->ac_last_group = OCFS2_I(dir)->ip_last_used_group;
ac               2042 fs/ocfs2/suballoc.c 	else if (le16_to_cpu(di->i_suballoc_slot) == ac->ac_alloc_slot) {
ac               2044 fs/ocfs2/suballoc.c 			ac->ac_last_group = le64_to_cpu(di->i_suballoc_loc);
ac               2046 fs/ocfs2/suballoc.c 			ac->ac_last_group = ocfs2_which_suballoc_group(
ac               2053 fs/ocfs2/suballoc.c 					     struct ocfs2_alloc_context *ac)
ac               2055 fs/ocfs2/suballoc.c 	OCFS2_I(dir)->ip_last_used_group = ac->ac_last_group;
ac               2056 fs/ocfs2/suballoc.c 	OCFS2_I(dir)->ip_last_used_slot = ac->ac_alloc_slot;
ac               2061 fs/ocfs2/suballoc.c 			     struct ocfs2_alloc_context *ac,
ac               2068 fs/ocfs2/suballoc.c 	BUG_ON(!ac);
ac               2069 fs/ocfs2/suballoc.c 	BUG_ON(ac->ac_bits_given != 0);
ac               2070 fs/ocfs2/suballoc.c 	BUG_ON(ac->ac_bits_wanted != 1);
ac               2071 fs/ocfs2/suballoc.c 	BUG_ON(ac->ac_which != OCFS2_AC_USE_INODE);
ac               2080 fs/ocfs2/suballoc.c 	ocfs2_init_inode_ac_group(dir, parent_fe_bh, ac);
ac               2099 fs/ocfs2/suballoc.c 	ac->ac_find_loc_only = 1;
ac               2101 fs/ocfs2/suballoc.c 	ret = ocfs2_claim_suballoc_bits(ac, handle, 1, 1, res);
ac               2107 fs/ocfs2/suballoc.c 	ac->ac_find_loc_priv = res;
ac               2122 fs/ocfs2/suballoc.c 				 struct ocfs2_alloc_context *ac,
ac               2129 fs/ocfs2/suballoc.c 	struct ocfs2_suballoc_result *res = ac->ac_find_loc_priv;
ac               2132 fs/ocfs2/suballoc.c 	struct ocfs2_dinode *di = (struct ocfs2_dinode *) ac->ac_bh->b_data;
ac               2142 fs/ocfs2/suballoc.c 	ret = ocfs2_read_group_descriptor(ac->ac_inode, di,
ac               2152 fs/ocfs2/suballoc.c 	ret = ocfs2_alloc_dinode_update_counts(ac->ac_inode, handle,
ac               2153 fs/ocfs2/suballoc.c 					       ac->ac_bh, res->sr_bits,
ac               2161 fs/ocfs2/suballoc.c 					 ac->ac_inode,
ac               2167 fs/ocfs2/suballoc.c 		ocfs2_rollback_alloc_dinode_counts(ac->ac_inode,
ac               2168 fs/ocfs2/suballoc.c 					       ac->ac_bh, res->sr_bits, chain);
ac               2176 fs/ocfs2/suballoc.c 	atomic_inc(&OCFS2_SB(ac->ac_inode->i_sb)->alloc_stats.bg_allocs);
ac               2182 fs/ocfs2/suballoc.c 	ac->ac_bits_given++;
ac               2183 fs/ocfs2/suballoc.c 	ocfs2_save_inode_ac_group(dir, ac);
ac               2194 fs/ocfs2/suballoc.c 			  struct ocfs2_alloc_context *ac,
ac               2202 fs/ocfs2/suballoc.c 	BUG_ON(!ac);
ac               2203 fs/ocfs2/suballoc.c 	BUG_ON(ac->ac_bits_given != 0);
ac               2204 fs/ocfs2/suballoc.c 	BUG_ON(ac->ac_bits_wanted != 1);
ac               2205 fs/ocfs2/suballoc.c 	BUG_ON(ac->ac_which != OCFS2_AC_USE_INODE);
ac               2207 fs/ocfs2/suballoc.c 	ocfs2_init_inode_ac_group(dir, parent_fe_bh, ac);
ac               2209 fs/ocfs2/suballoc.c 	status = ocfs2_claim_suballoc_bits(ac,
ac               2218 fs/ocfs2/suballoc.c 	atomic_inc(&OCFS2_SB(ac->ac_inode->i_sb)->alloc_stats.bg_allocs);
ac               2225 fs/ocfs2/suballoc.c 	ac->ac_bits_given++;
ac               2226 fs/ocfs2/suballoc.c 	ocfs2_save_inode_ac_group(dir, ac);
ac               2296 fs/ocfs2/suballoc.c 			   struct ocfs2_alloc_context *ac,
ac               2305 fs/ocfs2/suballoc.c 	struct ocfs2_super *osb = OCFS2_SB(ac->ac_inode->i_sb);
ac               2307 fs/ocfs2/suballoc.c 	BUG_ON(ac->ac_bits_given >= ac->ac_bits_wanted);
ac               2309 fs/ocfs2/suballoc.c 	BUG_ON(ac->ac_which != OCFS2_AC_USE_LOCAL
ac               2310 fs/ocfs2/suballoc.c 	       && ac->ac_which != OCFS2_AC_USE_MAIN);
ac               2312 fs/ocfs2/suballoc.c 	if (ac->ac_which == OCFS2_AC_USE_LOCAL) {
ac               2317 fs/ocfs2/suballoc.c 						      ac,
ac               2337 fs/ocfs2/suballoc.c 		status = ocfs2_claim_suballoc_bits(ac,
ac               2345 fs/ocfs2/suballoc.c 				ocfs2_desc_bitmap_to_cluster_off(ac->ac_inode,
ac               2358 fs/ocfs2/suballoc.c 	ac->ac_bits_given += *num_clusters;
ac               2367 fs/ocfs2/suballoc.c 			 struct ocfs2_alloc_context *ac,
ac               2372 fs/ocfs2/suballoc.c 	unsigned int bits_wanted = ac->ac_bits_wanted - ac->ac_bits_given;
ac               2374 fs/ocfs2/suballoc.c 	return __ocfs2_claim_clusters(handle, ac, min_clusters,
ac                 52 fs/ocfs2/suballoc.h void ocfs2_free_alloc_context(struct ocfs2_alloc_context *ac);
ac                 53 fs/ocfs2/suballoc.h static inline int ocfs2_alloc_context_bits_left(struct ocfs2_alloc_context *ac)
ac                 55 fs/ocfs2/suballoc.h 	return ac->ac_bits_wanted - ac->ac_bits_given;
ac                 65 fs/ocfs2/suballoc.h 			       struct ocfs2_alloc_context **ac);
ac                 68 fs/ocfs2/suballoc.h 				      struct ocfs2_alloc_context **ac);
ac                 70 fs/ocfs2/suballoc.h 			    struct ocfs2_alloc_context **ac);
ac                 73 fs/ocfs2/suballoc.h 			   struct ocfs2_alloc_context **ac);
ac                 92 fs/ocfs2/suballoc.h 			 struct ocfs2_alloc_context *ac,
ac                101 fs/ocfs2/suballoc.h 			  struct ocfs2_alloc_context *ac,
ac                106 fs/ocfs2/suballoc.h 			 struct ocfs2_alloc_context *ac,
ac                115 fs/ocfs2/suballoc.h 			   struct ocfs2_alloc_context *ac,
ac                174 fs/ocfs2/suballoc.h 				      struct ocfs2_alloc_context *ac);
ac                175 fs/ocfs2/suballoc.h void ocfs2_free_ac_resource(struct ocfs2_alloc_context *ac);
ac                213 fs/ocfs2/suballoc.h 			     struct ocfs2_alloc_context *ac,
ac                218 fs/ocfs2/suballoc.h 				 struct ocfs2_alloc_context *ac,
ac                 41 include/linux/ceph/auth.h 	int (*is_authenticated)(struct ceph_auth_client *ac);
ac                 47 include/linux/ceph/auth.h 	int (*should_authenticate)(struct ceph_auth_client *ac);
ac                 54 include/linux/ceph/auth.h 	int (*build_request)(struct ceph_auth_client *ac, void *buf, void *end);
ac                 55 include/linux/ceph/auth.h 	int (*handle_reply)(struct ceph_auth_client *ac, int result,
ac                 62 include/linux/ceph/auth.h 	int (*create_authorizer)(struct ceph_auth_client *ac, int peer_type,
ac                 65 include/linux/ceph/auth.h 	int (*update_authorizer)(struct ceph_auth_client *ac, int peer_type,
ac                 67 include/linux/ceph/auth.h 	int (*add_authorizer_challenge)(struct ceph_auth_client *ac,
ac                 71 include/linux/ceph/auth.h 	int (*verify_authorizer_reply)(struct ceph_auth_client *ac,
ac                 73 include/linux/ceph/auth.h 	void (*invalidate_authorizer)(struct ceph_auth_client *ac,
ac                 77 include/linux/ceph/auth.h 	void (*reset)(struct ceph_auth_client *ac);
ac                 79 include/linux/ceph/auth.h 	void (*destroy)(struct ceph_auth_client *ac);
ac                103 include/linux/ceph/auth.h extern void ceph_auth_destroy(struct ceph_auth_client *ac);
ac                105 include/linux/ceph/auth.h extern void ceph_auth_reset(struct ceph_auth_client *ac);
ac                107 include/linux/ceph/auth.h extern int ceph_auth_build_hello(struct ceph_auth_client *ac,
ac                109 include/linux/ceph/auth.h extern int ceph_handle_auth_reply(struct ceph_auth_client *ac,
ac                114 include/linux/ceph/auth.h extern int ceph_build_auth(struct ceph_auth_client *ac,
ac                117 include/linux/ceph/auth.h extern int ceph_auth_is_authenticated(struct ceph_auth_client *ac);
ac                118 include/linux/ceph/auth.h extern int ceph_auth_create_authorizer(struct ceph_auth_client *ac,
ac                122 include/linux/ceph/auth.h extern int ceph_auth_update_authorizer(struct ceph_auth_client *ac,
ac                125 include/linux/ceph/auth.h int ceph_auth_add_authorizer_challenge(struct ceph_auth_client *ac,
ac                129 include/linux/ceph/auth.h extern int ceph_auth_verify_authorizer_reply(struct ceph_auth_client *ac,
ac                131 include/linux/ceph/auth.h extern void ceph_auth_invalidate_authorizer(struct ceph_auth_client *ac,
ac                 96 include/linux/compaction.h 		const struct alloc_context *ac, enum compact_priority prio,
ac                180 include/linux/compaction.h bool compaction_zonelist_suitable(struct alloc_context *ac, int order,
ac               1115 include/linux/ieee80211.h 	struct ieee80211_wmm_ac_param ac[4];
ac                123 include/linux/mfd/wm8350/supply.h 	struct power_supply *ac;
ac               4054 include/linux/platform_data/cros_ec_commands.h 			int ac;
ac                 60 include/linux/platform_data/lp8727.h 	struct lp8727_chg_param *ac;
ac                 58 include/linux/raid_class.h 		attribute_container_find_class_device(&r->raid_attrs.ac, dev);\
ac                 67 include/linux/raid_class.h 		attribute_container_find_class_device(&r->raid_attrs.ac, dev);\
ac                 57 include/linux/transport_class.h 	struct attribute_container ac;
ac                 62 include/linux/transport_class.h 	container_of(x, struct transport_container, ac)
ac                 86 include/linux/transport_class.h 	return attribute_container_register(&tc->ac);
ac                 91 include/linux/transport_class.h 	if (unlikely(attribute_container_unregister(&tc->ac)))
ac               1846 include/net/cfg80211.h 	enum nl80211_ac ac;
ac               2060 include/net/mac80211.h 	u8 ac;
ac               3864 include/net/mac80211.h 		       struct ieee80211_vif *vif, u16 ac,
ac               6291 include/net/mac80211.h struct ieee80211_txq *ieee80211_next_txq(struct ieee80211_hw *hw, u8 ac);
ac               6302 include/net/mac80211.h void ieee80211_txq_schedule_start(struct ieee80211_hw *hw, u8 ac);
ac               6305 include/net/mac80211.h static inline void ieee80211_txq_schedule_end(struct ieee80211_hw *hw, u8 ac)
ac                634 include/trace/events/ext4.h 	TP_PROTO(struct ext4_allocation_context *ac,
ac                637 include/trace/events/ext4.h 	TP_ARGS(ac, pa),
ac                649 include/trace/events/ext4.h 		__entry->dev		= ac->ac_sb->s_dev;
ac                650 include/trace/events/ext4.h 		__entry->ino		= ac->ac_inode->i_ino;
ac                664 include/trace/events/ext4.h 	TP_PROTO(struct ext4_allocation_context *ac,
ac                667 include/trace/events/ext4.h 	TP_ARGS(ac, pa)
ac                672 include/trace/events/ext4.h 	TP_PROTO(struct ext4_allocation_context *ac,
ac                675 include/trace/events/ext4.h 	TP_ARGS(ac, pa)
ac                978 include/trace/events/ext4.h 	TP_PROTO(struct ext4_allocation_context *ac),
ac                980 include/trace/events/ext4.h 	TP_ARGS(ac),
ac               1006 include/trace/events/ext4.h 		__entry->dev		= ac->ac_inode->i_sb->s_dev;
ac               1007 include/trace/events/ext4.h 		__entry->ino		= ac->ac_inode->i_ino;
ac               1008 include/trace/events/ext4.h 		__entry->orig_logical	= ac->ac_o_ex.fe_logical;
ac               1009 include/trace/events/ext4.h 		__entry->orig_start	= ac->ac_o_ex.fe_start;
ac               1010 include/trace/events/ext4.h 		__entry->orig_group	= ac->ac_o_ex.fe_group;
ac               1011 include/trace/events/ext4.h 		__entry->orig_len	= ac->ac_o_ex.fe_len;
ac               1012 include/trace/events/ext4.h 		__entry->goal_logical	= ac->ac_g_ex.fe_logical;
ac               1013 include/trace/events/ext4.h 		__entry->goal_start	= ac->ac_g_ex.fe_start;
ac               1014 include/trace/events/ext4.h 		__entry->goal_group	= ac->ac_g_ex.fe_group;
ac               1015 include/trace/events/ext4.h 		__entry->goal_len	= ac->ac_g_ex.fe_len;
ac               1016 include/trace/events/ext4.h 		__entry->result_logical	= ac->ac_f_ex.fe_logical;
ac               1017 include/trace/events/ext4.h 		__entry->result_start	= ac->ac_f_ex.fe_start;
ac               1018 include/trace/events/ext4.h 		__entry->result_group	= ac->ac_f_ex.fe_group;
ac               1019 include/trace/events/ext4.h 		__entry->result_len	= ac->ac_f_ex.fe_len;
ac               1020 include/trace/events/ext4.h 		__entry->found		= ac->ac_found;
ac               1021 include/trace/events/ext4.h 		__entry->flags		= ac->ac_flags;
ac               1022 include/trace/events/ext4.h 		__entry->groups		= ac->ac_groups_scanned;
ac               1023 include/trace/events/ext4.h 		__entry->buddy		= ac->ac_buddy;
ac               1024 include/trace/events/ext4.h 		__entry->tail		= ac->ac_tail;
ac               1025 include/trace/events/ext4.h 		__entry->cr		= ac->ac_criteria;
ac               1045 include/trace/events/ext4.h 	TP_PROTO(struct ext4_allocation_context *ac),
ac               1047 include/trace/events/ext4.h 	TP_ARGS(ac),
ac               1063 include/trace/events/ext4.h 		__entry->dev		= ac->ac_inode->i_sb->s_dev;
ac               1064 include/trace/events/ext4.h 		__entry->ino		= ac->ac_inode->i_ino;
ac               1065 include/trace/events/ext4.h 		__entry->orig_logical	= ac->ac_o_ex.fe_logical;
ac               1066 include/trace/events/ext4.h 		__entry->orig_start	= ac->ac_o_ex.fe_start;
ac               1067 include/trace/events/ext4.h 		__entry->orig_group	= ac->ac_o_ex.fe_group;
ac               1068 include/trace/events/ext4.h 		__entry->orig_len	= ac->ac_o_ex.fe_len;
ac               1069 include/trace/events/ext4.h 		__entry->result_logical	= ac->ac_b_ex.fe_logical;
ac               1070 include/trace/events/ext4.h 		__entry->result_start	= ac->ac_b_ex.fe_start;
ac               1071 include/trace/events/ext4.h 		__entry->result_group	= ac->ac_b_ex.fe_group;
ac               1072 include/trace/events/ext4.h 		__entry->result_len	= ac->ac_b_ex.fe_len;
ac                415 kernel/acct.c  static void fill_ac(acct_t *ac)
ac                425 kernel/acct.c  	memset(ac, 0, sizeof(acct_t));
ac                427 kernel/acct.c  	ac->ac_version = ACCT_VERSION | ACCT_BYTEORDER;
ac                428 kernel/acct.c  	strlcpy(ac->ac_comm, current->comm, sizeof(ac->ac_comm));
ac                436 kernel/acct.c  	ac->ac_etime = encode_float(elapsed);
ac                438 kernel/acct.c  	ac->ac_etime = encode_comp_t(elapsed < (unsigned long) -1l ?
ac                446 kernel/acct.c  		ac->ac_etime_hi = etime >> 16;
ac                447 kernel/acct.c  		ac->ac_etime_lo = (u16) etime;
ac                451 kernel/acct.c  	ac->ac_btime = get_seconds() - elapsed;
ac                453 kernel/acct.c  	ac->ac_ahz = AHZ;
ac                458 kernel/acct.c  	ac->ac_tty = tty ? old_encode_dev(tty_devnum(tty)) : 0;
ac                459 kernel/acct.c  	ac->ac_utime = encode_comp_t(nsec_to_AHZ(pacct->ac_utime));
ac                460 kernel/acct.c  	ac->ac_stime = encode_comp_t(nsec_to_AHZ(pacct->ac_stime));
ac                461 kernel/acct.c  	ac->ac_flag = pacct->ac_flag;
ac                462 kernel/acct.c  	ac->ac_mem = encode_comp_t(pacct->ac_mem);
ac                463 kernel/acct.c  	ac->ac_minflt = encode_comp_t(pacct->ac_minflt);
ac                464 kernel/acct.c  	ac->ac_majflt = encode_comp_t(pacct->ac_majflt);
ac                465 kernel/acct.c  	ac->ac_exitcode = pacct->ac_exitcode;
ac                473 kernel/acct.c  	acct_t ac;
ac                493 kernel/acct.c  	fill_ac(&ac);
ac                495 kernel/acct.c  	ac.ac_uid = from_kuid_munged(file->f_cred->user_ns, orig_cred->uid);
ac                496 kernel/acct.c  	ac.ac_gid = from_kgid_munged(file->f_cred->user_ns, orig_cred->gid);
ac                499 kernel/acct.c  	ac.ac_uid16 = ac.ac_uid;
ac                500 kernel/acct.c  	ac.ac_gid16 = ac.ac_gid;
ac                506 kernel/acct.c  		ac.ac_pid = task_tgid_nr_ns(current, ns);
ac                508 kernel/acct.c  		ac.ac_ppid = task_tgid_nr_ns(rcu_dereference(current->real_parent),
ac                520 kernel/acct.c  		__kernel_write(file, &ac, sizeof(acct_t), &pos);
ac                215 kernel/audit.c 	struct auditd_connection *ac;
ac                218 kernel/audit.c 	ac = rcu_dereference(auditd_conn);
ac                219 kernel/audit.c 	rc = (ac && ac->pid == task_tgid(task) ? 1 : 0);
ac                264 kernel/audit.c 	const struct auditd_connection *ac;
ac                267 kernel/audit.c 	ac = rcu_dereference(auditd_conn);
ac                268 kernel/audit.c 	if (!ac || !ac->pid)
ac                271 kernel/audit.c 		pid = pid_vnr(ac->pid);
ac                474 kernel/audit.c 	struct auditd_connection *ac;
ac                476 kernel/audit.c 	ac = container_of(rcu, struct auditd_connection, rcu);
ac                477 kernel/audit.c 	put_pid(ac->pid);
ac                478 kernel/audit.c 	put_net(ac->net);
ac                479 kernel/audit.c 	kfree(ac);
ac                613 kernel/audit.c static void auditd_reset(const struct auditd_connection *ac)
ac                623 kernel/audit.c 	if (ac && ac != ac_old) {
ac                657 kernel/audit.c 	struct auditd_connection *ac;
ac                667 kernel/audit.c 	ac = rcu_dereference(auditd_conn);
ac                668 kernel/audit.c 	if (!ac) {
ac                674 kernel/audit.c 	net = get_net(ac->net);
ac                676 kernel/audit.c 	portid = ac->portid;
ac                687 kernel/audit.c 	if (ac && rc == -ECONNREFUSED)
ac                688 kernel/audit.c 		auditd_reset(ac);
ac                811 kernel/audit.c 	struct auditd_connection *ac;
ac                819 kernel/audit.c 		ac = rcu_dereference(auditd_conn);
ac                820 kernel/audit.c 		if (!ac) {
ac                824 kernel/audit.c 		net = get_net(ac->net);
ac                826 kernel/audit.c 		portid = ac->portid;
ac                833 kernel/audit.c 		if (ac && rc < 0) {
ac                835 kernel/audit.c 			auditd_reset(ac);
ac                843 kernel/audit.c 		if (ac && rc < 0) {
ac                845 kernel/audit.c 			auditd_reset(ac);
ac                858 kernel/audit.c 		if (ac && rc < 0)
ac                859 kernel/audit.c 			auditd_reset(ac);
ac               2039 mm/compaction.c bool compaction_zonelist_suitable(struct alloc_context *ac, int order,
ac               2049 mm/compaction.c 	for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, ac->high_zoneidx,
ac               2050 mm/compaction.c 					ac->nodemask) {
ac               2063 mm/compaction.c 				ac_classzone_idx(ac), available);
ac               2340 mm/compaction.c 		unsigned int alloc_flags, const struct alloc_context *ac,
ac               2358 mm/compaction.c 	for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, ac->high_zoneidx,
ac               2359 mm/compaction.c 								ac->nodemask) {
ac               2369 mm/compaction.c 				alloc_flags, ac_classzone_idx(ac), capture);
ac                122 mm/internal.h  #define ac_classzone_idx(ac) zonelist_zone_idx(ac->preferred_zoneref)
ac               2553 mm/page_alloc.c static bool unreserve_highatomic_pageblock(const struct alloc_context *ac,
ac               2556 mm/page_alloc.c 	struct zonelist *zonelist = ac->zonelist;
ac               2564 mm/page_alloc.c 	for_each_zone_zonelist_nodemask(zone, z, zonelist, ac->high_zoneidx,
ac               2565 mm/page_alloc.c 								ac->nodemask) {
ac               2611 mm/page_alloc.c 			set_pageblock_migratetype(page, ac->migratetype);
ac               2612 mm/page_alloc.c 			ret = move_freepages_block(zone, page, ac->migratetype,
ac               3579 mm/page_alloc.c 						const struct alloc_context *ac)
ac               3592 mm/page_alloc.c 	z = ac->preferred_zoneref;
ac               3593 mm/page_alloc.c 	for_next_zone_zonelist_nodemask(zone, z, ac->zonelist, ac->high_zoneidx,
ac               3594 mm/page_alloc.c 								ac->nodemask) {
ac               3621 mm/page_alloc.c 		if (ac->spread_dirty_pages) {
ac               3632 mm/page_alloc.c 		    zone != ac->preferred_zoneref->zone) {
ac               3640 mm/page_alloc.c 			local_nid = zone_to_nid(ac->preferred_zoneref->zone);
ac               3649 mm/page_alloc.c 				       ac_classzone_idx(ac), alloc_flags)) {
ac               3668 mm/page_alloc.c 			    !zone_allows_reclaim(ac->preferred_zoneref->zone, zone))
ac               3682 mm/page_alloc.c 						ac_classzone_idx(ac), alloc_flags))
ac               3690 mm/page_alloc.c 		page = rmqueue(ac->preferred_zoneref->zone, zone, order,
ac               3691 mm/page_alloc.c 				gfp_mask, alloc_flags, ac->migratetype);
ac               3771 mm/page_alloc.c 			      const struct alloc_context *ac)
ac               3776 mm/page_alloc.c 			alloc_flags|ALLOC_CPUSET, ac);
ac               3783 mm/page_alloc.c 				alloc_flags, ac);
ac               3790 mm/page_alloc.c 	const struct alloc_context *ac, unsigned long *did_some_progress)
ac               3793 mm/page_alloc.c 		.zonelist = ac->zonelist,
ac               3794 mm/page_alloc.c 		.nodemask = ac->nodemask,
ac               3822 mm/page_alloc.c 				      ALLOC_WMARK_HIGH|ALLOC_CPUSET, ac);
ac               3841 mm/page_alloc.c 	if (ac->high_zoneidx < ZONE_NORMAL)
ac               3869 mm/page_alloc.c 					ALLOC_NO_WATERMARKS, ac);
ac               3886 mm/page_alloc.c 		unsigned int alloc_flags, const struct alloc_context *ac,
ac               3899 mm/page_alloc.c 	*compact_result = try_to_compact_pages(gfp_mask, order, alloc_flags, ac,
ac               3917 mm/page_alloc.c 		page = get_page_from_freelist(gfp_mask, order, alloc_flags, ac);
ac               3940 mm/page_alloc.c should_compact_retry(struct alloc_context *ac, int order, int alloc_flags,
ac               3970 mm/page_alloc.c 		ret = compaction_zonelist_suitable(ac, order, alloc_flags);
ac               4019 mm/page_alloc.c 		unsigned int alloc_flags, const struct alloc_context *ac,
ac               4027 mm/page_alloc.c should_compact_retry(struct alloc_context *ac, unsigned int order, int alloc_flags,
ac               4044 mm/page_alloc.c 	for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, ac->high_zoneidx,
ac               4045 mm/page_alloc.c 					ac->nodemask) {
ac               4047 mm/page_alloc.c 					ac_classzone_idx(ac), alloc_flags))
ac               4108 mm/page_alloc.c 					const struct alloc_context *ac)
ac               4122 mm/page_alloc.c 	progress = try_to_free_pages(ac->zonelist, order, gfp_mask,
ac               4123 mm/page_alloc.c 								ac->nodemask);
ac               4137 mm/page_alloc.c 		unsigned int alloc_flags, const struct alloc_context *ac,
ac               4143 mm/page_alloc.c 	*did_some_progress = __perform_reclaim(gfp_mask, order, ac);
ac               4148 mm/page_alloc.c 	page = get_page_from_freelist(gfp_mask, order, alloc_flags, ac);
ac               4156 mm/page_alloc.c 		unreserve_highatomic_pageblock(ac, false);
ac               4166 mm/page_alloc.c 			     const struct alloc_context *ac)
ac               4171 mm/page_alloc.c 	enum zone_type high_zoneidx = ac->high_zoneidx;
ac               4173 mm/page_alloc.c 	for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, high_zoneidx,
ac               4174 mm/page_alloc.c 					ac->nodemask) {
ac               4276 mm/page_alloc.c 		     struct alloc_context *ac, int alloc_flags,
ac               4299 mm/page_alloc.c 		return unreserve_highatomic_pageblock(ac, true);
ac               4308 mm/page_alloc.c 	for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, ac->high_zoneidx,
ac               4309 mm/page_alloc.c 					ac->nodemask) {
ac               4323 mm/page_alloc.c 				ac_classzone_idx(ac), alloc_flags, available);
ac               4366 mm/page_alloc.c check_retry_cpuset(int cpuset_mems_cookie, struct alloc_context *ac)
ac               4379 mm/page_alloc.c 	if (cpusets_enabled() && ac->nodemask &&
ac               4380 mm/page_alloc.c 			!cpuset_nodemask_valid_mems_allowed(ac->nodemask)) {
ac               4381 mm/page_alloc.c 		ac->nodemask = NULL;
ac               4400 mm/page_alloc.c 						struct alloc_context *ac)
ac               4441 mm/page_alloc.c 	ac->preferred_zoneref = first_zones_zonelist(ac->zonelist,
ac               4442 mm/page_alloc.c 					ac->high_zoneidx, ac->nodemask);
ac               4443 mm/page_alloc.c 	if (!ac->preferred_zoneref->zone)
ac               4447 mm/page_alloc.c 		wake_all_kswapds(order, gfp_mask, ac);
ac               4453 mm/page_alloc.c 	page = get_page_from_freelist(gfp_mask, order, alloc_flags, ac);
ac               4468 mm/page_alloc.c 			   (order > 0 && ac->migratetype != MIGRATE_MOVABLE))
ac               4471 mm/page_alloc.c 						alloc_flags, ac,
ac               4529 mm/page_alloc.c 		wake_all_kswapds(order, gfp_mask, ac);
ac               4541 mm/page_alloc.c 		ac->nodemask = NULL;
ac               4542 mm/page_alloc.c 		ac->preferred_zoneref = first_zones_zonelist(ac->zonelist,
ac               4543 mm/page_alloc.c 					ac->high_zoneidx, ac->nodemask);
ac               4547 mm/page_alloc.c 	page = get_page_from_freelist(gfp_mask, order, alloc_flags, ac);
ac               4560 mm/page_alloc.c 	page = __alloc_pages_direct_reclaim(gfp_mask, order, alloc_flags, ac,
ac               4566 mm/page_alloc.c 	page = __alloc_pages_direct_compact(gfp_mask, order, alloc_flags, ac,
ac               4582 mm/page_alloc.c 	if (should_reclaim_retry(gfp_mask, order, ac, alloc_flags,
ac               4593 mm/page_alloc.c 			should_compact_retry(ac, order, alloc_flags,
ac               4600 mm/page_alloc.c 	if (check_retry_cpuset(cpuset_mems_cookie, ac))
ac               4604 mm/page_alloc.c 	page = __alloc_pages_may_oom(gfp_mask, order, ac, &did_some_progress);
ac               4622 mm/page_alloc.c 	if (check_retry_cpuset(cpuset_mems_cookie, ac))
ac               4658 mm/page_alloc.c 		page = __alloc_pages_cpuset_fallback(gfp_mask, order, ALLOC_HARDER, ac);
ac               4666 mm/page_alloc.c 	warn_alloc(gfp_mask, ac->nodemask,
ac               4674 mm/page_alloc.c 		struct alloc_context *ac, gfp_t *alloc_mask,
ac               4677 mm/page_alloc.c 	ac->high_zoneidx = gfp_zone(gfp_mask);
ac               4678 mm/page_alloc.c 	ac->zonelist = node_zonelist(preferred_nid, gfp_mask);
ac               4679 mm/page_alloc.c 	ac->nodemask = nodemask;
ac               4680 mm/page_alloc.c 	ac->migratetype = gfpflags_to_migratetype(gfp_mask);
ac               4684 mm/page_alloc.c 		if (!ac->nodemask)
ac               4685 mm/page_alloc.c 			ac->nodemask = &cpuset_current_mems_allowed;
ac               4698 mm/page_alloc.c 	if (IS_ENABLED(CONFIG_CMA) && ac->migratetype == MIGRATE_MOVABLE)
ac               4705 mm/page_alloc.c static inline void finalise_ac(gfp_t gfp_mask, struct alloc_context *ac)
ac               4708 mm/page_alloc.c 	ac->spread_dirty_pages = (gfp_mask & __GFP_WRITE);
ac               4715 mm/page_alloc.c 	ac->preferred_zoneref = first_zones_zonelist(ac->zonelist,
ac               4716 mm/page_alloc.c 					ac->high_zoneidx, ac->nodemask);
ac               4729 mm/page_alloc.c 	struct alloc_context ac = { };
ac               4742 mm/page_alloc.c 	if (!prepare_alloc_pages(gfp_mask, order, preferred_nid, nodemask, &ac, &alloc_mask, &alloc_flags))
ac               4745 mm/page_alloc.c 	finalise_ac(gfp_mask, &ac);
ac               4751 mm/page_alloc.c 	alloc_flags |= alloc_flags_nofragment(ac.preferred_zoneref->zone, gfp_mask);
ac               4754 mm/page_alloc.c 	page = get_page_from_freelist(alloc_mask, order, alloc_flags, &ac);
ac               4765 mm/page_alloc.c 	ac.spread_dirty_pages = false;
ac               4771 mm/page_alloc.c 	if (unlikely(ac.nodemask != nodemask))
ac               4772 mm/page_alloc.c 		ac.nodemask = nodemask;
ac               4774 mm/page_alloc.c 	page = __alloc_pages_slowpath(alloc_mask, order, &ac);
ac               4783 mm/page_alloc.c 	trace_mm_page_alloc(page, order, alloc_mask, ac.migratetype);
ac                198 mm/slab.c      	struct array_cache ac;
ac                522 mm/slab.c      static void init_arraycache(struct array_cache *ac, int limit, int batch)
ac                524 mm/slab.c      	if (ac) {
ac                525 mm/slab.c      		ac->avail = 0;
ac                526 mm/slab.c      		ac->limit = limit;
ac                527 mm/slab.c      		ac->batchcount = batch;
ac                528 mm/slab.c      		ac->touched = 0;
ac                536 mm/slab.c      	struct array_cache *ac = NULL;
ac                538 mm/slab.c      	ac = kmalloc_node(memsize, gfp, node);
ac                546 mm/slab.c      	kmemleak_no_scan(ac);
ac                547 mm/slab.c      	init_arraycache(ac, entries, batchcount);
ac                548 mm/slab.c      	return ac;
ac                642 mm/slab.c      		init_arraycache(&alc->ac, entries, batch);
ac                685 mm/slab.c      				struct array_cache *ac, int node,
ac                690 mm/slab.c      	if (ac->avail) {
ac                698 mm/slab.c      			transfer_objects(n->shared, ac, ac->limit);
ac                700 mm/slab.c      		free_block(cachep, ac->entry, ac->avail, node, list);
ac                701 mm/slab.c      		ac->avail = 0;
ac                715 mm/slab.c      		struct array_cache *ac;
ac                718 mm/slab.c      			ac = &alc->ac;
ac                719 mm/slab.c      			if (ac->avail && spin_trylock_irq(&alc->lock)) {
ac                722 mm/slab.c      				__drain_alien_cache(cachep, ac, node, &list);
ac                735 mm/slab.c      	struct array_cache *ac;
ac                743 mm/slab.c      			ac = &alc->ac;
ac                745 mm/slab.c      			__drain_alien_cache(cachep, ac, i, &list);
ac                757 mm/slab.c      	struct array_cache *ac;
ac                764 mm/slab.c      		ac = &alien->ac;
ac                766 mm/slab.c      		if (unlikely(ac->avail == ac->limit)) {
ac                768 mm/slab.c      			__drain_alien_cache(cachep, ac, page_node, &list);
ac                770 mm/slab.c      		ac->entry[ac->avail++] = objp;
ac               2119 mm/slab.c      static void drain_array_locked(struct kmem_cache *cachep, struct array_cache *ac,
ac               2124 mm/slab.c      	if (!ac || !ac->avail)
ac               2127 mm/slab.c      	tofree = free_all ? ac->avail : (ac->limit + 4) / 5;
ac               2128 mm/slab.c      	if (tofree > ac->avail)
ac               2129 mm/slab.c      		tofree = (ac->avail + 1) / 2;
ac               2131 mm/slab.c      	free_block(cachep, ac->entry, tofree, node, list);
ac               2132 mm/slab.c      	ac->avail -= tofree;
ac               2133 mm/slab.c      	memmove(ac->entry, &(ac->entry[tofree]), sizeof(void *) * ac->avail);
ac               2139 mm/slab.c      	struct array_cache *ac;
ac               2145 mm/slab.c      	ac = cpu_cache_get(cachep);
ac               2148 mm/slab.c      	free_block(cachep, ac->entry, ac->avail, node, &list);
ac               2151 mm/slab.c      	ac->avail = 0;
ac               2886 mm/slab.c      		struct array_cache *ac, struct page *page, int batchcount)
ac               2899 mm/slab.c      		ac->entry[ac->avail++] = slab_get_obj(cachep, page);
ac               2909 mm/slab.c      	struct array_cache *ac, *shared;
ac               2917 mm/slab.c      	ac = cpu_cache_get(cachep);
ac               2918 mm/slab.c      	batchcount = ac->batchcount;
ac               2919 mm/slab.c      	if (!ac->touched && batchcount > BATCHREFILL_LIMIT) {
ac               2929 mm/slab.c      	BUG_ON(ac->avail > 0 || !n);
ac               2938 mm/slab.c      	if (shared && transfer_objects(ac, shared, batchcount)) {
ac               2951 mm/slab.c      		batchcount = alloc_block(cachep, ac, page, batchcount);
ac               2956 mm/slab.c      	n->free_objects -= ac->avail;
ac               2962 mm/slab.c      	if (unlikely(!ac->avail)) {
ac               2977 mm/slab.c      		ac = cpu_cache_get(cachep);
ac               2978 mm/slab.c      		if (!ac->avail && page)
ac               2979 mm/slab.c      			alloc_block(cachep, ac, page, batchcount);
ac               2982 mm/slab.c      		if (!ac->avail)
ac               2985 mm/slab.c      	ac->touched = 1;
ac               2987 mm/slab.c      	return ac->entry[--ac->avail];
ac               3040 mm/slab.c      	struct array_cache *ac;
ac               3044 mm/slab.c      	ac = cpu_cache_get(cachep);
ac               3045 mm/slab.c      	if (likely(ac->avail)) {
ac               3046 mm/slab.c      		ac->touched = 1;
ac               3047 mm/slab.c      		objp = ac->entry[--ac->avail];
ac               3059 mm/slab.c      	ac = cpu_cache_get(cachep);
ac               3068 mm/slab.c      		kmemleak_erase(&ac->entry[ac->avail]);
ac               3371 mm/slab.c      static void cache_flusharray(struct kmem_cache *cachep, struct array_cache *ac)
ac               3378 mm/slab.c      	batchcount = ac->batchcount;
ac               3390 mm/slab.c      			       ac->entry, sizeof(void *) * batchcount);
ac               3396 mm/slab.c      	free_block(cachep, ac->entry, batchcount, node, &list);
ac               3413 mm/slab.c      	ac->avail -= batchcount;
ac               3414 mm/slab.c      	memmove(ac->entry, &(ac->entry[batchcount]), sizeof(void *)*ac->avail);
ac               3434 mm/slab.c      	struct array_cache *ac = cpu_cache_get(cachep);
ac               3452 mm/slab.c      	if (ac->avail < ac->limit) {
ac               3456 mm/slab.c      		cache_flusharray(cachep, ac);
ac               3468 mm/slab.c      	ac->entry[ac->avail++] = objp;
ac               3829 mm/slab.c      		struct array_cache *ac = per_cpu_ptr(prev, cpu);
ac               3834 mm/slab.c      		free_block(cachep, ac->entry, ac->avail, node, &list);
ac               3945 mm/slab.c      			 struct array_cache *ac, int node)
ac               3952 mm/slab.c      	if (!ac || !ac->avail)
ac               3955 mm/slab.c      	if (ac->touched) {
ac               3956 mm/slab.c      		ac->touched = 0;
ac               3961 mm/slab.c      	drain_array_locked(cachep, ac, node, false, &list);
ac                 24 net/ceph/auth.c static int ceph_auth_init_protocol(struct ceph_auth_client *ac, int protocol)
ac                 28 net/ceph/auth.c 		return ceph_auth_none_init(ac);
ac                 30 net/ceph/auth.c 		return ceph_x_init(ac);
ac                 41 net/ceph/auth.c 	struct ceph_auth_client *ac;
ac                 47 net/ceph/auth.c 	ac = kzalloc(sizeof(*ac), GFP_NOFS);
ac                 48 net/ceph/auth.c 	if (!ac)
ac                 51 net/ceph/auth.c 	mutex_init(&ac->mutex);
ac                 52 net/ceph/auth.c 	ac->negotiating = true;
ac                 54 net/ceph/auth.c 		ac->name = name;
ac                 56 net/ceph/auth.c 		ac->name = CEPH_AUTH_NAME_DEFAULT;
ac                 57 net/ceph/auth.c 	dout("auth_init name %s\n", ac->name);
ac                 58 net/ceph/auth.c 	ac->key = key;
ac                 59 net/ceph/auth.c 	return ac;
ac                 65 net/ceph/auth.c void ceph_auth_destroy(struct ceph_auth_client *ac)
ac                 67 net/ceph/auth.c 	dout("auth_destroy %p\n", ac);
ac                 68 net/ceph/auth.c 	if (ac->ops)
ac                 69 net/ceph/auth.c 		ac->ops->destroy(ac);
ac                 70 net/ceph/auth.c 	kfree(ac);
ac                 76 net/ceph/auth.c void ceph_auth_reset(struct ceph_auth_client *ac)
ac                 78 net/ceph/auth.c 	mutex_lock(&ac->mutex);
ac                 79 net/ceph/auth.c 	dout("auth_reset %p\n", ac);
ac                 80 net/ceph/auth.c 	if (ac->ops && !ac->negotiating)
ac                 81 net/ceph/auth.c 		ac->ops->reset(ac);
ac                 82 net/ceph/auth.c 	ac->negotiating = true;
ac                 83 net/ceph/auth.c 	mutex_unlock(&ac->mutex);
ac                105 net/ceph/auth.c int ceph_auth_build_hello(struct ceph_auth_client *ac, void *buf, size_t len)
ac                112 net/ceph/auth.c 	mutex_lock(&ac->mutex);
ac                131 net/ceph/auth.c 	ret = ceph_auth_entity_name_encode(ac->name, &p, end);
ac                135 net/ceph/auth.c 	ceph_encode_64(&p, ac->global_id);
ac                140 net/ceph/auth.c 	mutex_unlock(&ac->mutex);
ac                148 net/ceph/auth.c static int ceph_build_auth_request(struct ceph_auth_client *ac,
ac                160 net/ceph/auth.c 	ceph_encode_32(&p, ac->protocol);
ac                162 net/ceph/auth.c 	ret = ac->ops->build_request(ac, p + sizeof(u32), end);
ac                165 net/ceph/auth.c 		       ac->ops->name);
ac                178 net/ceph/auth.c int ceph_handle_auth_reply(struct ceph_auth_client *ac,
ac                193 net/ceph/auth.c 	mutex_lock(&ac->mutex);
ac                214 net/ceph/auth.c 	if (global_id && ac->global_id != global_id) {
ac                215 net/ceph/auth.c 		dout(" set global_id %lld -> %lld\n", ac->global_id, global_id);
ac                216 net/ceph/auth.c 		ac->global_id = global_id;
ac                219 net/ceph/auth.c 	if (ac->negotiating) {
ac                226 net/ceph/auth.c 		if (ac->protocol && ac->protocol != protocol) {
ac                227 net/ceph/auth.c 			ac->ops->destroy(ac);
ac                228 net/ceph/auth.c 			ac->protocol = 0;
ac                229 net/ceph/auth.c 			ac->ops = NULL;
ac                231 net/ceph/auth.c 		if (ac->protocol != protocol) {
ac                232 net/ceph/auth.c 			ret = ceph_auth_init_protocol(ac, protocol);
ac                240 net/ceph/auth.c 		ac->negotiating = false;
ac                243 net/ceph/auth.c 	ret = ac->ops->handle_reply(ac, result, payload, payload_end);
ac                245 net/ceph/auth.c 		ret = ceph_build_auth_request(ac, reply_buf, reply_len);
ac                247 net/ceph/auth.c 		pr_err("auth method '%s' error %d\n", ac->ops->name, ret);
ac                251 net/ceph/auth.c 	mutex_unlock(&ac->mutex);
ac                260 net/ceph/auth.c int ceph_build_auth(struct ceph_auth_client *ac,
ac                265 net/ceph/auth.c 	mutex_lock(&ac->mutex);
ac                266 net/ceph/auth.c 	if (ac->ops->should_authenticate(ac))
ac                267 net/ceph/auth.c 		ret = ceph_build_auth_request(ac, msg_buf, msg_len);
ac                268 net/ceph/auth.c 	mutex_unlock(&ac->mutex);
ac                272 net/ceph/auth.c int ceph_auth_is_authenticated(struct ceph_auth_client *ac)
ac                276 net/ceph/auth.c 	mutex_lock(&ac->mutex);
ac                277 net/ceph/auth.c 	if (ac->ops)
ac                278 net/ceph/auth.c 		ret = ac->ops->is_authenticated(ac);
ac                279 net/ceph/auth.c 	mutex_unlock(&ac->mutex);
ac                284 net/ceph/auth.c int ceph_auth_create_authorizer(struct ceph_auth_client *ac,
ac                290 net/ceph/auth.c 	mutex_lock(&ac->mutex);
ac                291 net/ceph/auth.c 	if (ac->ops && ac->ops->create_authorizer)
ac                292 net/ceph/auth.c 		ret = ac->ops->create_authorizer(ac, peer_type, auth);
ac                293 net/ceph/auth.c 	mutex_unlock(&ac->mutex);
ac                304 net/ceph/auth.c int ceph_auth_update_authorizer(struct ceph_auth_client *ac,
ac                310 net/ceph/auth.c 	mutex_lock(&ac->mutex);
ac                311 net/ceph/auth.c 	if (ac->ops && ac->ops->update_authorizer)
ac                312 net/ceph/auth.c 		ret = ac->ops->update_authorizer(ac, peer_type, a);
ac                313 net/ceph/auth.c 	mutex_unlock(&ac->mutex);
ac                318 net/ceph/auth.c int ceph_auth_add_authorizer_challenge(struct ceph_auth_client *ac,
ac                325 net/ceph/auth.c 	mutex_lock(&ac->mutex);
ac                326 net/ceph/auth.c 	if (ac->ops && ac->ops->add_authorizer_challenge)
ac                327 net/ceph/auth.c 		ret = ac->ops->add_authorizer_challenge(ac, a, challenge_buf,
ac                329 net/ceph/auth.c 	mutex_unlock(&ac->mutex);
ac                334 net/ceph/auth.c int ceph_auth_verify_authorizer_reply(struct ceph_auth_client *ac,
ac                339 net/ceph/auth.c 	mutex_lock(&ac->mutex);
ac                340 net/ceph/auth.c 	if (ac->ops && ac->ops->verify_authorizer_reply)
ac                341 net/ceph/auth.c 		ret = ac->ops->verify_authorizer_reply(ac, a);
ac                342 net/ceph/auth.c 	mutex_unlock(&ac->mutex);
ac                347 net/ceph/auth.c void ceph_auth_invalidate_authorizer(struct ceph_auth_client *ac, int peer_type)
ac                349 net/ceph/auth.c 	mutex_lock(&ac->mutex);
ac                350 net/ceph/auth.c 	if (ac->ops && ac->ops->invalidate_authorizer)
ac                351 net/ceph/auth.c 		ac->ops->invalidate_authorizer(ac, peer_type);
ac                352 net/ceph/auth.c 	mutex_unlock(&ac->mutex);
ac                 15 net/ceph/auth_none.c static void reset(struct ceph_auth_client *ac)
ac                 17 net/ceph/auth_none.c 	struct ceph_auth_none_info *xi = ac->private;
ac                 22 net/ceph/auth_none.c static void destroy(struct ceph_auth_client *ac)
ac                 24 net/ceph/auth_none.c 	kfree(ac->private);
ac                 25 net/ceph/auth_none.c 	ac->private = NULL;
ac                 28 net/ceph/auth_none.c static int is_authenticated(struct ceph_auth_client *ac)
ac                 30 net/ceph/auth_none.c 	struct ceph_auth_none_info *xi = ac->private;
ac                 35 net/ceph/auth_none.c static int should_authenticate(struct ceph_auth_client *ac)
ac                 37 net/ceph/auth_none.c 	struct ceph_auth_none_info *xi = ac->private;
ac                 42 net/ceph/auth_none.c static int ceph_auth_none_build_authorizer(struct ceph_auth_client *ac,
ac                 50 net/ceph/auth_none.c 	ret = ceph_auth_entity_name_encode(ac->name, &p, end);
ac                 54 net/ceph/auth_none.c 	ceph_encode_64_safe(&p, end, ac->global_id, e_range);
ac                 63 net/ceph/auth_none.c static int build_request(struct ceph_auth_client *ac, void *buf, void *end)
ac                 72 net/ceph/auth_none.c static int handle_reply(struct ceph_auth_client *ac, int result,
ac                 75 net/ceph/auth_none.c 	struct ceph_auth_none_info *xi = ac->private;
ac                 91 net/ceph/auth_none.c 	struct ceph_auth_client *ac, int peer_type,
ac                103 net/ceph/auth_none.c 	ret = ceph_auth_none_build_authorizer(ac, au);
ac                129 net/ceph/auth_none.c int ceph_auth_none_init(struct ceph_auth_client *ac)
ac                133 net/ceph/auth_none.c 	dout("ceph_auth_none_init %p\n", ac);
ac                140 net/ceph/auth_none.c 	ac->protocol = CEPH_AUTH_NONE;
ac                141 net/ceph/auth_none.c 	ac->private = xi;
ac                142 net/ceph/auth_none.c 	ac->ops = &ceph_auth_none_ops;
ac                 26 net/ceph/auth_none.h int ceph_auth_none_init(struct ceph_auth_client *ac);
ac                 20 net/ceph/auth_x.c static void ceph_x_validate_tickets(struct ceph_auth_client *ac, int *pneed);
ac                 22 net/ceph/auth_x.c static int ceph_x_is_authenticated(struct ceph_auth_client *ac)
ac                 24 net/ceph/auth_x.c 	struct ceph_x_info *xi = ac->private;
ac                 27 net/ceph/auth_x.c 	ceph_x_validate_tickets(ac, &need);
ac                 29 net/ceph/auth_x.c 	     ac->want_keys, need, xi->have_keys);
ac                 30 net/ceph/auth_x.c 	return (ac->want_keys & xi->have_keys) == ac->want_keys;
ac                 33 net/ceph/auth_x.c static int ceph_x_should_authenticate(struct ceph_auth_client *ac)
ac                 35 net/ceph/auth_x.c 	struct ceph_x_info *xi = ac->private;
ac                 38 net/ceph/auth_x.c 	ceph_x_validate_tickets(ac, &need);
ac                 40 net/ceph/auth_x.c 	     ac->want_keys, need, xi->have_keys);
ac                117 net/ceph/auth_x.c get_ticket_handler(struct ceph_auth_client *ac, int service)
ac                120 net/ceph/auth_x.c 	struct ceph_x_info *xi = ac->private;
ac                144 net/ceph/auth_x.c static void remove_ticket_handler(struct ceph_auth_client *ac,
ac                147 net/ceph/auth_x.c 	struct ceph_x_info *xi = ac->private;
ac                157 net/ceph/auth_x.c static int process_one_ticket(struct ceph_auth_client *ac,
ac                161 net/ceph/auth_x.c 	struct ceph_x_info *xi = ac->private;
ac                186 net/ceph/auth_x.c 	th = get_ticket_handler(ac, type);
ac                266 net/ceph/auth_x.c static int ceph_x_proc_ticket_reply(struct ceph_auth_client *ac,
ac                283 net/ceph/auth_x.c 		ret = process_one_ticket(ac, secret, &p, end);
ac                348 net/ceph/auth_x.c static int ceph_x_build_authorizer(struct ceph_auth_client *ac,
ac                386 net/ceph/auth_x.c 	msg_a->global_id = cpu_to_le64(ac->global_id);
ac                453 net/ceph/auth_x.c static void ceph_x_validate_tickets(struct ceph_auth_client *ac, int *pneed)
ac                455 net/ceph/auth_x.c 	int want = ac->want_keys;
ac                456 net/ceph/auth_x.c 	struct ceph_x_info *xi = ac->private;
ac                459 net/ceph/auth_x.c 	*pneed = ac->want_keys & ~(xi->have_keys);
ac                464 net/ceph/auth_x.c 		if (!(ac->want_keys & service))
ac                470 net/ceph/auth_x.c 		th = get_ticket_handler(ac, service);
ac                483 net/ceph/auth_x.c static int ceph_x_build_request(struct ceph_auth_client *ac,
ac                486 net/ceph/auth_x.c 	struct ceph_x_info *xi = ac->private;
ac                491 net/ceph/auth_x.c 		get_ticket_handler(ac, CEPH_ENTITY_TYPE_AUTH);
ac                496 net/ceph/auth_x.c 	ceph_x_validate_tickets(ac, &need);
ac                499 net/ceph/auth_x.c 	     ac->want_keys, xi->have_keys, need);
ac                548 net/ceph/auth_x.c 		ret = ceph_x_build_authorizer(ac, th, &xi->auth_authorizer);
ac                563 net/ceph/auth_x.c static int ceph_x_handle_reply(struct ceph_auth_client *ac, int result,
ac                566 net/ceph/auth_x.c 	struct ceph_x_info *xi = ac->private;
ac                596 net/ceph/auth_x.c 		ret = ceph_x_proc_ticket_reply(ac, &xi->secret,
ac                601 net/ceph/auth_x.c 		th = get_ticket_handler(ac, CEPH_ENTITY_TYPE_AUTH);
ac                604 net/ceph/auth_x.c 		ret = ceph_x_proc_ticket_reply(ac, &th->session_key,
ac                613 net/ceph/auth_x.c 	if (ac->want_keys == xi->have_keys)
ac                627 net/ceph/auth_x.c 	struct ceph_auth_client *ac, int peer_type,
ac                634 net/ceph/auth_x.c 	th = get_ticket_handler(ac, peer_type);
ac                644 net/ceph/auth_x.c 	ret = ceph_x_build_authorizer(ac, th, au);
ac                655 net/ceph/auth_x.c 	auth->sign_message = ac->ops->sign_message;
ac                656 net/ceph/auth_x.c 	auth->check_message_signature = ac->ops->check_message_signature;
ac                662 net/ceph/auth_x.c 	struct ceph_auth_client *ac, int peer_type,
ac                668 net/ceph/auth_x.c 	th = get_ticket_handler(ac, peer_type);
ac                676 net/ceph/auth_x.c 		return ceph_x_build_authorizer(ac, th, au);
ac                704 net/ceph/auth_x.c static int ceph_x_add_authorizer_challenge(struct ceph_auth_client *ac,
ac                729 net/ceph/auth_x.c static int ceph_x_verify_authorizer_reply(struct ceph_auth_client *ac,
ac                754 net/ceph/auth_x.c static void ceph_x_reset(struct ceph_auth_client *ac)
ac                756 net/ceph/auth_x.c 	struct ceph_x_info *xi = ac->private;
ac                763 net/ceph/auth_x.c static void ceph_x_destroy(struct ceph_auth_client *ac)
ac                765 net/ceph/auth_x.c 	struct ceph_x_info *xi = ac->private;
ac                768 net/ceph/auth_x.c 	dout("ceph_x_destroy %p\n", ac);
ac                774 net/ceph/auth_x.c 		remove_ticket_handler(ac, th);
ac                779 net/ceph/auth_x.c 	kfree(ac->private);
ac                780 net/ceph/auth_x.c 	ac->private = NULL;
ac                783 net/ceph/auth_x.c static void invalidate_ticket(struct ceph_auth_client *ac, int peer_type)
ac                787 net/ceph/auth_x.c 	th = get_ticket_handler(ac, peer_type);
ac                792 net/ceph/auth_x.c static void ceph_x_invalidate_authorizer(struct ceph_auth_client *ac,
ac                801 net/ceph/auth_x.c 	invalidate_ticket(ac, peer_type);
ac                802 net/ceph/auth_x.c 	invalidate_ticket(ac, CEPH_ENTITY_TYPE_AUTH);
ac                931 net/ceph/auth_x.c int ceph_x_init(struct ceph_auth_client *ac)
ac                936 net/ceph/auth_x.c 	dout("ceph_x_init %p\n", ac);
ac                943 net/ceph/auth_x.c 	if (!ac->key) {
ac                948 net/ceph/auth_x.c 	ret = ceph_crypto_key_clone(&xi->secret, ac->key);
ac                957 net/ceph/auth_x.c 	ac->protocol = CEPH_AUTH_CEPHX;
ac                958 net/ceph/auth_x.c 	ac->private = xi;
ac                959 net/ceph/auth_x.c 	ac->ops = &ceph_x_ops;
ac                 52 net/ceph/auth_x.h int ceph_x_init(struct ceph_auth_client *ac);
ac               5582 net/ceph/osd_client.c 	struct ceph_auth_client *ac = osdc->client->monc.auth;
ac               5590 net/ceph/osd_client.c 		int ret = ceph_auth_create_authorizer(ac, CEPH_ENTITY_TYPE_OSD,
ac               5595 net/ceph/osd_client.c 		int ret = ceph_auth_update_authorizer(ac, CEPH_ENTITY_TYPE_OSD,
ac               5600 net/ceph/osd_client.c 	*proto = ac->protocol;
ac               5610 net/ceph/osd_client.c 	struct ceph_auth_client *ac = osdc->client->monc.auth;
ac               5612 net/ceph/osd_client.c 	return ceph_auth_add_authorizer_challenge(ac, o->o_auth.authorizer,
ac               5620 net/ceph/osd_client.c 	struct ceph_auth_client *ac = osdc->client->monc.auth;
ac               5622 net/ceph/osd_client.c 	return ceph_auth_verify_authorizer_reply(ac, o->o_auth.authorizer);
ac               5629 net/ceph/osd_client.c 	struct ceph_auth_client *ac = osdc->client->monc.auth;
ac               5631 net/ceph/osd_client.c 	ceph_auth_invalidate_authorizer(ac, CEPH_ENTITY_TYPE_OSD);
ac                246 net/ipv6/anycast.c static void aca_put(struct ifacaddr6 *ac)
ac                248 net/ipv6/anycast.c 	if (refcount_dec_and_test(&ac->aca_refcnt)) {
ac                249 net/ipv6/anycast.c 		call_rcu(&ac->rcu, aca_free_rcu);
ac               2259 net/mac80211/cfg.c 	ieee80211_regulatory_limit_wmm_params(sdata, &p, params->ac);
ac               2261 net/mac80211/cfg.c 	sdata->tx_conf[params->ac] = p;
ac               2262 net/mac80211/cfg.c 	if (drv_conf_tx(local, sdata, params->ac, &p)) {
ac               2265 net/mac80211/cfg.c 			    params->ac);
ac               3711 net/mac80211/cfg.c 	int ac = ieee802_1d_to_ac[up];
ac               3719 net/mac80211/cfg.c 	if (ifmgd->tx_tspec[ac].admitted_time)
ac               3723 net/mac80211/cfg.c 		ifmgd->tx_tspec[ac].admitted_time = 32 * admitted_time;
ac               3724 net/mac80211/cfg.c 		ifmgd->tx_tspec[ac].tsid = tsid;
ac               3725 net/mac80211/cfg.c 		ifmgd->tx_tspec[ac].up = up;
ac               3737 net/mac80211/cfg.c 	int ac;
ac               3739 net/mac80211/cfg.c 	for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) {
ac               3740 net/mac80211/cfg.c 		struct ieee80211_sta_tx_tspec *tx_tspec = &ifmgd->tx_tspec[ac];
ac                505 net/mac80211/debugfs_netdev.c 			txqi->txq.ac,
ac                111 net/mac80211/debugfs_sta.c 	int ac;
ac                113 net/mac80211/debugfs_sta.c 	for (ac = 0; ac < IEEE80211_NUM_ACS; ac++)
ac                114 net/mac80211/debugfs_sta.c 		p += scnprintf(p, sizeof(buf)+buf-p, "AC%d: %d\n", ac,
ac                115 net/mac80211/debugfs_sta.c 			       skb_queue_len(&sta->ps_tx_buf[ac]) +
ac                116 net/mac80211/debugfs_sta.c 			       skb_queue_len(&sta->tx_filtered[ac]));
ac                171 net/mac80211/debugfs_sta.c 			       txqi->txq.ac,
ac                206 net/mac80211/debugfs_sta.c 	int ac;
ac                211 net/mac80211/debugfs_sta.c 	for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) {
ac                212 net/mac80211/debugfs_sta.c 		spin_lock_bh(&local->active_txq_lock[ac]);
ac                213 net/mac80211/debugfs_sta.c 		rx_airtime += sta->airtime[ac].rx_airtime;
ac                214 net/mac80211/debugfs_sta.c 		tx_airtime += sta->airtime[ac].tx_airtime;
ac                215 net/mac80211/debugfs_sta.c 		deficit[ac] = sta->airtime[ac].deficit;
ac                216 net/mac80211/debugfs_sta.c 		spin_unlock_bh(&local->active_txq_lock[ac]);
ac                240 net/mac80211/debugfs_sta.c 	int ac;
ac                242 net/mac80211/debugfs_sta.c 	for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) {
ac                243 net/mac80211/debugfs_sta.c 		spin_lock_bh(&local->active_txq_lock[ac]);
ac                244 net/mac80211/debugfs_sta.c 		sta->airtime[ac].rx_airtime = 0;
ac                245 net/mac80211/debugfs_sta.c 		sta->airtime[ac].tx_airtime = 0;
ac                246 net/mac80211/debugfs_sta.c 		sta->airtime[ac].deficit = sta->airtime_weight;
ac                247 net/mac80211/debugfs_sta.c 		spin_unlock_bh(&local->active_txq_lock[ac]);
ac                180 net/mac80211/driver-ops.c 		struct ieee80211_sub_if_data *sdata, u16 ac,
ac                201 net/mac80211/driver-ops.c 	trace_drv_conf_tx(local, sdata, ac, params);
ac                204 net/mac80211/driver-ops.c 					  ac, params);
ac                572 net/mac80211/driver-ops.h 		struct ieee80211_sub_if_data *sdata, u16 ac,
ac               1936 net/mac80211/ieee80211_i.h 					   int ac);
ac                739 net/mac80211/iface.c 		int ac;
ac                748 net/mac80211/iface.c 			for (ac = 0; ac < n_acs; ac++) {
ac                749 net/mac80211/iface.c 				int ac_queue = sdata->vif.hw_queue[ac];
ac                753 net/mac80211/iface.c 					netif_start_subqueue(dev, ac);
ac                449 net/mac80211/mesh_ps.c 	int ac;
ac                457 net/mac80211/mesh_ps.c 	for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) {
ac                459 net/mac80211/mesh_ps.c 			skb = skb_dequeue(&sta->tx_filtered[ac]);
ac                462 net/mac80211/mesh_ps.c 					&sta->ps_tx_buf[ac]);
ac                472 net/mac80211/mesh_ps.c 		if (!skb_queue_empty(&sta->tx_filtered[ac]) ||
ac                473 net/mac80211/mesh_ps.c 		    !skb_queue_empty(&sta->ps_tx_buf[ac]))
ac                574 net/mac80211/mesh_ps.c 	int ac, buffer_local = 0;
ac                591 net/mac80211/mesh_ps.c 		for (ac = 0; ac < IEEE80211_NUM_ACS; ac++)
ac                592 net/mac80211/mesh_ps.c 			buffer_local += skb_queue_len(&sta->ps_tx_buf[ac]) +
ac                593 net/mac80211/mesh_ps.c 					skb_queue_len(&sta->tx_filtered[ac]);
ac               1838 net/mac80211/mlme.c 	int ac;
ac               1843 net/mac80211/mlme.c 	for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) {
ac               1844 net/mac80211/mlme.c 		struct ieee80211_sta_tx_tspec *tx_tspec = &ifmgd->tx_tspec[ac];
ac               1862 net/mac80211/mlme.c 			if (drv_conf_tx(local, sdata, ac, &sdata->tx_conf[ac]))
ac               1865 net/mac80211/mlme.c 					  ac);
ac               1877 net/mac80211/mlme.c 			for (non_acm_ac = ac + 1;
ac               1891 net/mac80211/mlme.c 			if (drv_conf_tx(local, sdata, ac,
ac               1895 net/mac80211/mlme.c 					  ac);
ac               1935 net/mac80211/mlme.c 	int count, mu_edca_count, ac;
ac               1979 net/mac80211/mlme.c 			ac = IEEE80211_AC_BK;
ac               1984 net/mac80211/mlme.c 			params[ac].mu_edca = !!mu_edca;
ac               1986 net/mac80211/mlme.c 				params[ac].mu_edca_param_rec = mu_edca->ac_bk;
ac               1989 net/mac80211/mlme.c 			ac = IEEE80211_AC_VI;
ac               1994 net/mac80211/mlme.c 			params[ac].mu_edca = !!mu_edca;
ac               1996 net/mac80211/mlme.c 				params[ac].mu_edca_param_rec = mu_edca->ac_vi;
ac               1999 net/mac80211/mlme.c 			ac = IEEE80211_AC_VO;
ac               2004 net/mac80211/mlme.c 			params[ac].mu_edca = !!mu_edca;
ac               2006 net/mac80211/mlme.c 				params[ac].mu_edca_param_rec = mu_edca->ac_vo;
ac               2010 net/mac80211/mlme.c 			ac = IEEE80211_AC_BE;
ac               2015 net/mac80211/mlme.c 			params[ac].mu_edca = !!mu_edca;
ac               2017 net/mac80211/mlme.c 				params[ac].mu_edca_param_rec = mu_edca->ac_be;
ac               2021 net/mac80211/mlme.c 		params[ac].aifs = pos[0] & 0x0f;
ac               2023 net/mac80211/mlme.c 		if (params[ac].aifs < 2) {
ac               2026 net/mac80211/mlme.c 				   params[ac].aifs, aci);
ac               2027 net/mac80211/mlme.c 			params[ac].aifs = 2;
ac               2029 net/mac80211/mlme.c 		params[ac].cw_max = ecw2cw((pos[1] & 0xf0) >> 4);
ac               2030 net/mac80211/mlme.c 		params[ac].cw_min = ecw2cw(pos[1] & 0x0f);
ac               2031 net/mac80211/mlme.c 		params[ac].txop = get_unaligned_le16(pos + 2);
ac               2032 net/mac80211/mlme.c 		params[ac].acm = acm;
ac               2033 net/mac80211/mlme.c 		params[ac].uapsd = uapsd;
ac               2035 net/mac80211/mlme.c 		if (params[ac].cw_min == 0 ||
ac               2036 net/mac80211/mlme.c 		    params[ac].cw_min > params[ac].cw_max) {
ac               2039 net/mac80211/mlme.c 				   params[ac].cw_min, params[ac].cw_max, aci);
ac               2042 net/mac80211/mlme.c 		ieee80211_regulatory_limit_wmm_params(sdata, &params[ac], ac);
ac               2046 net/mac80211/mlme.c 	for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) {
ac               2047 net/mac80211/mlme.c 		if (params[ac].cw_min == 0) {
ac               2050 net/mac80211/mlme.c 				   ac);
ac               2055 net/mac80211/mlme.c 	for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) {
ac               2058 net/mac80211/mlme.c 			 ac, params[ac].acm,
ac               2059 net/mac80211/mlme.c 			 params[ac].aifs, params[ac].cw_min, params[ac].cw_max,
ac               2060 net/mac80211/mlme.c 			 params[ac].txop, params[ac].uapsd,
ac               2061 net/mac80211/mlme.c 			 ifmgd->tx_tspec[ac].downgraded);
ac               2062 net/mac80211/mlme.c 		sdata->tx_conf[ac] = params[ac];
ac               2063 net/mac80211/mlme.c 		if (!ifmgd->tx_tspec[ac].downgraded &&
ac               2064 net/mac80211/mlme.c 		    drv_conf_tx(local, sdata, ac, &params[ac]))
ac               2067 net/mac80211/mlme.c 				  ac);
ac               2426 net/mac80211/mlme.c 	int ac = ieee80211_ac_from_tid(tid);
ac               2427 net/mac80211/mlme.c 	struct ieee80211_sta_tx_tspec *tx_tspec = &ifmgd->tx_tspec[ac];
ac               3529 net/mac80211/mlme.c 	int ac, uapsd_queues = -1;
ac               3616 net/mac80211/mlme.c 		for (ac = 0; ac < IEEE80211_NUM_ACS; ac++)
ac               3617 net/mac80211/mlme.c 			if (sdata->tx_conf[ac].uapsd)
ac               3618 net/mac80211/mlme.c 				uapsd_queues |= ieee80211_ac_to_qos_mask[ac];
ac               1590 net/mac80211/rx.c 		spin_lock(&local->active_txq_lock[txq->ac]);
ac               1593 net/mac80211/rx.c 		spin_unlock(&local->active_txq_lock[txq->ac]);
ac               1663 net/mac80211/rx.c 	int ac = ieee80211_ac_from_tid(tid);
ac               1673 net/mac80211/rx.c 	if (!(sta->sta.uapsd_queues & ieee80211_ac_to_qos_mask[ac]) &&
ac               2674 net/mac80211/rx.c 	u16 ac, q, hdrlen;
ac               2746 net/mac80211/rx.c 	ac = ieee80211_select_queue_80211(sdata, skb, hdr);
ac               2747 net/mac80211/rx.c 	q = sdata->vif.hw_queue[ac];
ac                 86 net/mac80211/sta_info.c 	int ac, i;
ac                123 net/mac80211/sta_info.c 	for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) {
ac                124 net/mac80211/sta_info.c 		local->total_ps_buffered -= skb_queue_len(&sta->ps_tx_buf[ac]);
ac                125 net/mac80211/sta_info.c 		ieee80211_purge_tx_queue(&local->hw, &sta->ps_tx_buf[ac]);
ac                126 net/mac80211/sta_info.c 		ieee80211_purge_tx_queue(&local->hw, &sta->tx_filtered[ac]);
ac                743 net/mac80211/sta_info.c static unsigned long ieee80211_tids_for_ac(int ac)
ac                746 net/mac80211/sta_info.c 	switch (ac) {
ac                767 net/mac80211/sta_info.c 	int ac;
ac                803 net/mac80211/sta_info.c 	for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) {
ac                806 net/mac80211/sta_info.c 		if (ignore_for_tim & ieee80211_ac_to_qos_mask[ac])
ac                809 net/mac80211/sta_info.c 		indicate_tim |= !skb_queue_empty(&sta->tx_filtered[ac]) ||
ac                810 net/mac80211/sta_info.c 				!skb_queue_empty(&sta->ps_tx_buf[ac]);
ac                814 net/mac80211/sta_info.c 		tids = ieee80211_tids_for_ac(ac);
ac                869 net/mac80211/sta_info.c 						struct sta_info *sta, int ac)
ac                882 net/mac80211/sta_info.c 		spin_lock_irqsave(&sta->tx_filtered[ac].lock, flags);
ac                883 net/mac80211/sta_info.c 		skb = skb_peek(&sta->tx_filtered[ac]);
ac                885 net/mac80211/sta_info.c 			skb = __skb_dequeue(&sta->tx_filtered[ac]);
ac                888 net/mac80211/sta_info.c 		spin_unlock_irqrestore(&sta->tx_filtered[ac].lock, flags);
ac                908 net/mac80211/sta_info.c 		spin_lock_irqsave(&sta->ps_tx_buf[ac].lock, flags);
ac                909 net/mac80211/sta_info.c 		skb = skb_peek(&sta->ps_tx_buf[ac]);
ac                911 net/mac80211/sta_info.c 			skb = __skb_dequeue(&sta->ps_tx_buf[ac]);
ac                914 net/mac80211/sta_info.c 		spin_unlock_irqrestore(&sta->ps_tx_buf[ac].lock, flags);
ac                942 net/mac80211/sta_info.c 	return !(skb_queue_empty(&sta->ps_tx_buf[ac]) &&
ac                943 net/mac80211/sta_info.c 		 skb_queue_empty(&sta->tx_filtered[ac]));
ac                950 net/mac80211/sta_info.c 	int ac;
ac                957 net/mac80211/sta_info.c 	for (ac = 0; ac < IEEE80211_NUM_ACS; ac++)
ac                959 net/mac80211/sta_info.c 			sta_info_cleanup_expire_buffered_ac(local, sta, ac);
ac               1276 net/mac80211/sta_info.c 	int filtered = 0, buffered = 0, ac, i;
ac               1312 net/mac80211/sta_info.c 	for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) {
ac               1315 net/mac80211/sta_info.c 		spin_lock_irqsave(&sta->tx_filtered[ac].lock, flags);
ac               1316 net/mac80211/sta_info.c 		skb_queue_splice_tail_init(&sta->tx_filtered[ac], &pending);
ac               1317 net/mac80211/sta_info.c 		spin_unlock_irqrestore(&sta->tx_filtered[ac].lock, flags);
ac               1322 net/mac80211/sta_info.c 		spin_lock_irqsave(&sta->ps_tx_buf[ac].lock, flags);
ac               1323 net/mac80211/sta_info.c 		skb_queue_splice_tail_init(&sta->ps_tx_buf[ac], &pending);
ac               1324 net/mac80211/sta_info.c 		spin_unlock_irqrestore(&sta->ps_tx_buf[ac].lock, flags);
ac               1480 net/mac80211/sta_info.c 	int ac;
ac               1491 net/mac80211/sta_info.c 	for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) {
ac               1492 net/mac80211/sta_info.c 		if (ignored_acs & ieee80211_ac_to_qos_mask[ac])
ac               1495 net/mac80211/sta_info.c 		if (!skb_queue_empty(&sta->tx_filtered[ac]) ||
ac               1496 net/mac80211/sta_info.c 		    !skb_queue_empty(&sta->ps_tx_buf[ac]))
ac               1511 net/mac80211/sta_info.c 	int ac;
ac               1514 net/mac80211/sta_info.c 	for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) {
ac               1517 net/mac80211/sta_info.c 		if (ignored_acs & ieee80211_ac_to_qos_mask[ac])
ac               1520 net/mac80211/sta_info.c 		tids = ieee80211_tids_for_ac(ac);
ac               1535 net/mac80211/sta_info.c 				skb = skb_dequeue(&sta->tx_filtered[ac]);
ac               1538 net/mac80211/sta_info.c 						&sta->ps_tx_buf[ac]);
ac               1553 net/mac80211/sta_info.c 		if (!skb_queue_empty(&sta->tx_filtered[ac]) ||
ac               1554 net/mac80211/sta_info.c 		    !skb_queue_empty(&sta->ps_tx_buf[ac]))
ac               1585 net/mac80211/sta_info.c 		int tid, ac;
ac               1603 net/mac80211/sta_info.c 		for (ac = IEEE80211_AC_VO; ac < IEEE80211_NUM_ACS; ac++)
ac               1604 net/mac80211/sta_info.c 			if (!(ignored_acs & ieee80211_ac_to_qos_mask[ac]))
ac               1606 net/mac80211/sta_info.c 		tid = 7 - 2 * ac;
ac               1886 net/mac80211/sta_info.c 	u8 ac = ieee80211_ac_from_tid(tid);
ac               1894 net/mac80211/sta_info.c 	spin_lock_bh(&local->active_txq_lock[ac]);
ac               1895 net/mac80211/sta_info.c 	sta->airtime[ac].tx_airtime += tx_airtime;
ac               1896 net/mac80211/sta_info.c 	sta->airtime[ac].rx_airtime += rx_airtime;
ac               1897 net/mac80211/sta_info.c 	sta->airtime[ac].deficit -= airtime;
ac               1898 net/mac80211/sta_info.c 	spin_unlock_bh(&local->active_txq_lock[ac]);
ac               2184 net/mac80211/sta_info.c 	int i, ac, cpu;
ac               2220 net/mac80211/sta_info.c 		for (ac = 0; ac < IEEE80211_NUM_ACS; ac++)
ac               2221 net/mac80211/sta_info.c 			sinfo->tx_bytes += sta->tx_stats.bytes[ac];
ac               2227 net/mac80211/sta_info.c 		for (ac = 0; ac < IEEE80211_NUM_ACS; ac++)
ac               2228 net/mac80211/sta_info.c 			sinfo->tx_packets += sta->tx_stats.packets[ac];
ac               2272 net/mac80211/sta_info.c 		for (ac = 0; ac < IEEE80211_NUM_ACS; ac++)
ac               2273 net/mac80211/sta_info.c 			sinfo->rx_duration += sta->airtime[ac].rx_airtime;
ac               2278 net/mac80211/sta_info.c 		for (ac = 0; ac < IEEE80211_NUM_ACS; ac++)
ac               2279 net/mac80211/sta_info.c 			sinfo->tx_duration += sta->airtime[ac].tx_airtime;
ac                 49 net/mac80211/status.c 	int ac;
ac                 96 net/mac80211/status.c 		ac = ieee80211_ac_from_tid(tid);
ac                 98 net/mac80211/status.c 		ac = IEEE80211_AC_BE;
ac                144 net/mac80211/status.c 	    skb_queue_len(&sta->tx_filtered[ac]) < STA_MAX_TX_BUFFER) {
ac                145 net/mac80211/status.c 		skb_queue_tail(&sta->tx_filtered[ac], skb);
ac                165 net/mac80211/status.c 			   skb_queue_len(&sta->tx_filtered[ac]),
ac                238 net/mac80211/tdls.c static enum ieee80211_ac_numbers ieee80211_ac_from_wmm(int ac)
ac                240 net/mac80211/tdls.c 	switch (ac) {
ac                298 net/mac80211/tdls.c 		wmm->ac[i].aci_aifsn = ieee80211_wmm_aci_aifsn(txq->aifs,
ac                300 net/mac80211/tdls.c 		wmm->ac[i].cw = ieee80211_wmm_ecw(txq->cw_min, txq->cw_max);
ac                301 net/mac80211/tdls.c 		wmm->ac[i].txop_limit = cpu_to_le16(txq->txop);
ac                959 net/mac80211/trace.h 		 u16 ac, const struct ieee80211_tx_queue_params *params),
ac                961 net/mac80211/trace.h 	TP_ARGS(local, sdata, ac, params),
ac                966 net/mac80211/trace.h 		__field(u16, ac)
ac                977 net/mac80211/trace.h 		__entry->ac = ac;
ac                987 net/mac80211/trace.h 		LOCAL_PR_ARG, VIF_PR_ARG, __entry->ac
ac               2668 net/mac80211/trace.h 		__field(u8, ac)
ac               2678 net/mac80211/trace.h 		__entry->ac = txq->txq.ac;
ac               2684 net/mac80211/trace.h 		LOCAL_PR_ARG, VIF_PR_ARG, STA_PR_ARG, __entry->ac, __entry->tid
ac                383 net/mac80211/tx.c 		int ac;
ac                385 net/mac80211/tx.c 		for (ac = IEEE80211_AC_BK; ac >= IEEE80211_AC_VO; ac--) {
ac                386 net/mac80211/tx.c 			skb = skb_dequeue(&sta->ps_tx_buf[ac]);
ac                387 net/mac80211/tx.c 			total += skb_queue_len(&sta->ps_tx_buf[ac]);
ac                495 net/mac80211/tx.c 		int ac = skb_get_queue_mapping(tx->skb);
ac                504 net/mac80211/tx.c 		       sta->sta.addr, sta->sta.aid, ac);
ac                522 net/mac80211/tx.c 		if (skb_queue_len(&sta->ps_tx_buf[ac]) >= STA_MAX_TX_BUFFER) {
ac                523 net/mac80211/tx.c 			struct sk_buff *old = skb_dequeue(&sta->ps_tx_buf[ac]);
ac                526 net/mac80211/tx.c 			       sta->sta.addr, ac);
ac                535 net/mac80211/tx.c 		skb_queue_tail(&sta->ps_tx_buf[ac], tx->skb);
ac               1003 net/mac80211/tx.c 	int ac = -1;
ac               1009 net/mac80211/tx.c 		ac = skb_get_queue_mapping(skb);
ac               1010 net/mac80211/tx.c 		tx->sta->tx_stats.bytes[ac] += skb->len;
ac               1012 net/mac80211/tx.c 	if (ac >= 0)
ac               1013 net/mac80211/tx.c 		tx->sta->tx_stats.packets[ac]++;
ac               1466 net/mac80211/tx.c 		txqi->txq.ac = IEEE80211_AC_BE;
ac               1482 net/mac80211/tx.c 		txqi->txq.ac = IEEE80211_AC_VO;
ac               1484 net/mac80211/tx.c 		txqi->txq.ac = ieee80211_ac_from_tid(tid);
ac               1503 net/mac80211/tx.c 	spin_lock_bh(&local->active_txq_lock[txqi->txq.ac]);
ac               1505 net/mac80211/tx.c 	spin_unlock_bh(&local->active_txq_lock[txqi->txq.ac]);
ac               3704 net/mac80211/tx.c struct ieee80211_txq *ieee80211_next_txq(struct ieee80211_hw *hw, u8 ac)
ac               3710 net/mac80211/tx.c 	spin_lock_bh(&local->active_txq_lock[ac]);
ac               3713 net/mac80211/tx.c 	txqi = list_first_entry_or_null(&local->active_txqs[ac],
ac               3723 net/mac80211/tx.c 		if (sta->airtime[txqi->txq.ac].deficit < 0) {
ac               3724 net/mac80211/tx.c 			sta->airtime[txqi->txq.ac].deficit +=
ac               3727 net/mac80211/tx.c 				       &local->active_txqs[txqi->txq.ac]);
ac               3733 net/mac80211/tx.c 	if (txqi->schedule_round == local->schedule_round[ac])
ac               3737 net/mac80211/tx.c 	txqi->schedule_round = local->schedule_round[ac];
ac               3741 net/mac80211/tx.c 	spin_unlock_bh(&local->active_txq_lock[ac]);
ac               3753 net/mac80211/tx.c 	spin_lock_bh(&local->active_txq_lock[txq->ac]);
ac               3769 net/mac80211/tx.c 				 &local->active_txqs[txq->ac]);
ac               3772 net/mac80211/tx.c 				      &local->active_txqs[txq->ac]);
ac               3775 net/mac80211/tx.c 	spin_unlock_bh(&local->active_txq_lock[txq->ac]);
ac               3785 net/mac80211/tx.c 	u8 ac = txq->ac;
ac               3787 net/mac80211/tx.c 	spin_lock_bh(&local->active_txq_lock[ac]);
ac               3795 net/mac80211/tx.c 	list_for_each_entry_safe(iter, tmp, &local->active_txqs[ac],
ac               3802 net/mac80211/tx.c 				       &local->active_txqs[ac]);
ac               3806 net/mac80211/tx.c 		if (sta->airtime[ac].deficit < 0)
ac               3807 net/mac80211/tx.c 			sta->airtime[ac].deficit += sta->airtime_weight;
ac               3808 net/mac80211/tx.c 		list_move_tail(&iter->schedule_order, &local->active_txqs[ac]);
ac               3812 net/mac80211/tx.c 	if (sta->airtime[ac].deficit >= 0)
ac               3815 net/mac80211/tx.c 	sta->airtime[ac].deficit += sta->airtime_weight;
ac               3816 net/mac80211/tx.c 	list_move_tail(&txqi->schedule_order, &local->active_txqs[ac]);
ac               3817 net/mac80211/tx.c 	spin_unlock_bh(&local->active_txq_lock[ac]);
ac               3823 net/mac80211/tx.c 	spin_unlock_bh(&local->active_txq_lock[ac]);
ac               3829 net/mac80211/tx.c void ieee80211_txq_schedule_start(struct ieee80211_hw *hw, u8 ac)
ac               3833 net/mac80211/tx.c 	spin_lock_bh(&local->active_txq_lock[ac]);
ac               3834 net/mac80211/tx.c 	local->schedule_round[ac]++;
ac               3835 net/mac80211/tx.c 	spin_unlock_bh(&local->active_txq_lock[ac]);
ac               5061 net/mac80211/tx.c 	int ac = ieee80211_ac_from_tid(tid);
ac               5064 net/mac80211/tx.c 	skb_set_queue_mapping(skb, ac);
ac                240 net/mac80211/util.c static void __ieee80211_wake_txqs(struct ieee80211_sub_if_data *sdata, int ac)
ac                256 net/mac80211/util.c 	sdata->vif.txqs_stopped[ac] = false;
ac                270 net/mac80211/util.c 			if (ac != txq->ac)
ac                289 net/mac80211/util.c 	    (ps && atomic_read(&ps->num_sta_ps)) || ac != vif->txq->ac)
ac                322 net/mac80211/util.c 			int ac;
ac                324 net/mac80211/util.c 			for (ac = 0; ac < n_acs; ac++) {
ac                325 net/mac80211/util.c 				int ac_queue = sdata->vif.hw_queue[ac];
ac                329 net/mac80211/util.c 					__ieee80211_wake_txqs(sdata, ac);
ac                360 net/mac80211/util.c 		int ac;
ac                369 net/mac80211/util.c 		for (ac = 0; ac < n_acs; ac++) {
ac                370 net/mac80211/util.c 			int ac_queue = sdata->vif.hw_queue[ac];
ac                376 net/mac80211/util.c 				netif_wake_subqueue(sdata->dev, ac);
ac                479 net/mac80211/util.c 		int ac;
ac                484 net/mac80211/util.c 		for (ac = 0; ac < n_acs; ac++) {
ac                485 net/mac80211/util.c 			if (sdata->vif.hw_queue[ac] == queue ||
ac                488 net/mac80211/util.c 					netif_stop_subqueue(sdata->dev, ac);
ac                492 net/mac80211/util.c 				sdata->vif.txqs_stopped[ac] = true;
ac                649 net/mac80211/util.c 		int ac;
ac                653 net/mac80211/util.c 		for (ac = 0; ac < IEEE80211_NUM_ACS; ac++)
ac                654 net/mac80211/util.c 			queues |= BIT(sdata->vif.hw_queue[ac]);
ac               1402 net/mac80211/util.c 					   *qparam, int ac)
ac               1431 net/mac80211/util.c 		wmm_ac = &rrule->wmm_rule.ap[ac];
ac               1433 net/mac80211/util.c 		wmm_ac = &rrule->wmm_rule.client[ac];
ac               1447 net/mac80211/util.c 	int ac;
ac               1482 net/mac80211/util.c 	for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) {
ac               1485 net/mac80211/util.c 			switch (ac) {
ac               1534 net/mac80211/util.c 		ieee80211_regulatory_limit_wmm_params(sdata, &qparam, ac);
ac               1538 net/mac80211/util.c 		sdata->tx_conf[ac] = qparam;
ac               1539 net/mac80211/util.c 		drv_conf_tx(local, sdata, ac, &qparam);
ac                 90 net/mac80211/wme.c 		int ac = ieee802_1d_to_ac[skb->priority];
ac                 92 net/mac80211/wme.c 		if (ifmgd->tx_tspec[ac].admitted_time &&
ac                 93 net/mac80211/wme.c 		    skb->priority == ifmgd->tx_tspec[ac].up)
ac                 94 net/mac80211/wme.c 			return ac;
ac               2620 net/wireless/nl80211.c 	u8 ac;
ac               2627 net/wireless/nl80211.c 	ac = nla_get_u8(tb[NL80211_TXQ_ATTR_AC]);
ac               2633 net/wireless/nl80211.c 	if (ac >= NL80211_NUM_ACS)
ac               2635 net/wireless/nl80211.c 	txq_params->ac = array_index_nospec(ac, NL80211_NUM_ACS);
ac                643 net/wireless/reg.c 	struct fwdb_wmm_ac *ac = (struct fwdb_wmm_ac *)rule;
ac                647 net/wireless/reg.c 		u16 cw_min = ecw2cw((ac[i].ecw & 0xf0) >> 4);
ac                648 net/wireless/reg.c 		u16 cw_max = ecw2cw(ac[i].ecw & 0x0f);
ac                649 net/wireless/reg.c 		u8 aifsn = ac[i].aifsn;
ac               1390 net/wireless/reg.c 		u8 ac;
ac               1392 net/wireless/reg.c 		for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) {
ac               1393 net/wireless/reg.c 			reg_wmm_rules_intersect(&wmm_rule1->client[ac],
ac               1394 net/wireless/reg.c 						&wmm_rule2->client[ac],
ac               1395 net/wireless/reg.c 						&wmm_rule->client[ac]);
ac               1396 net/wireless/reg.c 			reg_wmm_rules_intersect(&wmm_rule1->ap[ac],
ac               1397 net/wireless/reg.c 						&wmm_rule2->ap[ac],
ac               1398 net/wireless/reg.c 						&wmm_rule->ap[ac]);
ac               1093 net/wireless/trace.h 		__field(enum nl80211_ac, ac)
ac               1102 net/wireless/trace.h 		__entry->ac = params->ac;
ac               1109 net/wireless/trace.h 		  WIPHY_PR_ARG, NETDEV_PR_ARG, __entry->ac, __entry->txop,
ac                 11 samples/bpf/sockex1_user.c int main(int ac, char **argv)
ac                 17 samples/bpf/sockex2_user.c int main(int ac, char **argv)
ac                 12 samples/bpf/spintest_user.c int main(int ac, char **argv)
ac                 13 samples/bpf/test_probe_write_user_user.c int main(int ac, char **argv)
ac                  8 samples/bpf/tracex1_user.c int main(int ac, char **argv)
ac                115 samples/bpf/tracex2_user.c int main(int ac, char **argv)
ac                109 samples/bpf/tracex3_user.c int main(int ac, char **argv)
ac                127 samples/bpf/tracex3_user.c 	for (i = 1; i < ac; i++) {
ac                 50 samples/bpf/tracex4_user.c int main(int ac, char **argv)
ac                 28 samples/bpf/tracex5_user.c int main(int ac, char **argv)
ac                626 samples/bpf/xdp_router_ipv4_user.c int main(int ac, char **argv)
ac                644 samples/bpf/xdp_router_ipv4_user.c 	total_ifindex = ac - 1;
ac                647 samples/bpf/xdp_router_ipv4_user.c 	while ((opt = getopt(ac, argv, optstr)) != -1) {
ac                665 samples/bpf/xdp_router_ipv4_user.c 	if (optind == ac) {
ac                486 scripts/kconfig/conf.c int main(int ac, char **av)
ac                495 scripts/kconfig/conf.c 	while ((opt = getopt_long(ac, av, "s", long_opts, NULL)) != -1) {
ac                554 scripts/kconfig/conf.c 	if (ac == optind) {
ac               1443 scripts/kconfig/gconf.c int main(int ac, char *av[])
ac               1451 scripts/kconfig/gconf.c 	gtk_init(&ac, &av);
ac               1467 scripts/kconfig/gconf.c 	if (ac > 1 && av[1][0] == '-') {
ac               1003 scripts/kconfig/mconf.c int main(int ac, char **av)
ac               1010 scripts/kconfig/mconf.c 	if (ac > 1 && strcmp(av[1], "-s") == 0) {
ac               1474 scripts/kconfig/nconf.c int main(int ac, char **av)
ac               1479 scripts/kconfig/nconf.c 	if (ac > 1 && strcmp(av[1], "-s") == 0) {
ac               1854 scripts/kconfig/qconf.cc int main(int ac, char** av)
ac               1860 scripts/kconfig/qconf.cc 	configApp = new QApplication(ac, av);
ac               1861 scripts/kconfig/qconf.cc 	if (ac > 1 && av[1][0] == '-') {
ac               1359 sound/soc/intel/skylake/skl-topology.c 	struct skl_algo_data *ac = (struct skl_algo_data *)sb->dobj.private;
ac               1362 sound/soc/intel/skylake/skl-topology.c 	if (ac->params) {
ac               1369 sound/soc/intel/skylake/skl-topology.c 		if (size > ac->max)
ac               1371 sound/soc/intel/skylake/skl-topology.c 		ac->size = size;
ac               1373 sound/soc/intel/skylake/skl-topology.c 		if (copy_from_user(ac->params, data, size))
ac               1378 sound/soc/intel/skylake/skl-topology.c 						(u32 *)ac->params, ac->size,
ac               1379 sound/soc/intel/skylake/skl-topology.c 						ac->param_id, mconfig);
ac               2946 sound/soc/intel/skylake/skl-topology.c 	struct skl_algo_data *ac;
ac               2950 sound/soc/intel/skylake/skl-topology.c 	ac = devm_kzalloc(dev, sizeof(*ac), GFP_KERNEL);
ac               2951 sound/soc/intel/skylake/skl-topology.c 	if (!ac)
ac               2955 sound/soc/intel/skylake/skl-topology.c 	ac->max = dfw_ac->max;
ac               2956 sound/soc/intel/skylake/skl-topology.c 	ac->param_id = dfw_ac->param_id;
ac               2957 sound/soc/intel/skylake/skl-topology.c 	ac->set_params = dfw_ac->set_params;
ac               2958 sound/soc/intel/skylake/skl-topology.c 	ac->size = dfw_ac->max;
ac               2960 sound/soc/intel/skylake/skl-topology.c 	if (ac->max) {
ac               2961 sound/soc/intel/skylake/skl-topology.c 		ac->params = devm_kzalloc(dev, ac->max, GFP_KERNEL);
ac               2962 sound/soc/intel/skylake/skl-topology.c 		if (!ac->params)
ac               2965 sound/soc/intel/skylake/skl-topology.c 		memcpy(ac->params, dfw_ac->params, ac->max);
ac               2968 sound/soc/intel/skylake/skl-topology.c 	be->dobj.private  = ac;
ac                201 sound/soc/qcom/qdsp6/q6asm.c static inline void q6asm_add_hdr(struct audio_client *ac, struct apr_hdr *hdr,
ac                206 sound/soc/qcom/qdsp6/q6asm.c 	hdr->src_port = ((ac->session << 8) & 0xFF00) | (stream_id);
ac                207 sound/soc/qcom/qdsp6/q6asm.c 	hdr->dest_port = ((ac->session << 8) & 0xFF00) | (stream_id);
ac                210 sound/soc/qcom/qdsp6/q6asm.c 		hdr->token = ac->session;
ac                213 sound/soc/qcom/qdsp6/q6asm.c static int q6asm_apr_send_session_pkt(struct q6asm *a, struct audio_client *ac,
ac                219 sound/soc/qcom/qdsp6/q6asm.c 	mutex_lock(&ac->cmd_lock);
ac                220 sound/soc/qcom/qdsp6/q6asm.c 	ac->result.opcode = 0;
ac                221 sound/soc/qcom/qdsp6/q6asm.c 	ac->result.status = 0;
ac                228 sound/soc/qcom/qdsp6/q6asm.c 					(ac->result.opcode == hdr->opcode) ||
ac                229 sound/soc/qcom/qdsp6/q6asm.c 					(ac->result.opcode == rsp_opcode),
ac                233 sound/soc/qcom/qdsp6/q6asm.c 					(ac->result.opcode == hdr->opcode),
ac                239 sound/soc/qcom/qdsp6/q6asm.c 	} else if (ac->result.status > 0) {
ac                241 sound/soc/qcom/qdsp6/q6asm.c 			ac->result.status);
ac                246 sound/soc/qcom/qdsp6/q6asm.c 	mutex_unlock(&ac->cmd_lock);
ac                250 sound/soc/qcom/qdsp6/q6asm.c static int __q6asm_memory_unmap(struct audio_client *ac,
ac                254 sound/soc/qcom/qdsp6/q6asm.c 	struct q6asm *a = dev_get_drvdata(ac->dev->parent);
ac                259 sound/soc/qcom/qdsp6/q6asm.c 	if (ac->port[dir].mem_map_handle == 0) {
ac                260 sound/soc/qcom/qdsp6/q6asm.c 		dev_err(ac->dev, "invalid mem handle\n");
ac                276 sound/soc/qcom/qdsp6/q6asm.c 	pkt->hdr.token = ((ac->session << 8) | dir);
ac                279 sound/soc/qcom/qdsp6/q6asm.c 	mem_unmap->mem_map_handle = ac->port[dir].mem_map_handle;
ac                281 sound/soc/qcom/qdsp6/q6asm.c 	rc = q6asm_apr_send_session_pkt(a, ac, pkt, 0);
ac                287 sound/soc/qcom/qdsp6/q6asm.c 	ac->port[dir].mem_map_handle = 0;
ac                294 sound/soc/qcom/qdsp6/q6asm.c static void q6asm_audio_client_free_buf(struct audio_client *ac,
ac                299 sound/soc/qcom/qdsp6/q6asm.c 	spin_lock_irqsave(&ac->lock, flags);
ac                303 sound/soc/qcom/qdsp6/q6asm.c 	spin_unlock_irqrestore(&ac->lock, flags);
ac                314 sound/soc/qcom/qdsp6/q6asm.c int q6asm_unmap_memory_regions(unsigned int dir, struct audio_client *ac)
ac                320 sound/soc/qcom/qdsp6/q6asm.c 	port = &ac->port[dir];
ac                328 sound/soc/qcom/qdsp6/q6asm.c 		rc = __q6asm_memory_unmap(ac, port->buf[dir].phys, dir);
ac                330 sound/soc/qcom/qdsp6/q6asm.c 			dev_err(ac->dev, "%s: Memory_unmap_regions failed %d\n",
ac                336 sound/soc/qcom/qdsp6/q6asm.c 	q6asm_audio_client_free_buf(ac, port);
ac                343 sound/soc/qcom/qdsp6/q6asm.c static int __q6asm_memory_map_regions(struct audio_client *ac, int dir,
ac                349 sound/soc/qcom/qdsp6/q6asm.c 	struct q6asm *a = dev_get_drvdata(ac->dev->parent);
ac                384 sound/soc/qcom/qdsp6/q6asm.c 	pkt->hdr.token = ((ac->session << 8) | dir);
ac                391 sound/soc/qcom/qdsp6/q6asm.c 	spin_lock_irqsave(&ac->lock, flags);
ac                392 sound/soc/qcom/qdsp6/q6asm.c 	port = &ac->port[dir];
ac                401 sound/soc/qcom/qdsp6/q6asm.c 	spin_unlock_irqrestore(&ac->lock, flags);
ac                403 sound/soc/qcom/qdsp6/q6asm.c 	rc = q6asm_apr_send_session_pkt(a, ac, pkt,
ac                422 sound/soc/qcom/qdsp6/q6asm.c int q6asm_map_memory_regions(unsigned int dir, struct audio_client *ac,
ac                431 sound/soc/qcom/qdsp6/q6asm.c 	spin_lock_irqsave(&ac->lock, flags);
ac                432 sound/soc/qcom/qdsp6/q6asm.c 	if (ac->port[dir].buf) {
ac                433 sound/soc/qcom/qdsp6/q6asm.c 		dev_err(ac->dev, "Buffer already allocated\n");
ac                434 sound/soc/qcom/qdsp6/q6asm.c 		spin_unlock_irqrestore(&ac->lock, flags);
ac                440 sound/soc/qcom/qdsp6/q6asm.c 		spin_unlock_irqrestore(&ac->lock, flags);
ac                445 sound/soc/qcom/qdsp6/q6asm.c 	ac->port[dir].buf = buf;
ac                456 sound/soc/qcom/qdsp6/q6asm.c 	ac->port[dir].num_periods = periods;
ac                458 sound/soc/qcom/qdsp6/q6asm.c 	spin_unlock_irqrestore(&ac->lock, flags);
ac                460 sound/soc/qcom/qdsp6/q6asm.c 	rc = __q6asm_memory_map_regions(ac, dir, period_sz, periods, 1);
ac                462 sound/soc/qcom/qdsp6/q6asm.c 		dev_err(ac->dev, "Memory_map_regions failed\n");
ac                463 sound/soc/qcom/qdsp6/q6asm.c 		q6asm_audio_client_free_buf(ac, &ac->port[dir]);
ac                472 sound/soc/qcom/qdsp6/q6asm.c 	struct audio_client *ac;
ac                476 sound/soc/qcom/qdsp6/q6asm.c 	ac = container_of(ref, struct audio_client, refcount);
ac                477 sound/soc/qcom/qdsp6/q6asm.c 	a = ac->q6asm;
ac                480 sound/soc/qcom/qdsp6/q6asm.c 	a->session[ac->session] = NULL;
ac                483 sound/soc/qcom/qdsp6/q6asm.c 	kfree(ac);
ac                491 sound/soc/qcom/qdsp6/q6asm.c void q6asm_audio_client_free(struct audio_client *ac)
ac                493 sound/soc/qcom/qdsp6/q6asm.c 	kref_put(&ac->refcount, q6asm_audio_client_release);
ac                500 sound/soc/qcom/qdsp6/q6asm.c 	struct audio_client *ac = NULL;
ac                515 sound/soc/qcom/qdsp6/q6asm.c 	ac = a->session[session_id];
ac                516 sound/soc/qcom/qdsp6/q6asm.c 	kref_get(&ac->refcount);
ac                519 sound/soc/qcom/qdsp6/q6asm.c 	return ac;
ac                530 sound/soc/qcom/qdsp6/q6asm.c 	struct audio_client *ac;
ac                534 sound/soc/qcom/qdsp6/q6asm.c 	ac = q6asm_get_audio_client(q6asm, session_id);
ac                535 sound/soc/qcom/qdsp6/q6asm.c 	if (!ac)/* Audio client might already be freed by now */
ac                570 sound/soc/qcom/qdsp6/q6asm.c 				dev_err(ac->dev,
ac                573 sound/soc/qcom/qdsp6/q6asm.c 				ac->result = *result;
ac                574 sound/soc/qcom/qdsp6/q6asm.c 				wake_up(&ac->cmd_wait);
ac                580 sound/soc/qcom/qdsp6/q6asm.c 			dev_err(ac->dev, "command[0x%x] not expecting rsp\n",
ac                585 sound/soc/qcom/qdsp6/q6asm.c 		ac->result = *result;
ac                586 sound/soc/qcom/qdsp6/q6asm.c 		wake_up(&ac->cmd_wait);
ac                588 sound/soc/qcom/qdsp6/q6asm.c 		if (ac->cb)
ac                589 sound/soc/qcom/qdsp6/q6asm.c 			ac->cb(client_event, hdr->token,
ac                590 sound/soc/qcom/qdsp6/q6asm.c 			       data->payload, ac->priv);
ac                597 sound/soc/qcom/qdsp6/q6asm.c 		if (ac->io_mode & ASM_SYNC_IO_MODE) {
ac                601 sound/soc/qcom/qdsp6/q6asm.c 			spin_lock_irqsave(&ac->lock, flags);
ac                603 sound/soc/qcom/qdsp6/q6asm.c 			port =  &ac->port[SNDRV_PCM_STREAM_PLAYBACK];
ac                606 sound/soc/qcom/qdsp6/q6asm.c 				spin_unlock_irqrestore(&ac->lock, flags);
ac                615 sound/soc/qcom/qdsp6/q6asm.c 				dev_err(ac->dev, "Expected addr %pa\n",
ac                617 sound/soc/qcom/qdsp6/q6asm.c 				spin_unlock_irqrestore(&ac->lock, flags);
ac                621 sound/soc/qcom/qdsp6/q6asm.c 			spin_unlock_irqrestore(&ac->lock, flags);
ac                626 sound/soc/qcom/qdsp6/q6asm.c 		if (ac->io_mode & ASM_SYNC_IO_MODE) {
ac                631 sound/soc/qcom/qdsp6/q6asm.c 			spin_lock_irqsave(&ac->lock, flags);
ac                632 sound/soc/qcom/qdsp6/q6asm.c 			port =  &ac->port[SNDRV_PCM_STREAM_CAPTURE];
ac                634 sound/soc/qcom/qdsp6/q6asm.c 				spin_unlock_irqrestore(&ac->lock, flags);
ac                643 sound/soc/qcom/qdsp6/q6asm.c 				dev_err(ac->dev, "Expected addr %pa %08x-%08x\n",
ac                647 sound/soc/qcom/qdsp6/q6asm.c 				spin_unlock_irqrestore(&ac->lock, flags);
ac                651 sound/soc/qcom/qdsp6/q6asm.c 			spin_unlock_irqrestore(&ac->lock, flags);
ac                657 sound/soc/qcom/qdsp6/q6asm.c 	if (ac->cb)
ac                658 sound/soc/qcom/qdsp6/q6asm.c 		ac->cb(client_event, hdr->token, data->payload, ac->priv);
ac                661 sound/soc/qcom/qdsp6/q6asm.c 	kref_put(&ac->refcount, q6asm_audio_client_release);
ac                671 sound/soc/qcom/qdsp6/q6asm.c 	struct audio_client *ac = NULL;
ac                683 sound/soc/qcom/qdsp6/q6asm.c 	ac = q6asm_get_audio_client(q6asm, sid);
ac                684 sound/soc/qcom/qdsp6/q6asm.c 	if (!ac) {
ac                689 sound/soc/qcom/qdsp6/q6asm.c 	a = dev_get_drvdata(ac->dev->parent);
ac                691 sound/soc/qcom/qdsp6/q6asm.c 	port = &ac->port[dir];
ac                699 sound/soc/qcom/qdsp6/q6asm.c 			ac->result = *result;
ac                709 sound/soc/qcom/qdsp6/q6asm.c 		ac->result.status = 0;
ac                710 sound/soc/qcom/qdsp6/q6asm.c 		ac->result.opcode = hdr->opcode;
ac                715 sound/soc/qcom/qdsp6/q6asm.c 		ac->result.opcode = hdr->opcode;
ac                716 sound/soc/qcom/qdsp6/q6asm.c 		ac->result.status = 0;
ac                726 sound/soc/qcom/qdsp6/q6asm.c 	if (ac->cb)
ac                727 sound/soc/qcom/qdsp6/q6asm.c 		ac->cb(hdr->opcode, hdr->token, data->payload, ac->priv);
ac                730 sound/soc/qcom/qdsp6/q6asm.c 	kref_put(&ac->refcount, q6asm_audio_client_release);
ac                765 sound/soc/qcom/qdsp6/q6asm.c 	struct audio_client *ac;
ac                768 sound/soc/qcom/qdsp6/q6asm.c 	ac = q6asm_get_audio_client(a, stream_id + 1);
ac                769 sound/soc/qcom/qdsp6/q6asm.c 	if (ac) {
ac                771 sound/soc/qcom/qdsp6/q6asm.c 		return ac;
ac                774 sound/soc/qcom/qdsp6/q6asm.c 	ac = kzalloc(sizeof(*ac), GFP_KERNEL);
ac                775 sound/soc/qcom/qdsp6/q6asm.c 	if (!ac)
ac                779 sound/soc/qcom/qdsp6/q6asm.c 	a->session[stream_id + 1] = ac;
ac                781 sound/soc/qcom/qdsp6/q6asm.c 	ac->session = stream_id + 1;
ac                782 sound/soc/qcom/qdsp6/q6asm.c 	ac->cb = cb;
ac                783 sound/soc/qcom/qdsp6/q6asm.c 	ac->dev = dev;
ac                784 sound/soc/qcom/qdsp6/q6asm.c 	ac->q6asm = a;
ac                785 sound/soc/qcom/qdsp6/q6asm.c 	ac->priv = priv;
ac                786 sound/soc/qcom/qdsp6/q6asm.c 	ac->io_mode = ASM_SYNC_IO_MODE;
ac                787 sound/soc/qcom/qdsp6/q6asm.c 	ac->perf_mode = perf_mode;
ac                789 sound/soc/qcom/qdsp6/q6asm.c 	ac->stream_id = 1;
ac                790 sound/soc/qcom/qdsp6/q6asm.c 	ac->adev = a->adev;
ac                791 sound/soc/qcom/qdsp6/q6asm.c 	kref_init(&ac->refcount);
ac                793 sound/soc/qcom/qdsp6/q6asm.c 	init_waitqueue_head(&ac->cmd_wait);
ac                794 sound/soc/qcom/qdsp6/q6asm.c 	mutex_init(&ac->cmd_lock);
ac                795 sound/soc/qcom/qdsp6/q6asm.c 	spin_lock_init(&ac->lock);
ac                797 sound/soc/qcom/qdsp6/q6asm.c 	return ac;
ac                801 sound/soc/qcom/qdsp6/q6asm.c static int q6asm_ac_send_cmd_sync(struct audio_client *ac, struct apr_pkt *pkt)
ac                806 sound/soc/qcom/qdsp6/q6asm.c 	mutex_lock(&ac->cmd_lock);
ac                807 sound/soc/qcom/qdsp6/q6asm.c 	ac->result.opcode = 0;
ac                808 sound/soc/qcom/qdsp6/q6asm.c 	ac->result.status = 0;
ac                810 sound/soc/qcom/qdsp6/q6asm.c 	rc = apr_send_pkt(ac->adev, pkt);
ac                814 sound/soc/qcom/qdsp6/q6asm.c 	rc = wait_event_timeout(ac->cmd_wait,
ac                815 sound/soc/qcom/qdsp6/q6asm.c 				(ac->result.opcode == hdr->opcode), 5 * HZ);
ac                817 sound/soc/qcom/qdsp6/q6asm.c 		dev_err(ac->dev, "CMD timeout\n");
ac                822 sound/soc/qcom/qdsp6/q6asm.c 	if (ac->result.status > 0) {
ac                823 sound/soc/qcom/qdsp6/q6asm.c 		dev_err(ac->dev, "DSP returned error[%x]\n",
ac                824 sound/soc/qcom/qdsp6/q6asm.c 			ac->result.status);
ac                832 sound/soc/qcom/qdsp6/q6asm.c 	mutex_unlock(&ac->cmd_lock);
ac                845 sound/soc/qcom/qdsp6/q6asm.c int q6asm_open_write(struct audio_client *ac, uint32_t format,
ac                861 sound/soc/qcom/qdsp6/q6asm.c 	q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, ac->stream_id);
ac                880 sound/soc/qcom/qdsp6/q6asm.c 		dev_err(ac->dev, "Invalid format 0x%x\n", format);
ac                885 sound/soc/qcom/qdsp6/q6asm.c 	rc = q6asm_ac_send_cmd_sync(ac, pkt);
ac                889 sound/soc/qcom/qdsp6/q6asm.c 	ac->io_mode |= ASM_TUN_WRITE_IO_MODE;
ac                897 sound/soc/qcom/qdsp6/q6asm.c static int __q6asm_run(struct audio_client *ac, uint32_t flags,
ac                913 sound/soc/qcom/qdsp6/q6asm.c 	q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, ac->stream_id);
ac                920 sound/soc/qcom/qdsp6/q6asm.c 		rc = q6asm_ac_send_cmd_sync(ac, pkt);
ac                922 sound/soc/qcom/qdsp6/q6asm.c 		rc = apr_send_pkt(ac->adev, pkt);
ac                941 sound/soc/qcom/qdsp6/q6asm.c int q6asm_run(struct audio_client *ac, uint32_t flags,
ac                944 sound/soc/qcom/qdsp6/q6asm.c 	return __q6asm_run(ac, flags, msw_ts, lsw_ts, true);
ac                958 sound/soc/qcom/qdsp6/q6asm.c int q6asm_run_nowait(struct audio_client *ac, uint32_t flags,
ac                961 sound/soc/qcom/qdsp6/q6asm.c 	return __q6asm_run(ac, flags, msw_ts, lsw_ts, false);
ac                976 sound/soc/qcom/qdsp6/q6asm.c int q6asm_media_format_block_multi_ch_pcm(struct audio_client *ac,
ac                995 sound/soc/qcom/qdsp6/q6asm.c 	q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, ac->stream_id);
ac               1010 sound/soc/qcom/qdsp6/q6asm.c 			dev_err(ac->dev, " map channels failed %d\n", channels);
ac               1016 sound/soc/qcom/qdsp6/q6asm.c 	rc = q6asm_ac_send_cmd_sync(ac, pkt);
ac               1034 sound/soc/qcom/qdsp6/q6asm.c int q6asm_enc_cfg_blk_pcm_format_support(struct audio_client *ac,
ac               1051 sound/soc/qcom/qdsp6/q6asm.c 	q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, ac->stream_id);
ac               1071 sound/soc/qcom/qdsp6/q6asm.c 	rc = q6asm_ac_send_cmd_sync(ac, pkt);
ac               1085 sound/soc/qcom/qdsp6/q6asm.c int q6asm_read(struct audio_client *ac)
ac               1104 sound/soc/qcom/qdsp6/q6asm.c 	spin_lock_irqsave(&ac->lock, flags);
ac               1105 sound/soc/qcom/qdsp6/q6asm.c 	port = &ac->port[SNDRV_PCM_STREAM_CAPTURE];
ac               1106 sound/soc/qcom/qdsp6/q6asm.c 	q6asm_add_hdr(ac, &pkt->hdr, pkt_size, false, ac->stream_id);
ac               1122 sound/soc/qcom/qdsp6/q6asm.c 	spin_unlock_irqrestore(&ac->lock, flags);
ac               1123 sound/soc/qcom/qdsp6/q6asm.c 	rc = apr_send_pkt(ac->adev, pkt);
ac               1134 sound/soc/qcom/qdsp6/q6asm.c static int __q6asm_open_read(struct audio_client *ac,
ac               1150 sound/soc/qcom/qdsp6/q6asm.c 	q6asm_add_hdr(ac, &pkt->hdr,  pkt_size, true, ac->stream_id);
ac               1171 sound/soc/qcom/qdsp6/q6asm.c 	rc = q6asm_ac_send_cmd_sync(ac, pkt);
ac               1186 sound/soc/qcom/qdsp6/q6asm.c int q6asm_open_read(struct audio_client *ac, uint32_t format,
ac               1189 sound/soc/qcom/qdsp6/q6asm.c 	return __q6asm_open_read(ac, format, bits_per_sample);
ac               1204 sound/soc/qcom/qdsp6/q6asm.c int q6asm_write_async(struct audio_client *ac, uint32_t len, uint32_t msw_ts,
ac               1224 sound/soc/qcom/qdsp6/q6asm.c 	spin_lock_irqsave(&ac->lock, flags);
ac               1225 sound/soc/qcom/qdsp6/q6asm.c 	port = &ac->port[SNDRV_PCM_STREAM_PLAYBACK];
ac               1226 sound/soc/qcom/qdsp6/q6asm.c 	q6asm_add_hdr(ac, &pkt->hdr, pkt_size, false, ac->stream_id);
ac               1238 sound/soc/qcom/qdsp6/q6asm.c 	    ac->port[SNDRV_PCM_STREAM_PLAYBACK].mem_map_handle;
ac               1250 sound/soc/qcom/qdsp6/q6asm.c 	spin_unlock_irqrestore(&ac->lock, flags);
ac               1251 sound/soc/qcom/qdsp6/q6asm.c 	rc = apr_send_pkt(ac->adev, pkt);
ac               1260 sound/soc/qcom/qdsp6/q6asm.c static void q6asm_reset_buf_state(struct audio_client *ac)
ac               1265 sound/soc/qcom/qdsp6/q6asm.c 	spin_lock_irqsave(&ac->lock, flags);
ac               1266 sound/soc/qcom/qdsp6/q6asm.c 	port = &ac->port[SNDRV_PCM_STREAM_PLAYBACK];
ac               1268 sound/soc/qcom/qdsp6/q6asm.c 	port = &ac->port[SNDRV_PCM_STREAM_CAPTURE];
ac               1270 sound/soc/qcom/qdsp6/q6asm.c 	spin_unlock_irqrestore(&ac->lock, flags);
ac               1273 sound/soc/qcom/qdsp6/q6asm.c static int __q6asm_cmd(struct audio_client *ac, int cmd, bool wait)
ac               1275 sound/soc/qcom/qdsp6/q6asm.c 	int stream_id = ac->stream_id;
ac               1279 sound/soc/qcom/qdsp6/q6asm.c 	q6asm_add_hdr(ac, &pkt.hdr, APR_HDR_SIZE, true, stream_id);
ac               1305 sound/soc/qcom/qdsp6/q6asm.c 		rc = q6asm_ac_send_cmd_sync(ac, &pkt);
ac               1307 sound/soc/qcom/qdsp6/q6asm.c 		return apr_send_pkt(ac->adev, &pkt);
ac               1313 sound/soc/qcom/qdsp6/q6asm.c 		q6asm_reset_buf_state(ac);
ac               1326 sound/soc/qcom/qdsp6/q6asm.c int q6asm_cmd(struct audio_client *ac, int cmd)
ac               1328 sound/soc/qcom/qdsp6/q6asm.c 	return __q6asm_cmd(ac, cmd, true);
ac               1340 sound/soc/qcom/qdsp6/q6asm.c int q6asm_cmd_nowait(struct audio_client *ac, int cmd)
ac               1342 sound/soc/qcom/qdsp6/q6asm.c 	return __q6asm_cmd(ac, cmd, false);
ac                 41 sound/soc/qcom/qdsp6/q6asm.h void q6asm_audio_client_free(struct audio_client *ac);
ac                 42 sound/soc/qcom/qdsp6/q6asm.h int q6asm_write_async(struct audio_client *ac, uint32_t len, uint32_t msw_ts,
ac                 44 sound/soc/qcom/qdsp6/q6asm.h int q6asm_open_write(struct audio_client *ac, uint32_t format,
ac                 47 sound/soc/qcom/qdsp6/q6asm.h int q6asm_open_read(struct audio_client *ac, uint32_t format,
ac                 49 sound/soc/qcom/qdsp6/q6asm.h int q6asm_enc_cfg_blk_pcm_format_support(struct audio_client *ac,
ac                 51 sound/soc/qcom/qdsp6/q6asm.h int q6asm_read(struct audio_client *ac);
ac                 53 sound/soc/qcom/qdsp6/q6asm.h int q6asm_media_format_block_multi_ch_pcm(struct audio_client *ac,
ac                 57 sound/soc/qcom/qdsp6/q6asm.h int q6asm_run(struct audio_client *ac, uint32_t flags, uint32_t msw_ts,
ac                 59 sound/soc/qcom/qdsp6/q6asm.h int q6asm_run_nowait(struct audio_client *ac, uint32_t flags, uint32_t msw_ts,
ac                 61 sound/soc/qcom/qdsp6/q6asm.h int q6asm_cmd(struct audio_client *ac, int cmd);
ac                 62 sound/soc/qcom/qdsp6/q6asm.h int q6asm_cmd_nowait(struct audio_client *ac, int cmd);
ac                 63 sound/soc/qcom/qdsp6/q6asm.h int q6asm_get_session_id(struct audio_client *ac);
ac                 65 sound/soc/qcom/qdsp6/q6asm.h 			     struct audio_client *ac,
ac                 68 sound/soc/qcom/qdsp6/q6asm.h int q6asm_unmap_memory_regions(unsigned int dir, struct audio_client *ac);