Searched refs:part (Results 1 - 25 of 172) sorted by relevance

1234567

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/
H A Dftl.c135 void ftl_freepart(partition_t *part);
161 static int scan_header(partition_t *part) argument
167 part->header.FormattedSize = 0;
168 max_offset = (0x100000<part->mbd.mtd->size)?0x100000:part->mbd.mtd->size;
172 offset += part->mbd.mtd->erasesize ? : 0x2000) {
174 err = part->mbd.mtd->read(part->mbd.mtd, offset, sizeof(header), &ret,
193 if ((1 << header.EraseUnitSize) != part->mbd.mtd->erasesize) {
195 1 << header.EraseUnitSize,part
202 build_maps(partition_t *part) argument
337 erase_xfer(partition_t *part, u_int16_t xfernum) argument
380 partition_t *part; local
409 prepare_xfer(partition_t *part, int i) argument
467 copy_erase_unit(partition_t *part, u_int16_t srcunit, u_int16_t xferunit) argument
609 reclaim_block(partition_t *part) argument
717 dump_lists(partition_t *part) argument
729 find_free(partition_t *part) argument
789 ftl_read(partition_t *part, caddr_t buffer, u_long sector, u_long nblocks) argument
835 set_bam_entry(partition_t *part, u_int32_t log_addr, u_int32_t virt_addr) argument
903 ftl_write(partition_t *part, caddr_t buffer, u_long sector, u_long nblocks) argument
986 partition_t *part = (void *)dev; local
1013 ftl_freepart(partition_t *part) argument
[all...]
H A Drfd_ftl.c95 static int build_block_map(struct partition *part, int block_no) argument
97 struct block *block = &part->blocks[block_no];
100 block->offset = part->block_size * block_no;
102 if (le16_to_cpu(part->header_cache[0]) != RFD_MAGIC) {
109 for (i=0; i<part->data_sectors_per_block; i++) {
112 entry = le16_to_cpu(part->header_cache[HEADER_MAP_OFFSET + i]);
125 if (entry >= part->sector_count) {
129 part->mbd.mtd->name, block_no, i, entry);
133 if (part->sector_map[entry] != -1) {
136 part
153 scan_header(struct partition *part) argument
246 struct partition *part = (struct partition*)dev; local
274 struct partition *part; local
329 erase_block(struct partition *part, int block) argument
360 move_block_contents(struct partition *part, int block_no, u_long *old_sector) argument
449 reclaim_block(struct partition *part, u_long *old_sector) argument
522 find_free_block(struct partition *part) argument
546 find_writable_block(struct partition *part, u_long *old_sector) argument
587 mark_sector_deleted(struct partition *part, u_long old_addr) argument
625 find_free_sector(const struct partition *part, const struct block *block) argument
646 struct partition *part = (struct partition*)dev; local
714 struct partition *part = (struct partition*)dev; local
755 struct partition *part = (struct partition*)dev; local
766 struct partition *part; local
812 struct partition *part = (struct partition*)dev; local
[all...]
H A Dmtdpart.c52 struct mtd_part *part = PART(mtd); local
59 res = part->master->read (part->master, from + part->offset,
73 struct mtd_part *part = PART(mtd); local
78 return part->master->point (part->master, from + part->offset,
84 struct mtd_part *part = PART(mtd); local
86 part
92 struct mtd_part *part = PART(mtd); local
113 struct mtd_part *part = PART(mtd); local
121 struct mtd_part *part = PART(mtd); local
128 struct mtd_part *part = PART(mtd); local
136 struct mtd_part *part = PART(mtd); local
143 struct mtd_part *part = PART(mtd); local
157 struct mtd_part *part = PART(mtd); local
172 struct mtd_part *part = PART(mtd); local
179 struct mtd_part *part = PART(mtd); local
186 struct mtd_part *part = PART(mtd); local
195 struct mtd_part *part = PART(mtd); local
214 struct mtd_part *part = PART(instr->mtd); local
227 struct mtd_part *part = PART(mtd); local
235 struct mtd_part *part = PART(mtd); local
243 struct mtd_part *part = PART(mtd); local
249 struct mtd_part *part = PART(mtd); local
255 struct mtd_part *part = PART(mtd); local
261 struct mtd_part *part = PART(mtd); local
270 struct mtd_part *part = PART(mtd); local
[all...]
H A Dcmdlinepart.c297 struct cmdline_mtd_partition *part; local
307 for(part = partitions; part; part = part->next)
309 if ((!mtd_id) || (!strcmp(part->mtd_id, mtd_id)))
311 for(i = 0, offset = 0; i < part->num_parts; i++)
313 if (part->parts[i].offset == OFFSET_CONTINUOUS)
314 part->parts[i].offset = offset;
316 offset = part
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/partitions/
H A Dmac.c15 extern void note_bootable_part(dev_t dev, int part, int goodness);
41 struct mac_partition *part; local
57 part = (struct mac_partition *) (data + secsize%512);
58 if (be16_to_cpu(part->signature) != MAC_PARTITION_MAGIC) {
63 blocks_in_map = be32_to_cpu(part->map_count);
70 part = (struct mac_partition *) (data + pos%512);
71 if (be16_to_cpu(part->signature) != MAC_PARTITION_MAGIC)
74 be32_to_cpu(part->start_block) * (secsize/512),
75 be32_to_cpu(part->block_count) * (secsize/512));
77 if (!strnicmp(part
[all...]
H A Datari.c51 if (!VALID_PARTITION(&rs->part[0], hd_size) &&
52 !VALID_PARTITION(&rs->part[1], hd_size) &&
53 !VALID_PARTITION(&rs->part[2], hd_size) &&
54 !VALID_PARTITION(&rs->part[3], hd_size)) {
64 pi = &rs->part[0];
66 for (slot = 1; pi < &rs->part[4] && slot < state->limit; slot++, pi++) {
95 if (!(xrs->part[0].flg & 1)) {
102 partsect + be32_to_cpu(xrs->part[0].st),
103 be32_to_cpu(xrs->part[0].siz));
105 if (!(xrs->part[
[all...]
H A Datari.h28 struct partition_info part[4]; member in struct:rootsector
H A Dacorn.c65 struct riscix_part part[8]; member in struct:riscix_record
84 int part; local
89 for (part = 0; part < 8; part++) {
90 if (rr->part[part].one &&
91 memcmp(rr->part[part].name, "All\0", 4)) {
93 le32_to_cpu(rr->part[par
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/tests/server/
H A Dtestpart.c11 * you should have received as part of this distribution. The terms
38 char *part; local
45 rc = getpart(&part, &partlen, argv[1], argv[2], stdin);
49 printf("%c", part[i]);
50 free(part);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/acpi/utilities/
H A Dutmath.c95 ACPI_DIV_64_BY_32(0, dividend_ovl.part.hi, divisor,
96 quotient.part.hi, remainder32);
97 ACPI_DIV_64_BY_32(remainder32, dividend_ovl.part.lo, divisor,
98 quotient.part.lo, remainder32);
153 if (divisor.part.hi == 0) {
158 remainder.part.hi = 0;
164 ACPI_DIV_64_BY_32(0, dividend.part.hi, divisor.part.lo,
165 quotient.part.hi, partial1);
166 ACPI_DIV_64_BY_32(partial1, dividend.part
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/sn/kernel/
H A Dxpc_main.c16 * partition This part detects the presence/absence of other
20 * channel This part manages the channels and sends/receives
72 .bus_id = {0}, /* set to "part" at xpc_init() time */
199 struct xpc_partition *part = (struct xpc_partition *) data; local
202 DBUG_ON(jiffies < part->disengage_request_timeout);
204 (void) xpc_partition_disengaged(part);
206 DBUG_ON(part->disengage_request_timeout != 0);
207 DBUG_ON(xpc_partition_engaged(1UL << XPC_PARTID(part)) != 0);
345 xpc_make_first_contact(struct xpc_partition *part) argument
350 while ((ret = xpc_pull_remote_vars_part(part)) !
384 xpc_channel_mgr(struct xpc_partition *part) argument
438 xpc_partition_up(struct xpc_partition *part) argument
471 struct xpc_partition *part = &xpc_partitions[partid]; local
558 xpc_activate_partition(struct xpc_partition *part) argument
605 struct xpc_partition *part = &xpc_partitions[partid]; local
625 xpc_dropped_IPI_check(struct xpc_partition *part) argument
682 xpc_kthread_waitmsgs(struct xpc_partition *part, struct xpc_channel *ch) argument
721 struct xpc_partition *part = &xpc_partitions[partid]; local
819 struct xpc_partition *part = &xpc_partitions[ch->partid]; local
894 struct xpc_partition *part; local
948 struct xpc_partition *part; local
1103 struct xpc_partition *part; local
1224 struct xpc_partition *part; local
[all...]
H A Dxpc_partition.c13 * This is the part of XPC that detects the presence/absence of
420 struct xpc_partition *part; local
437 part = &xpc_partitions[partid];
439 if (part->act_state == XPC_P_INACTIVE ||
440 part->act_state == XPC_P_DEACTIVATING) {
445 bres = xp_bte_copy(part->remote_vars_pa,
450 XPC_DEACTIVATE_PARTITION(part,
457 partid, remote_vars->heartbeat, part->last_heartbeat,
461 if (((remote_vars->heartbeat == part->last_heartbeat) &&
465 XPC_DEACTIVATE_PARTITION(part, xpcNoHeartbea
572 xpc_update_partition_info(struct xpc_partition *part, u8 remote_rp_version, struct timespec *remote_rp_stamp, u64 remote_rp_pa, u64 remote_vars_pa, struct xpc_vars *remote_vars) argument
643 struct xpc_partition *part; local
871 xpc_partition_disengaged(struct xpc_partition *part) argument
922 xpc_mark_partition_active(struct xpc_partition *part) argument
948 xpc_deactivate_partition(const int line, struct xpc_partition *part, enum xpc_retval reason) argument
1002 xpc_mark_partition_inactive(struct xpc_partition *part) argument
1040 struct xpc_partition *part; local
1220 struct xpc_partition *part; local
[all...]
H A Dxpc_channel.c13 * This is the part of XPC that manages the channels and
60 xpc_initialize_channels(struct xpc_partition *part, partid_t partid) argument
66 for (ch_number = 0; ch_number < part->nchannels; ch_number++) {
67 ch = &part->channels[ch_number];
73 ch->local_GP = &part->local_GPs[ch_number];
75 &part->local_openclose_args[ch_number];
100 xpc_setup_infrastructure(struct xpc_partition *part) argument
104 partid_t partid = XPC_PARTID(part);
113 memset(&part->nchannels, 0, sizeof(struct xpc_partition) -
120 part
268 xpc_pull_remote_cachelines(struct xpc_partition *part, void *dst, const void *src, size_t cnt) argument
300 xpc_pull_remote_vars_part(struct xpc_partition *part) argument
396 xpc_get_IPI_flags(struct xpc_partition *part) argument
743 struct xpc_partition *part = &xpc_partitions[ch->partid]; local
835 xpc_process_openclose_IPI(struct xpc_partition *part, int ch_number, u8 IPI_flags) argument
1225 xpc_process_msg_IPI(struct xpc_partition *part, int ch_number) argument
1332 xpc_process_channel_activity(struct xpc_partition *part) argument
1414 xpc_partition_going_down(struct xpc_partition *part, enum xpc_retval reason) argument
1455 xpc_teardown_infrastructure(struct xpc_partition *part) argument
1516 struct xpc_partition *part; local
1575 struct xpc_partition *part; local
1837 struct xpc_partition *part = &xpc_partitions[partid]; local
2028 struct xpc_partition *part = &xpc_partitions[partid]; local
2080 struct xpc_partition *part = &xpc_partitions[partid]; local
2102 struct xpc_partition *part = &xpc_partitions[ch->partid]; local
2341 struct xpc_partition *part = &xpc_partitions[partid]; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Ddiffseq.h147 struct partition *part, struct context *ctxt)
199 part->xmid = x;
200 part->ymid = y;
201 part->lo_minimal = part->hi_minimal = true;
232 part->xmid = x;
233 part->ymid = y;
234 part->lo_minimal = part->hi_minimal = true;
276 part
146 diag(OFFSET xoff, OFFSET xlim, OFFSET yoff, OFFSET ylim, bool find_minimal, struct partition *part, struct context *ctxt) argument
443 struct partition part; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/libgettextpo/
H A Ddiffseq.h147 struct partition *part, struct context *ctxt)
199 part->xmid = x;
200 part->ymid = y;
201 part->lo_minimal = part->hi_minimal = true;
232 part->xmid = x;
233 part->ymid = y;
234 part->lo_minimal = part->hi_minimal = true;
276 part
146 diag(OFFSET xoff, OFFSET xlim, OFFSET yoff, OFFSET ylim, bool find_minimal, struct partition *part, struct context *ctxt) argument
443 struct partition part; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/Documentation/aoe/
H A Dmkshelf.sh20 for part in `seq 0 $endp`; do
22 test "$part" != "0" && name=${name}p$part
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/plugins/pppoatm/
H A Dtext2atm.c22 int part[3]; local
25 part[0] = part[1] = part[2] = 0;
34 if (part[i] > INT_MAX/10) return TRY_OTHER;/* number too big */
35 part[i] = part[i]*10+*text++-'0';
45 part[i++] = ATM_ITF_ANY; /* all *_ANY have the same value */
50 part[i++] = ATM_VPI_UNSPEC; /* all *_UNSPEC have the same
58 part[
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dnvram_64.c13 * TODO: Split the /dev/nvram part (that one can use
161 int part, offset; local
165 if (copy_from_user(&part, (void __user*)arg, sizeof(part)) != 0)
167 if (part < pmac_nvram_OF || part > pmac_nvram_NR)
169 offset = pmac_get_partition(part);
216 static int nvram_write_header(struct nvram_partition * part) argument
221 tmp_index = part->index;
222 rc = ppc_md.nvram_write((char *)&part
250 struct nvram_partition * part; local
271 struct nvram_partition * part; local
335 struct nvram_partition *part; local
439 struct nvram_partition * part; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/tests/
H A Dgetpart.pm11 # you should have received as part of this distribution. The terms
38 # if $part is undefined (ie only one argument) then
41 my ($section, $part)=@_;
46 # print "Section: $section, part: $part\n";
53 if((1 ==$inside) && ( ($_ =~ /^ *\<$part([^>]*)/) ||
54 !(defined($part)) )
66 # detect end of section when part wasn't found
70 elsif((2 ==$inside) && ($_ =~ /^ *\<\/$part/)) {
78 my ($section, $part)
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-ia64/sn/
H A Dxpc.h102 * vars part
107 * which are partition specific (vars part). These are setup by XPC.
252 * The vars_part MAGIC numbers play a part in the first contact protocol.
544 u64 remote_vars_part_pa; /* phys addr of partition's vars part */
547 int remote_act_nasid; /* active part's act/deact nasid */
548 int remote_act_phys_cpuid; /* active part's act/deact phys cpuid */
578 atomic_t nchannels_engaged;/* #of channels engaged with remote part */
725 xpc_wakeup_channel_mgr(struct xpc_partition *part) argument
727 if (atomic_inc_return(&part->channel_mgr_requests) == 1) {
728 wake_up(&part
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/macintosh/
H A Dnvram.c85 int part, offset; local
86 if (copy_from_user(&part, (void __user*)arg, sizeof(part)) != 0)
88 if (part < pmac_nvram_OF || part > pmac_nvram_NR)
90 offset = pmac_get_partition(part);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/
H A Dgeneric_nvram.c96 int part, offset; local
100 if (copy_from_user(&part, (void __user*)arg, sizeof(part)) != 0)
102 if (part < pmac_nvram_OF || part > pmac_nvram_NR)
104 offset = pmac_get_partition(part);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfs/
H A Dpart_tbl.c56 * start and length of the 'part'th HFS partition.
82 (HFS_SB(sb)->part < 0 || HFS_SB(sb)->part == i)) {
98 (HFS_SB(sb)->part < 0 || HFS_SB(sb)->part == i)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus/
H A Dpart_tbl.c72 * start and length of the 'part'th HFS partition.
98 (HFSPLUS_SB(sb).part < 0 || HFSPLUS_SB(sb).part == i)) {
114 (HFSPLUS_SB(sb).part < 0 || HFSPLUS_SB(sb).part == i)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus_journal/
H A Dpart_tbl.c72 * start and length of the 'part'th HFS partition.
98 (HFSPLUS_SB(sb).part < 0 || HFSPLUS_SB(sb).part == i)) {
114 (HFSPLUS_SB(sb).part < 0 || HFSPLUS_SB(sb).part == i)) {

Completed in 263 milliseconds

1234567