Home
last modified time | relevance | path

Searched refs:totallen (Results 1 – 8 of 8) sorted by relevance

/linux-2.4.37.9/fs/xfs/
Dxfs_dir_sf.h120 int xfs_dir_sf_allfit(int count, int totallen);
121 #define XFS_DIR_SF_ALLFIT(count,totallen) \ argument
122 xfs_dir_sf_allfit(count,totallen)
124 #define XFS_DIR_SF_ALLFIT(count,totallen) /* will all entries fit? */ \ argument
126 ((uint)sizeof(xfs_dir_sf_entry_t)-1)*(count) + (totallen))
Dxfs_dir_leaf.c1109 int count, totallen, max, space, swap; in xfs_dir_leaf_rebalance() local
1142 &count, &totallen); in xfs_dir_leaf_rebalance()
1154 space = INT_GET(hdr1->namebytes, ARCH_CONVERT) - totallen; in xfs_dir_leaf_rebalance()
1184 space = totallen - INT_GET(hdr1->namebytes, ARCH_CONVERT); in xfs_dir_leaf_rebalance()
1241 int count, max, totallen, half; in xfs_dir_leaf_figure_balance() local
1252 totallen = 0; in xfs_dir_leaf_figure_balance()
1271 tmp = totallen + (uint)sizeof(*entry) in xfs_dir_leaf_figure_balance()
1276 totallen = tmp; in xfs_dir_leaf_figure_balance()
1291 tmp = totallen + (uint)sizeof(*entry) in xfs_dir_leaf_figure_balance()
1296 totallen = tmp; in xfs_dir_leaf_figure_balance()
[all …]
Dxfs_attr_leaf.c1145 int count, totallen, max, space, swap; in xfs_attr_leaf_rebalance() local
1187 &count, &totallen); in xfs_attr_leaf_rebalance()
1200 space = INT_GET(hdr1->usedbytes, ARCH_CONVERT) - totallen; in xfs_attr_leaf_rebalance()
1234 space = totallen - INT_GET(hdr1->usedbytes, ARCH_CONVERT); in xfs_attr_leaf_rebalance()
1322 int count, max, index, totallen, half; in xfs_attr_leaf_figure_balance() local
1333 totallen = 0; in xfs_attr_leaf_figure_balance()
1356 tmp = totallen + sizeof(*entry) + in xfs_attr_leaf_figure_balance()
1363 totallen = tmp; in xfs_attr_leaf_figure_balance()
1379 tmp = totallen + sizeof(*entry) + xfs_attr_leaf_entsize(leaf1, in xfs_attr_leaf_figure_balance()
1384 totallen = tmp; in xfs_attr_leaf_figure_balance()
[all …]
Dxfs_dir.c367 int count, totallen, newsize, retval; in xfs_dir_removename() local
392 retval = xfs_dir_leaf_removename(&args, &count, &totallen); in xfs_dir_removename()
394 newsize = XFS_DIR_SF_ALLFIT(count, totallen); in xfs_dir_removename()
629 xfs_dir_leaf_removename(xfs_da_args_t *args, int *count, int *totallen) in xfs_dir_leaf_removename() argument
646 *totallen = INT_GET(leaf->hdr.namebytes, ARCH_CONVERT); in xfs_dir_leaf_removename()
Dxfs_macros.c1087 xfs_dir_sf_allfit(int count, int totallen) in xfs_dir_sf_allfit() argument
1089 return XFS_DIR_SF_ALLFIT(count, totallen); in xfs_dir_sf_allfit()
/linux-2.4.37.9/drivers/usb/storage/
Djumpshot.c270 int totallen, len, result; in jumpshot_read_data() local
289 totallen = sectors * info->ssize; in jumpshot_read_data()
293 len = min_t(int, totallen, 65536); in jumpshot_read_data()
366 totallen -= len; in jumpshot_read_data()
367 } while (totallen > 0); in jumpshot_read_data()
385 int totallen, len, result, waitcount; in jumpshot_write_data() local
404 totallen = sectors * info->ssize; in jumpshot_write_data()
408 len = min_t(int, totallen, 65536); in jumpshot_write_data()
494 totallen -= len; in jumpshot_write_data()
495 } while (totallen > 0); in jumpshot_write_data()
Ddatafab.c185 int totallen, len, result; in datafab_read_data() local
212 totallen = sectors * info->ssize; in datafab_read_data()
216 len = min_t(int, totallen, 65536); in datafab_read_data()
290 totallen -= len; in datafab_read_data()
291 } while (totallen > 0); in datafab_read_data()
310 int totallen, len, result; in datafab_write_data() local
337 totallen = sectors * info->ssize; in datafab_write_data()
341 len = min_t(int, totallen, 65536); in datafab_write_data()
432 totallen -= len; in datafab_write_data()
433 } while (totallen > 0); in datafab_write_data()
/linux-2.4.37.9/net/sctp/
Dsm_make_chunk.c2170 int totallen = 0; in sctp_make_asconf_update_ip() local
2180 totallen += paramlen; in sctp_make_asconf_update_ip()
2181 totallen += addr_param_len; in sctp_make_asconf_update_ip()
2187 retval = sctp_make_asconf(asoc, laddr, totallen); in sctp_make_asconf_update_ip()