Searched refs:ih (Results 1 - 25 of 46) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dinotify.c86 static inline void get_inotify_handle(struct inotify_handle *ih) argument
88 atomic_inc(&ih->count);
91 static inline void put_inotify_handle(struct inotify_handle *ih) argument
93 if (atomic_dec_and_test(&ih->count)) {
94 idr_destroy(&ih->idr);
95 kfree(ih);
118 struct inotify_handle *ih = watch->ih; local
121 ih->in_ops->destroy_watch(watch);
122 put_inotify_handle(ih);
132 inotify_handle_get_wd(struct inotify_handle *ih, struct inotify_watch *watch) argument
197 inode_find_handle(struct inode *inode, struct inotify_handle *ih) argument
215 remove_watch_no_event(struct inotify_watch *watch, struct inotify_handle *ih) argument
236 inotify_remove_watch_locked(struct inotify_handle *ih, struct inotify_watch *watch) argument
298 struct inotify_handle *ih= watch->ih; local
416 struct inotify_handle *ih= watch->ih; local
441 struct inotify_handle *ih = watch->ih; local
458 struct inotify_handle *ih; local
493 inotify_destroy(struct inotify_handle *ih) argument
544 inotify_find_watch(struct inotify_handle *ih, struct inode *inode, struct inotify_watch **watchp) argument
575 inotify_find_update_watch(struct inotify_handle *ih, struct inode *inode, u32 mask) argument
626 inotify_add_watch(struct inotify_handle *ih, struct inotify_watch *watch, struct inode *inode, u32 mask) argument
676 inotify_rm_wd(struct inotify_handle *ih, u32 wd) argument
713 inotify_rm_watch(struct inotify_handle *ih, struct inotify_watch *watch) argument
[all...]
H A Dinotify_user.c80 struct inotify_handle *ih; /* inotify handle */ member in struct:inotify_device
384 ret = inotify_add_watch(dev->ih, &watch->wdata, inode, mask);
496 inotify_destroy(dev->ih);
545 struct inotify_handle *ih; local
573 ih = inotify_init(&inotify_user_ops);
574 if (unlikely(IS_ERR(ih))) {
575 ret = PTR_ERR(ih);
578 dev->ih = ih;
646 ret = inotify_find_update_watch(dev->ih, inod
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/reiserfs/
H A Dlbalance.c33 struct item_head *ih; local
38 ih = B_N_PITEM_HEAD(source, item_num);
40 RFALSE(!is_direntry_le_ih(ih), "vs-10000: item must be directory item");
43 deh = B_I_DEH(source, ih);
46 ih_item_len(ih)) -
49 source->b_data + ih_location(ih) +
64 (last_first == FIRST_TO_LAST && le_ih_k_offset(ih) == DOT_OFFSET) ||
66 && comp_short_le_keys /*COMP_SHORT_KEYS */ (&ih->ih_key,
74 memcpy(&new_ih.ih_key, &ih->ih_key, KEY_SIZE);
83 if (from < I_ENTRY_COUNT(ih)) {
132 struct item_head *ih; local
187 ih); local
234 "vs-10050: items %h and %h do not match", ih, dih); local
292 struct item_head *ih; local
385 struct item_head *ih; local
770 struct item_head *ih; local
803 struct item_head *ih; local
877 struct item_head *ih; local
959 leaf_cut_entries(struct buffer_head *bh, struct item_head *ih, int from, int del_count) argument
1033 struct item_head *ih; local
1081 "10205: invalid ih_free_space (%h)", ih); local
1131 struct item_head *ih; local
1201 struct item_head *ih; local
[all...]
H A Ddir.c53 struct item_head *ih, tmp_ih; local
89 ih = de.de_ih;
90 store_ih(&tmp_ih, ih);
93 RFALSE(COMP_SHORT_KEYS(&(ih->ih_key), &pos_key),
95 ih, &pos_key);
101 RFALSE(I_ENTRY_COUNT(ih) < entry_num,
103 entry_num, I_ENTRY_COUNT(ih));
106 || entry_num < I_ENTRY_COUNT(ih)) {
109 B_I_DEH(bh, ih) + entry_num;
111 for (; entry_num < I_ENTRY_COUNT(ih);
[all...]
H A Ditem_ops.c17 static int sd_bytes_number(struct item_head *ih, int block_size) argument
42 static void sd_print_item(struct item_head *ih, char *item) argument
45 if (stat_data_v1(ih)) {
61 static void sd_check_item(struct item_head *ih, char *item) argument
121 static int direct_bytes_number(struct item_head *ih, int block_size) argument
123 return ih_item_len(ih);
140 static void direct_print_item(struct item_head *ih, char *item) argument
146 while (j < ih_item_len(ih))
151 static void direct_check_item(struct item_head *ih, char *item) argument
213 static int indirect_bytes_number(struct item_head *ih, in argument
268 indirect_print_item(struct item_head *ih, char *item) argument
291 indirect_check_item(struct item_head *ih, char *item) argument
356 direntry_bytes_number(struct item_head *ih, int block_size) argument
379 direntry_print_item(struct item_head *ih, char *item) argument
419 direntry_check_item(struct item_head *ih, char *item) argument
635 errcatch_bytes_number(struct item_head *ih, int block_size) argument
656 errcatch_print_item(struct item_head *ih, char *item) argument
662 errcatch_check_item(struct item_head *ih, char *item) argument
[all...]
H A Dinode.c102 inline void make_le_item_head(struct item_head *ih, const struct cpu_key *key, argument
108 ih->ih_key.k_dir_id = cpu_to_le32(key->on_disk_key.k_dir_id);
109 ih->ih_key.k_objectid =
112 put_ih_version(ih, version);
113 set_le_ih_k_offset(ih, offset);
114 set_le_ih_k_type(ih, type);
115 put_ih_item_len(ih, length);
116 /* set_ih_free_space (ih, 0); */
119 put_ih_entry_count(ih, entry_count);
173 struct item_head *ih,
172 allocation_needed(int retval, b_blocknr_t allocated, struct item_head *ih, __le32 * item, int pos_in_item) argument
184 indirect_item_found(int retval, struct item_head *ih) argument
248 struct item_head *ih, tmp_ih; local
590 struct item_head *ih, tmp_ih; local
1098 struct item_head *ih; local
1277 struct item_head *ih; local
1304 struct item_head *ih, tmp_ih; local
1640 reiserfs_new_directory(struct reiserfs_transaction_handle *th, struct inode *inode, struct item_head *ih, struct treepath *path, struct inode *dir) argument
1699 reiserfs_new_symlink(struct reiserfs_transaction_handle *th, struct inode *inode, struct item_head *ih, struct treepath *path, const char *symname, int item_len) argument
1756 struct item_head ih; local
2163 struct item_head *ih; local
[all...]
H A Dprints.c112 static void sprintf_item_head(char *buf, struct item_head *ih) argument
114 if (ih) {
116 (ih_version(ih) == KEY_FORMAT_3_6) ? "*3.6* " : "*3.5*");
117 sprintf_le_key(buf + strlen(buf), &(ih->ih_key));
120 ih_item_len(ih), ih_location(ih), ih_free_space(ih));
429 struct item_head *ih; local
439 ih = B_N_PITEM_HEAD(bh, 0);
448 &(ih
720 struct item_head *ih; local
[all...]
H A Ddo_balan.c79 struct item_head *ih; local
88 ih = B_N_PITEM_HEAD(tbS0, item_pos);
95 RFALSE(ih_item_len(ih) + IH_SIZE != -tb->insert_size[0],
96 "vs-12013: mode Delete, insert size %d, ih to be deleted %h",
97 -tb->insert_size[0], ih); local
128 if (is_direntry_le_ih(ih)) {
148 RFALSE(!ih_item_len(ih),
249 static int balance_leaf(struct tree_balance *tb, struct item_head *ih, /* item header of inserted item (this is on little endian) */ argument
287 zeros_num = ih_item_len(ih);
317 ih_item_len(ih)
1467 struct item_head *ih = local
2057 do_balance(struct tree_balance *tb, struct item_head *ih, const char *body, int flag) argument
[all...]
H A Dfile.c176 struct item_head *ih; // pointer to item head that we are going to deal with local
298 ih = get_ih(&path); // Get a pointer to last item head in path.
313 * if ih is stat data, its offset is 0 and we don't want to
316 if (is_statdata_le_ih(ih))
321 &(ih->ih_key)) + op_bytes_number(ih,
344 if (is_indirect_le_ih(ih)) {
351 &(ih->ih_key)) +
352 op_bytes_number(ih,
370 } else if (is_statdata_le_ih(ih)) {
918 struct item_head *ih; // item header of found block; local
1007 struct item_head *ih = NULL; // pointer to item head that we are going to deal with local
[all...]
H A Dstree.c439 struct item_head *ih; local
458 ih = (struct item_head *)(buf + BLKH_SIZE) + nr - 1;
459 used_space = BLKH_SIZE + IH_SIZE * nr + (blocksize - ih_location(ih));
469 ih = (struct item_head *)(buf + BLKH_SIZE);
471 for (i = 0; i < nr; i++, ih++) {
472 if (le_ih_k_type(ih) == TYPE_ANY) {
475 ih);
478 if (ih_location(ih) >= blocksize
479 || ih_location(ih) < IH_SIZE * nr) {
482 ih);
887 struct item_head *ih; local
1147 key2type(struct reiserfs_key *ih) argument
1160 head2type(struct item_head *ih) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/netfilter/
H A Dipt_LOG.c40 struct iphdr _iph, *ih; local
48 ih = skb_header_pointer(skb, iphoff, sizeof(_iph), &_iph);
49 if (ih == NULL) {
58 NIPQUAD(ih->saddr), NIPQUAD(ih->daddr));
62 ntohs(ih->tot_len), ih->tos & IPTOS_TOS_MASK,
63 ih->tos & IPTOS_PREC_MASK, ih->ttl, ntohs(ih
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ipvs/
H A Dip_vs_proto.c163 struct iphdr _iph, *ih; local
165 ih = skb_header_pointer(skb, offset, sizeof(_iph), &_iph);
166 if (ih == NULL)
168 else if (ih->frag_off & __constant_htons(IP_OFFSET))
170 pp->name, NIPQUAD(ih->saddr),
171 NIPQUAD(ih->daddr));
175 pptr = skb_header_pointer(skb, offset + ih->ihl*4,
180 NIPQUAD(ih->saddr),
181 NIPQUAD(ih->daddr));
185 NIPQUAD(ih
[all...]
H A Dip_vs_proto_ah.c134 struct iphdr _iph, *ih; local
136 ih = skb_header_pointer(skb, offset, sizeof(_iph), &_iph);
137 if (ih == NULL)
141 pp->name, NIPQUAD(ih->saddr),
142 NIPQUAD(ih->daddr));
H A Dip_vs_proto_esp.c133 struct iphdr _iph, *ih; local
135 ih = skb_header_pointer(skb, offset, sizeof(_iph), &_iph);
136 if (ih == NULL)
140 pp->name, NIPQUAD(ih->saddr),
141 NIPQUAD(ih->daddr));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bridge/netfilter/
H A Debt_ip.c32 struct iphdr _iph, *ih; local
35 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph);
36 if (ih == NULL)
39 FWINV(info->tos != ih->tos, EBT_IP_TOS))
42 FWINV((ih->saddr & info->smsk) !=
46 FWINV((ih->daddr & info->dmsk) !=
50 if (FWINV(info->protocol != ih->protocol, EBT_IP_PROTO))
55 if (ntohs(ih->frag_off) & IP_OFFSET)
57 pptr = skb_header_pointer(skb, ih->ihl*4,
H A Debt_log.c87 struct iphdr _iph, *ih; local
89 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph);
90 if (ih == NULL) {
95 "tos=0x%02X, IP proto=%d", NIPQUAD(ih->saddr),
96 NIPQUAD(ih->daddr), ih->tos, ih->protocol);
97 if (ih->protocol == IPPROTO_TCP ||
98 ih->protocol == IPPROTO_UDP ||
99 ih
[all...]
H A Debt_among.c76 struct iphdr _iph, *ih; local
78 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph);
79 if (ih == NULL)
81 *addr = ih->daddr;
104 struct iphdr _iph, *ih; local
106 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph);
107 if (ih == NULL)
109 *addr = ih->saddr;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dinotify.h74 * h_list is protected by ih->mutex of the associated inotify_handle.
76 * ih, inode, and wd are never written to once the watch is created.
86 struct inotify_handle *ih; /* associated inotify handle */ member in struct:inotify_watch
176 static inline void inotify_destroy(struct inotify_handle *ih) argument
180 static inline __s32 inotify_find_watch(struct inotify_handle *ih, struct inode *inode, argument
186 static inline __s32 inotify_find_update_watch(struct inotify_handle *ih, argument
192 static inline __s32 inotify_add_watch(struct inotify_handle *ih, argument
199 static inline int inotify_rm_watch(struct inotify_handle *ih, argument
205 static inline int inotify_rm_wd(struct inotify_handle *ih, __u32 wd) argument
210 static inline void inotify_remove_watch_locked(struct inotify_handle *ih, argument
[all...]
H A Dcoda.h359 struct coda_in_hdr ih; member in struct:coda_open_in
373 struct coda_in_hdr ih; member in struct:coda_store_in
384 struct coda_in_hdr ih; member in struct:coda_release_in
395 struct coda_in_hdr ih; member in struct:coda_close_in
406 struct coda_in_hdr ih; member in struct:coda_ioctl_in
423 struct coda_in_hdr ih; member in struct:coda_getattr_in
435 struct coda_in_hdr ih; member in struct:coda_setattr_in
446 struct coda_in_hdr ih; member in struct:coda_access_in
462 struct coda_in_hdr ih; member in struct:coda_lookup_in
477 struct coda_in_hdr ih; member in struct:coda_create_in
494 struct coda_in_hdr ih; member in struct:coda_remove_in
505 struct coda_in_hdr ih; member in struct:coda_link_in
518 struct coda_in_hdr ih; member in struct:coda_rename_in
531 struct coda_in_hdr ih; member in struct:coda_mkdir_in
546 struct coda_in_hdr ih; member in struct:coda_rmdir_in
557 struct coda_in_hdr ih; member in struct:coda_symlink_in
570 struct coda_in_hdr ih; member in struct:coda_readlink_in
583 struct coda_in_hdr ih; member in struct:coda_fsync_in
593 struct coda_in_hdr ih; member in struct:coda_vget_in
650 struct coda_in_hdr ih; member in struct:coda_open_by_fd_in
666 struct coda_in_hdr ih; member in struct:coda_open_by_path_in
694 struct coda_in_hdr ih; /* NB: every struct below begins with an ih */ member in union:inputArgs
[all...]
H A Dreiserfs_fs.h489 #define ih_free_space(ih) le16_to_cpu((ih)->u.ih_free_space_reserved)
490 #define ih_version(ih) le16_to_cpu((ih)->ih_version)
491 #define ih_entry_count(ih) le16_to_cpu((ih)->u.ih_entry_count)
492 #define ih_location(ih) le16_to_cpu((ih)->ih_item_location)
493 #define ih_item_len(ih) le16_to_cpu((ih)
579 le_ih_k_offset(const struct item_head *ih) argument
591 le_ih_k_type(const struct item_head *ih) argument
603 set_le_ih_k_offset(struct item_head *ih, loff_t offset) argument
616 set_le_ih_k_type(struct item_head *ih, int type) argument
1012 entry_length(const struct buffer_head *bh, const struct item_head *ih, int pos_in_item) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/
H A Dxfs_iget.c128 xfs_ihash_t *ih,
134 if ((ip->i_prevp != &ih->ih_next) && write_trylock(&ih->ih_lock)) {
135 if (likely(version == ih->ih_version)) {
143 iq = ih->ih_next;
146 ip->i_prevp = &ih->ih_next;
147 ih->ih_next = ip;
149 write_unlock(&ih->ih_lock);
195 xfs_ihash_t *ih; local
207 ih
127 xfs_ihash_promote( xfs_ihash_t *ih, xfs_inode_t *ip, ulong version) argument
590 xfs_ihash_t *ih; local
721 xfs_ihash_t *ih; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/
H A Dindex.c205 static INDEX_ENTRY *ntfs_ie_get_first(INDEX_HEADER *ih) argument
207 return (INDEX_ENTRY *)((u8 *)ih + le32_to_cpu(ih->entries_offset));
215 static u8 *ntfs_ie_get_end(INDEX_HEADER *ih) argument
218 return (u8 *)ih + le32_to_cpu(ih->index_length);
239 static INDEX_ENTRY *ntfs_ie_get_by_pos(INDEX_HEADER *ih, int pos) argument
245 ie = ntfs_ie_get_first(ih);
253 static INDEX_ENTRY *ntfs_ie_prev(INDEX_HEADER *ih, INDEX_ENTRY *ie) argument
260 tmp = ntfs_ie_get_first(ih);
287 ntfs_ih_filename_dump(INDEX_HEADER *ih) argument
300 ntfs_ih_numof_entries(INDEX_HEADER *ih) argument
315 ntfs_ih_one_entry(INDEX_HEADER *ih) argument
320 ntfs_ih_zero_entry(INDEX_HEADER *ih) argument
325 ntfs_ie_delete(INDEX_HEADER *ih, INDEX_ENTRY *ie) argument
345 ntfs_ie_insert(INDEX_HEADER *ih, INDEX_ENTRY *ie, INDEX_ENTRY *pos) argument
482 ntfs_ie_lookup(const void *key, const int key_len, ntfs_index_context *icx, INDEX_HEADER *ih, VCN *vcn, INDEX_ENTRY **ie_out) argument
828 ntfs_ie_get_median(INDEX_HEADER *ih) argument
1263 ntfs_ih_insert(INDEX_HEADER *ih, INDEX_ENTRY *orig_ie, VCN new_vcn, int pos) argument
1424 INDEX_HEADER *ih; local
1530 ntfs_ih_takeout(ntfs_index_context *icx, INDEX_HEADER *ih, INDEX_ENTRY *ie, INDEX_BLOCK *ib) argument
1562 ntfs_ir_leafify(ntfs_index_context *icx, INDEX_HEADER *ih) argument
1583 ntfs_ih_reparent_end(ntfs_index_context *icx, INDEX_HEADER *ih, INDEX_BLOCK *ib) argument
1658 INDEX_HEADER *ih; local
1772 INDEX_HEADER *ih; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/afpd/
H A Ddesktop.c340 u_char fcreator[ 4 ], ih[ 12 ]; local
361 memcpy( ih, utag, sizeof( utag ));
362 memcpy( ih + sizeof( utag ), utype, sizeof( utype ));
363 *( ih + sizeof( utag ) + sizeof( utype )) = 1;
364 *( ih + sizeof( utag ) + sizeof( utype ) + 1 ) = 0;
365 memcpy( ih + sizeof( utag ) + sizeof( utype ) + 2, &usize,
367 memcpy( rbuf, ih, sizeof( ih ));
368 *rbuflen = sizeof( ih );
387 if ( read( si.sdt_fd, ih, sizeo
413 u_char fcreator[ 4 ], ftype[ 4 ], itype, ih[ 12 ]; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/
H A Ddesktop.c340 u_char fcreator[ 4 ], ih[ 12 ]; local
361 memcpy( ih, utag, sizeof( utag ));
362 memcpy( ih + sizeof( utag ), utype, sizeof( utype ));
363 *( ih + sizeof( utag ) + sizeof( utype )) = 1;
364 *( ih + sizeof( utag ) + sizeof( utype ) + 1 ) = 0;
365 memcpy( ih + sizeof( utag ) + sizeof( utype ) + 2, &usize,
367 memcpy( rbuf, ih, sizeof( ih ));
368 *rbuflen = sizeof( ih );
387 if ( read( si.sdt_fd, ih, sizeo
413 u_char fcreator[ 4 ], ftype[ 4 ], itype, ih[ 12 ]; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/netfilter/
H A Dip6t_LOG.c47 struct ipv6hdr _ip6h, *ih; local
57 ih = skb_header_pointer(skb, ip6hoff, sizeof(_ip6h), &_ip6h);
58 if (ih == NULL) {
64 printk("SRC=" NIP6_FMT " DST=" NIP6_FMT " ", NIP6(ih->saddr), NIP6(ih->daddr));
68 ntohs(ih->payload_len) + sizeof(struct ipv6hdr),
69 (ntohl(*(__be32 *)ih) & 0x0ff00000) >> 20,
70 ih->hop_limit,
71 (ntohl(*(__be32 *)ih) & 0x000fffff));
75 currenthdr = ih
[all...]

Completed in 148 milliseconds

12