Home
last modified time | relevance | path

Searched refs:vlen (Results 1 – 6 of 6) sorted by relevance

/linux-2.4.37.9/fs/xfs/
Dxfs_attr_sf.h75 int xfs_attr_sf_entsize_byname(int nlen, int vlen);
76 #define XFS_ATTR_SF_ENTSIZE_BYNAME(nlen,vlen) \ argument
77 xfs_attr_sf_entsize_byname(nlen,vlen)
79 #define XFS_ATTR_SF_ENTSIZE_BYNAME(nlen,vlen) /* space name/value uses */ \ argument
80 ((int)sizeof(xfs_attr_sf_entry_t)-1 + (nlen)+(vlen))
Dxfs_attr_leaf.h192 int xfs_attr_leaf_entsize_local(int nlen, int vlen);
193 #define XFS_ATTR_LEAF_ENTSIZE_LOCAL(nlen,vlen) \ argument
194 xfs_attr_leaf_entsize_local(nlen,vlen)
196 #define XFS_ATTR_LEAF_ENTSIZE_LOCAL(nlen,vlen) /* space for local struct */ \ argument
197 (((uint)sizeof(xfs_attr_leaf_name_local_t) - 1 + (nlen) + (vlen) + \
Dxfs_macros.c275 xfs_attr_leaf_entsize_local(int nlen, int vlen) in xfs_attr_leaf_entsize_local() argument
277 return XFS_ATTR_LEAF_ENTSIZE_LOCAL(nlen, vlen); in xfs_attr_leaf_entsize_local()
331 xfs_attr_sf_entsize_byname(int nlen, int vlen) in xfs_attr_sf_entsize_byname() argument
333 return XFS_ATTR_SF_ENTSIZE_BYNAME(nlen, vlen); in xfs_attr_sf_entsize_byname()
/linux-2.4.37.9/fs/ncpfs/
Dncplib_kernel.c903 ncp__io2vol(struct ncp_server *server, unsigned char *vname, unsigned int *vlen, in ncp__io2vol() argument
914 vname_end = vname + *vlen - 1; in ncp__io2vol()
974 *vlen = vname - vname_start; in ncp__io2vol()
980 const unsigned char *vname, unsigned int vlen, int cc) in ncp__vol2io() argument
996 vname_cc = kmalloc(vlen, GFP_KERNEL); in ncp__vol2io()
999 for (i = 0; i < vlen; i++) in ncp__vol2io()
1006 vname_end = vname + vlen; in ncp__vol2io()
1067 ncp__io2vol(unsigned char *vname, unsigned int *vlen, in ncp__io2vol() argument
1072 if (*vlen <= ilen) in ncp__io2vol()
1086 *vlen = ilen; in ncp__io2vol()
[all …]
/linux-2.4.37.9/drivers/video/matrox/
Dmatroxfb_maven.c878 int vlen; in maven_compute_timming() local
900 vlen = (vslen + umargin + mt->VDisplay) * vdec; in maven_compute_timming()
901 vlen = (vlen >> 16) - 146; /* FIXME: 146?! */ in maven_compute_timming()
902 if (vlen < 0) in maven_compute_timming()
903 vlen = 0; in maven_compute_timming()
904 if (vlen > 0xFF) in maven_compute_timming()
905 vlen = 0xFF; in maven_compute_timming()
909 m->regs[0xBE] = vlen; in maven_compute_timming()
/linux-2.4.37.9/drivers/net/tokenring/
Dsmctr.c4048 signed short vlen; in smctr_rcv_chg_param() local
4057 vlen = (signed short)rmf->vl - 4; in smctr_rcv_chg_param()
4063 while((vlen > 0) && (rcode == POSITIVE_ACK)) in smctr_rcv_chg_param()
4105 if((vlen -= rsv->svl) < 0) in smctr_rcv_chg_param()
4116 if(vlen != 0) in smctr_rcv_chg_param()
4133 signed short vlen; in smctr_rcv_init() local
4142 vlen = (signed short)rmf->vl - 4; in smctr_rcv_init()
4148 while((vlen > 0) && (rcode == POSITIVE_ACK)) in smctr_rcv_init()
4180 if((vlen -= rsv->svl) < 0) in smctr_rcv_init()
4191 if(vlen != 0) in smctr_rcv_init()
[all …]