/linux/sound/isa/gus/ |
A D | gus_mem.c | 75 block->prev->next = block->next; in snd_gf1_mem_xfree() 77 block->next->prev = block->prev; in snd_gf1_mem_xfree() 84 block->next->prev = block->prev; in snd_gf1_mem_xfree() 86 block->prev->next = block->next; in snd_gf1_mem_xfree() 98 for (block = alloc->first; block; block = block->next) { in snd_gf1_mem_look() 114 for (block = alloc->first; block; block = block->next) in snd_gf1_mem_share() 136 block->share_id[0] = block->share_id[1] = in snd_gf1_mem_find() 137 block->share_id[2] = block->share_id[3] = 0; in snd_gf1_mem_find() 139 block->prev = block->next = NULL; in snd_gf1_mem_find() 234 memset(&block, 0, sizeof(block)); in snd_gf1_mem_init() [all …]
|
A D | gus_dma.c | 102 block = NULL; in snd_gf1_dma_next_block() 104 if (block) { in snd_gf1_dma_next_block() 108 return block; in snd_gf1_dma_next_block() 129 if (!block) in snd_gf1_dma_interrupt() 131 snd_gf1_dma_program(gus, block->addr, block->buf_addr, block->count, (unsigned short) block->cmd); in snd_gf1_dma_interrupt() 132 kfree(block); in snd_gf1_dma_interrupt() 136 block->addr, block->buf_addr, block->count, block->cmd); in snd_gf1_dma_interrupt() 191 if (!block) in snd_gf1_dma_transfer_block() 198 block->addr, (long) block->buffer, block->count, in snd_gf1_dma_transfer_block() 230 snd_gf1_dma_program(gus, block->addr, block->buf_addr, block->count, (unsigned short) block->cmd); in snd_gf1_dma_transfer_block() [all …]
|
/linux/fs/lockd/ |
A D | svclock.c | 164 return block; in nlmsvc_lookup_block() 198 return block; in nlmsvc_find_block() 229 block = kzalloc(sizeof(*block), GFP_KERNEL); in nlmsvc_create_block() 260 return block; in nlmsvc_create_block() 263 kfree(block); in nlmsvc_create_block() 299 kfree(block); in nlmsvc_free_block() 459 block, block->b_flags, ntohl(status)); in nlmsvc_defer_lock_rqst() 509 block, block->b_flags); in nlmsvc_lock() 743 block, block->b_flags); in nlmsvc_grant_deferred() 1020 block, block->b_when); in nlmsvc_retry_blocked() [all …]
|
A D | clntlock.c | 102 struct nlm_wait *block; in nlmclnt_prepare_block() local 104 block = kmalloc(sizeof(*block), GFP_KERNEL); in nlmclnt_prepare_block() 105 if (block != NULL) { in nlmclnt_prepare_block() 106 block->b_host = host; in nlmclnt_prepare_block() 107 block->b_lock = fl; in nlmclnt_prepare_block() 115 return block; in nlmclnt_prepare_block() 120 if (block == NULL) in nlmclnt_finish_block() 123 list_del(&block->b_list); in nlmclnt_finish_block() 125 kfree(block); in nlmclnt_finish_block() 138 if (block == NULL) in nlmclnt_block() [all …]
|
/linux/drivers/gpu/drm/i915/ |
A D | i915_buddy.c | 26 if (!block) in i915_block_alloc() 34 return block; in i915_block_alloc() 175 block->left = i915_block_alloc(mm, block, block_order, offset); in split_block() 176 if (!block->left) in split_block() 179 block->right = i915_block_alloc(mm, block, block_order, in split_block() 227 block = parent; in __i915_buddy_free() 271 if (block) in i915_buddy_alloc() 275 if (!block) in i915_buddy_alloc() 286 block = block->left; in i915_buddy_alloc() 293 return block; in i915_buddy_alloc() [all …]
|
/linux/drivers/iio/buffer/ |
A D | industrialio-buffer-dma.c | 100 dma_free_coherent(block->queue->dev, PAGE_ALIGN(block->size), in iio_buffer_block_release() 101 block->vaddr, block->phys_addr); in iio_buffer_block_release() 104 kfree(block); in iio_buffer_block_release() 170 block = kzalloc(sizeof(*block), GFP_KERNEL); in iio_dma_buffer_alloc_block() 171 if (!block) in iio_dma_buffer_alloc_block() 177 kfree(block); in iio_dma_buffer_alloc_block() 189 return block; in iio_dma_buffer_alloc_block() 311 if (block && (!iio_dma_block_reusable(block) || !try_reuse)) in iio_dma_buffer_request_update() 336 block = NULL; in iio_dma_buffer_request_update() 339 if (!block) { in iio_dma_buffer_request_update() [all …]
|
/linux/block/ |
A D | .built-in.a.cmd | 1 …block/built-in.a; /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64…
|
/linux/drivers/gpio/ |
A D | gpio-sch311x.c | 142 block->runtime_reg + block->config_regs[offset]); in sch311x_gpio_request() 164 data = inb(block->runtime_reg + block->data_reg); in sch311x_gpio_get() 173 u8 data = inb(block->runtime_reg + block->data_reg); in __sch311x_gpio_set() 178 outb(data, block->runtime_reg + block->data_reg); in __sch311x_gpio_set() 197 data = inb(block->runtime_reg + block->config_regs[offset]); in sch311x_gpio_direction_in() 199 outb(data, block->runtime_reg + block->config_regs[offset]); in sch311x_gpio_direction_in() 213 data = inb(block->runtime_reg + block->config_regs[offset]); in sch311x_gpio_direction_out() 215 outb(data, block->runtime_reg + block->config_regs[offset]); in sch311x_gpio_direction_out() 228 data = inb(block->runtime_reg + block->config_regs[offset]); in sch311x_gpio_get_direction() 247 data = inb(block->runtime_reg + block->config_regs[offset]); in sch311x_gpio_set_config() [all …]
|
/linux/drivers/gpu/drm/i915/selftests/ |
A D | i915_buddy.c | 16 block->header, in __igt_dump_block() 32 buddy = get_buddy(block); in igt_dump_block() 121 block = NULL; in igt_check_blocks() 152 prev = block; in igt_check_blocks() 243 if (block != root) { in igt_check_mm() 441 if (IS_ERR(block)) { in igt_buddy_alloc_pessimistic() 460 block = list_last_entry(&blocks, typeof(*block), link); in igt_buddy_alloc_pessimistic() 483 if (IS_ERR(block)) { in igt_buddy_alloc_pessimistic() 573 block = list_first_entry_or_null(&blocks, typeof(*block), link); in igt_buddy_alloc_pathological() 574 if (block) { in igt_buddy_alloc_pathological() [all …]
|
/linux/drivers/mtd/ |
A D | nftlmount.c | 48 for (block = 0; block < nftl->nb_blocks; block++) { in find_boot_record() 414 block = nftl->ReplUnitTable[block]; in check_sectors_in_chain() 415 if (!(block == BLOCK_NIL || block < nftl->nb_blocks)) in check_sectors_in_chain() 417 if (block == BLOCK_NIL || block >= nftl->nb_blocks) in check_sectors_in_chain() 436 block = nftl->ReplUnitTable[block]; in calc_chain_length() 437 if (!(block == BLOCK_NIL || block < nftl->nb_blocks)) in calc_chain_length() 439 if (block == BLOCK_NIL || block >= nftl->nb_blocks) in calc_chain_length() 473 block = block1; in format_chain() 475 if (!(block == BLOCK_NIL || block < nftl->nb_blocks)) in format_chain() 477 if (block == BLOCK_NIL || block >= nftl->nb_blocks) in format_chain() [all …]
|
A D | inftlmount.c | 35 unsigned int i, block; in find_boot_record() local 55 for (block = 0; block < inftl->nb_blocks; block++) { in find_boot_record() 389 block); in INFTL_formatblock() 448 block = block1; in format_chain() 450 if (block == BLOCK_NIL || block >= inftl->lastEUN) in format_chain() 516 block = s->PUtable[block]; in INFTL_dumpVUchains() 572 block = first_block; in INFTL_mount() 664 last_block = block; in INFTL_mount() 736 block = s->PUtable[block]; in INFTL_mount() 758 for (block = s->firstEUN; block <= s->lastEUN; block++) { in INFTL_mount() [all …]
|
/linux/drivers/w1/ |
A D | w1_netlink.c | 59 return (u8 *)block->cn - (u8 *)block->first_cn + block->cn->len; in w1_reply_len() 98 w1_reply_make_space(block, block->maxlen); in w1_netlink_check_send() 112 if (block->cn && block->cn->ack == ack) { in w1_netlink_setup_msg() 113 block->msg = (struct w1_netlink_msg *)(block->cn->data + block->cn->len); in w1_netlink_setup_msg() 117 block->cn = (struct cn_msg *)(block->cn->data + in w1_netlink_setup_msg() 120 block->cn = block->first_cn; in w1_netlink_setup_msg() 122 memcpy(block->cn, &block->request_cn, sizeof(*block->cn)); in w1_netlink_setup_msg() 145 memcpy(block->msg, block->cur_msg, sizeof(*block->msg)); in w1_netlink_queue_cmd() 146 block->cn->len += sizeof(*block->msg); in w1_netlink_queue_cmd() 166 w1_netlink_setup_msg(block, block->request_cn.ack); in w1_netlink_queue_status() [all …]
|
/linux/drivers/net/ethernet/marvell/prestera/ |
A D | prestera_flow.c | 22 prestera_span_destroy(block); in prestera_flow_block_mall_cb() 82 if (!block) in prestera_flow_block_get() 86 sw, block, in prestera_flow_block_get() 93 block->block_cb = block_cb; in prestera_flow_block_get() 102 return block; in prestera_flow_block_get() 126 if (IS_ERR(block)) in prestera_setup_flow_block_bind() 127 return PTR_ERR(block); in prestera_setup_flow_block_bind() 129 block_cb = block->block_cb; in prestera_setup_flow_block_bind() 140 port->flow_block = block; in prestera_setup_flow_block_bind() 144 prestera_flow_block_put(block); in prestera_setup_flow_block_bind() [all …]
|
/linux/drivers/video/fbdev/ |
A D | edid.h | 72 #define PIXEL_CLOCK_LO (unsigned)block[ 0 ] 73 #define PIXEL_CLOCK_HI (unsigned)block[ 1 ] 75 #define H_ACTIVE_LO (unsigned)block[ 2 ] 76 #define H_BLANKING_LO (unsigned)block[ 3 ] 82 #define V_ACTIVE_LO (unsigned)block[ 5 ] 83 #define V_BLANKING_LO (unsigned)block[ 6 ] 127 #define V_MIN_RATE block[ 5 ] 128 #define V_MAX_RATE block[ 6 ] 129 #define H_MIN_RATE block[ 7 ] 130 #define H_MAX_RATE block[ 8 ] [all …]
|
/linux/crypto/ |
A D | cast6_generic.c | 156 block[2] ^= F1(block[3], Kr[0], Km[0]); in Q() 157 block[1] ^= F2(block[2], Kr[1], Km[1]); in Q() 158 block[0] ^= F3(block[1], Kr[2], Km[2]); in Q() 159 block[3] ^= F1(block[0], Kr[3], Km[3]); in Q() 166 block[3] ^= F1(block[0], Kr[3], Km[3]); in QBAR() 167 block[0] ^= F3(block[1], Kr[2], Km[2]); in QBAR() 168 block[1] ^= F2(block[2], Kr[1], Km[1]); in QBAR() 169 block[2] ^= F1(block[3], Kr[0], Km[0]); in QBAR() 175 u32 block[4]; in __cast6_encrypt() local 179 block[0] = get_unaligned_be32(inbuf); in __cast6_encrypt() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | core_acl_flex_actions.c | 409 block = kzalloc(sizeof(*block), GFP_KERNEL); in mlxsw_afa_block_create() 410 if (!block) in mlxsw_afa_block_create() 427 block->cur_set->prev = block->first_set; in mlxsw_afa_block_create() 428 block->first_set->next = block->cur_set; in mlxsw_afa_block_create() 430 block->cur_set = block->first_set; in mlxsw_afa_block_create() 433 return block; in mlxsw_afa_block_create() 438 kfree(block); in mlxsw_afa_block_create() 454 kfree(block); in mlxsw_afa_block_destroy() 684 block->afa->ops->counter_index_put(block->afa->ops_priv, in mlxsw_afa_counter_destroy() 1364 block->afa->ops->mirror_del(block->afa->ops_priv, in mlxsw_afa_mirror_destroy() [all …]
|
A D | spectrum_flow.c | 15 struct mlxsw_sp_flow_block *block; in mlxsw_sp_flow_block_create() local 17 block = kzalloc(sizeof(*block), GFP_KERNEL); in mlxsw_sp_flow_block_create() 18 if (!block) in mlxsw_sp_flow_block_create() 21 INIT_LIST_HEAD(&block->mall.list); in mlxsw_sp_flow_block_create() 22 block->mlxsw_sp = mlxsw_sp; in mlxsw_sp_flow_block_create() 23 block->net = net; in mlxsw_sp_flow_block_create() 24 return block; in mlxsw_sp_flow_block_create() 30 kfree(block); in mlxsw_sp_flow_block_destroy() 49 return block->ruleset_zero; in mlxsw_sp_flow_block_ruleset_bound() 95 block->egress_binding_count++; in mlxsw_sp_flow_block_bind() [all …]
|
/linux/sound/pci/ctxfi/ |
A D | ctvmem.c | 55 block = entry; in get_vm_block() 59 block = kzalloc(sizeof(*block), GFP_KERNEL); in get_vm_block() 60 if (!block) in get_vm_block() 72 return block; in get_vm_block() 80 block->size = CT_PAGE_ALIGN(block->size); in put_vm_block() 88 if (entry->addr >= (block->addr + block->size)) in put_vm_block() 93 entry = block; in put_vm_block() 95 if ((block->addr + block->size) == entry->addr) { in put_vm_block() 98 kfree(block); in put_vm_block() 149 return block; in ct_vm_map() [all …]
|
/linux/fs/afs/ |
A D | dir_edit.c | 152 de = &block->dirents[d]; in afs_dir_scan_block() 177 memset(block, 0, sizeof(*block)); in afs_edit_init_block() 180 block->hdr.bitmap[0] = 1; in afs_edit_init_block() 290 kunmap_local(block); in afs_edit_dir_add() 318 de = &block->dirents[slot]; in afs_edit_dir_add() 329 kunmap_local(block); in afs_edit_dir_add() 353 kunmap_local(block); in afs_edit_dir_add() 432 kunmap_local(block); in afs_edit_dir_remove() 446 de = &block->dirents[slot]; in afs_edit_dir_remove() 456 kunmap_local(block); in afs_edit_dir_remove() [all …]
|
/linux/drivers/s390/block/ |
A D | dasd_ioctl.c | 102 base = block->base; in dasd_ioctl_quiesce() 123 base = block->base; in dasd_ioctl_resume() 146 base = block->base; in dasd_ioctl_abortio() 180 base = block->base; in dasd_ioctl_allowio() 202 base = block->base; in dasd_format() 240 base = block->base; in dasd_check_format() 405 if (block->profile.data) { in dasd_ioctl_read_profile() 464 base = block->base; in __dasd_ioctl_information() 489 if (!block->bdev) in __dasd_ioctl_information() 568 struct dasd_block *block; in dasd_ioctl() local [all …]
|
A D | dasd_genhd.c | 40 base = block->base; in dasd_gendisk_alloc() 81 block->gdp = gdp; in dasd_gendisk_alloc() 82 set_capacity(block->gdp, 0); in dasd_gendisk_alloc() 86 dasd_gendisk_free(block); in dasd_gendisk_alloc() 98 if (block->gdp) { in dasd_gendisk_free() 99 del_gendisk(block->gdp); in dasd_gendisk_free() 101 put_disk(block->gdp); in dasd_gendisk_free() 102 block->gdp = NULL; in dasd_gendisk_free() 139 block->bdev = bdev; in dasd_scan_partitions() 155 bdev = block->bdev; in dasd_destroy_partitions() [all …]
|
/linux/drivers/video/fbdev/core/ |
A D | fbmon.c | 98 if ((block[0] == 0x00) && (block[1] == 0x00) && in edid_is_serial_block() 99 (block[2] == 0x00) && (block[3] == 0xff) && in edid_is_serial_block() 108 if ((block[0] == 0x00) && (block[1] == 0x00) && in edid_is_ascii_block() 109 (block[2] == 0x00) && (block[3] == 0xfe) && in edid_is_ascii_block() 139 (block[2] != 0x00) || (block[4] != 0x00)) in edid_is_timing_block() 157 model = block[2] + (block[3] << 8); in check_edid() 299 specs->model = block[2] + (block[3] << 8); in parse_vendor_block() 301 (block[6] << 16) + (block[7] << 24); in parse_vendor_block() 350 tmp = (block[5] & 3) | (block[0xa] << 2); in get_chroma() 374 tmp = (block[6] & 3) | (block[0xe] << 2); in get_chroma() [all …]
|
/linux/net/sched/ |
A D | cls_api.c | 61 struct tcf_block *block = chain->block; in tcf_proto_signal_destroying() local 100 struct tcf_block *block = chain->block; in tcf_proto_signal_destroyed() local 360 chain->block = block; in tcf_chain_create() 379 struct tcf_block *block = chain->block; in tcf_chain0_head_change() local 394 struct tcf_block *block = chain->block; in tcf_chain_detach() local 418 struct tcf_block *block = chain->block; in tcf_chain_destroy() local 536 struct tcf_block *block = chain->block; in __tcf_chain_put() local 843 err = idr_alloc_u32(&tn->idr, block, &block->index, block->index, in tcf_block_insert() 1171 tcf_block_remove(block, block->net); in __tcf_block_put() 1394 tcf_block_put_ext(block, block->q, &ei); in tcf_block_put() [all …]
|
/linux/drivers/misc/ |
A D | sram.c | 119 if (block->pool) { in sram_add_partition() 124 if (block->export) { in sram_add_partition() 230 if ((block->export || block->pool || block->protect_exec) && in sram_reserve_regions() 231 block->size) { in sram_reserve_regions() 253 block->export ? "exported " : "", block->label, in sram_reserve_regions() 254 block->start, block->start + block->size); in sram_reserve_regions() 257 block->start, block->start + block->size); in sram_reserve_regions() 260 block++; in sram_reserve_regions() 293 if ((block->export || block->pool || block->protect_exec) && in sram_reserve_regions() 305 cur_start = block->start + block->size; in sram_reserve_regions() [all …]
|
/linux/drivers/md/ |
A D | dm-log-writes.c | 207 kfree(block); in free_pending_block() 414 kfree(block); in log_one_block() 498 if (block) { in log_writes_kthread() 612 if (!block) { in log_mark() 620 kfree(block); in log_mark() 624 block->datalen = strlen(block->data); in log_mark() 705 if (!block) { in log_writes_map() 713 pb->block = block; in log_writes_map() 795 struct pending_block *block = pb->block; in normal_end_io() local 914 if (!block) { in log_dax() [all …]
|