/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/ |
H A D | afs.c | 34 struct ViceIoctl vi; local 39 vi.in_size = 0; 40 vi.out_size = sizeof( venuspace ); 41 vi.out = venuspace; 42 if ( pioctl( vol->v_path, VIOCGETVOLSTAT, &vi, 1 ) < 0 ) { 77 struct ViceIoctl vi; local 108 vi.in_size = 0; 109 vi.out_size = *rbuflen; 110 vi.out = rbuf; 111 if ( pioctl( ".", VIOCGETAL, &vi, 131 struct ViceIoctl vi; local 160 struct ViceIoctl vi; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/cnid_dbd/ |
H A D | cmd_dbd_scanvol.c | 1045 static int scanvol(struct volinfo *vi, dbd_flags_t flags) argument 1048 if (vi->v_flags & AFPVOL_NOADOUBLE) { 1054 myvolinfo = vi; 1192 int cmd_dbd_scanvol(DBD *dbd_ref, struct volinfo *vi, dbd_flags_t flags) argument 1208 if ( vi->v_volcharset != CH_UTF8) { 1209 dbd_log( LOGSTD, "Not a Unicode volume: %s, %u != %u", vi->v_volcodepage, vi->v_volcharset, CH_UTF8); 1253 if ( (scanvol(vi, flags)) != 0) {
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/uams/uams_krb4/ |
H A D | uams_krb4.c | 267 struct ViceIoctl vi; local 324 vi.in = buf; 325 vi.in_size = p - buf; 326 vi.out = buf; 327 vi.out_size = sizeof( buf ); 329 if ( pioctl( 0, VIOCSETTOK, &vi, 0 ) < 0 ) { 443 vi.in = buf; 444 vi.in_size = p - buf; 445 vi.out = buf; 446 vi 679 struct ViceIoctl vi; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ospfd/ |
H A D | ospf_interface.c | 704 struct interface * vi; 724 vi = if_create (); 726 co->ifp = vi; 727 listnode_add (vi->connected, co); 736 voi = ospf_if_new (vi, co->address); 751 strncpy (vi->name, ifname, IFNAMSIZ); 753 zlog_info ("ospf_vl_new(): set if->name to %s", vi->name); 699 struct interface * vi; local
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/coda/ |
H A D | upcall.c | 551 if (data->vi.in_size > VC_MAXDATASIZE) { 556 if (data->vi.out_size > VC_MAXDATASIZE) { 571 inp->coda_ioctl.len = data->vi.in_size; 576 data->vi.in, data->vi.in_size) ) { 581 error = coda_upcall(coda_sbp(sb), SIZE(ioctl) + data->vi.in_size, 596 if (outp->coda_ioctl.len > data->vi.out_size) { 602 if (copy_to_user(data->vi.out,
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/parisc/ |
H A D | iosapic.c | 542 static void iosapic_rd_irt_entry(struct vector_info *vi , u32 *dp0, u32 *dp1) 544 struct iosapic_info *isp = vi->iosapic; 545 u8 idx = vi->irqline; 552 static void iosapic_wr_irt_entry(struct vector_info *vi, u32 dp0, u32 dp1) argument 554 struct iosapic_info *isp = vi->iosapic; 557 vi->irqline, isp->isi_hpa, dp0, dp1); 559 iosapic_write(isp->addr, IOSAPIC_IRDT_ENTRY(vi->irqline), dp0); 564 iosapic_write(isp->addr, IOSAPIC_IRDT_ENTRY_HI(vi->irqline), dp1); 576 iosapic_set_irt_data( struct vector_info *vi, u32 *dp0, u32 *dp1) argument 579 struct irt_entry *p = vi 627 struct vector_info *vi = iosapic_get_vector(irq); local 639 struct vector_info *vi = iosapic_get_vector(irq); local 690 struct vector_info *vi = iosapic_get_vector(irq); local 706 struct vector_info *vi = iosapic_get_vector(irq); local 742 struct vector_info *vi; local 911 iosapic_prt_vi(struct vector_info *vi) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/pvrusb2/ |
H A D | pvrusb2-v4l2.c | 257 struct v4l2_input *vi = (struct v4l2_input *)arg; local 264 tmp.index = vi->index; 266 switch (vi->index) { 282 pvr2_ctrl_get_valname(cptr,vi->index, 296 memcpy(vi, &tmp, sizeof(tmp)); 305 struct v4l2_input *vi = (struct v4l2_input *)arg; local 310 vi->index = val; 316 struct v4l2_input *vi = (struct v4l2_input *)arg; local 319 vi->index);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/usbvision/ |
H A D | usbvision-video.c | 564 struct v4l2_input *vi = arg; local 567 if ((vi->index >= usbvision->video_inputs) || (vi->index < 0) ) 570 chan = vi->index; 573 chan = vi->index + 1; //skip Television string 578 strcpy(vi->name, "White Video Input"); 581 strcpy(vi->name, "Television"); 582 vi->type = V4L2_INPUT_TYPE_TUNER; 583 vi->audioset = 1; 584 vi [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/ubi/ |
H A D | kapi.c | 63 * @vi: the information is stored here 66 struct ubi_volume_info *vi) 71 vi->vol_id = vol->vol_id; 72 vi->ubi_num = ubi->ubi_num; 73 vi->size = vol->reserved_pebs; 74 vi->used_bytes = vol->used_bytes; 75 vi->vol_type = vol->vol_type; 76 vi->corrupted = vol->corrupted; 77 vi->upd_marker = vol->upd_marker; 78 vi 65 ubi_get_volume_info(struct ubi_volume_desc *desc, struct ubi_volume_info *vi) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ntfs/ |
H A D | logfile.c | 40 * @vi: $LogFile inode to which the restart page header belongs 42 * @pos: position in @vi at which the restart page header resides 50 static bool ntfs_check_restart_page_header(struct inode *vi, argument 69 ntfs_error(vi->i_sb, "$LogFile uses unsupported page size."); 77 ntfs_error(vi->i_sb, "Found restart area in incorrect " 84 ntfs_error(vi->i_sb, "$LogFile version %i.%i is not " 101 ntfs_error(vi->i_sb, "$LogFile restart page specifies " 110 ntfs_error(vi->i_sb, "$LogFile restart page specifies " 125 ntfs_error(vi->i_sb, "$LogFile restart page specifies " 134 ntfs_error(vi 156 ntfs_check_restart_area(struct inode *vi, RESTART_PAGE_HEADER *rp) argument 271 ntfs_check_log_client_array(struct inode *vi, RESTART_PAGE_HEADER *rp) argument 348 ntfs_check_and_load_restart_page(struct inode *vi, RESTART_PAGE_HEADER *rp, s64 pos, RESTART_PAGE_HEADER **wrp, LSN *lsn) argument [all...] |
H A D | mft.c | 924 struct inode *vi; local 950 vi = igrab(mft_vi); 951 BUG_ON(vi != mft_vi); 960 vi = ilookup5_nowait(sb, mft_no, (test_t)ntfs_test_inode, &na); 962 if (vi) { 965 ni = NTFS_I(vi); 973 iput(vi); 982 iput(vi); 1018 vi = igrab(mft_vi); 1019 BUG_ON(vi ! 2242 struct inode *vi; local [all...] |
H A D | namei.c | 385 struct inode *vi = child_dent->d_inode; local 386 ntfs_inode *ni = NTFS_I(vi); 396 ntfs_debug("Entering for inode 0x%lx.", vi->i_ino); 414 ntfs_error(vi->i_sb, "Inode 0x%lx does not have a " 416 vi->i_ino); 433 parent_vi = ntfs_iget(vi->i_sb, parent_ino); 437 ntfs_error(vi->i_sb, "Failed to get parent directory inode " 439 vi->i_ino); 448 ntfs_debug("Done for inode 0x%lx.", vi->i_ino); 470 struct inode *vi; local [all...] |
H A D | super.c | 354 VOLUME_INFORMATION *vi; local 377 vi = (VOLUME_INFORMATION*)((u8*)ctx->attr + 379 vol->vol_flags = vi->flags = flags; 1216 struct inode *vi; local 1255 vi = ntfs_iget(vol->sb, MREF(mref)); 1256 if (IS_ERR(vi) || is_bad_inode(vi)) { 1257 if (!IS_ERR(vi)) 1258 iput(vi); 1260 return IS_ERR(vi) 1725 VOLUME_INFORMATION *vi; local [all...] |
H A D | aops.c | 63 struct inode *vi; local 68 vi = page->mapping->host; 69 ni = NTFS_I(vi); 81 i_size = i_size_read(vi); 186 struct inode *vi; local 197 vi = page->mapping->host; 198 ni = NTFS_I(vi); 232 i_size = i_size_read(vi); 397 struct inode *vi; local 416 vi 545 struct inode *vi; local 891 struct inode *vi = page->mapping->host; local 1324 struct inode *vi = page->mapping->host; local [all...] |
H A D | attrib.c | 1498 struct inode *vi = VFS_I(ni); local 1536 page = find_or_create_page(vi->i_mapping, 0, 1537 mapping_gfp_mask(vi->i_mapping)); 1687 vi->i_blocks = ni->itype.compressed.size >> 9; 1689 vi->i_blocks = ni->allocated_size >> 9; 1738 vi->i_ino, 1745 i_size_write(vi, attr_size); 1858 struct inode *vi = VFS_I(ni); local 1877 "data_start 0x%llx.", vi->i_ino, 1911 vi [all...] |
H A D | bitmap.c | 33 * @vi: vfs inode describing the bitmap 40 * vfs inode @vi to @value, where @value is either 0 or 1. 47 int __ntfs_bitmap_set_bits_in_run(struct inode *vi, const s64 start_bit, argument 58 BUG_ON(!vi); 60 "value %u.%s", vi->i_ino, (unsigned long long)start_bit, 74 mapping = vi->i_mapping; 78 ntfs_error(vi->i_sb, "Failed to map first page (error " 174 pos = __ntfs_bitmap_set_bits_in_run(vi, start_bit, count - cnt, 180 ntfs_error(vi->i_sb, "Failed to map subsequent page (error " 184 ntfs_error(vi [all...] |
H A D | bitmap.h | 32 extern int __ntfs_bitmap_set_bits_in_run(struct inode *vi, const s64 start_bit, 37 * @vi: vfs inode describing the bitmap 43 * vfs inode @vi to @value, where @value is either 0 or 1. 47 static inline int ntfs_bitmap_set_bits_in_run(struct inode *vi, argument 50 return __ntfs_bitmap_set_bits_in_run(vi, start_bit, count, value, 56 * @vi: vfs inode describing the bitmap 61 * vfs inode @vi. 65 static inline int ntfs_bitmap_set_run(struct inode *vi, const s64 start_bit, argument 68 return ntfs_bitmap_set_bits_in_run(vi, start_bit, count, 1); 73 * @vi 82 ntfs_bitmap_clear_run(struct inode *vi, const s64 start_bit, const s64 count) argument 97 ntfs_bitmap_set_bit(struct inode *vi, const s64 bit) argument 111 ntfs_bitmap_clear_bit(struct inode *vi, const s64 bit) argument [all...] |
H A D | dir.c | 1082 * @vi: inode to be opened 1096 static int ntfs_dir_open(struct inode *vi, struct file *filp) argument 1099 if (i_size_read(vi) > MAX_LFS_FILESIZE) 1135 struct inode *bmp_vi, *vi = dentry->d_inode; local 1139 ntfs_debug("Entering for inode 0x%lx.", vi->i_ino); 1140 BUG_ON(!S_ISDIR(vi->i_mode)); 1142 na.mft_no = vi->i_ino; 1146 bmp_vi = ilookup5(vi->i_sb, vi->i_ino, (test_t)ntfs_test_inode, &na); 1151 ret = ntfs_write_inode(vi, [all...] |
H A D | file.c | 45 * @vi: inode to be opened 61 static int ntfs_file_open(struct inode *vi, struct file *filp) argument 64 if (i_size_read(vi) > MAX_LFS_FILESIZE) 67 return generic_file_open(vi, filp); 120 struct inode *vi = VFS_I(ni); local 133 old_i_size = i_size_read(vi); 139 vi->i_ino, (unsigned)le32_to_cpu(ni->type), 183 i_size_write(vi, new_init_size); 221 i_size_write(vi, new_init_size); 227 mapping = vi 500 struct inode *vi; local 1488 struct inode *vi; local 1643 struct inode *vi; local 1792 struct inode *vi = mapping->host; local 2231 struct inode *vi = dentry->d_inode; local [all...] |
H A D | index.c | 198 le16_to_cpu(ie->data.vi.data_offset) || 199 (u32)le16_to_cpu(ie->data.vi.data_offset) + 200 le16_to_cpu(ie->data.vi.data_length) > 216 le16_to_cpu(ie->data.vi.data_offset); 217 ictx->data_len = le16_to_cpu(ie->data.vi.data_length); 365 le16_to_cpu(ie->data.vi.data_offset) || 366 (u32)le16_to_cpu(ie->data.vi.data_offset) + 367 le16_to_cpu(ie->data.vi.data_length) >
|
H A D | inode.c | 46 * @vi: vfs inode which to test 50 * inode @vi for equality with the ntfs attribute @na. 60 int ntfs_test_inode(struct inode *vi, ntfs_attr *na) argument 64 if (vi->i_ino != na->mft_no) 66 ni = NTFS_I(vi); 67 /* If !NInoAttr(ni), @vi is a normal file or directory inode. */ 88 * @vi: vfs inode to initialize 89 * @na: ntfs attribute which to initialize @vi to 91 * Initialize the vfs inode @vi with the values from the ntfs attribute @na in 104 static int ntfs_init_locked_inode(struct inode *vi, ntfs_att argument 172 struct inode *vi; local 230 struct inode *vi; local 288 struct inode *vi; local 543 ntfs_read_locked_inode(struct inode *vi) argument 1200 ntfs_read_locked_attr_inode(struct inode *base_vi, struct inode *vi) argument 1468 ntfs_read_locked_index_inode(struct inode *base_vi, struct inode *vi) argument 1753 ntfs_read_inode_mount(struct inode *vi) argument 2223 ntfs_clear_big_inode(struct inode *vi) argument 2329 ntfs_truncate(struct inode *vi) argument 2810 ntfs_truncate_vfs(struct inode *vi) argument 2834 struct inode *vi = dentry->d_inode; local 2902 ntfs_write_inode(struct inode *vi, int sync) argument [all...] |
H A D | inode.h | 272 extern int ntfs_test_inode(struct inode *vi, ntfs_attr *na); 282 extern void ntfs_clear_big_inode(struct inode *vi); 286 static inline void ntfs_init_big_inode(struct inode *vi) argument 288 ntfs_inode *ni = NTFS_I(vi); 291 __ntfs_init_inode(vi->i_sb, ni); 292 ni->mft_no = vi->i_ino; 299 extern int ntfs_read_inode_mount(struct inode *vi); 305 extern int ntfs_truncate(struct inode *vi); 306 extern void ntfs_truncate_vfs(struct inode *vi); 310 extern int ntfs_write_inode(struct inode *vi, in 312 ntfs_commit_inode(struct inode *vi) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/reiserfs/ |
H A D | fix_node.c | 117 struct virtual_item *vi = vn->vn_vi + new_num; local 128 vi->vi_item_len += ih_item_len(ih + j) + IH_SIZE; 129 vi->vi_ih = ih + j; 130 vi->vi_item = B_I_PITEM(Sh, ih + j); 131 vi->vi_uarea = vn->vn_free_ptr; 135 op_create_vi(vn, vi, is_affected, tb->insert_size[0]); 147 vi->vi_new_data = vn->vn_data; // pointer to data which is going to be pasted 153 struct virtual_item *vi = vn->vn_vi + vn->vn_affected_item_num; local 157 vi->vi_item_len = tb->insert_size[0]; 158 vi 205 struct virtual_item *vi; local 285 struct virtual_item *vi; local 432 struct virtual_item *vi = vn->vn_vi + i; local [all...] |
H A D | item_ops.c | 66 struct virtual_item *vi, 69 vi->vi_index = TYPE_STAT_DATA; 70 //vi->vi_type |= VI_TYPE_STAT_DATA;// not needed? 74 static int sd_check_left(struct virtual_item *vi, int free, argument 81 static int sd_check_right(struct virtual_item *vi, int free) argument 86 static int sd_part_size(struct virtual_item *vi, int first, int count) argument 92 static int sd_unit_num(struct virtual_item *vi) argument 94 return vi->vi_item_len - IH_SIZE; 97 static void sd_print_vi(struct virtual_item *vi) argument 100 vi 65 sd_create_vi(struct virtual_node *vn, struct virtual_item *vi, int is_affected, int insert_size) argument 155 direct_create_vi(struct virtual_node *vn, struct virtual_item *vi, int is_affected, int insert_size) argument 164 direct_check_left(struct virtual_item *vi, int free, int start_skip, int end_skip) argument 173 direct_check_right(struct virtual_item *vi, int free) argument 178 direct_part_size(struct virtual_item *vi, int first, int count) argument 183 direct_unit_num(struct virtual_item *vi) argument 188 direct_print_vi(struct virtual_item *vi) argument 295 indirect_create_vi(struct virtual_node *vn, struct virtual_item *vi, int is_affected, int insert_size) argument 304 indirect_check_left(struct virtual_item *vi, int free, int start_skip, int end_skip) argument 313 indirect_check_right(struct virtual_item *vi, int free) argument 319 indirect_part_size(struct virtual_item *vi, int first, int units) argument 325 indirect_unit_num(struct virtual_item *vi) argument 331 indirect_print_vi(struct virtual_item *vi) argument 458 direntry_create_vi(struct virtual_node *vn, struct virtual_item *vi, int is_affected, int insert_size) argument 524 direntry_check_left(struct virtual_item *vi, int free, int start_skip, int end_skip) argument 553 direntry_check_right(struct virtual_item *vi, int free) argument 578 direntry_part_size(struct virtual_item *vi, int first, int count) argument 597 direntry_unit_num(struct virtual_item *vi) argument 604 direntry_print_vi(struct virtual_item *vi) argument 668 errcatch_create_vi(struct virtual_node *vn, struct virtual_item *vi, int is_affected, int insert_size) argument 678 errcatch_check_left(struct virtual_item *vi, int free, int start_skip, int end_skip) argument 686 errcatch_check_right(struct virtual_item *vi, int free) argument 693 errcatch_part_size(struct virtual_item *vi, int first, int count) argument 700 errcatch_unit_num(struct virtual_item *vi) argument 707 errcatch_print_vi(struct virtual_item *vi) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ncpfs/ |
H A D | inode.c | 745 struct ncp_volume_info vi; local 774 err = ncp_get_directory_info(s, dh, &vi); 780 buf->f_bsize = vi.sectors_per_block * 512; 781 buf->f_blocks = vi.total_blocks; 782 buf->f_bfree = vi.free_blocks; 783 buf->f_bavail = vi.free_blocks; 784 buf->f_files = vi.total_dir_entries; 785 buf->f_ffree = vi.available_dir_entries;
|