/linux-master/drivers/macintosh/ |
H A D | smu.c | 1022 const struct smu_sdbp_header *part; local 1039 part = of_get_property(smu->of_node, pname, size); 1040 if (part == NULL) { 1042 part = smu_create_sdb_partition(id); 1043 if (part != NULL && size) 1044 *size = part->len << 2; 1047 return part; 1130 const struct smu_sdbp_header *part; local 1131 part = __smu_get_sdb_partition(hdr.cmd, NULL, 1); 1132 if (part [all...] |
/linux-master/arch/arm/mach-omap2/ |
H A D | prm33xx.c | 48 * @part: PRM partition, ignored for AM33xx 56 static int am33xx_prm_is_hardreset_asserted(u8 shift, u8 part, s16 inst, argument 71 * @part: CM partition, ignored for AM33xx 82 static int am33xx_prm_assert_hardreset(u8 shift, u8 part, s16 inst, argument 97 * @part: PRM partition, not used for AM33xx 111 static int am33xx_prm_deassert_hardreset(u8 shift, u8 st_shift, u8 part, argument
|
/linux-master/lib/ |
H A D | kunit_iov_iter.c | 569 ssize_t part = min_t(ssize_t, len, PAGE_SIZE - offset0); local 572 KUNIT_ASSERT_GE(test, part, 0); 584 from += part; 585 len -= part; 647 ssize_t part = min_t(ssize_t, len, PAGE_SIZE - offset0); local 650 KUNIT_ASSERT_GE(test, part, 0); 662 from += part; 663 len -= part; 729 ssize_t part = min_t(ssize_t, len, PAGE_SIZE - offset0); local 732 KUNIT_ASSERT_GE(test, part, [all...] |
/linux-master/block/ |
H A D | bdev.c | 709 static int blkdev_get_part(struct block_device *part, blk_mode_t mode) argument 711 struct gendisk *disk = part->bd_disk; 714 ret = blkdev_get_whole(bdev_whole(part), mode); 719 if (!bdev_nr_sectors(part)) 722 if (!atomic_read(&part->bd_openers)) { 724 set_init_blocksize(part); 726 atomic_inc(&part->bd_openers); 730 blkdev_put_whole(bdev_whole(part)); 759 static void blkdev_put_part(struct block_device *part) argument 761 struct block_device *whole = bdev_whole(part); [all...] |
H A D | blk-core.c | 497 bool should_fail_request(struct block_device *part, unsigned int bytes) argument 499 return bdev_test_flag(part, BD_MAKE_IT_FAIL) && 988 void update_io_ticks(struct block_device *part, unsigned long now, bool end) argument 992 stamp = READ_ONCE(part->bd_stamp); 994 likely(try_cmpxchg(&part->bd_stamp, &stamp, now)) && 995 (end || part_in_flight(part))) 996 __part_stat_add(part, io_ticks, now - stamp); 998 if (bdev_is_partition(part)) { 999 part = bdev_whole(part); [all...] |
H A D | blk-flush.c | 143 struct block_device *part = rq->q->disk->part0; local 146 part_stat_inc(part, ios[STAT_FLUSH]); 147 part_stat_add(part, nsecs[STAT_FLUSH], 159 * @rq just completed @seq part of its flush sequence, record the 453 * Mark the request as part of a flush sequence and submit it
|
H A D | blk.h | 368 void update_io_ticks(struct block_device *part, unsigned long now, bool end); 369 unsigned int part_in_flight(struct block_device *part); 515 void drop_partition(struct block_device *part); 565 bool should_fail_request(struct block_device *part, unsigned int bytes); 567 static inline bool should_fail_request(struct block_device *part, argument
|
/linux-master/fs/pstore/ |
H A D | platform.c | 283 unsigned int part = 1; local 315 record.part = part; 323 oopscount, part); 365 part++; 380 * Register with kmsg_dump to save last part of console log on panic.
|
/linux-master/scripts/ |
H A D | Makefile.lib | 65 # Replace multi-part objects by their individual parts, 113 # Finds the multi-part object the current object will be linked into. 114 # If the object belongs to two or more multi-part objects, list them all. 223 is-kernel-object = $(or $(part-of-builtin),$(part-of-module)) 225 part-of-builtin = $(if $(filter $(basename $@).o, $(real-obj-y) $(lib-y)),y) 226 part-of-module = $(if $(filter $(basename $@).o, $(real-obj-m)),y) 227 quiet_modtag = $(if $(part-of-module),[M], ) 230 $(if $(part-of-module), \ 235 $(if $(part [all...] |
H A D | checkkconfigsymbols.py | 283 for part in partition(kfiles, cpu_count()): 284 arglist.append((part, ignore)) 346 for part in partition(kconfig_files, cpu_count()): 347 arglist.append((part, ignore))
|
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | falcon.c | 740 falcon_spi_slow_wait(struct falcon_mtd_partition *part, bool uninterruptible) argument 742 const struct falcon_spi_device *spi = part->spi; 743 struct ef4_nic *efx = part->common.mtd.priv; 762 part->common.name, part->common.dev_type_name); 804 falcon_spi_erase(struct falcon_mtd_partition *part, loff_t start, size_t len) argument 806 const struct falcon_spi_device *spi = part->spi; 807 struct ef4_nic *efx = part->common.mtd.priv; 829 rc = falcon_spi_slow_wait(part, false); 851 static void falcon_mtd_rename(struct ef4_mtd_partition *part) argument 862 struct falcon_mtd_partition *part = to_falcon_mtd_partition(mtd); local 878 struct falcon_mtd_partition *part = to_falcon_mtd_partition(mtd); local 894 struct falcon_mtd_partition *part = to_falcon_mtd_partition(mtd); local 910 struct falcon_mtd_partition *part = to_falcon_mtd_partition(mtd); local [all...] |
/linux-master/drivers/usb/gadget/function/ |
H A D | uvc_video.c | 140 unsigned int sg_left, part = 0; local 167 part = min_t(unsigned int, len, sg_left); 169 sg_set_page(iter, sg_page(buf->sg), part, buf->offset); 171 if (part == sg_left) { 175 buf->offset += part; 177 len -= part;
|
/linux-master/drivers/net/wireless/ti/wlcore/ |
H A D | debugfs.c | 3 * This file is part of wl1271 1037 struct wlcore_partition_set part, old_part; local 1055 memset(&part, 0, sizeof(part)); 1056 part.mem.start = *ppos; 1057 part.mem.size = bytes; 1078 ret = wlcore_set_partition(wl, &part); 1119 struct wlcore_partition_set part, old_part; local 1137 memset(&part, 0, sizeof(part)); [all...] |
/linux-master/block/partitions/ |
H A D | ldm.h | 175 struct vblk_part part; member in union:vblk::__anon45
|
/linux-master/fs/hfs/ |
H A D | super.c | 148 if (sbi->part >= 0) 149 seq_printf(seq, ",part=%u", sbi->part); 199 { opt_part, "part=%u" }, 236 hsb->part = -1; 293 if (match_int(&args[0], &hsb->part)) { 294 pr_err("part requires an argument\n");
|
/linux-master/include/linux/ |
H A D | pstore.h | 68 * @part: position in a multipart record 84 unsigned int part; member in struct:pstore_record
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | mcdi.c | 2378 struct efx_mcdi_mtd_partition *part = to_efx_mcdi_mtd_partition(mtd); local 2387 rc = efx_mcdi_nvram_read(efx, part->nvram_type, offset, 2401 struct efx_mcdi_mtd_partition *part = to_efx_mcdi_mtd_partition(mtd); local 2405 size_t chunk = part->common.mtd.erasesize; 2408 if (!part->updating) { 2409 rc = efx_mcdi_nvram_update_start(efx, part->nvram_type); 2412 part->updating = true; 2419 rc = efx_mcdi_nvram_erase(efx, part->nvram_type, offset, 2432 struct efx_mcdi_mtd_partition *part = to_efx_mcdi_mtd_partition(mtd); local 2439 if (!part 2462 struct efx_mcdi_mtd_partition *part = to_efx_mcdi_mtd_partition(mtd); local 2474 efx_mcdi_mtd_rename(struct efx_mtd_partition *part) argument [all...] |
/linux-master/drivers/mmc/core/ |
H A D | block.c | 111 struct list_head part; member in struct:mmc_blk_data 279 list_for_each_entry(part_md, &md->part, part) 2508 INIT_LIST_HEAD(&md->part); 2623 list_add(&part_md->part, &md->part); 2793 if (card->part[idx].area_type & MMC_BLK_DATA_AREA_RPMB) { 2801 card->part[idx].part_cfg, 2802 card->part[idx].size >> 9, 2803 card->part[id [all...] |
/linux-master/drivers/vhost/ |
H A D | vringh.c | 269 size_t part, len = sizeof(struct vring_desc); local 275 part = len; 278 if (!rcheck(vrh, addr, &part, range, getrange)) 281 err = copy(vrh, dst, src, part); 285 dst += part; 286 src += part; 287 len -= part; 468 u16 part = vrh->vring.num - off; local 469 err = putused(vrh, &used_ring->ring[off], used, part); 471 err = putused(vrh, &used_ring->ring[0], used + part, [all...] |
/linux-master/drivers/perf/ |
H A D | arm-cmn.c | 208 /* Actual part numbers and revision IDs defined by the hardware */ 328 enum cmn_part part; member in struct:arm_cmn 418 switch (cmn->part) { 438 if (cmn->part == PART_CMN600 || cmn->part == PART_CMN650) 444 if (cmn->part == PART_CI700) 700 if (chan == 4 && cmn->part == PART_CMN600) 711 if (cmn->part == PART_CMN600) { 722 } else if (cmn->part == PART_CMN650) { 731 } else if (cmn->part 2177 enum cmn_part part; local [all...] |
/linux-master/drivers/rtc/ |
H A D | rtc-abx80x.c | 772 unsigned int part = id->driver_data; local 814 if (part == RV1805) { 864 /* part autodetection */ 865 if (part == ABX80X) { 870 dev_err(&client->dev, "Unknown part: %04x\n", 874 part = i; 877 if (partnumber != abx80x_caps[part].pn) { 879 partnumber, abx80x_caps[part].pn); 883 if (np && abx80x_caps[part].has_tc) 910 if (abx80x_caps[part] [all...] |
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | siena.c | 857 struct efx_mcdi_mtd_partition *part, 881 part->nvram_type = type; 882 part->common.dev_type_name = "Siena NVRAM manager"; 883 part->common.type_name = info->name; 885 part->common.mtd.type = MTD_NORFLASH; 886 part->common.mtd.flags = MTD_CAP_NORFLASH; 887 part->common.mtd.size = size; 888 part->common.mtd.erasesize = erase_size; 856 siena_mtd_probe_partition(struct efx_nic *efx, struct efx_mcdi_mtd_partition *part, unsigned int type) argument
|
/linux-master/drivers/spi/ |
H A D | spi-intel.c | 496 * any opcodes (it handles them automatically as part of a command). 1218 struct mtd_partition *part) 1223 memset(part, 0, sizeof(*part)); 1226 part->size = 4096; 1227 part->name = "BIOS"; 1251 part->mask_flags |= MTD_WRITEABLE; 1254 if (end > part->size) 1255 part->size = end; 1262 if (ispi->chip0_size && part 1217 intel_spi_fill_partition(struct intel_spi *ispi, struct mtd_partition *part) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | vmm.c | 651 u64 part = ALIGN(addr, next) - addr; local 652 if (size - part >= next) 653 block = (part >> page[i].shift) << page[i].shift; 828 new->part = vma->part; 985 vma->part = true; 995 tmp->part = true; 1012 vma->part ? 'P' : '-', 1153 * part, except for a specified area where NVKM allocations 1221 if (vma->addr == addr && vma->part [all...] |
/linux-master/drivers/platform/x86/intel/speed_select_if/ |
H A D | isst_tpmi_core.c | 534 u8 part; local 543 power_domain_id = map_partition_power_domain_id(sst_inst, power_domain_id, &part); 547 power_domain_info = &sst_inst->power_domain_info[part][power_domain_id]; 719 u8 part; local 743 punit_id = map_partition_power_domain_id(sst_inst, punit_id, &part); 747 power_domain_info = &sst_inst->power_domain_info[part][punit_id]; 1307 u8 part; local 1310 pd = map_partition_power_domain_id(sst_inst, i, &part); 1314 pd_info = &sst_inst->power_domain_info[part][pd];
|