Home
last modified time | relevance | path

Searched refs:ext (Results 1 – 25 of 204) sorted by relevance

123456789

/linux-2.6.39/include/net/netfilter/
Dnf_conntrack_extend.h41 static inline bool __nf_ct_ext_exist(const struct nf_ct_ext *ext, u8 id) in __nf_ct_ext_exist() argument
43 return !!ext->offset[id]; in __nf_ct_ext_exist()
48 return (ct->ext && __nf_ct_ext_exist(ct->ext, id)); in nf_ct_ext_exist()
56 return (void *)ct->ext + ct->ext->offset[id]; in __nf_ct_ext_find()
58 #define nf_ct_ext_find(ext, id) \ argument
59 ((id##_TYPE *)__nf_ct_ext_find((ext), (id)))
65 if (ct->ext) in nf_ct_ext_destroy()
74 if (ct->ext) in nf_ct_ext_free()
75 kfree(ct->ext); in nf_ct_ext_free()
/linux-2.6.39/net/netfilter/
Dnf_conntrack_extend.c26 struct nf_ct_ext *ext = ct->ext; in __nf_ct_ext_destroy() local
29 if (!__nf_ct_ext_exist(ext, i)) in __nf_ct_ext_destroy()
47 nf_ct_ext_create(struct nf_ct_ext **ext, enum nf_ct_ext_id id, gfp_t gfp) in nf_ct_ext_create() argument
61 *ext = kzalloc(alloc_size, gfp); in nf_ct_ext_create()
62 if (!*ext) in nf_ct_ext_create()
65 (*ext)->offset[id] = off; in nf_ct_ext_create()
66 (*ext)->len = len; in nf_ct_ext_create()
68 return (void *)(*ext) + off; in nf_ct_ext_create()
73 struct nf_ct_ext *ext = container_of(head, struct nf_ct_ext, rcu); in __nf_ct_ext_free_rcu() local
74 kfree(ext); in __nf_ct_ext_free_rcu()
[all …]
/linux-2.6.39/fs/hfsplus/
Dextents.c25 k1id = k1->ext.cnid; in hfsplus_ext_cmp_key()
26 k2id = k2->ext.cnid; in hfsplus_ext_cmp_key()
30 if (k1->ext.fork_type != k2->ext.fork_type) in hfsplus_ext_cmp_key()
31 return k1->ext.fork_type < k2->ext.fork_type ? -1 : 1; in hfsplus_ext_cmp_key()
33 k1s = k1->ext.start_block; in hfsplus_ext_cmp_key()
34 k2s = k2->ext.start_block; in hfsplus_ext_cmp_key()
44 key->ext.cnid = cpu_to_be32(cnid); in hfsplus_ext_build_key()
45 key->ext.start_block = cpu_to_be32(block); in hfsplus_ext_build_key()
46 key->ext.fork_type = type; in hfsplus_ext_build_key()
47 key->ext.pad = 0; in hfsplus_ext_build_key()
[all …]
/linux-2.6.39/drivers/media/common/
Dsaa7146_core.c309 if (dev->ext) { in interrupt_hw()
310 if (dev->ext->irq_mask & isr) { in interrupt_hw()
311 if (dev->ext->irq_func) in interrupt_hw()
312 dev->ext->irq_func(dev, &isr); in interrupt_hw()
313 isr &= ~dev->ext->irq_mask; in interrupt_hw()
356 struct saa7146_extension *ext = pci_ext->ext; in saa7146_init_one() local
453 dev->ext = ext; in saa7146_init_one()
471 if (ext->probe && ext->probe(dev)) { in saa7146_init_one()
476 if (ext->attach(dev, pci_ext)) { in saa7146_init_one()
531 dev->ext->detach(dev); in saa7146_remove_one()
[all …]
/linux-2.6.39/fs/ext4/
Dext4_extents.h199 static inline void ext4_ext_mark_uninitialized(struct ext4_extent *ext) in ext4_ext_mark_uninitialized() argument
202 BUG_ON((le16_to_cpu(ext->ee_len) & ~EXT_INIT_MAX_LEN) == 0); in ext4_ext_mark_uninitialized()
203 ext->ee_len |= cpu_to_le16(EXT_INIT_MAX_LEN); in ext4_ext_mark_uninitialized()
206 static inline int ext4_ext_is_uninitialized(struct ext4_extent *ext) in ext4_ext_is_uninitialized() argument
209 return (le16_to_cpu(ext->ee_len) > EXT_INIT_MAX_LEN); in ext4_ext_is_uninitialized()
212 static inline int ext4_ext_get_actual_len(struct ext4_extent *ext) in ext4_ext_get_actual_len() argument
214 return (le16_to_cpu(ext->ee_len) <= EXT_INIT_MAX_LEN ? in ext4_ext_get_actual_len()
215 le16_to_cpu(ext->ee_len) : in ext4_ext_get_actual_len()
216 (le16_to_cpu(ext->ee_len) - EXT_INIT_MAX_LEN)); in ext4_ext_get_actual_len()
219 static inline void ext4_ext_mark_initialized(struct ext4_extent *ext) in ext4_ext_mark_initialized() argument
[all …]
/linux-2.6.39/fs/hfs/
Dextent.c24 key->ext.FkType = type; in hfs_ext_build_key()
25 key->ext.FNum = cpu_to_be32(cnid); in hfs_ext_build_key()
26 key->ext.FABN = cpu_to_be16(block); in hfs_ext_build_key()
55 fnum1 = key1->ext.FNum; in hfs_ext_keycmp()
56 fnum2 = key2->ext.FNum; in hfs_ext_keycmp()
59 if (key1->ext.FkType != key2->ext.FkType) in hfs_ext_keycmp()
60 return key1->ext.FkType < key2->ext.FkType ? -1 : 1; in hfs_ext_keycmp()
62 block1 = key1->ext.FABN; in hfs_ext_keycmp()
63 block2 = key2->ext.FABN; in hfs_ext_keycmp()
74 static u16 hfs_ext_find_block(struct hfs_extent *ext, u16 off) in hfs_ext_find_block() argument
[all …]
/linux-2.6.39/drivers/net/wireless/ipw2x00/
Dlibipw_wx.c538 struct iw_encode_ext *ext = (struct iw_encode_ext *)extra; in libipw_wx_set_encodeext() local
557 if (ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY) { in libipw_wx_set_encodeext()
562 if (idx != 0 && ext->alg != IW_ENCODE_ALG_WEP) in libipw_wx_set_encodeext()
572 ext->alg == IW_ENCODE_ALG_NONE) { in libipw_wx_set_encodeext()
597 switch (ext->alg) { in libipw_wx_set_encodeext()
612 dev->name, ext->alg); in libipw_wx_set_encodeext()
624 dev->name, ext->alg); in libipw_wx_set_encodeext()
650 if (ext->key_len > 0 && (*crypt)->ops->set_key && in libipw_wx_set_encodeext()
651 (*crypt)->ops->set_key(ext->key, ext->key_len, ext->rx_seq, in libipw_wx_set_encodeext()
659 if (ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) { in libipw_wx_set_encodeext()
[all …]
/linux-2.6.39/sound/core/seq/
Dseq_memory.c75 return event->data.ext.len & ~SNDRV_SEQ_EXT_MASK; in get_var_len()
87 if (event->data.ext.len & SNDRV_SEQ_EXT_USRPTR) { in snd_seq_dump_var_event()
89 char __user *curptr = (char __force __user *)event->data.ext.ptr; in snd_seq_dump_var_event()
103 } if (! (event->data.ext.len & SNDRV_SEQ_EXT_CHAINED)) { in snd_seq_dump_var_event()
104 return func(private_data, event->data.ext.ptr, len); in snd_seq_dump_var_event()
107 cell = (struct snd_seq_event_cell *)event->data.ext.ptr; in snd_seq_dump_var_event()
157 if (event->data.ext.len & SNDRV_SEQ_EXT_USRPTR) { in snd_seq_expand_var_event()
160 if (copy_from_user(buf, (void __force __user *)event->data.ext.ptr, len)) in snd_seq_expand_var_event()
199 if (cell->event.data.ext.len & SNDRV_SEQ_EXT_CHAINED) { in snd_seq_cell_free()
201 curp = cell->event.data.ext.ptr; in snd_seq_cell_free()
[all …]
/linux-2.6.39/fs/affs/
Dfile.c22 static struct buffer_head *affs_alloc_extblock(struct inode *inode, struct buffer_head *bh, u32 ext
23 static inline struct buffer_head *affs_get_extblock(struct inode *inode, u32 ext);
24 static struct buffer_head *affs_get_extblock_slow(struct inode *inode, u32 ext);
143 affs_alloc_extblock(struct inode *inode, struct buffer_head *bh, u32 ext) in affs_alloc_extblock() argument
181 affs_get_extblock(struct inode *inode, u32 ext) in affs_get_extblock() argument
185 if (ext == AFFS_I(inode)->i_ext_last) in affs_get_extblock()
189 bh = affs_get_extblock_slow(inode, ext); in affs_get_extblock()
195 affs_get_extblock_slow(struct inode *inode, u32 ext) in affs_get_extblock_slow() argument
203 if (ext == AFFS_I(inode)->i_ext_last + 1) { in affs_get_extblock_slow()
207 if (ext < AFFS_I(inode)->i_extcnt) in affs_get_extblock_slow()
[all …]
/linux-2.6.39/drivers/staging/rtl8192e/ieee80211/
Dieee80211_wx.c540 struct iw_encode_ext *ext = (struct iw_encode_ext *)extra; in ieee80211_wx_set_encode_ext() local
558 if (ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY) { in ieee80211_wx_set_encode_ext()
565 if (idx != 0 && ext->alg != IW_ENCODE_ALG_WEP) in ieee80211_wx_set_encode_ext()
577 ext->alg == IW_ENCODE_ALG_NONE) { in ieee80211_wx_set_encode_ext()
604 switch (ext->alg) { in ieee80211_wx_set_encode_ext()
616 dev->name, ext->alg); in ieee80211_wx_set_encode_ext()
627 dev->name, ext->alg); in ieee80211_wx_set_encode_ext()
628 printk("========>unknown crypto alg %d\n", ext->alg); in ieee80211_wx_set_encode_ext()
660 if (ext->key_len > 0 && (*crypt)->ops->set_key && in ieee80211_wx_set_encode_ext()
661 (*crypt)->ops->set_key(ext->key, ext->key_len, ext->rx_seq, in ieee80211_wx_set_encode_ext()
[all …]
/linux-2.6.39/drivers/staging/rtl8192u/ieee80211/
Dieee80211_wx.c532 struct iw_encode_ext *ext = (struct iw_encode_ext *)extra; in ieee80211_wx_set_encode_ext() local
551 if (ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY) { in ieee80211_wx_set_encode_ext()
559 if (idx != 0 && ext->alg != IW_ENCODE_ALG_WEP) in ieee80211_wx_set_encode_ext()
571 ext->alg == IW_ENCODE_ALG_NONE) { in ieee80211_wx_set_encode_ext()
593 switch (ext->alg) { in ieee80211_wx_set_encode_ext()
608 dev->name, ext->alg); in ieee80211_wx_set_encode_ext()
621 dev->name, ext->alg); in ieee80211_wx_set_encode_ext()
622 printk("========>unknown crypto alg %d\n", ext->alg); in ieee80211_wx_set_encode_ext()
649 if (ext->key_len > 0 && (*crypt)->ops->set_key && in ieee80211_wx_set_encode_ext()
650 (*crypt)->ops->set_key(ext->key, ext->key_len, ext->rx_seq, in ieee80211_wx_set_encode_ext()
[all …]
/linux-2.6.39/sound/pci/ac97/
Dac97_proc.c110 unsigned short val, tmp, ext, mext; in snd_ac97_proc_read_main() local
189 ext = snd_ac97_read(ac97, AC97_EXTENDED_ID); in snd_ac97_proc_read_main()
190 if (ext == 0) in snd_ac97_proc_read_main()
194 (ext & AC97_EI_ADDR_MASK) >> AC97_EI_ADDR_SHIFT, in snd_ac97_proc_read_main()
195 (ext & AC97_EI_REV_MASK) >> AC97_EI_REV_SHIFT, in snd_ac97_proc_read_main()
196 ext & AC97_EI_AMAP ? " AMAP" : "", in snd_ac97_proc_read_main()
197 ext & AC97_EI_LDAC ? " LDAC" : "", in snd_ac97_proc_read_main()
198 ext & AC97_EI_SDAC ? " SDAC" : "", in snd_ac97_proc_read_main()
199 ext & AC97_EI_CDAC ? " CDAC" : "", in snd_ac97_proc_read_main()
200 (ext & AC97_EI_DACS_SLOT_MASK) >> AC97_EI_DACS_SLOT_SHIFT, in snd_ac97_proc_read_main()
[all …]
/linux-2.6.39/net/ipv4/
Dipconfig.c838 static void __init ic_do_bootp_ext(u8 *ext) in ic_do_bootp_ext() argument
847 printk("DHCP/BOOTP: Got extension %d:",*ext); in ic_do_bootp_ext()
848 for (c=ext+2; c<ext+2+ext[1]; c++) in ic_do_bootp_ext()
853 switch (*ext++) { in ic_do_bootp_ext()
856 memcpy(&ic_netmask, ext+1, 4); in ic_do_bootp_ext()
860 memcpy(&ic_gateway, ext+1, 4); in ic_do_bootp_ext()
863 servers= *ext/4; in ic_do_bootp_ext()
868 memcpy(&ic_nameservers[i], ext+1+4*i, 4); in ic_do_bootp_ext()
872 ic_bootp_string(utsname()->nodename, ext+1, *ext, __NEW_UTS_LEN); in ic_do_bootp_ext()
876 ic_bootp_string(ic_domain, ext+1, *ext, sizeof(ic_domain)); in ic_do_bootp_ext()
[all …]
/linux-2.6.39/scripts/
Dpatch-kernel108 ext=".gz"
112 ext=".bz"
116 ext=".bz2"
120 ext=".zip"
124 ext=".Z"
128 ext=""
144 if $uncomp ${patchdir}/$1${ext} | patch -p1 -s -N -E -d $sourcedir
166 if $uncomp ${patchdir}/"$1"${ext} | patch -p1 -Rs -N -E -d $sourcedir
/linux-2.6.39/kernel/power/
Dswap.c96 struct swsusp_extent *ext; in swsusp_extents_insert() local
100 ext = container_of(*new, struct swsusp_extent, node); in swsusp_extents_insert()
102 if (swap_offset < ext->start) { in swsusp_extents_insert()
104 if (swap_offset == ext->start - 1) { in swsusp_extents_insert()
105 ext->start--; in swsusp_extents_insert()
109 } else if (swap_offset > ext->end) { in swsusp_extents_insert()
111 if (swap_offset == ext->end + 1) { in swsusp_extents_insert()
112 ext->end++; in swsusp_extents_insert()
122 ext = kzalloc(sizeof(struct swsusp_extent), GFP_KERNEL); in swsusp_extents_insert()
123 if (!ext) in swsusp_extents_insert()
[all …]
/linux-2.6.39/Documentation/filesystems/pohmelfs/
Dnetwork_protocol.txt10 __u16 ext; /* External flags */
46 @ext - external flags. Used by different commands to specify some extra arguments
64 @ext - length of the path to object.
77 @ext - object path length.
90 @ext - 0
96 @ext - length of the path to object.
105 @ext - length of the path to object.
118 @ext - size of the "object_path" above.
126 @ext - transaction flags. Unused at the moment.
136 @ext - open flags (O_RDWR and so on).
[all …]
/linux-2.6.39/arch/x86/tools/
Dgen-insn-attr-x86.awk277 ext = null
287 ext = $(i++)
302 if (match(ext, force64_expr))
314 if (match(ext, vexonly_expr))
318 if (match(ext, vexok_expr))
322 if (match(ext, prefix_expr)) {
330 if (match(ext, lprefix1_expr)) {
333 } else if (match(ext, lprefix2_expr)) {
336 } else if (match(ext, lprefix3_expr)) {
/linux-2.6.39/drivers/staging/rtl8187se/ieee80211/
Dieee80211_wx.c480 struct iw_encode_ext *ext = (struct iw_encode_ext *)extra; in ieee80211_wx_set_encode_ext() local
499 if (ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY) { in ieee80211_wx_set_encode_ext()
505 if (idx != 0 && ext->alg != IW_ENCODE_ALG_WEP) in ieee80211_wx_set_encode_ext()
515 ext->alg == IW_ENCODE_ALG_NONE) { in ieee80211_wx_set_encode_ext()
536 switch (ext->alg) { in ieee80211_wx_set_encode_ext()
548 dev->name, ext->alg); in ieee80211_wx_set_encode_ext()
559 dev->name, ext->alg); in ieee80211_wx_set_encode_ext()
560 printk("========>unknown crypto alg %d\n", ext->alg); in ieee80211_wx_set_encode_ext()
587 if (ext->key_len > 0 && (*crypt)->ops->set_key && in ieee80211_wx_set_encode_ext()
588 (*crypt)->ops->set_key(ext->key, ext->key_len, ext->rx_seq, in ieee80211_wx_set_encode_ext()
[all …]
/linux-2.6.39/arch/arm/include/asm/
Dproc-fns.h68 void (*set_pte_ext)(pte_t *ptep, pte_t pte, unsigned int ext);
82 extern void cpu_set_pte_ext(pte_t *ptep, pte_t pte, unsigned int ext);
90 #define cpu_set_pte_ext(ptep,pte,ext) processor.set_pte_ext(ptep,pte,ext) argument
/linux-2.6.39/drivers/net/wireless/orinoco/
Dwext.c726 struct iw_encode_ext *ext = (struct iw_encode_ext *)extra; in orinoco_ioctl_set_encodeext() local
727 int idx, alg = ext->alg, set_key = 1; in orinoco_ioctl_set_encodeext()
751 if (ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) { in orinoco_ioctl_set_encodeext()
754 (ext->key_len > 0)) ? 1 : 0; in orinoco_ioctl_set_encodeext()
767 if (ext->key_len <= 0) in orinoco_ioctl_set_encodeext()
772 ext->key, ext->key_len, NULL, 0); in orinoco_ioctl_set_encodeext()
780 (ext->key_len > sizeof(struct orinoco_tkip_key))) in orinoco_ioctl_set_encodeext()
785 if (ext->ext_flags & IW_ENCODE_EXT_RX_SEQ_VALID) in orinoco_ioctl_set_encodeext()
786 tkip_iv = &ext->rx_seq[0]; in orinoco_ioctl_set_encodeext()
789 ext->key, ext->key_len, tkip_iv, in orinoco_ioctl_set_encodeext()
[all …]
/linux-2.6.39/kernel/gcov/
Dfs.c303 static char *link_target(const char *dir, const char *path, const char *ext) in link_target() argument
316 target = kasprintf(GFP_KERNEL, "%s/%s.%s", dir, copy, ext); in link_target()
318 target = kasprintf(GFP_KERNEL, "%s.%s", copy, ext); in link_target()
330 static char *get_link_target(const char *filename, const struct gcov_link *ext) in get_link_target() argument
337 if (ext->dir == SRC_TREE) in get_link_target()
338 result = link_target(srctree, rel, ext->ext); in get_link_target()
340 result = link_target(objtree, rel, ext->ext); in get_link_target()
343 result = link_target(NULL, filename, ext->ext); in get_link_target()
373 for (num = 0; gcov_link[num].ext; num++) in add_links()
477 for (i = 0; gcov_link[i].ext; i++) in remove_links()
/linux-2.6.39/drivers/block/drbd/
Ddrbd_actlog.c667 struct bm_extent *ext = lc_entry(e, struct bm_extent, lce); in drbd_try_clear_on_disk_bm() local
668 if (ext->lce.lc_number == enr) { in drbd_try_clear_on_disk_bm()
670 ext->rs_left -= count; in drbd_try_clear_on_disk_bm()
672 ext->rs_failed += count; in drbd_try_clear_on_disk_bm()
673 if (ext->rs_left < ext->rs_failed) { in drbd_try_clear_on_disk_bm()
677 ext->lce.lc_number, ext->rs_left, in drbd_try_clear_on_disk_bm()
678 ext->rs_failed, count); in drbd_try_clear_on_disk_bm()
681 lc_put(mdev->resync, &ext->lce); in drbd_try_clear_on_disk_bm()
693 if (ext->flags != 0) { in drbd_try_clear_on_disk_bm()
696 ext->lce.lc_number, ext->rs_left, in drbd_try_clear_on_disk_bm()
[all …]
/linux-2.6.39/include/linux/
Dphonet.h77 } ext; member
84 #define pn_e_submsg_id pn_msg_u.ext.pn_e_submsg_id
85 #define pn_e_res_id pn_msg_u.ext.pn_e_res_id
87 #define pn_e_data pn_msg_u.ext.pn_e_data
/linux-2.6.39/sound/drivers/opl3/
Dopl3_synth.c253 const unsigned char *ext, in snd_opl3_load_patch() argument
291 if (ext) { in snd_opl3_load_patch()
292 patch->inst.echo_delay = ext[0]; in snd_opl3_load_patch()
293 patch->inst.echo_atten = ext[1]; in snd_opl3_load_patch()
294 patch->inst.chorus_spread = ext[2]; in snd_opl3_load_patch()
295 patch->inst.trnsps = ext[3]; in snd_opl3_load_patch()
296 patch->inst.fix_dur = ext[4]; in snd_opl3_load_patch()
297 patch->inst.modes = ext[5]; in snd_opl3_load_patch()
298 patch->inst.fix_key = ext[6]; in snd_opl3_load_patch()
/linux-2.6.39/arch/cris/include/arch-v32/mach-fs/mach/hwregs/
Dintr_vect_defs.h119 unsigned int ext : 1; member
157 unsigned int ext : 1; member
194 unsigned int ext : 1; member
201 unsigned int ext : 1; member

123456789