Searched refs:maxfrag (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/staging/i2o/
H A Di2o_config.c235 unsigned char maxfrag = 0, curfrag = 1; i2o_cfg_swdl() local
247 if (get_user(maxfrag, kxfer.maxfrag) < 0) i2o_cfg_swdl()
253 if (curfrag == maxfrag) i2o_cfg_swdl()
254 fragsize = swlen - (maxfrag - 1) * 8192; i2o_cfg_swdl()
287 (((u32) maxfrag) << 8) | (((u32) curfrag))); i2o_cfg_swdl()
293 osm_debug("swdl frag %d/%d (size %d)\n", curfrag, maxfrag, fragsize); i2o_cfg_swdl()
313 unsigned char maxfrag = 0, curfrag = 1; i2o_cfg_swul() local
326 if (get_user(maxfrag, kxfer.maxfrag) < 0) i2o_cfg_swul()
332 if (curfrag == maxfrag) i2o_cfg_swul()
333 fragsize = swlen - (maxfrag - 1) * 8192; i2o_cfg_swul()
358 sw_type << 16 | (u32) maxfrag << 8 | (u32) curfrag); i2o_cfg_swul()
364 osm_debug("swul frag %d/%d (size %d)\n", curfrag, maxfrag, fragsize); i2o_cfg_swul()
/linux-4.1.27/include/uapi/linux/
H A Di2o-dev.h80 unsigned int __user *maxfrag; /* Maximum fragment count */ member in struct:i2o_sw_xfer

Completed in 85 milliseconds